xmltv 2 ? (source + binary now available) (2 Viewers)

Laban

Portal Pro
July 1, 2007
206
18
Luleå
Home Country
Sweden Sweden
I have fixed a bug recently that caused the "already importing" problem if there are no channels available when it tries the first time. Haven't uploaded this fix here though, will do that asap.

But it should work if you just restart the tv-engine. Have you tried that ?
 

Roo

Portal Member
January 7, 2007
24
1
48
Home Country
United Kingdom United Kingdom
Blimey that was a fast reply! I think that I have tried that a few times. Do you mean to restart the TVService service?

Ok just restarted TVService, opened the TV Server management console again and have the same message.

Many thanks.
 

Laban

Portal Pro
July 1, 2007
206
18
Luleå
Home Country
Sweden Sweden
Weird. Attach an export of your channels (export.xml) and a tvguide.xml file to a post here and i'll have a look at it.

I've attached a new .dll with the bugfix that i talked about. I don't expect it to fix your problem though but you might want to give it a go first.
 

MoPhat

Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    Hi, i have seen this plugin and i will to use it.

    But i get everytime a error message (screenshot).

    And here is the part from he error.log
    Code:
       bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       bei TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide(Object aparam)
    21.08.2007 21:23:59 1 Exception   :Die Datei C:\Program Files\Team MediaPortal\MediaPortal\xmltv\tvguide.lst konnte nicht gefunden werden.
    21.08.2007 21:23:59 1   site      :Void WinIOError(Int32, System.String)
    21.08.2007 21:23:59 1   source    :mscorlib
    21.08.2007 21:23:59 1   stacktrace:   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       bei TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide(Object aparam)
    21.08.2007 21:25:22 1 plugin:xmltv StartImport - Exception C:\Program Files\Team MediaPortal\MediaPortal\xmltv\tvguide.xml

    the path of the file is correct, i have also tryed from c:\...(!?)

    what should i do that the plugin is working? or is there a new version??

    thanks
    MoPhat
     

    GoldenEye

    MP Donator
  • Premium Supporter
  • October 26, 2005
    300
    26
    Switzerland
    Home Country
    Switzerland Switzerland
    Laban, thanks a lot for this excellent plugin.

    Question about the tvguide.lst. I am running a daily batch which updates the files listed in tvguide.lst (tvguide_f.xml and tvguide_e.xml). However, the import doesn't start automatically after the update from what I see from the message on the first tab of the plugin.

    Is there something wrong with my setup?

    Thx

    G.
     

    Roo

    Portal Member
    January 7, 2007
    24
    1
    48
    Home Country
    United Kingdom United Kingdom
    Hello.

    I tried your new DLL and managed to get it working. I then went back to the old version to do some further testing for you and it still worked. :confused:

    Sorry that at this moment I can't say where I was going wrong. Thanks for your help though and your excellent program.

    One small comment. I've unticked a number of the tuned channels so that they don't turn up in the TV guide as I'm not interested in them. I thought it would be better to do this as I can easily turn them back on again simply by ticking them. Would it be worth having a way of displaying only the ticked channels in your Mappings tab? I've also changed the order and wonder whether it would be worth carrying the new order into the Mappings tab. Hope that makes some sense.

    All the best,
    Roo.
     

    niblick

    Portal Member
    December 18, 2006
    29
    3
    Goldeneye,

    Are you changing the modified date on the tvguide.lst file the dates on the xml files don't seem to matter when you use this method.

    Use something like touch.exe in your batch file.
     

    Laban

    Portal Pro
    July 1, 2007
    206
    18
    Luleå
    Home Country
    Sweden Sweden
    One small comment. I've unticked a number of the tuned channels so that they don't turn up in the TV guide as I'm not interested in them. I thought it would be better to do this as I can easily turn them back on again simply by ticking them. Would it be worth having a way of displaying only the ticked channels in your Mappings tab?

    I've added a "Visible in guide" column that you can use to sort the channels by. Good enough ?

    I've also changed the order and wonder whether it would be worth carrying the new order into the Mappings tab. Hope that makes some sense.

    It sorts the mappings by the sortOrder column now, both the the channels and channels-by-group.

    GoldenEye said:
    (off topic: however, the current implementation does not make any sense to me, does it for you?).

    I agree, might consider doing something about this (remnant from the original XmlTvImport). Even though it has a simple external solution (touch the .lst file as mentioned). I have other more interesting projcts going though so it'll have to wait, no matter how simple it is :)

    Note: i'll add the new .dll here for now. Haven't really done that much testing..
     

    Laban

    Portal Pro
    July 1, 2007
    206
    18
    Luleå
    Home Country
    Sweden Sweden
    Hi, i have seen this plugin and i will to use it.

    But i get everytime a error message (screenshot).

    And here is the part from he error.log
    Code:
       bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       bei TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide(Object aparam)
    21.08.2007 21:23:59 1 Exception   :Die Datei C:\Program Files\Team MediaPortal\MediaPortal\xmltv\tvguide.lst konnte nicht gefunden werden.
    
    ...
    what should i do that the plugin is working? or is there a new version??
    
    thanks
    MoPhat[/QUOTE]
    
    This is a new one. Have you tried running MediaPortal as an administrator ?  (right click on the exe, choose compatiblity - run as administrator)
    
    I've added some additional logging for this problem so you might give it a try again and look at the logs & post the log here if necessary.
     

    Users who are viewing this thread

    Top Bottom