Hi,
aus den tiefen des internet, vieleicht hat jemand auf so was gewartet.
ZitatAlles anzeigen
Very ugly code, hacked together. An adept programmer, feel free to make it right! (I suspect tons of buffer overflows). I got pissed of that windows programs could "rip" audio...... so, now we can use streamripper.sourceforge.net against vdr.
Credits: streamdev author and osdteletext plugin author.
Works under vdr-1.3.20 + streamdev-0.3.3-pre4-geni(with applicable patches to make it compile.... I used hoochvdr's site).
Changes to vdr:
- channels.h - added "songid" variable for the stream PID that has the title/author/album info along with some functions to get/set it.
- pat.c - sets the "songid" during PMT scan
Changes to streamdev:
Changed the default for ES streams to just select the first audio, even if there's video.
Added /current (ie, http://127.0.0.1:3000/ES/current) will start streaming whatever the current TP/channel the card is tuned to.
Added shoutcast style metadata (so song/author shows up in winamp). Hardcoded at 24576 for the metaint. Picked this number from some google search, so it might not be optimal!
Modified the txtrecv.c from osdteletext plugin to decode the info. Should work with XM's competitor channels along with D?sh regular music channels. Haven't tested against Bev.
Shows program title from the epg/schedules if the source is a Video channel.
More than likely breaks vdr-to-vdr streaming!!
CU
9000h