Page 46 of 47

Re: [PP-Script] VideoSort - better video sorting

Posted: 20 Nov 2019, 08:20
by BlindFish
homerflagada wrote:
10 Oct 2017, 19:05
Hi
is it possible to add a rule like this: "%ABC" and "%abc"
I do not want all my movies to be in the same directory.
I would like my movies to be in a directory of the first letter of the name of the movie/release name.
I cannot find anything in VS Settings or documentation regarding this request from 2017 and was wondering if there has been any action taken so far as i have started to sort my collection in the same way as of the huge directory.

Re: [PP-Script] VideoSort - better video sorting

Posted: 12 Jan 2020, 07:42
by rippy
scroll1 wrote:
18 Nov 2019, 05:45
Hi,
I'm having trouble running the script in a docker on my unraid server.
The error message I get in the logs is:

Mon Nov 18 15:28:55 2019 INFO Executing post-process-script VideoSort/VideoSort.py for Panorama.S2018.E14.Getting.A.Fair.Trial.WEB-DL.x264-JIVE
Mon Nov 18 15:28:55 2019 INFO VideoSort: File "/data/scripts/VideoSort/VideoSort.py", line 814
Mon Nov 18 15:28:55 2019 INFO VideoSort: ep_prefix = episode_separator if episode_num_all <> '' else ''
Mon Nov 18 15:28:55 2019 INFO VideoSort: ^
Mon Nov 18 15:28:55 2019 INFO VideoSort: SyntaxError: invalid syntax
Mon Nov 18 15:28:55 2019 ERROR Post-process-script VideoSort/VideoSort.py for Panorama.S2018.E14.Getting.A.Fair.Trial.WEB-DL.x264-JIVE failed (terminated with unknown status)

The error points to the symbols <> before "else"
I'm running version 8 of the script
python v 2.7.16
and I have pip installed guessit

thanks for any help
I'm getting the exact same error, anyone know whats causing it?

Edit:
Found out from another user elsewhere that the issue is that docker doesn't use Python2 anymore as its end of life.

Re: [PP-Script] VideoSort - better video sorting

Posted: 13 Feb 2020, 19:29
by Merlincool
Does this script has updates? Or can be updated?

Is it possible to grab episodes names from IMDb to pp file name? This would be great.

Re: [PP-Script] VideoSort - better video sorting

Posted: 19 Feb 2020, 23:45
by hugbug
This script uses info from file names, it doesn't communicate with web.

Re: [PP-Script] VideoSort - better video sorting

Posted: 09 Sep 2020, 21:26
by MuNZB
Hi I have my obfuscated files renamed using the %dn format or original directory name (nzb-name).

Many of these directory names/files have "obfuscated" in them. Is there a setting to remove this text from the file/folder name?

So videosort now creates a file like "Title-of-File-Obfuscated.xyz"
I want it to be renamed to "Title-of-File.xyz"

Thank you!

Re: [PP-Script] VideoSort - better video sorting

Posted: 10 Sep 2020, 19:47
by mouzzampk2014
Hi, I am running nzbget in docker and getting this error Post-process-script videosort/VideoSort.py for The.1995.720p.BluRay.DD5.1.x264-DON failed. I think its to do with Python version. Not sure how to fix this. Thank you

Re: [PP-Script] VideoSort - better video sorting

Posted: 11 Sep 2020, 17:23
by mouzzampk2014
mouzzampk2014 wrote:
10 Sep 2020, 19:47
Hi, I am running nzbget in docker and getting this error Post-process-script videosort/VideoSort.py for The.1995.720p.BluRay.DD5.1.x264-DON failed. I think its to do with Python version. Not sure how to fix this. Thank you
Thank you. Its fixed after downloading the python3 compatible videosort. Thanks

Re: [PP-Script] VideoSort - better video sorting

Posted: 16 Sep 2020, 12:38
by Departed
scroll1 wrote:
18 Nov 2019, 05:45
Hi,
I'm having trouble running the script in a docker on my unraid server.
The error message I get in the logs is:

Mon Nov 18 15:28:55 2019 INFO Executing post-process-script VideoSort/VideoSort.py for Panorama.S2018.E14.Getting.A.Fair.Trial.WEB-DL.x264-JIVE
Mon Nov 18 15:28:55 2019 INFO VideoSort: File "/data/scripts/VideoSort/VideoSort.py", line 814
Mon Nov 18 15:28:55 2019 INFO VideoSort: ep_prefix = episode_separator if episode_num_all <> '' else ''
Mon Nov 18 15:28:55 2019 INFO VideoSort: ^
Mon Nov 18 15:28:55 2019 INFO VideoSort: SyntaxError: invalid syntax
Mon Nov 18 15:28:55 2019 ERROR Post-process-script VideoSort/VideoSort.py for Panorama.S2018.E14.Getting.A.Fair.Trial.WEB-DL.x264-JIVE failed (terminated with unknown status)

The error points to the symbols <> before "else"
I'm running version 8 of the script
python v 2.7.16
and I have pip installed guessit

thanks for any help
Are there any specific version requirements for this script with Python 2? I have the script working perfectly on a machine at home, but I can't get it to work on my seedbox. I'm getting this same exact error.

I've been over the setup with my seedbox's support, and they are kind of stumped. The only difference we determined is that my home system has Python 2.7.16, but the seedbox has 2.7.13. Could this be causing a problem?

We've checked all dependencies (guessit, etc) and everything else is installed correctly. The only difference is the Python version.

Re: [PP-Script] VideoSort - better video sorting

Posted: 23 Sep 2020, 02:26
by Departed
@hugbug do you have any suggestions for my question above?

Re: [PP-Script] VideoSort - better video sorting

Posted: 14 Jan 2021, 06:41
by douche
So, something that's "kind of" discussed on and off again is frustrating me once again.

VideoSort is having inconsistent behavior when it comes to obfuscated material. Below are 2 snippets of my job log, showing the result of the VideoSort script.

Example 1 (WORKING):

Code: Select all

VideoSort: Detected obfuscated filename WyVhNGqm0oi0QCNw4BJb6Kn9s6Ou9Dngv9EK1VOo9jiDp72xTVP4kg0.mkv, removing from guess path
VideoSort: Moved: E:\Proper-Series\S01\Proper-Title-From-NZB.mkv
but then this happens:

Example 2 (NOT WORKING):

Code: Select all

VideoSort: Detected obfuscated filename abd.mkv, removing from guess path
VideoSort: Moved: E:\Proper-Series\S01\abd.mkv
The VideoSort script clearly detects obfuscated content correctly, and actually sorts it correctly, but in the second example, it fails to use the proper title (as taken from the NZB), to rename the file.

I'm honestly confused quite confused.
- in both examples, I have the following SeriesFormat:

Code: Select all

%sn/S%0s/%fn
edit - before anyone suggest just using %dn
Many releases actually remove the episode title from the NZB name, but it's still there for the filename, and I'd rather keep the episode name.