2012-01-31, 02:15 AM
mvallevand Wrote:It is superb whurlston, and the speed is great. I did have trouble after I got a callback error from SearchLite, I got several in a row, but it could be momentary connectivity. On other advantage over the NMT player is being able to display the OSD on top, definitely a cleaner interface.I'm going to work on better error handling after I package this up as a release version. I'll probably pass back an "@error" Exception object or something that will give more details.
I was quite thrilled with the speed that I was able to accomplish with this method. It's pretty darn close to direct streaming. I was afraid that I was going to need to download the whole thing first if I used ffmpeg because I was never able to get http working with it (I think Google is blocking the UserAgent passed by ffmpeg). But once I found out that ffmpeg will accept input from stdin, I was all over it.
The drop to mono didn't bother me so much as not seeing the OSD. I'm with you that it's much cleaner this way.
mvallevand Wrote:If the intent is to keep them for later play, perhaps the name should be youtube-title-id.ts, just a thought.Not a bad idea, I'll probably drop the "youtube-" portion though. I might also see about writing a metadata stream (NextPVR still uses those right?).
Martin.