Zap2It Stopping Service (1 Viewer)

FLY

Portal Pro
September 5, 2006
75
1
California
Home Country
United States of America United States of America
I 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?
 

rkshack

Portal Pro
February 23, 2006
54
1
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.

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.

rkshack
 

ASiDiE

Retired Team Member
  • Premium Supporter
  • January 14, 2005
    902
    5
    USA
    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.
     

    rkshack

    Portal Pro
    February 23, 2006
    54
    1
    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.
     

    whurlston

    Portal Pro
    March 4, 2007
    82
    10
    Home Country
    United States of America United States of America
    I 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?
    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.com

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

    rkshack
    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.
    I will be adding the ability to manually add the channel names. The Y! data does not contain them.



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

    AvsFan

    Portal Pro
    November 30, 2006
    83
    0
    Would someone be willing to post a complete newbies guide on how to set everything up? Especially the setting up a batch file part. It would be much appreciated.

    Thank you
     

    PastorVor

    Portal Member
    May 10, 2007
    19
    0
    59
    Home Country
    United States of America United States of America
    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.

    You should test the batch file to make sure it's working ok.
    Finally, open CONTROLPANEL/Scheduled Tasks
    Select "Add Scheduled Task"
    Select the "Browse" button and "Browse" to the batch file you created in the Mediaportal/XMLTV folder and select it.
    Select your desired schedule.
    Select your name and enter your password. It will NOT work if you do not use a password on your login.
    If you need to put a password on your login use the "User Accounts" program from Control Panel.
    Once you've got it all done select your "task" from the list, right click and select RUN. You should see the DOS box and it will download your guide and then, hopefully if you've entered everything correctly it will move the file to the proper folder for you.
    Then, all you need to do is load Media Portal, go to My TV and view the guide. Press F3 and select Download new guide.

    While I was trying to set this up I kept doing everything correctly but my Media Portal kept showing no channels in the Guide. Not just no info but no channels listed at all... though, I could turn on my TV and view channels and the names were correct. I couldn't figure it out for a long time... then I saw this:

    0modem said:
    Original thread
    After deleting the file TVDatabaseV21.db3 in the mediaportal folder database the import of the TVguide.xml works.

    Many thanks to everyone involved...
     

    rkshack

    Portal Pro
    February 23, 2006
    54
    1
    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
     

    whurlston

    Portal Pro
    March 4, 2007
    82
    10
    Home Country
    United States of America United States of America
    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

    Sorry, can't help there. You may want to try deleting (or renaming) the database as PastorVor suggested at the bottom of his post above yours. Renaming is probably a good idea in case it breaks something. I haven't looked at the database to see what else is in it.
     

    Users who are viewing this thread

    Top Bottom