Paul Webster wrote: > The message from RNP of > "Plugins::RadioNowPlaying::Plugin::initPlugin (3671) Stations (for > example RadioBlues Flac) might require the Perl module HTML::TreeBuilder > to fetch some of the song information. If you see no song information > then please use your operating system's package manager to install it." > should only come out if Treebuilder is not available - so that is odd. > > code is: > > Code: -------------------- > > > BEGIN { > $haveTreeBuilder = 0; > eval { require HTML::TreeBuilder }; > $haveTreeBuilder = 1 unless ($@); > } > -------------------- > >
To be honest, the xpath module I put in is a legacy thing really, left over from when the plugin had to do a lot of web scraping. It only has to do a very small amount now to get to some embedded JSON from a web page, so I think I'll just remove it and find a different way and save myself a headache working out the dependency problem! Stuart McLean expectingtofly plugins : 'bbc sounds' (https://github.com/expectingtofly/lms_bbc_sounds_plugin),' global player (uk)' (https://github.com/expectingtofly/lms_globalplayer_plugin), 'times radio' (https://github.com/expectingtofly/lms_times_radio_plugin), 'uk radio player' (https://github.com/expectingtofly/lms_ukradioplayer_plugin), 'virgin radio (uk)' (https://github.com/expectingtofly/lms_virgin_radio_plugin) and the 'radio favourites plugin' (https://github.com/expectingtofly/lms_radio_favourites_plugin) for bbc sounds help see the 'bbc sounds wiki' (https://github.com/expectingtofly/lms_bbc_sounds_plugin/wiki). ------------------------------------------------------------------------ expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263 View this thread: http://forums.slimdevices.com/showthread.php?t=113974 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins