NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 24 25 26 27 28 … 93 Next »
TVGOS epg plugin for US OTA

 
  • 0 Vote(s) - 0 Average
TVGOS epg plugin for US OTA
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#1
2009-02-09, 06:04 AM
Just wondering if any of the developers had the time/patience to write a TVGOS plugin.

if not, what exactly would i need to decode the TVGOS data stream? i did a dump from my CBS station in TSReader Lite and it has the TVG1 & TVG2 streams. i even dumped some data from them but it appears to be non-human readable. is it a proprietary encrypted format or can i decode it easily with some known algorithm?

and of course how can i integrate this as a plugin for GBPVR so that when i run my epg update script it switches to CBS, gets the data dump, optionally converts it to some XML format and loads it into the database?

i'm currently using a customized version of zap2xml perl script and i'd like to avoid the issues that all page scrapers have...

thanks!
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
rcy
Offline

Junior Member

Posts: 21
Threads: 2
Joined: Feb 2009
#2
2009-02-10, 11:59 PM
pvruser Wrote:Just wondering if any of the developers had the time/patience to write a TVGOS plugin.

if not, what exactly would i need to decode the TVGOS data stream? i did a dump from my CBS station in TSReader Lite and it has the TVG1 & TVG2 streams. i even dumped some data from them but it appears to be non-human readable. is it a proprietary encrypted format or can i decode it easily with some known algorithm?

and of course how can i integrate this as a plugin for GBPVR so that when i run my epg update script it switches to CBS, gets the data dump, optionally converts it to some XML format and loads it into the database?

i'm currently using a customized version of zap2xml perl script and i'd like to avoid the issues that all page scrapers have...

thanks!


I've been looking for the same thing for a couple of weeks now. Just today I found the ATSC standard for the guide data in the ATSC data stream. You can find it here:

http://www.atsc.org/standards/a_65cr1_with_amend_1.pdf

I assume this is what the DTVPal Dvr uses for it's guide data. (it is OTA only.)They talk about it over at AVSForum. Not all areas are transmitting the data as I understand. I'm in the LA area, so KCBS is supposed to be transmitting this data.

Hope this helps! Smile
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#3
2009-02-11, 01:49 AM
They are only required to transmit about 6 hours and most only transmit 6-12. Cable doesn't usually transmit it so it's really not worth the effort to grab it.
rcy
Offline

Junior Member

Posts: 21
Threads: 2
Joined: Feb 2009
#4
2009-02-11, 04:36 PM
whurlston Wrote:They are only required to transmit about 6 hours and most only transmit 6-12. Cable doesn't usually transmit it so it's really not worth the effort to grab it.

I believe you're right about the PSIP data, which I assume is what the ATSC document refers to after scanning it. But for devices like the DTV Pal (OTA Dvr with no monthly fee like TIVO), they receive 7 days of info via TVGOS transmitted via a single local station. (typically the CBS affiliate) This method was used by VCRs, DVD recorders, and the Sony HD Dvr via analog TV Guide service. (TVGOS) There is now a digital version of this being transmitted in certain markets, with all markets to have data transmitted at the changeover. (my understanding)

But I could be wrong. There doesn't seem to be a lot of clear info on the topic.
rcy
Offline

Junior Member

Posts: 21
Threads: 2
Joined: Feb 2009
#5
2009-02-11, 04:49 PM
Seems the two are different, at least according to wikipedia - TVGOS:

"The new service, launched in the United States in 2006, is entirely digital, using the ATSC digital television standard. While this will significantly improve the service, older systems will no longer be able to download listings once analog shutdown is done in early 2009.[dated info] http://www.macrovision.com/dtv/10053.htm According to this thread from Macrovision analog program guides will continue to be available.

It should be noted that the Program and System Information Protocol (PSIP) within the ATSC standard already allows for each station to send out its own EPG information, and in the U.S. the FCC in fact requires stations to do so for OTA (but not cable, unless they are rebroadcasting an OTA station that provides the PSIP data). However, actual implementation is rather spotty, and usually very minimal -- stations often don't have full descriptions (or even correct information) on the current show, much less the next 3 hours required of them, or the 16 days worth of guide information that can be transmitted. Additionally, ATSC tuners are not required to even show the EPG, only the very limited information for the current show on the current channel.

While the TV Guide service also requires software in the TV or other device, and licensing fees or royalties to be paid to Gemstar TV Guide, it also offers a more complete solution for broadcast television, more like digital satellite or digital cable."


But I'd expect that there is no "open" standard that documents how it works if royalties have to be paid for the info. So while the data is probably there, without the standard for translating it, the point is probably moot.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#6
2009-02-11, 10:06 PM
Ah yes, was talking about the PSIP data, sorry. The TVGOS is something else but it is a proprietary format and you would need to pay the liscensing fees or hack it which will probably be pretty difficult. Far too many alternatives already exist to make the effort worth it.
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#7
2009-02-14, 04:55 AM (This post was last modified: 2009-02-14, 05:06 AM by pvruser.)
yeah i found some comments somewhere about the TVGOS feed containing images and i did a capture on that PID which indeed contains JPG and PNG images. however the stuff between the images looks unreadable, even though there are clear patterns which look like "headers" of some sort. i even found XML in clear text but only to create menus and load up the channel images or ads, nothing containing any show name.

i was hoping someone knows how to grab the EPG text and dates and show IDs since that's what we really need for a working XMLTV file... Big Grin i'm no expert at file headers (PNG and JFIF are clear text so it's easy to grab them) so if anyone knows what method is used to compress all the real EPG data that would make a fascinating topic Rolleyes

BTW i found this in another place i hope it helps someone to find the key:

Quote:The first program listings to be included in the TVGOS data are for Day 1 (today),
followed by Day 2 (tomorrow). The next program listings to be included are Day 8, not Day 3.
Days 3 and 4 are next, followed by Day 7. Finally, Days 5 and 6 are included. [1, 2, 8, 3, 4, 7, 5,
6] While the entire 8 days of program listings may not be included in the TVGOS data
transmission, Days 1, 2, and 8 are always included. This non-chronological method provides
two important functions. First, with Days 1 and 2 always being transmitted, any program
changes to a broadcaster’s schedule are updated. (For example, if a sporting event’s postseason
series ends early, the originally scheduled games will be substituted with alternate
programming.) Secondly, the complete 8-day program listings will always be stored in the
TVGOS system memory. (The last day, Day 8, is always included in the download.)
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#8
2009-02-14, 05:04 AM
Can you capture a full TS stream about a minute or two long and make it available to download? I'd be interested in seeing it. Don't expect anything though, I'm not sure I can take on another project at the moment.
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#9
2009-02-14, 05:14 AM
whurlston Wrote:Can you capture a full TS stream about a minute or two long and make it available to download? I'd be interested in seeing it. Don't expect anything though, I'm not sure I can take on another project at the moment.

a minute or two will not be enough... i have collected a 120 meg file over 12 hours for that particular PID Big Grin plus a few smaller ones over a few hours. the transfer is very slow and most of the time it's just what appears to be images... i'll see what site i can find for uploading files and send the link.
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#10
2009-02-14, 06:52 AM
rcy Wrote:I've been looking for the same thing for a couple of weeks now. Just today I found the ATSC standard for the guide data in the ATSC data stream. You can find it here:

http://www.atsc.org/standards/a_65cr1_with_amend_1.pdf

I assume this is what the DTVPal Dvr uses for it's guide data. (it is OTA only.)They talk about it over at AVSForum. Not all areas are transmitting the data as I understand. I'm in the LA area, so KCBS is supposed to be transmitting this data.

Hope this helps! Smile

after skimming that PDF i think they are using Huffman for the text of the EPG part. they have some tables listed in the PDF. however they also mention custom Huffman tables optimized for specific parts of the EPG which can be implemented by vendors... Rolleyes
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,104 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,576 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,653 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 3,018 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,893 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,340 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 2,035 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 5,271 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,349 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,507 2012-01-15, 08:33 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode