MyTVSeries - Plugin that organizes TV Video Files (5 Viewers)

Should I implement an automatic file organizer to move and rename files?


  • Total voters
    651

Salty.dh

Portal Member
April 20, 2006
48
2
v0.40 - Release

NOTE: File submitted to Media Portal awaiting approval. I'll edit this post with download link once available.


So this marks the release of version 0.40

What's new!

. Site Miner now supports ended/canceled shows. This was the problem for the majority of people I believe.

. Video Resume support

. Better handling of Special episodes for TV Series.

. Full Folder import support. Your Regex should now work up to the Root.

. New Simple Expressions support.

. Per Episode Meta Tags.

. Multiple episodes per file. (See parser options)


==============================================

Installation:

Merge the Plugins directory with your existing MediaPortal plugins directory.

If you're using 3DMP-Blue as your skin, merge the skins directory with your existing skins directory
otherwise take the contents of the 3DMP-Blue directory (under skins) and merge this with your chosen skin.

==============================================

Your existing database will need to be deleted! The new structures are similar but have changed
too much to warrant an upgrade process.


Database location <MediaPortal>\Database\TVSeriesDatabase3.db3

==============================================

If a show isn't working post the TV show in the forum and I'll address it.

==============================================

All Regex are configured for filename only. I've simply updated the existing ones to the new format.

You may include directory based ones at your leisure. I ask that you post these to the forum so that I
may add them to the default configuration.

You may add arbitrary tags to both Regex and Simple Expressions. These will show up under the Episode in the configuration manager.

Use an underscore '_' to indicate a space as Regex don't support spaces in group names...

==============================================

For the multiple episodes per file i've implemented a simple delimiter approach for now.
Will consider Regex support here too eventually.

D:\Series\House\Season 01\Episode 01,02,03.avi would be an example of a supported config.

If this doesn't suit you please post in the forum and I'll get a better idea of how people need this to work!

==============================================

Stuff missing:

Ability to modify fields in the configuration manager for episodes.

Configuration of the data miner. - Sorry it's still hardcoded to an extent!



Enjoy!
 

kirky

Portal Member
April 30, 2006
36
0
Townsville, Oz
Home Country
Nice work Salty!! 8)

Working great so far - one thing I noticed is that the SgmlReaderDll.dll isn't in the zip that's up for download - so if you don't have the old version of this plugin you will get an error about this missing DLL.

cheers
kirky
 

nylonhof

Portal Pro
August 5, 2006
99
0
Home Country
Germany Germany
Salty,
thanks a lot for all the hard work!!!!!!

I am testing the new version right now. All my files are formated like this:

\<series>\season <season>\<series>.S<season>E<episode>.<title>

I am hoping that there is a simple expression for this but the version I tested

<series>.S<series>E<episode>.<title>

doesn't seem to work as I get the following error message:

System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt16(String value)
at WindowPlugins.GUITVSeries.ImportVideo.ProcessFile(String VideoFile)

Even with the RegEx it doesn't work for me, which it used to do.

Again, thanks for the work as I think this is the coolest plugin for MP. :)

Regards
 

chefkoch

Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    Hi salty

    nice release, anyway i have some issues/suggestions:
    I am using this simple expression: '<series> - s<season>e<episode> - <title>'

    - The hole filename without the extension is written in the series column.
    FIXED: You have to type a '\' at the start of the expression.

    - Why not include a check whether the season and episode is an integer? If it is not so then it could be marked red or so.

    - It seems that the parser starts at the end of the filename, why not start at the begin of the filename.
    The finds ' - ' but did not checked whether the string before is yet another string ('13.00 - ') or the episodenumber ('e01 - ')
    All until ' - s' is the series name and all after 'e<episode> - ' is the complete title.

    I have these issues with following 4 files all other files parsed good.
    Code:
    24 - Twenty Four - s03e01 - 13.00 - 14.00.avi
    Season: 03
    Episode: 01 - 13.00
    Titel: 14.00
    
    Die Simpsons - s15e13 - Eine Simpsons - Weihnachtsgeschichte.avi
    Season: 15e13 - Ein
    Episode:  Simpsons
    Titel: Weihnachtsgeschichte
    
    South Park - s06e04 - Die Russel Crowe Show - Mit Prügel um die Welt.avi
    Season: 06e04 - Die Russel Crow
    Episode:  Show
    Titel: Mit Prügel um die Welt
    
    South Park - s06e17 - Weihnachten im Irak - Blut & Wunder.avi
    Season: 06e17 - Weihnacht
    Episode: n im Irak
    Titel: Blut & Wunder

    You have done a good job.

    Best regards
    chefkoch
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Hey, good work! The download link is up now too.

    Just tried it on one of my tv folders. Unfortunatly most of the files arent recognized correctly even though they are in pretty std. filenames (simple expression didnt even recognize a single one for me, so I used regex). In particular it seems to have trouble with files in the format:
    series.name.105.othercraphere.avi
    and
    series.name.S1E05.othercraphere.avi
    even though there seem to be regex patterns that should match those formats.

    I can provide you with a filename dump from my directories if that is of any help to you.

    I didn't even try to import the files then, since it didn't recognize 90%+ of the files.

    Oh and a questions, you say you support custom tags, how would I go about importing info such as source (HDTV, HR.HDTV, PTV, etc.), group (LOL, etc.) and codec (XVID)? Do I assume right that I would need to edit every regex pattern?

    Thanks for your good work, I can feel you are close ;-)

    Inker
     

    Patric

    Portal Pro
    August 27, 2004
    84
    2
    Home Country
    Germany Germany
    Hi Salty,

    I've to second nylonhof. Thanks for the great work!

    But unfortunatly I too have problems with the regex parser.
    My tv series folder looks like this:
    Code:
    D:\Serien\24\Season 5 (en)\Episode 01.avi
    ...
    D:\Serien\24\Season 5 (en)\Episode 24.avi
    D:\Serien\Greys Anatomy\Season 2\Episode 01.avi
    ...
    D:\Serien\Greys Anatomy\Season 2\Episode 10.avi
    ...
    with
    Code:
    D:\Serien
    configured as series root.

    A regex that should work looks like this:
    Code:
    d:\\serien\\(?<series>[^\\]+)\\season (?<season>[0-9]{1,2})[^\\]*\\episode (?<episode>[0-9]{1,3})

    But it just parses the text Episode XX as series title and leaves the rest empty.

    Here's a screenshot:
    mytvseries_parsing.gif


    Hope there's a simple solution.

    Greetz
    Patric
     

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    kirky said:
    Working great so far - one thing I noticed is that the SgmlReaderDll.dll isn't in the zip that's up for download - so if you don't have the old version of this plugin you will get an error about this missing DLL.
    I also have such errors.
     

    Users who are viewing this thread

    Top Bottom