Page 44 of 47

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

Posted: 11 Feb 2019, 12:55
by hugbug
Hmm, in test environment it works correctly.

I'll try it with real data. Can you please send me nzb-file for "The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN" to nzbget@gmail.com?

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

Posted: 11 Feb 2019, 14:20
by Rrrr
I sent it by PM

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

Posted: 04 Apr 2019, 20:52
by douche
I can provide additional sample NZBs if needed.

Again, or me, this really only seems to be a problem when Videosort processes onto the root of a hard drive.

Lets consider this scenario (Windows 10) (and lets assume we're using the release "Rrrr" mentioned: 'The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN'):
NZBGet unpacks TV episode to

Code: Select all

D:\The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN\
Videosort SeriesFormat:

Code: Select all

%sn/S%0s/%dn
Videosort destination is blank, but for the category, it's

Code: Select all

D:\
Videosort should put the TV episode in

Code: Select all

D:\The Big Bang Theory\S10\
Instead, Videosort puts the TV episode in

Code: Select all

D:\He Big Bang Theory\S10\
But it's inconsistent, one series will work just fine, and another won't. It's absolutely bizarre.

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

Posted: 05 Apr 2019, 23:29
by l2g
douche wrote:
04 Apr 2019, 20:52
Videosort should put the TV episode in

Code: Select all

D:\The Big Bang Theory\S10\
Instead, Videosort puts the TV episode in

Code: Select all

D:\He Big Bang Theory\S10\
But it's inconsistent, one series will work just fine, and another won't. It's absolutely bizarre.
You seemed to have this problem with other scripts too: source.

Is there something unique about the times you have these issues? Maybe a manual download vs an uploaded nzbfile, etc?

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

Posted: 08 Apr 2019, 22:08
by douche
l2g wrote:
05 Apr 2019, 23:29
douche wrote:
04 Apr 2019, 20:52
Videosort should put the TV episode in

Code: Select all

D:\The Big Bang Theory\S10\
Instead, Videosort puts the TV episode in

Code: Select all

D:\He Big Bang Theory\S10\
But it's inconsistent, one series will work just fine, and another won't. It's absolutely bizarre.
You seemed to have this problem with other scripts too: source.

Is there something unique about the times you have these issues? Maybe a manual download vs an uploaded nzbfile, etc?
Honestly seems to be completely random. If I'm grabbing an entire series (with all NZBs added at the same time), sometimes season 1 won't work, but season 2 will be fine, etc
It's absolutely bizarre.

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

Posted: 11 May 2019, 04:26
by douche
On a different "train of thought" please forgive my ignorance, I'm trying to understand something...

So VideoSort seems to be able to detect obfuscated filenames, which, until this point I've simply combated by using "%dn" (mostly just because it's easiest, and I want to keep the original filenames).

I'm trying to understand the "PreferNZBName" option in this context though.

given this excerpt from the log of an obfuscated release:

Code: Select all

Executing post-process-script videosort\VideoSort.py for My.Correctly.Named.Release.From.Indexer
VideoSort: filename: G:\My.Correctly.Named.Release.From.Indexer\yay.mkv
VideoSort: Using NZB-Name
VideoSort: Guessing: My.Correctly.Named.Release.From.Indexer.mkv
in instances like this, I can't figure out how to get it to use the guessed name, or just someway for it to use the NZB-name in the event it's obfuscated.

other issue is when releases contain multiple episodes (which, IIRC,never use obfuscated filenames). the only way to get the correctly name files, is to use "%fn" - but that then wrecks releases like the above log example, where the filename IS obfuscated. If by chance I forget, and VideoSort is set to "%dn", for a multi-episode release, I end up with filenames of: My.Correctly.Named.Release.From.Indexer (1).mkv, My.Correctly.Named.Release.From.Indexer (2).mkv, My.Correctly.Named.Release.From.Indexer (3).mkv, etc - which isn't helpful at all.

I guess I'm just looking for guidance of how to make this setup work better?
As it stands, I have VideoSort ON by default, with "%dn" set, and then if I know a release contains multiple episodes, I'll go to the post-process switches for that item, and turn OFF VideoSort - but I'm guessing there's a better way.


of course, its entirely possible I'm overthinking or just not even thinking about something.

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

Posted: 11 May 2019, 11:53
by hugbug
@douche:
Activate "PreferNZBName" and don't use "%dn" but rather "%t" (with other variables).
Then VideoSort will use nzb-name by default (instead of guessing) names; if there are more than one video file than the names will be guessed instead.

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

Posted: 11 May 2019, 17:49
by douche
hugbug wrote:
11 May 2019, 11:53
@douche:
Activate "PreferNZBName" and don't use "%dn" but rather "%t" (with other variables).
Then VideoSort will use nzb-name by default (instead of guessing) names; if there are more than one video file than the names will be guessed instead.
Isn't "%t" only for Movies? and that only leaves the name/title, not the full proper release name (with all the 1080p, web, grouptag, etc)? or are you suggesting I re-create the release name by using all the different variables?
the multi-episode in a single release issue is TV, which "%t" doesn't apply to (I just tested it anyways).

After thinking about it some more after sleeping on it, I guess there's no way to have VideoSort use the Filename (%fn), unless it detects that it's obfuscated (which it seems it can do), in which case, then have VideoSort use the NZB name (%dn)?

Ideally I don't want to lose all the release info from the original filename or NZB name, if obfuscated, (title,year/episode,resolution,type,audio,video,grouptag) - this way I'll always be able to know exactly what release I do have in case a better one comes up.

Thanks.

edit- formatting

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

Posted: 13 May 2019, 16:02
by EnZioBe
Hi,
I installed Videosort v.8 by replacing the previous directory that had version 1.0 with the new one. I didn't make any changes in the Videosort settings in NZBGet. However, unfortunately the sorting of downloads has stopped working and the downloaded files do not move to their respective directory.

I get post-processing failures and errors of the type: "Post-process-script videosort\VideoSort.py for [my downloaded file] failed."
and "VideoSort: Option MoviesDir is missing in configuration file. Please check script settings" [I was not downloading a movie!]

EDIT: I don't know if it's important, but I also installed the Completion extension when I installed v.8 of Videosort.

EDIT 2: So, I found the cause of the problem, but I don't know how to fix it. It was the Completion extension after all. After removing it, based on a few tests I see that Videosort works properly.

Renaming Multiple Seasons from one release / nzb

Posted: 09 Jul 2019, 13:07
by BlindFish
Hello,

i am frequently downloading releases which combine a whole show with multiple seasons into one release / nzb file.

Code: Select all

Example:
Casual.S01.-.S04.Complete.German.1080p.WebHD.x264-AIDA 
On post-processing, Videosort seems to be unable to handle the containing files properly and everything gets messed up. Is there a way to get these releases processed as intended?

Best,
BlindFish