NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 39 40 41 42 43 … 93 Next »
Over-the-air channels with Yahoo/API

 
  • 0 Vote(s) - 0 Average
Over-the-air channels with Yahoo/API
jldet5
Offline

Member

Posts: 96
Threads: 8
Joined: Apr 2007
#11
2007-07-14, 01:35 PM
jdonth Wrote:
Code:
I guess this doesn't work for ATSC. Analog only?

Send me a copy of your OverTheAir.ini file and I will look into it

Thanks!
jdonth
Offline

Member

Posts: 52
Threads: 6
Joined: Sep 2005
#12
2007-07-14, 02:23 PM
It appears that all the providers for zip code 60102 are returning 0 bytes in the schedule zip file. :mad:


Code:
I am using the following call to the Yahoo servers:

  Agent = 'Mozilla/3.0 (compatible)';
  URL = 'http://api.digitalhomeservices.yahoo.com/V0_1/tribune' +
                   '?mode=schedule&provider=' + Provider + '&country=us'

where Provider is the Provider ID (such as IL63463).
It works for my zip code, 76020, and has worked for several other developers.

Does anyone know if there are geographic restrictions to accessing the Yahoo servers via the API? If so, this approach is doomed.:confused:
jldet5
Offline

Member

Posts: 96
Threads: 8
Joined: Apr 2007
#13
2007-07-14, 02:41 PM
jdonth Wrote:It appears that all the providers for zip code 60102 are returning 0 bytes in the schedule zip file. :mad:


Code:
I am using the following call to the Yahoo servers:

  Agent = 'Mozilla/3.0 (compatible)';
  URL = 'http://api.digitalhomeservices.yahoo.com/V0_1/tribune' +
                   '?mode=schedule&provider=' + Provider + '&country=us'

where Provider is the Provider ID (such as IL63463).
It works for my zip code, 76020, and has worked for several other developers.

Does anyone know if there are geographic restrictions to accessing the Yahoo servers via the API? If so, this approach is doomed.:confused:

That sparked an idea. I changed the zip code to 60601 and I got data. 60102 is a NW suburb of Chicago. May still be hopeSmile Gonna look at the data now.
jdonth
Offline

Member

Posts: 52
Threads: 6
Joined: Sep 2005
#14
2007-07-14, 02:56 PM
I tried 60601 and am still getting zero bytes. Any idea if they are blocking by IP or do I need to add some additional header info in the HTTP call like HOST to get them to "like" the call?

In my excitement to get this working from -OZ's previous work, I forgot to ask, where did the Yahoo API call data come from?

I assumed that we are allowed to use it. Can anyone shed any light on this?
jldet5
Offline

Member

Posts: 96
Threads: 8
Joined: Apr 2007
#15
2007-07-14, 03:13 PM
jdonth Wrote:I tried 60601 and am still getting zero bytes. Any idea if they are blocking by IP or do I need to add some additional header info in the HTTP call like HOST to get them to "like" the call?

In my excitement to get this working from -OZ's previous work, I forgot to ask, where did the Yahoo API call data come from?

I assumed that we are allowed to use it. Can anyone shed any light on this?

Now it doesn't work:mad: I got one good XML file and it now seems to be blocked?:confused:
jldet5
Offline

Member

Posts: 96
Threads: 8
Joined: Apr 2007
#16
2007-07-14, 03:24 PM
It started working again. Seems to be hit or miss. 60603 worked also.

Can you change the program to not wipe out the XML file when it returns zero bytes?
jdonth
Offline

Member

Posts: 52
Threads: 6
Joined: Sep 2005
#17
2007-07-14, 03:50 PM
I posted a new version (0.7.7.14) that should not delete the XML file if the new one is going to be zero bytes.

http://www.donth.com/ota.zip

Let me know if this works, OK?
jdonth
Offline

Member

Posts: 52
Threads: 6
Joined: Sep 2005
#18
2007-07-14, 04:57 PM
Ok, more information on the Yahoo API empty Schedule file issue.

It seems that the Yahoo servers check the location of your IP before delivering a ProviderID's schedule.

I tried to get a schedule for zip code 33410 (I live in 76020) and received a zero byte file. I had my brother, who lives in 33410, try the same thing and he received a valid data file.

Can anyone confirm or comment on this observation?
jldet5
Offline

Member

Posts: 96
Threads: 8
Joined: Apr 2007
#19
2007-07-14, 07:24 PM
jdonth Wrote:Ok, more information on the Yahoo API empty Schedule file issue.

It seems that the Yahoo servers check the location of your IP before delivering a ProviderID's schedule.

I tried to get a schedule for zip code 33410 (I live in 76020) and received a zero byte file. I had my brother, who lives in 33410, try the same thing and he received a valid data file.

Can anyone confirm or comment on this observation?

I think there is something else going on. I was just able to get 92101 Analog listings. Digital listings are the ones that seem to trip it up.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#20
2007-07-14, 07:49 PM
jldet5 Wrote:I think there is something else going on. I was just able to get 92101 Analog listings. Digital listings are the ones that seem to trip it up.

It usually times out on the first download attempt. Even through the Go 4 TV app. I don't know if the listings are being build on the fly or what. That is why my app has a "retry" built into it. Hope this helps.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 2 3 4 5 … 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  is there a service?method which returns listings for multiple channels? reven 16 6,997 2022-04-11, 04:30 PM
Last Post: mandai
  Channels List by Channel Group Name scJohn 1 2,778 2018-01-05, 10:45 PM
Last Post: mvallevand
  Switching Audio Channels spitefulgod 0 2,012 2016-12-15, 08:42 PM
Last Post: spitefulgod
  Merged channels mvallevand 3 2,639 2014-04-11, 04:55 AM
Last Post: mvallevand
  Scan for channels programmatically or via command prompt? reven 12 5,207 2013-03-08, 05:01 AM
Last Post: reven
  Non-broadcasting channels imilne 16 6,193 2011-07-02, 04:31 PM
Last Post: sub
  Recording without mapped channels. mvallevand 11 4,015 2009-09-06, 05:09 AM
Last Post: mvallevand
  Switch Channels in Inset JavaWiz 2 1,607 2008-07-27, 06:03 AM
Last Post: JavaWiz
  mapping satellite channels to EPG kainat 26 10,020 2008-02-19, 01:49 PM
Last Post: kainat
  Yahoo Go TV to XMLTV (via API) -Oz- 216 74,791 2007-09-14, 09:26 PM
Last Post: whurlston

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode