MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
Thread Tools Display Modes
Old 2007-08-21, 09:32   #61 (permalink)
Portal Member
 
Join Date: Jul 2007
Location: Luleå
Posts: 195
Thanks: 1
Thanked 18 Times in 6 Posts

Country:


Default

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 ?
Laban is offline   Reply With Quote
Old 2007-08-21, 09:41   #62 (permalink)
Roo
Portal Member
 
Join Date: Jan 2007
Age: 32
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

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.
Roo is offline   Reply With Quote
Old 2007-08-21, 18:18   #63 (permalink)
Portal Member
 
Join Date: Jul 2007
Location: Luleå
Posts: 195
Thanks: 1
Thanked 18 Times in 6 Posts

Country:


Default

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.
Attached Files
File Type: zip XmlTvImport2.zip (24.6 KB, 28 views)
Laban is offline   Reply With Quote
Old 2007-08-21, 21:30   #64 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg
Age: 35
Posts: 722
Thanks: 7
Thanked 60 Times in 13 Posts

Country:

My System

Default

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
Attached Thumbnails
xmltv-2-source-binary-now-available-1.jpg  
MoPhat is offline   Reply With Quote
Old 2007-08-21, 22:49   #65 (permalink)
Portal Member
 
Join Date: Oct 2005
Location: Switzerland
Posts: 189
Thanks: 18
Thanked 0 Times in 0 Posts

Country:

My System

Default

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.
__________________
GoldenEye is offline   Reply With Quote
Old 2007-08-21, 23:27   #66 (permalink)
Roo
Portal Member
 
Join Date: Jan 2007
Age: 32
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

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.

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.
Roo is offline   Reply With Quote
Old 2007-08-22, 10:31   #67 (permalink)
Portal Member
 
Join Date: Dec 2006
Posts: 19
Thanks: 1
Thanked 2 Times in 2 Posts

Country:

My System

Default

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.
niblick is offline   Reply With Quote
This User Say Thank You:
Old 2007-08-22, 18:46   #68 (permalink)
Portal Member
 
Join Date: Oct 2005
Location: Switzerland
Posts: 189
Thanks: 18
Thanked 0 Times in 0 Posts

Country:

My System

Default

@niblick: This did the trick, thanks a lot :-)

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

G.
__________________
GoldenEye is offline   Reply With Quote
Old 2007-08-22, 19:26   #69 (permalink)
Portal Member
 
Join Date: Jul 2007
Location: Luleå
Posts: 195
Thanks: 1
Thanked 18 Times in 6 Posts

Country:


Default

Quote:
Originally Posted by Roo View Post
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 ?

Quote:
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.

Quote:
Originally Posted by GoldenEye
(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..
Attached Files
File Type: zip XmlTvImport2.zip (25.4 KB, 7 views)

Last edited by Laban; 2007-08-22 at 19:35.
Laban is offline   Reply With Quote
Old 2007-08-22, 19:33   #70 (permalink)
Portal Member
 
Join Date: Jul 2007
Location: Luleå
Posts: 195
Thanks: 1
Thanked 18 Times in 6 Posts

Country:


Default

Quote:
Originally Posted by MoPhat View Post
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 ie 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
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.
Laban is offline   Reply With Quote
Reply

Bookmarks

Tags
binary, source, xmltv

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 problems with XMLTV ChuckTX xmlTV 2 2007-03-09 18:54
XMLtv tvviewer Installation, configuration support 4 2006-08-24 18:25
Help with xmltv donmega General Support 4 2005-11-22 00:02
XMLTV blackfundi Plugins/Erweiterungen 1 2005-09-05 11:19
XMLTV Automate Anonymous Tips and Tricks 4 2005-01-17 15:53


All times are GMT +1. The time now is 11:21.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden