I just saw your suggestion right after I've uploaded 0.125.0 - thanks! dawansv wrote: > Here on the US West Coast I also have a lot of videos returning the "no > stream/DASH found" > Looking at the html response of these files, I see that they are no > longer formated the same way. In previous version, double quotes were > espcated with a backslash, and actual backslashes are double escaped. > See the difference here (you can see the double escape around the codec > info): > Indeed and I've moved to HTML::Entities instead of trying to hack that myself > > The second problem is that the player url we get via jsUrl in no longer > within ytplayer.config; so that code on line 729 no longer reaches it; > but jsUrl is still available other places, so I have added one line to > the code block that just grab the first jsUrl it finds if the previous > way fails > > Code: -------------------- > > > # get the player's url > my ($player_url) = ($content =~ /"assets":.+?"js":\s*("[^"]+")/); > ($player_url) = ($content =~ /ytplayer\.config\s*=.*"jsUrl":\s*("[^"]+")/) unless $player_url; > ($player_url) = ($content =~ /"jsUrl":\s*("[^"]+")/) unless $player_url; > -------------------- > > > I'm not sure of just looking for "jsUrl" as it exist in many places. I've tried something a bit more restrictive, let's see
LMS 7.9 on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, Riva 1 & 3 ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=105840 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins