[PP-Script] VideoSort - better video sorting

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
hugbug
Developer & Admin
Posts: 6969
Joined: 09 Sep 2008, 11:58
Location: Germany

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

Post by hugbug » 19 Oct 2017, 11:43

Please post nzb-log (click on item in history, then button "Log", then "Save to file), preferably via pastebin.com.

mdex
Posts: 12
Joined: 20 Mar 2015, 07:54

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

Post by mdex » 19 Oct 2017, 12:58

This is a file that failed.

Code: Select all

Thu Oct 19 2017 12:32:12    INFO    Cleanup for Mr.Robot.S03E02.eps3.1.undo.gz.720p.AMZN.WEBRip.DDP5.1.x264-NTb successful
Thu Oct 19 2017 12:32:12    INFO    Moving completed files for Mr.Robot.S03E02.eps3.1.undo.gz.720p.AMZN.WEBRip.DDP5.1.x264-NTb
Thu Oct 19 2017 12:32:12    INFO    Moving file e375bc17856ce25d7a7d52567dda599e.txt to e:\TV\Mr.Robot.S03E02.eps3.1.undo.gz.720p.AMZN.WEBRip.DDP5.1.x264-NTb
Thu Oct 19 2017 12:32:12    INFO    Move for Mr.Robot.S03E02.eps3.1.undo.gz.720p.AMZN.WEBRip.DDP5.1.x264-NTb successful
Thu Oct 19 2017 12:32:12    INFO    Executing post-process-script VideoSort-master\VideoSort.py for Mr.Robot.S03E02.eps3.1.undo.gz.720p.AMZN.WEBRip.DDP5.1.x264-NTb
Thu Oct 19 2017 12:32:12    ERROR   VideoSort: Could not start post-process-script VideoSort-master\VideoSort.py for Mr.Robot.S03E02.eps3.1.undo.gz.720p.AMZN.WEBRip.DDP5.1.x264-NTb: The system cannot find the file specified.
Thu Oct 19 2017 12:32:12    ERROR   Post-process-script VideoSort-master\VideoSort.py for Mr.Robot.S03E02.eps3.1.undo.gz.720p.AMZN.WEBRip.DDP5.1.x264-NTb failed
Thu Oct 19 2017 12:32:12    INFO    Collection Mr.Robot.S03E02.eps3.1.undo.gz.720p.AMZN.WEBRip.DDP5.1.x264-NTb added to history
And one that worked from a week ago. I removed and readded videosort to see if that was the issue so names of process not the same.

Code: Select all

Thu Oct 12 2017 04:38:20	INFO	Moving completed files for The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS
Thu Oct 12 2017 04:38:20	INFO	Moving file sample-the.shannara.chronicles.s02e01.720p.hdtv.x264-avs.mkv to e:\TV\The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS
Thu Oct 12 2017 04:38:20	INFO	Moving file the.shannara.chronicles.s02e01.720p.hdtv.x264-avs.nfo to e:\TV\The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS
Thu Oct 12 2017 04:38:20	INFO	Moving file the.shannara.chronicles.s02e01.720p.hdtv.x264-avs.srr to e:\TV\The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS
Thu Oct 12 2017 04:38:20	INFO	Move for The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS successful
Thu Oct 12 2017 04:38:20	INFO	Executing post-process-script videosort\VideoSort.py for The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS
Thu Oct 12 2017 04:38:32	INFO	VideoSort: Skipping small: sample-the.shannara.chronicles.s02e01.720p.hdtv.x264-avs.mkv
Thu Oct 12 2017 04:38:32	INFO	VideoSort: Moved: E:\TV\The Shannara Chronicles\Season 2\S2E1\The Shannara Chronicles - S02E01.mkv
Thu Oct 12 2017 04:38:32	INFO	VideoSort: Deleted: e:\TV\The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS\sample-the.shannara.chronicles.s02e01.720p.hdtv.x264-avs.mkv
Thu Oct 12 2017 04:38:32	INFO	VideoSort: Deleted: e:\TV\The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS\the.shannara.chronicles.s02e01.720p.hdtv.x264-avs.nfo
Thu Oct 12 2017 04:38:32	INFO	VideoSort: Deleted: e:\TV\The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS\the.shannara.chronicles.s02e01.720p.hdtv.x264-avs.srr
Thu Oct 12 2017 04:38:32	INFO	VideoSort: Deleted: e:\TV\The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS
Thu Oct 12 2017 04:38:32	INFO	Post-process-script videosort\VideoSort.py for The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS successful
Thu Oct 12 2017 04:38:32	INFO	Collection The.Shannara.Chronicles.S02E01.720p.HDTV.x264-AVS added to history
Looking at the folder e:\TV afterwards and the PP failed item is there without being renamed.

hugbug
Developer & Admin
Posts: 6969
Joined: 09 Sep 2008, 11:58
Location: Germany

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

Post by hugbug » 19 Oct 2017, 14:17

ERROR VideoSort: Could not start post-process-script VideoSort-master\VideoSort.py for Mr.Robot.S03E02.eps3.1.undo.gz.720p.AMZN.WEBRip.DDP5.1.x264-NTb: The system cannot find the file specified.
Looks like python cannot be started.

mdex
Posts: 12
Joined: 20 Mar 2015, 07:54

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

Post by mdex » 19 Oct 2017, 15:26

Just removed and reinstalled Python and check the path variable is set.

Entered Python.exe into a command prompt and 2.7.13 version number recognised and running.

Closed and reopened, still nothing.

Good old reboot and working ok. Had rebooted as part of troubleshooting before the above too!

Thanks

nzbgetyopmail
Posts: 4
Joined: 20 Dec 2017, 20:03

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

Post by nzbgetyopmail » 20 Dec 2017, 21:38

Hi All,
I've installed videosort and having some issue to make it work.
Here's the error messages that I'm getting.
Btw, I'm running NZBGET 19.1 and videosort 6.1

Code: Select all

INFO    Wed Dec 20 2017 22:12:43    Collection Billions.S01E01.DVDRip.X264-REWARD added to history
INFO    Wed Dec 20 2017 22:12:43    Post-process-script Logger.py for Billions.S01E01.DVDRip.X264-REWARD successful
INFO    Wed Dec 20 2017 22:12:43    Executing post-process-script Logger.py for Billions.S01E01.DVDRip.X264-REWARD
ERROR   Wed Dec 20 2017 22:12:43    Post-process-script videosort\VideoSort.py for Billions.S01E01.DVDRip.X264-REWARD failed (terminated with unknown status)
INFO    Wed Dec 20 2017 22:12:43    VideoSort: SyntaxError: invalid syntax
INFO    Wed Dec 20 2017 22:12:43    VideoSort: ^
INFO    Wed Dec 20 2017 22:12:43    VideoSort: ep_prefix = episode_separator if episode_num_all <> '' else ''
INFO    Wed Dec 20 2017 22:12:43    VideoSort: File "C:\ProgramData\NZBGet\scripts\videosort\VideoSort.py", line 757
Thanks a lot.

hugbug
Developer & Admin
Posts: 6969
Joined: 09 Sep 2008, 11:58
Location: Germany

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

Post by hugbug » 22 Dec 2017, 08:33

@nzbgetyopmail
Maybe wrong Python version? Make sure to use Python 2.x (not 3.x).

nzbgetyopmail
Posts: 4
Joined: 20 Dec 2017, 20:03

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

Post by nzbgetyopmail » 22 Dec 2017, 18:36

hugbug wrote:
22 Dec 2017, 08:33
@nzbgetyopmail
Maybe wrong Python version? Make sure to use Python 2.x (not 3.x).
Thanks a lot. This solved the issue. Kudos & Merry x-Mas ;-)

