xmltv 2 ? (source + binary now available) (1 Viewer)

Laban

Portal Pro
July 1, 2007
206
18
Luleå
Home Country
Sweden Sweden
This may slow down the import a bit as you would need to do something like:
delete * from dbo.program where channelid=<id of channel being imported>


I'll look into it when i got some time over. Perhaps tomorrow but we'll see. Been busy with real life lately,a by now 4 month old addition to the family among other things :)
 

Laban

Portal Pro
July 1, 2007
206
18
Luleå
Home Country
Sweden Sweden
As requested: Here's a untested version where i just delete all programs for the channels available in the tvguide.xml instead of "delete from program". I'll test it after i get back from work.
 

Laban

Portal Pro
July 1, 2007
206
18
Luleå
Home Country
Sweden Sweden
I think this plugin shoud be in official release of mediaportal... is a developer looking at this post?

Roby

I'd rather see a more general approach (common interface, mapper -> datasources (xmltv......) as plugins), as was suggested here in a thread, to lazy/busy to look it up right now. I seem to remember that i half-promised that i would write a xmltv datasource for that plugin, haven't had any time to do it unfortunetly.

But perhaps this is something that's looked into from the MP-developers ?

Not sure if that approach is feasible with the different EPG methods. But if not, then why not have this plugin as the official one. The standard xmltv plugin is pretty much useless, well, at least it was for me though perhaps it varies depending on the grabber that's used.
 

robyf

Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    53
    Bolzano
    Home Country
    Italy Italy
    I think this plugin shoud be in official release of mediaportal... is a developer looking at this post?

    Roby

    I'd rather see a more general approach (common interface, mapper -> datasources (xmltv......) as plugins), as was suggested here in a thread, to lazy/busy to look it up right now. I seem to remember that i half-promised that i would write a xmltv datasource for that plugin, haven't had any time to do it unfortunetly.

    But perhaps this is something that's looked into from the MP-developers ?

    Not sure if that approach is feasible with the different EPG methods. But if not, then why not have this plugin as the official one. The standard xmltv plugin is pretty much useless, well, at least it was for me though perhaps it varies depending on the grabber that's used.

    This is what I said... Substitute actual xmltv plugin with this one waiting for a more general approach.
     

    Erwin

    Portal Member
    July 22, 2007
    12
    0
    Houten
    Home Country
    Netherlands Netherlands
    As requested: Here's a untested version where i just delete all programs for the channels available in the tvguide.xml instead of "delete from program". I'll test it after i get back from work.




    Laban :D

    I can t say enough thanks for the last update of XMLTV2 because the whole XML-epg shabang did not work for me, ... EVER !!!

    until you uploaded the last XMLTV2-update yesterday :D :D

    Only DVB-epg did work ok. Always when I tried to "Force Import" in the XMLTV2 plugin I got an error saying there was a Void Program. XMLTV did not work for me either. But this one finally does !!! I'm VERY happy about that, I can tell you.

    Cheers
     

    Laban

    Portal Pro
    July 1, 2007
    206
    18
    Luleå
    Home Country
    Sweden Sweden
    Only DVB-epg did work ok. Always when I tried to "Force Import" in the XMLTV2 plugin I got an error saying there was a Void Program. XMLTV did not work for me either. But this one finally does !!! I'm VERY happy about that, I can tell you.

    It's good to hear that it works though i didn't change anything other then the "delete before import" part so i'm not really sure why it works for you now if it didn't work before. Doesn't matter if you have it set or not, should not affect the import itself afaics. "Void program" doesn't really ring a bell either.

    But who am i to complain if it works :)
     

    fab70

    Portal Member
    February 11, 2007
    27
    0
    Home Country
    Italy Italy
    Laban,
    you did a great job.
    I just installed the tv server on a new pc, and I wondered that xmltv 2 plugin is not present in the official release.
    I really don't understand the why, becouse your plugin is really a big improvement if compared to the original plugin.
    It always worked very well for me.
    Many thanks again.
     

    Laban

    Portal Pro
    July 1, 2007
    206
    18
    Luleå
    Home Country
    Sweden Sweden
    I just installed the tv server on a new pc, and I wondered that xmltv 2 plugin is not present in the official release.
    I really don't understand the why, becouse your plugin is really a big improvement if compared to the original plugin.

    One thing to keep in mind though is that it's not just "we'll take this code and throw it in the SVN and then we're done". Somebody has to support it (the code), might have to go through the code to make "MP standard" code. Then it's the problem of supporting the functionality which probably is the biggest problem in this case.

    But as i said, the standard xmltv plugin is something that really doesn't work with the Swedish grabber, and i'm guessing a few other grabbers too. So perhaps there's some work being done for a more generalized approach.
     

    Users who are viewing this thread

    Top Bottom