import recorded series by XML-file (1 Viewer)

mts

Portal Pro
September 2, 2007
317
25
Home Country
Germany Germany
Hi all,

I'm recording many series from TV. Actually I import these series manually, because the filename doesn't give any information about the episode.
When I look inside the xml-file I get the required information out of the first comment-sentence.

Here one example:
filename: Monk - - 2009-11-18 - 01_25.ts
XML-comment:
Mr. Monk und der Draufgänger. Monk hat Mühe, die Information zu verdauen, dass sein Erzrivale Harold Krenshaw offensichtlich der von der Presse und Bevölkerung gleichermaßen geliebter Fassadenkletterer ist. Doch einige Ungereimtheiten bei seinem aktuellen Mordfall wecken in Monk den Verdacht, dass Krenshaw nicht der ist, für den er sich ausgibt

I this case the episode is called: "Mr. Monk und der Draufgänger."

Another example:
filename: Dr. House - - 2009-11-04 - 00_35.ts
XML-comment:
Wenn die Katze kommt ...Wiederholung von 21:15 Uhr. Kann eine Katze den Tod eines Menschen vorhersehen? Eine junge Frau behauptet dies und versetzt House damit in Rage.


Is there a function for it? If not, this would be a nice feature.
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    You would have to write your own script.

    It would have to do something like this:

    • read the XML file and take the first part
    • parse it via Google translation, so that "Mr. Monk und der Draufgänger" becomes "Mr. Monk and the daredevil"
    • look series up on thetvdb.com based on filename 'Monk'
    • look up "Mr. Monk and the Daredevil" on the 'All' season episode list page to discover it is S06E07
    • rename file to "Monk - S06E07 - 2009-11-18 - 01_25.ts"
    • move it into the folder that MP-TVSeries monitors

    Not sure about the Google translation step, but you can check out TVRename @ tvrename.com - Automatically rename and organise your TV shows, and more.
     

    mts

    Portal Pro
    September 2, 2007
    317
    25
    Home Country
    Germany Germany
    But how can I setup, that this skirpt (application) starts automatically after each recording?
     

    mts

    Portal Pro
    September 2, 2007
    317
    25
    Home Country
    Germany Germany
    I wrote a little application now. To monitor a folder is not a problem, but I have a problem to change the filename.
    If I do so, I have to change the name also in the TV-server DB. Otherwise the normal recorded-tv will not be able to find the series anymore.

    The best way would be to integrate it into the myseries plugin.
    Maybe I rewrite the xml-finder in c++ (now its in delphi) and integrate it myself.
     

    Users who are viewing this thread

    Top Bottom