http://forums.gbpvr.com/showpost.php?p=205429&postcount=3Is there a way to have 1 computer download 2 different lineups from yahoo?
rkshack
http://forums.gbpvr.com/showpost.php?p=205429&postcount=3Is there a way to have 1 computer download 2 different lineups from yahoo?
rkshack
In your Batch file.. you just need to add "name=1" This will put your numbers in front of your channel names. So KTMP becomes 2 KTMP.
I'm not sure why on that one. I will have a new buld up sometime this weekend that has a lot of code modifications. If it happens with that, I can look into it further. Also email me you lineup*.dat and listings*.dat files. snd the email to my forum name at oshinetworks.comI got the yahoo grabber to work but I can only get six cahannels all above 100 nothing below it.
(it displays in dos window that it found 6 channels and 408 programs etc...)
I made sure that I had correct lineup in yohoo go tv with about 20 channels.
any idea whats going on?
Is there a reason to use 1 instead of 3. I think I would like to have the whole name of the channel for viewing on the program guide.In your Batch file.. you just need to add "name=1" This will put your numbers in front of your channel names. So KTMP becomes 2 KTMP.
rkshack
I will be adding the ability to manually add the channel names. The Y! data does not contain them.If you used the full name it's going to get cut off anyway... I guess it's more of a personal preference then anything. My cable uses 4 digits, Dish and bev all use 4 digits... so it works for me.
Are you using the "offset=" option? If you are, don't. Set MP to 0 and 0 and skip the offset=. All times are output to UTC. the intended purpose of offset was actually something else.. I will be deprecating that option.My guide data was 4.5 hours off. I am going into the xmltv plugin and entering -4 and -30. On my batch file I have -0500. Why do I need to enter the time change in the plugin if I put the offset in the batch. I am in central time.
Vort said:Here is what I did step by step:
1. Download Yahoo! Go for TV http://sites.mobile.yahoo.com/go/tv/index
2. Download latest YahooXMLTv utility from http://forums.gbpvr.com/showthread.php?t=27546
3. Ran Yahoo Go for TV Install
4. From command line, navigated to the Yahoo Go for TV Install directory and keyed "ygtvwizardhost.exe {11534277-7823-4E49-AFE6-587805632302}" without quotes. This allows you to choose and setup your lineup without going through the hassle of selecting a tuner and such. If the number above doesn't work, try browsing to the \plugins\wizard\tvlineups directory and open the TVLinups.plugin file with notepad and copy the plugin id and use that in place of the numbers in brackets above.
(NOTE: I just ran the program with no command line options. It did not force me to set up my card)
5. Once I selected the lineup, I unzipped the YahooXMLTv download to c:\yahooxmltv.
6. From commandline, I ran C:\yahooxmltv\YahooXMLtv.exe days=5
This tells the program to only get 5 days of data. The default is 14 days.
(NOTE: no command line options equals a full 14 day schedule)
7. Once the xml file was created, I manually renamed it to "tvguide.xml" and copied to MediaPortal\XMLTV
8. I went into the MediaPortal config, to the Television => Program Guide and made sure the path to tvguide.xml was correct. Use time zone info from XMLTV file was checked, and I had to enter -4.0 Hours for the offset. Click on update guide with timezone offset.
(NOTE: This was tricky. After you get your TVguide.XML THEN adjust with the offset in Media Portal Setup.)
9. For fun, I clicked on Remove all Programs from TV database
10. I then when to Television => TV Channels and click Import from TV guide.
(NOTE: This sets your Media Portal Channels to the ones in your TV guide and makes everything much easier)
Opened up MediaPortal, and all was well.
Some notes and wishes: What's nice about the utility is that once you have Yahoo Go for TV setup, you never have to go into it again. Everytime you run the utility, it automatically updates the channel listing. In the commandline you can tell the utility what directory to save the xml file in by using dir=
All we need is a script to run the utility and rename the file to tvguide.xml or be able to specify in MediaPortal the name of the XML file.
Jingoro said:Country: [United States]
Smile
Thanks for the instructions vort, worked like a charm. I find the simplest way to implement this is with a batch file. I created a batch file with the following instructions:
me said:Added for completeness:
Create a new text file by Right clicking inside of your
C:\Program Files\Team MediaPortal\MediaPortal\XMLTV
folder and selecting NEW/Text Document
Open the new text document and paste in the code listed below... (copy paste will work fine)
c:\yahooxmltv\yahooxmltv.exe days=2 offset=-0500
move /y "c:\yahooxmltv\*.xml" "c:\program files\team mediaportal\mediaportal\xmltv\tvguide.xml"
me said:This will download 2 days of programs with an offset of -5 hours. Adjust accordingly.
Once you've pasted the info into the text document select FILE/SAVE
Next, click on the file and RENAME it to
TVguideUpdate.bat
Windows will warn you about this. That's ok.
0modem said:Original thread
After deleting the file TVDatabaseV21.db3 in the mediaportal folder database the import of the TVguide.xml works.
I am using tvserver. My guide was importing as it should but the time was off. I hit refresh epg inorder go get rid of the current guide data and start a new download. Now when I look under the xmltv plugin settings on tvserver setup it says already importing. How do I reset the sql database or what do I need to do?
rkshack