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

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


  • Total voters
    651

chefkoch

Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    Salty.dh said:
    You just need to let it recreate that by deleting the db and starting up the plugin in config mode. It should recreate the db in the right format.
    Hi Salty,

    perhaps you could increase the version of the database from 'TVSeriesDatabase3.db3' to 'TVSeriesDatabase4.db3' in future releases if there are changes in the database structure, so there won't be such bug reports.

    chefkoch said:
    - The hole filename without the extension is written in the series column.
    FIXED: by typing a '\' at the start of the expression.
    Perhaps you could include a check for this and paste it in if it is missing.

    Still having problems with these files using this simple expression:
    Code:
    \<series> - s<season>e<episode> - <title>
    
    24 - Twenty Four - s03e01 - 13.00 - 14.00.avi
    season: 03
    episode: 01 - 13.00
    title: 14.00
    
    Die Simpsons - s15e13 - Eine Simpsons - Weihnachtsgeschichte.avi
    season: 15e13 - Ein
    episode:  Simpsons
    title: Weihnachtsgeschichte
    
    South Park - s06e04 - Die Russel Crowe Show - Mit Prügel um die Welt.avi
    season: 06e04 - Die Russel Crow
    episode:  Show
    title: Mit Prügel um die Welt
    
    South Park - s06e17 - Weihnachten im Irak - Blut & Wunder.avi
    season: 06e17 - Weihnacht
    episode: n im Irak
    title: Blut & Wunder

    Inker said:
    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!
    That's right. Keep it in mind.

    Best regards
    chefkoch
     

    Salty.dh

    Portal Member
    April 20, 2006
    48
    2
    EqualRightsForWerewolves said:
    i'm having trouble setting up the expressions needed to get my episodes to parse. i think i could get around the problem if:

    - the search and replace function applied when using simple expressions
    OR
    - if there was a way of getting regular expressions to be applied to file names only, not folder names

    first option is probably easiest, and it would also fix problems i'm having where the series name is identified as 'arrested.development', which means the parser can't automatically match it up with an online source.

    what do you think salty?

    The search and replace function should be applied to the simple expression. I'll check that tonight.

    Remove the \\ from the very first part of the regular expression should make it stop at the filename.

    Could you please elaborate on the issue you're actually having I can't work it out from the info provided.

    Cheers,

    Salty.
     

    mcbelly

    MP Donator
  • Premium Supporter
  • June 29, 2006
    190
    5
    Home Country
    Germany Germany
    Salty.dh said:
    Those of you having problems where it's throwing an Episode ID: -1 when adding to database.

    Could you delete your db again and try?

    That one worked after deleting and creating the db twice. Atm I´m importing my series - about 1700 files ;-) (I guess that`ll take a while....)


    Thanks a lot !

    mcbelly
     

    zombiepig

    Portal Pro
    March 21, 2005
    408
    0
    Melb, Aus
    Home Country
    Salty.dh said:
    EqualRightsForWerewolves said:
    i'm having trouble setting up the expressions needed to get my episodes to parse. i think i could get around the problem if:

    - the search and replace function applied when using simple expressions
    OR
    - if there was a way of getting regular expressions to be applied to file names only, not folder names

    first option is probably easiest, and it would also fix problems i'm having where the series name is identified as 'arrested.development', which means the parser can't automatically match it up with an online source.

    what do you think salty?

    The search and replace function should be applied to the simple expression. I'll check that tonight.

    Remove the \\ from the very first part of the regular expression should make it stop at the filename.

    Could you please elaborate on the issue you're actually having I can't work it out from the info provided.

    Cheers,

    Salty.

    ok - here's some problems i'm having:
    with episodes named like
    e\tv series\lost\season 2\lost.s02e16.proper.hdtv.xvid-xor
    i've tried using the simple expression
    "\<series>.s<season>e<episode>.proper.<title>"
    and "\<series>.s<season>e<episode>.<title>"
    but it's parsing the series as lost, season as 's02e16.prop', and the ep as
    'r'. i think it's reading the right most 'e' as the episode break, and i can't work out what to do to stop this happening. that's why i thought i could do a search and replace on 'proper', replacing it with ''. but it seems search & replace isn't working with simple expressions.
     

    Salty.dh

    Portal Member
    April 20, 2006
    48
    2
    replace proper with '-' (just the hyphen) rather than ''

    your expression should be:

    If you've added the . replaced with <space> entry

    \<series> s<season>e<episode> - <title>

    or if you don't have the . replaced with <space> entry

    \<series>.s<season>e<episode>.-.<title>


    Also rather than using <title> i'd go with:

    \<series> s<season>e<episode> - <format> <codec>-<group_name>

    or

    \<series>.s<season>e<episode>.-.<format>.<codec>-<group_name>

    respectively.


    Salty.
     

    moltas

    Portal Pro
    April 6, 2005
    133
    0
    Sweden
    I am not a rocket scientist and can't get this wonderful plugin to work. The differtent parser are really confusing...I guess if you are familiar with programming it's easy.

    I have my files in this order:
    E:\TV series\Battlestar galactica\Season 1\Battlestar Galactica s01e01 - Mini Series Part1.avi

    I have still not been able to import a single episode. Could some genius please enlighten me on which parser string to use?

    A future request would be an easy way to learn the plugin hoiw to get Serie, Season and Episode from a file structure. Preferrable using a GUI.

    None the less, thanks a million for your time and support!
     

    Salty.dh

    Portal Member
    April 20, 2006
    48
    2
    moltas said:
    I am not a rocket scientist and can't get this wonderful plugin to work. The differtent parser are really confusing...I guess if you are familiar with programming it's easy.

    I have my files in this order:
    E:\TV series\Battlestar galactica\Season 1\Battlestar Galactica s01e01 - Mini Series Part1.avi

    I have still not been able to import a single episode. Could some genius please enlighten me on which parser string to use?

    A future request would be an easy way to learn the plugin hoiw to get Serie, Season and Episode from a file structure. Preferrable using a GUI.

    None the less, thanks a million for your time and support!

    \<series> s<season>e<episode> - <title>

    should do the job

    place this in the simple expression parser section and ensure you select the simple expression parser in the parser options.

    Enjoy!
     

    asdgpn

    New Member
    August 6, 2006
    3
    0
    sgml error

    Hi
    I am new to MediaPortal and TV series plugin. When I try to import Tv shows I get:

    Failed to locate assembly SgmlReaderDll, Version=1.6.2195.24675, Culture=neutral, PublicKeyToken=null

    Where do I go wrong??
    Regards,
    Goran
     

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    Re: sgml error

    asdgpn said:
    When I try to import Tv shows I get:

    Failed to locate assembly SgmlReaderDll, Version=1.6.2195.24675, Culture=neutral, PublicKeyToken=null
    Hi Goran, welcome to the Forums! :D

    Which version of the plugin are you using? The 0.40 missed a file so you have to redownload the 0.41 here.

    Hope this will solve your problem.

    regards
    chefkoch
     

    moltas

    Portal Pro
    April 6, 2005
    133
    0
    Sweden
    Salty.dh said:
    moltas said:
    ...

    I have my files in this order:
    E:\TV series\Battlestar galactica\Season 1\Battlestar Galactica s01e01 - Mini Series Part1.avi

    I have still not been able to import a single episode. Could some genius please enlighten me on which parser string to use?
    ...

    \<series> s<season>e<episode> - <title>

    should do the job

    place this in the simple expression parser section and ensure you select the simple expression parser in the parser options.

    Enjoy!

    Thanks for your quick answer! I tried it and got this in the log window:

    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)

    To clearify things, I have all the series in this structure:
    Code:
    Series
      + Battlestar Galactica
      - Couplings
        + Season 1
            Couplings s01e01 - Flushed.avi
            Couplings s01e02 - Size Matters.avi
            etc...
        + Season 2
      + Lost

    etc...

    When I configure the plugin I set 'Series' as my Folder Path. Is that Correct?

    /Moltas
     

    Users who are viewing this thread

    Top Bottom