mkrufky / libdvbtee

dvbtee: a digital television streamer / parser / service information aggregator supporting various interfaces including telnet CLI & http control
GNU Lesser General Public License v2.1
79 stars 31 forks source link

Enhancement Request: EPG TV Show Category and Advisory #16

Open andrewfblake opened 8 years ago

andrewfblake commented 8 years ago

Hi again,

Just a quick question to see if it would be possible to get the Category of the TV Show (i.e. "Entertainment" or its Id?) and the Advisory (PG, 18+ etc) in the Output? ... Having a look at a sample output i've captured the descriptorTag always seems to be 77 which i'm guessing means video as its 72 for the radio channels? Sorry if its there and i'm missing something here?!

Currently using the command line (using it in Brisbane Australia, DVBT) dvbtee.exe -F infile.ts -j

I'm a .NET guy so doing updates will be over my head i'm afraid! But very happy to be a tester or contribute with writing some documentation or wikis whatever I can! :-)

Thanks,

Andrew

mkrufky commented 8 years ago

Hello @andrewfblake . Descriptors tagged 77 are called short event descriptors and are parsed by the desc_4d parser. These are used to describe any event. Do you know for sure that the Australian PSIP tables contain categories and advisory ratings in the output? It sounds familiar and I don't doubt it, but in order to add such support, I will need to get some sample streams. (I live in New York) Can you capture some streams and post them somewhere for me to download? They should be at least a minute or so long.

Libdvbtee really could use a wiki... If you're volunteering to write documentation or wikis, this project could really use that kind of contribution :-)

andrewfblake commented 8 years ago

Amazing! thank you for checking it out! ...and sure thing! here is a full dump of all AU TV Networks (just to be on the safe side! // 2 mins each, all streams/programs) ...Yeah would love to contribute somehow, so i'll give it a go!

Australian Free to Air Network (all Programs/Streams):

http://adgile.blob.core.windows.net/general/ABC_Network.ts http://adgile.blob.core.windows.net/general/Nine_Network.ts http://adgile.blob.core.windows.net/general/TEN_Network.ts http://adgile.blob.core.windows.net/general/SBS_Network.ts http://adgile.blob.core.windows.net/general/Seven_Network.ts

dvbtee output (and many thanks to @rdp for the windows build im using!)

http://adgile.blob.core.windows.net/general/ABC_Network.txt http://adgile.blob.core.windows.net/general/Nine_Network.txt http://adgile.blob.core.windows.net/general/TEN_Network.txt http://adgile.blob.core.windows.net/general/SBS_Network.txt http://adgile.blob.core.windows.net/general/Seven_Network.txt

Photos of my TV with the program type (Movie, Sport, etc) and Advisory output just to make sure that i'm not sending you on a wild goose chase! :-)

http://adgile.blob.core.windows.net/general/ABC_Network.jpg http://adgile.blob.core.windows.net/general/Nine_Network.jpg http://adgile.blob.core.windows.net/general/TEN_Network.jpg http://adgile.blob.core.windows.net/general/SBS_Network.jpg http://adgile.blob.core.windows.net/general/Seven_Network.jpg

Thanks again and do shout if you need anything else! :-)

topherk6 commented 1 year ago

Hi Team/Sir :P - Just checking in on this enhancement if at all possible. dvbtee is doing a great job at not just 1 EPG/EIT stream, but also at listening to IPTV Headend 'barker' channels which combine all of the EPG into a single multicast stream - So, nice one! The last few pieces for me are some extended descriptor tags. 0x54 contains show category/genre and 0x55 has ratings (at least here in Australia).

eit

Happy to help out with any captures you might need

mkrufky commented 1 year ago

I'd love to have this added. I didn't realize how much time had gone by :-/ Would you be willing to take a stab at it? libdvbtee has it's own plugin system that makes it very easy to add support for new tables and descriptors.

Here's an example commit that adds a new descriptor: https://github.com/mkrufky/libdvbtee/commit/a0eab95e18af3065ae2a60bb8460a0d7223cb9ff

I would do it myself, but I'm swamped. I'm here if you have any questions.