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-23, 01:49   #71 (permalink)
Portal Member
 
Join Date: Oct 2005
Location: Switzerland
Posts: 189
Thanks: 18
Thanked 0 Times in 0 Posts

Country:

My System

Default

Laban

After installing your plugin, everything worked fine, and I was able to import two xml files listed in an lst file. Today, this does not work anymore (after I re-created the tv database due to a upgrade).

My lst file is stored in C:\Programme\Team MediaPortal\MediaPortal\XMLTV\tvguide.lst. It looks as follows:
tvguide_f.xml
tvguide_e.xml
The two xml files are stored in the same directory
C:\Programme\Team MediaPortal\MediaPortal\XMLTV\tvguide_e.xml
C:\Programme\Team MediaPortal\MediaPortal\XMLTV\tvguide_f.xml
The plugin settings are ok. However, when I try to load the mappings the following error appears:
Can't read file(s) from the tvguide.lst
and the following log entries are written (nothing else appears in the logs):

(error.log)
23.08.2007 01:43:50 1 plugin:xmltv StartImport - Exception C:\Programme\Team MediaPortal\MediaPortal\XMLTV\tvguide.lst
(tv.log)
23.08.2007 01:43:50 1 Loading all channels from the database
Pressing the import button says:
Total channels imported: 58
Total programs imported: 0
Thanks a lot for your work, which I highly appreciate.

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

Country:


Default

Did some minor changes and added some error logging. Try with this version and see what happens/shows up in the logs if it doesn't work.
Attached Files
File Type: zip XmlTvImport2.zip (25.0 KB, 37 views)
Laban is offline   Reply With Quote
Old 2007-08-23, 14:09   #73 (permalink)
Portal User
 
Join Date: Aug 2006
Age: 37
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi!

It doesn't work for me. I get an error message when I try to load the tvguide.xml.

Can't open tvguide.xml for reading

The error.log filke says

2007-08-23 14:12:13 1 plugin:xmltv StartImport - Exception when reading [C:\Program\Team MediaPortal\xmltv-0.5.48-win32\tvguide.xml] : Metoden hittades inte: Void TvDatabase.Channel..ctor(System.String, Boolean, Boolean, Int32, System.DateTime, Boolean, System.DateTime, Int32, Boolean, System.String, Boolean).

Any ideas?

Regards
Anders
duracell is offline   Reply With Quote
Old 2007-08-23, 15:32   #74 (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 duracell View Post
Hi!

It doesn't work for me. I get an error message when I try to load the tvguide.xml.

Can't open tvguide.xml for reading

The error.log filke says

2007-08-23 14:12:13 1 plugin:xmltv StartImport - Exception when reading [C:\Program\Team MediaPortal\xmltv-0.5.48-win32\tvguide.xml] : Metoden hittades inte: Void TvDatabase.Channel..ctor(System.String, Boolean, Boolean, Int32, System.DateTime, Boolean, System.DateTime, Int32, Boolean, System.String, Boolean).

Any ideas?

Regards
Anders
Ok, seems like there's been some changes in the latest SVN. I'll look into it..
Laban is offline   Reply With Quote
Old 2007-08-23, 15:47   #75 (permalink)
Portal Member
 
Join Date: Jul 2007
Location: Luleå
Posts: 195
Thanks: 1
Thanked 18 Times in 6 Posts

Country:


Default

For the users of the latest SVN (not sure from which version this change is needed)
Attached Files
File Type: zip XmlTvImport2.zip (24.9 KB, 59 views)

Last edited by Laban; 2007-08-23 at 15:53.
Laban is offline   Reply With Quote
Old 2007-08-23, 17:05   #76 (permalink)
Portal User
 
Join Date: Aug 2006
Age: 37
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts


Default

That was fast!!

Thank You, works like a charm

/Anders
duracell is offline   Reply With Quote
Old 2007-08-24, 09:26   #77 (permalink)
Portal Member
 
Join Date: Oct 2005
Location: Switzerland
Posts: 189
Thanks: 18
Thanked 0 Times in 0 Posts

Country:

My System

Default

Thank you very much, Laban. I have installed the most current version (stored in you posting #75) and tested the import: The mappings work now, and the xml files are read by the importer. However, there are still no programs imported. The log says:
24.08.2007 08:57:34 10 XMLTVImport: star-rating could not be used -
<value>3/5</value>
,(
<value>)
I'll attach my xmltv as well as the tv.log file.

G.
Attached Files
File Type: rar tvguide.rar (223.7 KB, 11 views)
__________________
GoldenEye is offline   Reply With Quote
Old 2007-08-24, 18:25   #78 (permalink)
Portal Member
 
Join Date: Jul 2007
Location: Luleå
Posts: 195
Thanks: 1
Thanked 18 Times in 6 Posts

Country:


Default

I've uploaded a new version (main post) that should fix the star-rating problem. Though afaics, that shouldn't have affected the import. But try and see what happens.
Laban is offline   Reply With Quote
Old 2007-09-02, 18:29   #79 (permalink)
Roo
Portal Member
 
Join Date: Jan 2007
Age: 32
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

Hi Laban.

Forgot to say thank you for the extra feature that you added to sort the channels.

All the best,
Roo.
Roo is offline   Reply With Quote
This User Say Thank You:
Old 2007-09-05, 22:09   #80 (permalink)
Portal Member
 
Join Date: Jun 2005
Location: Bolzano
Age: 37
Posts: 264
Thanks: 40
Thanked 5 Times in 5 Posts

Country:

My System

Default

Thank you Laban for this plugin it's THE PLUGIN that TVServer needed and works great!!

Roby
__________________
Roby

Download italian myvideos IMDB script yahoo.it
Download italian myvideos IMDB script mymovies.it
Visit my iPod Italian site: http://www.ipoditalia.it

robyf is online now   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:27.


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