> Greetings > > I've done a first cut at getting BBC programs (those other than live) to > list and play in Mythstream. Its a two stage process, where the stage 1 > gets a frame from the bbcplayer and lists the shows available. This script > provides a handler hint for stage 2. Selecting a show gets a page that > contains a mass of javascript that is parsed for the url of the .rpm file. > This is processed in stage 2 where the contents of the .rpm file (the > actual rstp url) is extracted and returned. > > I've attached these, plus a list of stage 1 urls to go into stream.res or > the database. Don't forget that the handler for these should point to > bbc_l1. > > Only problems I've had so far is the Radio 4 says "no data received" but > getting the 1st page manually using wget and running it through the stage > 1 parser looks OK - and I can't seem to get hold of the rest of the line > after a </a> tag to get a description. That reflects my skill with perl > (i.e. non-existant!!) > > All input gratefully received - in other words can you all help me debug > it :-))
Solved the problem with Radio 4 - if a page is > 25000 chars long and there are no URLs then it aborts - unfortunately, it doesn't allow for relative URLs. The fix is the patch attached. Still no luck with the perl regular expression parsing the text to get a description field :-(( -- Robin Gilks
mythstream.patch
Description: Binary data
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
