MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Electronic Program Guide » xmlTV


xmlTV everything related to xmlTV in here

Reply
 
Thread Tools Display Modes
Old 2006-01-08, 21:45   #1 (permalink)
Portal Member
 
Join Date: Aug 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via AIM to Athfar
Default EPG USA setup using xmltv. STICK THIS!

OK, I'm sure people have gone over this billions of times, but because I have had the same stupid things go wrong over and over. I am bringing you an updated USA guide post for anyone installing on 0.2 RC2. This is also for me to reference next time I crash my box hehe.

** Registering for your listings using Zap2it **
1) Visit http://labs.zap2it.com/.
2) Register for an account using the certificate code ZYZM-TE5O-SBUT (this is specified when you run xmltv.exe grabber --configure as well).
3) Setup your listings/lineups for your area using the zap2it website.
4) Also note, zap2it subscriptions expire every 3 months. All this means is you will have to relogin and resubscribe.

** Media Portal Configuration **
1) Install MediaPortal package. (no brainer)
2) Download the latest version of xmltv (0.5.42 today) here.
3) Extract only the contents of the xmltv-0.5.42-win32 directory (its in the zip) into your c:\program files\team mediaportal\mediaportal\xmltv\ directory.
4) Run "Setup Mediaportal" and skip through the wizard because stuff in the wizard never works for me. Then run it again so you get the regular looking setup GUI.
5) Goto Television > Program Guide. Uncheck "Use time zone information from XMLTV file." Set your "Compensate time zone" to your time zone (ie: mine is -6 for CST).
6) Goto the "Scheduler" tab. Set the "Grabber" to tv_grab_na_dd. Click "Run Grabber."
7) This should run the --configure command for xmltv. If it doesn't bring a command prompt up and ask you for a time zone offset skip down to the bottom to "Manual xmltv --configure".
8) For Timezone offset set +0000. All other settings are explained well or default. This command added all the channels for xmltv to grab in the tv_grab_na_dd.conf. This will also go ahead and grab all the data as well. If you dont see "Downloaded XXXX programs in..." you've done something wrong.

** Manual xmltv --configure **
1) Open command prompt (windows key r > cmd). Type cd c:\program files\team mediaportal\mediaportal\xmltv. Type xmltv tv_grab_dd_na --configure. Resume Step 8 from above.
2) Also run the "Run Grabber" again so that you can actually get the data instead of just setting up your .conf.

** Notes about time zone offset settings **
In the RC2 I have never been able to "Get time zone data from the XMLTV file" because if it did get that data you shouldn't have to set the offset (atleast thats why I would think). If you are having problems with your times being off, make sure you are following this guide from a fresh install (delete the mediaportal directory). This is the only way I know of getting the time zone stuff to work as it should.

** Windows Task Scheduler Settings **
Well, this stuff works pretty much how it is. Set your administrator account and password (or another user that has rights to create tasks).

I tried to italicize any information that may be different if you are configuring this for another country, or in a different directory.
Thats pretty much it. Feel free to post anything I have missed.
I do take donations via Paypal... haha just kidding

-Chris
Athfar is offline   Reply With Quote
Old 2006-01-09, 06:15   #2 (permalink)
Portal User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Default

when I tell it to run grabber in step 6, I get a file not found exception. This is on a fresh install. I haven't been able to find anything in the forum about this. Any ideas?

C:\Documents and Settings\My User Name>"C:\Program Files\Team MediaPortal\
MediaPortal\TVGuideScheduler.exe"
The following exception was raised:
The system cannot find the path specified
The following exception was raised:
The system cannot find the path specified
The following exception was raised:
The system cannot find the path specified
The following exception was raised:
The system cannot find the path specified
The following exception was raised:
The system cannot find the path specified
The following exception was raised:
The system cannot find the path specified

Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'C:\Do
cuments and Settings\My User Name\xmltv\TVguide1.xml'.
File name: 'C:\Documents and Settings\My User Name\xmltv\TVguide1.xml'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileInfo.get_Length()
at MediaPortal.TVGuideScheduler.GetGuideData.Main(Str ing[] options)

Also, Manually running xmltv through your instruction works.
mackworth is offline   Reply With Quote
Old 2006-01-19, 06:35   #3 (permalink)
Portal Member
 
Join Date: Mar 2005
Location: Idaho, USA
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via MSN to RickWesh Send a message via Yahoo to RickWesh
Default

Quick note here!
If you look at the Zap2It website in the forum, XMLTV doesn't support timezone designation, merely Timezone offset.

I'm in Northwest USA and my offset is set to -9.5. This gives me accurate EPG data.

Also, delete MP in order to correct your settings; hmmmm. Try changing the offset, hit the 'Remove All Programs from TV Database' then run the Grabber.

