dawansv wrote: > Thank you Philippe. I am unclear whether you actually experience the > missing assets information from your location (or just saw it in the > debug info from hubertbanas), so if that helps here are 2 html content > files from 2 youtube videos downloaded from my US West Coast location, > one with the assets and one without (stated in file names within the > zip): > https://drive.google.com/file/d/1SCun6m0B7TDSZwK5YGW2OESOi2C1gPxU/view > > If others want to test whether replacing the reference to "assets... js" > with "jsUrl" works for them, the file to edit is ProtocolHandler.pm. On > Debian/Ubuntu it is located here: > > Code: -------------------- > > > /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm > -------------------- > > > > You need to update line 72 from > > Code: -------------------- > > > my ($player_url) = ($content =~ /"assets":.+?"js":\s*("[^"]+")/); > -------------------- > > > to > > Code: -------------------- > > > my ($player_url) = ($content =~ /"jsUrl":\s*("[^"]+")/); > -------------------- > > > > You need to restart LMS after the update for the cache to be reloaded > and the change to take effect. > > Please only do this if you are somewhat familiar with updating text > files with admin right and know how to revert your changes. This is > not a fully tested fix and it might create other problems with some > videos.
Just made this adjustment on my NAS as well manually, and for a handfull of songs that I tried which previously failed, I can confirm they're playing again now. FWIW :) ------------------------------------------------------------------------ Hawkeyenl's Profile: http://forums.slimdevices.com/member.php?userid=70820 View this thread: http://forums.slimdevices.com/showthread.php?t=105840 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
