Episode Number Formats (1 Viewer)

gibber

MP Donator
  • Premium Supporter
  • October 8, 2009
    35
    3
    Home Country
    Canada Canada
    Country flag
    My TVGuide xml files contain either "dd_progid" info or both "dd_progid" and "xmltv_ns" episode info.

    Sample below for a single program:

    <episode-num system="dd_progid">EP00871042.0030</episode-num>
    <episode-num system="xmltv_ns">3.1.</episode-num>

    This is not resulting in the EPG database successfully determining %series% and %episode% information that can be added to the recording filename so that TVSeries can do its job.

    I'm using m2cxml to create the xml file with SchedulesDirect Json service.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,222
    Home Country
    New Zealand New Zealand
    Country flag
    Hi gibber

    During the <programme/> read phase, TV Server only picks up the first <episode-num/> for each <programme/>. Any other <episode-num/> is ignored. So, in your example the dd_progid episode number would be selected and the xmltv_ns one would be ignored.

    During the <programme/> handling/parsing phase, TV Server only handles xmltv_ns and onscreen episode number systems. So, in your example the dd_progid episode number would also be ignored.

    Cumulative result: no season or episode numbers in the TV Server database.

    TV Server only handles xmltv_ns and onscreen because they're the only systems specified in the XMLTV format standard, and also the only systems I'm currently aware of which supply actual season and episode numbers. The dd_progid "EP00..." thing is an identifier for the private/proprietary Gracenote (formerly Tribune Media Services) database. It is not possible to extract season and/or episode numbers from it.

    If you want TV Server to pick up season and episode numbers from your XMLTV file, you would need to find a way to remove all the dd_progid <episode-num/> entries before handing it over to TV Server.
     

    gibber

    MP Donator
  • Premium Supporter
  • October 8, 2009
    35
    3
    Home Country
    Canada Canada
    Country flag
    Thanks. I guess I can research how to write a powershell script to run right after mc2xml runs to remove those lines and save a new xml file.
     

    gibber

    MP Donator
  • Premium Supporter
  • October 8, 2009
    35
    3
    Home Country
    Canada Canada
    Country flag
    Tried this on some sample files and it seemed to work - Powershell is quite powerful!

    Get-Content .\TVGuidePreProcessed.xml | Where-Object {$_ -notmatch 'dd_progid'} | Set-Content TVGuide.xml

    Saved as .ps1 file type and it seems to run fine
     

    Users who are viewing this thread

    Similar threads

    Ok, It seems that EPG-Buddy is the best solution. Season and Episode show as 1.1, 1.2, etc or the air date. The movies now show the air date so I'll consider this as solved. Thanks.
    Ok, It seems that EPG-Buddy is the best solution. Season and Episode show as 1.1, 1.2, etc or the air date. The movies now show the...
    Hi, I'm using zap2xml and zap2it as my source. The tvguide.xml file contains all of the episode info, date aired, movie date...
    Replies
    5
    Views
    3K
    WJW, Thank you for all your suggestions. I am making progress but it is not yet working for me. I see, in your batch file, that you rename the xml file to tvguide.xml which I believe is the file that the mp plugin is looking for. I do have the SED program in the same folder with all the xml stuff. In TV Server, when I click the...
    WJW, Thank you for all your suggestions. I am making progress but it is not yet working for me. I see, in your batch file, that...
    (Media Portal 1.17) I've been using mc2xml to get guide data from the "new" Microsoft servers. It generally works, but will go...
    Replies
    9
    Views
    5K
    Update: I kept at this until I found a solution (or 2 rather). I didn't know it at the time, but perhaps this post would have been better served in the EPG discussion area. To those viewing this that might have the same problem: Thanks to @lightshock and @Lehmden for this development and for their posts to help me find this solution...
    Update: I kept at this until I found a solution (or 2 rather). I didn't know it at the time, but perhaps this post would have been...
    I've been at this for days, and I can't seem to get the advanced record settings to name TV recordings with Series and Episode...
    Replies
    1
    Views
    1K
    They said that the data they're receiving from the service provider is invalid.
    They said that the data they're receiving from the service provider is invalid.
    For whatever reason, SchedulesDirect is getting bad EPG data from my service provider (Beanfield in Canada) and as a result I'm...
    Replies
    10
    Views
    2K
    Thank you, I have had a similar problem. By deleting not nessasary tag, I could solve my problem. It works, when you have the tag <episode-num system="xmltv_ns">4.3/6.</episode-num> first. It´s no matter, if you have further "systems" like <episode-num system="onscreen"...> or something else.
    Thank you, I have had a similar problem. By deleting not nessasary tag, I could solve my problem. It works, when you have the tag...
    I've changed my xmltv provider to xmltv.se, now I don't get all season and episode numbers imported from xmltv in program guide...
    Replies
    4
    Views
    4K
    Top Bottom