There is an website that has the correct TZ for anywhere planetwide but I can't seem to find it in my bookmarks. Google for Timezone.

I would like to state that the guide offered here is an excellent source and should in no way be discredited.
__________________
ASUS P5VDC-MX, Intel Celeron D 3.33Ghz, 1Gb DDR 400, ATI AIW 2006, ATI HDTV Wonder, ATI Remote Wonder+, SB X-FI Fatal1ty Pro Series, Logitech X530, NEC DVD-RW 1300a, 2 @ 120Gb HDD, 1 @ 320Gb HDD, Win XP Pro. SP2, .NET 1.1, .NET 2, MP 2RC2, uICE 2.34 Remote Control Software
RickWesh is offline   Reply With Quote
Old 2006-01-26, 18:54   #4 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default i have problems too

i have problems too , when i put in my user name and password , i get this error


WARNING: error parsing DD xml: ERROR: FETCH ERROR401 Unauthorized at /PerlApp/grab/na_dd/tv_grab_na_dd line 705.

Bad XML from DD, cannot continue.

how can i fix this stuff?
uketommyv is offline   Reply With Quote
Old 2006-01-26, 19:43   #5 (permalink)
Portal Member
 
wishywashy's Avatar
 
Join Date: Jan 2005
Location: Hill AFB, UT
Age: 33
Posts: 458
Thanks: 15
Thanked 3 Times in 3 Posts

Country:

My System

Default

What version of xmltv are you useing? Did the configure portion work correctly?
wishywashy is offline   Reply With Quote
Old 2006-01-26, 23:16   #6 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default

yea i think it did all of the other steps worked fine , its just this

i think it might be something wrong with my anti virus

i have the norton internet security , but its hard to tell , any idea?
uketommyv is offline   Reply With Quote
Old 2006-01-26, 23:21   #7 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default

oh its the new one i think i just tried this
uketommyv is offline   Reply With Quote
Old 2006-01-27, 00:33   #8 (permalink)
Portal Member
 
wishywashy's Avatar
 
Join Date: Jan 2005
Location: Hill AFB, UT
Age: 33
Posts: 458
Thanks: 15
Thanked 3 Times in 3 Posts

Country:

My System

Default

can you post the first 5 or so lines of your tv_grab_na_dd.conf file (minus user/pass)? You can find it in the /xmltv/.xmltv directory.
wishywashy is offline   Reply With Quote
Old 2006-02-04, 05:27   #9 (permalink)
Portal Member
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 354
Thanks: 0
Thanked 0 Times in 0 Posts


Default Re: i have problems too

Quote:
Originally Posted by uketommyv
i have problems too , when i put in my user name and password , i get this error


WARNING: error parsing DD xml: ERROR: FETCH ERROR401 Unauthorized at /PerlApp/grab/na_dd/tv_grab_na_dd line 705.

Bad XML from DD, cannot continue.

how can i fix this stuff?
It means the login failed. Either your username or password is bad or you don't have an account set up to log into.

I ran into it today when I typed the wrong password when setting up my new HTPC.

BTW, it's a real PITA to have to uninstall/reinstall MP if the tv guide gets messed up. I had to wipe it out completely.
If anyone knows what files to delete or mod this would save a lot of people hours of work.
I also had difficulty with it trying to force a european guide on me if I used the wizzard to set it up. I might have clicked the wrong thing though. I think it's best to skip that step in the wizzard if you are in the US or you'll have to clean out the database.
Tech Geek is offline   Reply With Quote
Old 2006-02-04, 10:00   #10 (permalink)
Portal Member
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 354
Thanks: 0
Thanked 0 Times in 0 Posts


Default Re: i have problems too

Quote:
Originally Posted by Tech Geek
I also had difficulty with it trying to force a european guide on me if I used the wizzard to set it up. I might have clicked the wrong thing though. I think it's best to skip that step in the wizzard if you are in the US or you'll have to clean out the database.
Ok, I checked it out and it's giving me the UK guide.
Didn't select it but that's what it grabbed.
Tech Geek is offline   Reply With Quote
Reply

Bookmarks

Tags
epg, setup, stick, usa, 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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup for XMLTV in MP Anonymous xmlTV 60 2007-04-10 23:51
Cant use Timeshifting or recording.... jojjal Get Support 3 2007-01-03 19:58
Stuttering about every 5s with DVB-T Pinnacle PCTV USB stick HACH General Support 1 2006-08-02 18:23
TV-card is detected in setup but not in MP itself TL@ Installation, configuration support 4 2006-07-12 16:19
Definitive TVGuide setup w/ icons for North America Legolas Tips and Tricks 17 2005-09-04 01:02


All times are GMT +1. The time now is 06:39.


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