mherger wrote: > > Youâ[emoji769]re right, something like that would be easier for > everybody. But > > donâ[emoji769]t you think that it could be possible to have the JS > script > > extracted automatically (better than by a regex). Browsers handle > > changing versions, so why canâ[emoji769]t we do it?. Or does that > mean we almost > > have to rewrite a semi-complete html parser? > > Exactly why we can't do it: we'd have to write a complete JS parser. > > TBH. I don't really understand how that function is being extracted. How > > do you even know what to look for? > > -- > -- > > Michael
It breaks the html page into sections with the different streams are listed and then in each of them with a few regex crude rules it extract the JS code. The there is a simple JS interprétée in Perl that excites it. LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5 ------------------------------------------------------------------------ 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 [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
