[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: 7396
Joined: 09 Sep 2008, 11:58
Location: Germany

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

Post by hugbug » 06 Sep 2013, 07:11

frolleboy wrote:EDIT: Okay I was maybe too quick. Its only a problem when New York is written as NY eg.
In the current version NY is detected as language code and removed from title. In the next version language detection will be disabled to avoid such problems.

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

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

Post by hugbug » 06 Sep 2013, 20:06

Version 3.0:
  • added for seasoned TV shows: if year in the file name goes directly after show name, it will be added to show name. This may be necessary for media players like XBMC, Boxee or Plex (or anyone using TheTVDB) to properly index TV show. New option "SeriesYear" to disable this if necessary;
  • added detection of obfuscated file names; if such file name is detected a nzb-name is used instead.
Download link

naan
Posts: 17
Joined: 11 Jun 2013, 14:21

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

Post by naan » 07 Sep 2013, 15:02

hugbug wrote:Version 3.0:
  • added detection of obfuscated file names; if such file name is detected a nzb-name is used instead.
You just made my day !! Thanks a lot!

minimeh
Posts: 33
Joined: 16 Aug 2013, 09:54

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

Post by minimeh » 07 Sep 2013, 20:28

hugbug wrote:Version 3.0:
  • added for seasoned TV shows: if year in the file name goes directly after show name, it will be added to show name. This may be necessary for media players like XBMC, Boxee or Plex (or anyone using TheTVDB) to properly index TV show. New option "SeriesYear" to disable this if necessary;
Nice. Thanks!

godslam
Posts: 3
Joined: 10 Oct 2013, 22:44

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

Post by godslam » 10 Oct 2013, 22:45

I'm getting this error and I don't know how to proceed. =/

http://i.imgur.com/mgpxS4D.png

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

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

Post by hugbug » 10 Oct 2013, 23:04

You have python 3, but videosort works only with python 2.

godslam
Posts: 3
Joined: 10 Oct 2013, 22:44

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

Post by godslam » 11 Oct 2013, 04:58

hugbug wrote:You have python 3, but videosort works only with python 2.
Thank you very much.

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

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

Post by hugbug » 16 Oct 2013, 20:06

Version 4.0:
  • improved detection of obfuscated file and directory names;
  • added support for DNZB-Headers "X-DNZB-ProperName", "X-DNZB-EpisodeName", "X-DNZB-MovieYear";
  • removed support for DNZB-Header "X-DNZB-UseNZBName" (which is not supported by nzb-sites anymore);
  • new option "DNZBHeaders" to disable using of DNZB-Headers if necessary;
  • new format specifier "%imdb" and "%cpimdb", requires DNZB-Header "X-DNZB-MoreInfo" (thanks Chris Hamilton for the patch);
  • removing invalid characters from generated file name;
  • updated guessit-library to the newest release - this fixes several issues.
Download link

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

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

Post by hugbug » 16 Oct 2013, 20:24

A little info about new DNZB-Headers "X-DNZB-ProperName", "X-DNZB-EpisodeName", "X-DNZB-ProperName".

Newznab based sites parse movie and tv show names from file names, then they do web-crawling to validate movie and tv show names via imdb and tv rage sites. For successfully validates titles field "ProperName" indicates the official name. For tv shows field "EpisodeName" is set to, well, episode name, which is rarely available in the original nzb file name or video file name. Thanks to "X-DNZB-EpisodeName" VideoSort is now able to put episode name into generated file name for almost any tv show (use "%en", "%eN", etc.).

Dogzipp who has initially implemented these headers on his site, has contributed the code into main newznab code base. Any newznab based sites can start using these new headers any time now.

deoneR
Posts: 17
Joined: 30 May 2013, 16:35

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

Post by deoneR » 21 Oct 2013, 09:44

thanks for this superb script! i really love it :)

i have just one question:
Is it possible to keep the .nfo file in the orginal filename + the renamed video file?
i'm using Deletesamples with Videosort and can't seem to find a way doing this :roll:

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests