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

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


  • Total voters
    651

Inker

Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    chefkoch said:
    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.

    Confirmed
     

    EMKO

    Portal Pro
    May 4, 2006
    175
    3
    nylonhof said:
    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


    i get the same thing


    Successfully processed 44 video files.
    ---
    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)
    ---
     

    deebo

    Portal Pro
    April 19, 2006
    233
    3
    only managed to parse Series - 1x1 - Title.avi type series

    old version parsed series.sXeY.avi fine, why doesnt this?

    good work otherwise
     

    Salty.dh

    Portal Member
    April 20, 2006
    48
    2
    Knew I should have waited till morning. Alright guys. Looks like i'm pulling an all-nighter ;)

    All I can say is I'm working on it!
     

    Salty.dh

    Portal Member
    April 20, 2006
    48
    2
    Download v0.41

    Wish it wasn't so soon after 0.40 but anyway. I've put it here because it's just a release candidate and doesn't include source.

    Please test.

    If you're using simple expressions, please put a \ in front of the expression if you are basing it off the filename only.

    \<series>.s<season>e<episode>.<title> for example

    for directories

    \<series>\Season <season>\Episode <episode> - <title>

    for regex please bear in mind when building your regex that it is based on the full path and filename using regex options: RightToLeft and IgnoreCase.

    Edit: For those using '.' in their filenames, add . and convert to <space> in the search and replace parser tab. I'll fix that up.

    Salty.
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Salty,

    just tested 4.1 and while it is better in recognizing my filenames, it still has alot of them it doesnt parse at all and alot are wrong.

    Also, when it doesn't find a match for the series, it keeps asking for the name, I can't seem to get it to skip a file.

    I'll send you a pm with a couple of examples

    The problem with the missing dll is fixed.
    Keep up the good work and don't let it stress you out. The most important thing is that you don't see this as work!

    Inker

    Edit: never mind, adding that '.' as you suggested seemed to have fixed alot of the problems. Testing more now. should have read your post more carefully.
     

    nylonhof

    Portal Pro
    August 5, 2006
    99
    0
    Home Country
    Germany Germany
    Hi Salty,
    thanks a lot for the quick turn around.
    I am testing it now and the import is working so far with RegEx. So far I havent managed to get the simple expression working, but that wont be a problem if the RegEx is working fine.
    Thanks again :)
    nylonhof
     

    Patric

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

    great work! Now it seems to work for me just fine.

    As an example I have the following setup:
    Code:
    D:\Serien\Muppet Show\Season 3\Episode 22 - Roy Rogers & Dale Evans.avi
    D:\Serien\Stargate SG-1\Season 10 (en)\Episode 01.avi
    With this regex:
    Code:
    d:\\serien\\(?<series>[^\\]+)\\season (?<season>[0-9]+)\\episode (?<episode>[0-9]+)( - (?<title>.+))*
    And the "Search and Replace" option set to:
    Code:
    <Space>(en)  :  <Empty>
    <Space>(de)  :  <Empty>

    Greetz
    Patric

    EDIT:
    I modified the Regex to work with multi-episode-files:
    Code:
    d:\\serien\\(?<series>[^\\]+)\\season (?<season>[0-9]+)\\episode (?<episode>[0-9,]+)( - (?<title>.+))*

    So even the following file is parsed and inserted as two episodes::
    Code:
    D:\Serien\Eureka (en)\Season 1\Episode 01,02.avi
     

    mcbelly

    MP Donator
  • Premium Supporter
  • June 29, 2006
    190
    5
    Home Country
    Germany Germany
    Hey Salty,

    - funny thing happening with 0.41 :

    When importing a series (in this case "House") all series informations are downloaded and then I get


    There were no episodes for this season in the database. Skipping to next filename.
    Successfully downloaded episode listing into database.
    Added Lines in the Sand(Episode ID: -1) to database.
    Added Informed Consent(Episode ID: -1) to database.
    .
    .
    .

    Then it relaods all series informations again and I get the same behaviour - looks like it does it for all episodes... But nothing is entered in the db.

    Tried it with several series (House worked before, Highlander didn´t) - all the same
    I also tried simple and regex - made no difference...

    Prior to installing 0.40 I moved my old db to a backup folder and followed install instructions.

    /edit
    Here´s another one, this time on Star Trek TNG (didn´t work before)


    System.NullReferenceException: Object reference not set to an instance of an object.
    at WindowPlugins.GUITVSeries.ImportVideo.ProcessFile(String VideoFile)
    An exception occurred attempting to import the series: The Naked Now
    Successfully downloaded episode listing into database.


    Next edit :
    here is what the logfile says :
    An Error Occured (SQL:TVSeriesDatabase3.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table episode has no column named special query:insert into episode (episode_id, series_id, title, special, aired, season_number, episode_number, filename, description, summary_url, imported_data) values(NULL, '33', 'Paternity', 'unknown', '2004-11-23', '1', '2', 'unknown', 'unknown', 'http://www.episodeworld.com/episode/27448', '0')).

    /edit
     

    Patric

    Portal Pro
    August 27, 2004
    84
    2
    Home Country
    Germany Germany
    Argh,
    a little bit too early...

    Apostrophes in the series name seems to confuse the parser. For "Grey's Anatomy" it inserted a new series (all named "Grey's Anatomy") for each and every episode.
    I renamed my folder name from "Greys Anatomy" to "Grey's Anatomy" because it SGML parser couldn't automagically detect the right entry without having the apostrophe.

    Keep up the great and much appreciated work Salty!

    Patric
     

    Users who are viewing this thread

    Top Bottom