nzbgetyopmail
Posts: 4
Joined: 20 Dec 2017, 20:03

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

Post by nzbgetyopmail » 24 Dec 2017, 19:04

One quick question - sorry if it has already been asked.


By default, once a serie is post-processed, the script moves it to a sub directory with the following directory structure:
"/download_directory/series/serie_name/season_nb/serie.mkv"

Instead, I'd like to have the serie moved to the following directory "/download_directory/serie.mkv"

I'm using the following SeriesFormat switch: SeriesFormat: %sn/Season %s/%sn - S%0sE%0e - %en

Any thoughts?

Thanks a lot.
Mery x-mas ;-)

nzbgetyopmail
Posts: 4
Joined: 20 Dec 2017, 20:03

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

Post by nzbgetyopmail » 05 Jan 2018, 23:13

hi,
anyone?

thanks and happy new year.
nzbgetyopmail wrote:
24 Dec 2017, 19:04
One quick question - sorry if it has already been asked.


By default, once a serie is post-processed, the script moves it to a sub directory with the following directory structure:
"/download_directory/series/serie_name/season_nb/serie.mkv"

Instead, I'd like to have the serie moved to the following directory "/download_directory/serie.mkv"

I'm using the following SeriesFormat switch: SeriesFormat: %sn/Season %s/%sn - S%0sE%0e - %en

Any thoughts?

Thanks a lot.
Mery x-mas ;-)

habskilla
Posts: 13
Joined: 29 Oct 2014, 13:50

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

Post by habskilla » 16 Jan 2018, 19:59

nzbgetyopmail wrote:
05 Jan 2018, 23:13
hi,
anyone?

thanks and happy new year.
nzbgetyopmail wrote:
24 Dec 2017, 19:04
One quick question - sorry if it has already been asked.


By default, once a serie is post-processed, the script moves it to a sub directory with the following directory structure:
"/download_directory/series/serie_name/season_nb/serie.mkv"

Instead, I'd like to have the serie moved to the following directory "/download_directory/serie.mkv"

I'm using the following SeriesFormat switch: SeriesFormat: %sn/Season %s/%sn - S%0sE%0e - %en

Any thoughts?

Thanks a lot.
Mery x-mas ;-)
So want to have every episode in your download folder without separating them out via show name directory?
If yes, then %sn - S%0sE%0e - %en

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest