MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2006-05-16, 06:02   #1 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts


Default NEW PLUGIN - for XMLTV channel names

This plugin will allow you to "re-map" the names of the channels downloaded from the Zap2It XMLTV tv guide to the names listed in you MP channel configuration. This lets you have names in your guide that are a little more readable than the generic ones from Zap2It.

Enjoy and post any bugs and/or comments in this thread. This is still a work in process!

http://www.team-mediaportal.com/file...G/XMLTVmapper/

Thanx!

opusnut
opusnut is offline   Reply With Quote
Old 2006-05-16, 21:11   #2 (permalink)
Portal Member
 
Join Date: May 2006
Location: Calgary, Canada
Age: 39
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi, just so I understand what is going on as I go through my first fumblings with MP!

I see that the xml file that I get from Zap2it has useful channel names such as "46 SPACEC". But, if I want, I can go into the MP configuration and manually change the name to say "Space" which is more friendly. However, everytime I import an updated xml file it would set the name back to "46 SPACEC".

What your executable does is to set up a mapping of the channel names so that when you get a new xml file you can run your executabvle and get an updated xml file to import that has the channel names reset to the friendly ones.

If you are doing an automatic retrieval of your tvguide.xml using a bat file I guess you should also include a line to run your mapper in there as well so you end up with the right names.

Am I close?

I also notice that the original tvguide.xml file seems to have a number of different names for each channel, the first one being something like "46 SPACEC" and other ones like "Space channel". Would it not be possible to somehow pick up these more obvious channel names directly?

Cheers,
Steve
nzsp is offline   Reply With Quote
Old 2006-05-17, 03:35   #3 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi steve,

you pretty much hit it on the head. MP will only import data from the xml file for channels that match the names listed in the configuration. So i wrote this app to change the names of each program in the Zap2It guide to the ones you have set in MP. It writes a new XML guide file including ONLY the programs for channels that have been configured in my mapper.

I am working on a command line version so that it can be included into a bat file. As far as i can tell, MP only matches the first channel name listed in the XMLTV file and there is no existing way to choose one of the others. After i get the command line version out, i am going to try to get a full fledge plugin that will do it all natively inside MP with scheduled download and all.

thanx..
opusnut
opusnut is offline   Reply With Quote
Old 2006-05-17, 04:37   #4 (permalink)
Portal Member
 
Join Date: May 2006
Location: Calgary, Canada
Age: 39
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Did you see bradsjm's post about his upcoming plugin in this thread ?

http://forum.team-mediaportal.com/vi...r=asc&start=15

Is this the same thing you are working on?
nzsp is offline   Reply With Quote
Old 2006-05-17, 05:14   #5 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts


Default

YEP... thats pretty much it... haha.. well thats one project off my plate.. :-) Cant wait to test it! i guess it's onto my next idea!

opusnut.
opusnut is offline   Reply With Quote
Old 2006-05-17, 16:37   #6 (permalink)
Portal Member
 
Join Date: May 2006
Location: Calgary, Canada
Age: 39
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Well by pointing that out to you I suppose now I can say I have contributed to the efficiency of MP development!
nzsp is offline   Reply With Quote
Reply

Bookmarks

Tags
channel, names, plugin, 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
KNC 1 DVB-C / cannot tune channels lutz General Support 15 2006-10-01 12:04
Technotrend DVB-S no LNB switch Erbsenkopp General Support 0 2006-08-03 10:04
Technotrend Budget 1500 CI no LNB switch Erbsenkopp General Support 0 2006-08-03 09:46
Tuning-problem - FireDTV - Stockholm-Nacka alek01 Installation, configuration support 2 2006-07-11 00:06
Xmltv set big hassle for a newb Anonymous Tips and Tricks 38 2004-12-18 21:09


All times are GMT +1. The time now is 04:57.


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