Re: [SlimDevices: Plugins] Music and Artist Info
Yep, encoding working fine now, thanks for the super-quick fix ! Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
Not related : I've also attached another one from a lyrics request on my main rig (the one I updated to 7.9.2), because there seems to be issues with accented characters. I've pushed out v1.6.6 which should address the encoding issue. If you have a folder for the lyrics you might need to remove those files for the change to take effect (or fix their encoding in some text editor yourself). -- Michael ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
mherger wrote: Or at least everything since the server start. Here's a log starting from a LMS restart : LMS_7.7.6_Synology_fromStartup.log Let me know if you need more. Turns out some module I'm using in the plugin and which comes with LMS is outdated in 7.7.6 and fails with more recent Perl versions - as the one installed on Synology DSM. I did update it in 7.9 three years ago, but never did for 7.7.6. I could certainly do this today. But I doubt Synology is going to update their package. Therefore I can only recommend you install pinkdot's 7.9 package instead... Or you try to replace the files yourself. Just tell me if you want to have instructions for this. Not related : I've also attached another one from a lyrics request on my main rig (the one I updated to 7.9.2), because there seems to be issues with accented characters. I'll look into this. Accents... it's particularly difficult with some crowd sourced services where they don't seem to always make sure the encoding is correct. I've seen cases where one service would return both correctly and incorrectly encoded files. -- Michael ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
mherger wrote: > Or at least > everything since the server start. Here's a log starting from a LMS restart : LMS_7.7.6_Synology_fromStartup.log Let me know if you need more. Not related : I've also attached another one from a lyrics request on my main rig (the one I updated to 7.9.2), because there seems to be issues with accented characters. (I also included the resulting lyrics.txt file. If you follow the genius link using a browser, encoding is correct) Here too I can provide more samples if needed. +---+ |Filename: LMS_7.7.6_Synology_fromStartup.log | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=28078| +---+ Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
Sorry, uploaded the wrong one. Here you go, at the very end of this one. Could you please post the full file (or upload it to https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a)? Or at least everything since the server start. That error seems to be logged if a module had failed to load before. But I don't see any first failure in the snippet you posted. -- Michael ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
fwiw, TrackStat, Dynamic Playlists and SQL Playlist work fine on my 7.9.1 install (I've disabled Startup Refresh ages ago, as it always was painfully slow on a RPI 3). Playlist Generator seems to be broken for any LMS version since 2014, but can be 'easily fixed' (https://forums.slimdevices.com/showthread.php?108436-Playlist-Generator=904947=1#post904947) SW: 'Web UI for LMS' (http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta)) | 'Playlist Editor / Generator' (http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor) | 'Music Classification' (http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-)) | 'Similar Music' (http://forums.slimdevices.com/showthread.php?108495-Announce-LMSmusly-play-similar-music) | 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/) HowTos: 'build a self-contained LMS' (http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS) | 'Ogg Opus' (http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files) | 'Bluetooth/ALSA' (http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio)) Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
Never mind, I found 'this here answer' (https://forums.slimdevices.com/showthread.php?109518-Server-taking-12-14-hours-to-start=923803=1#post923803) from Erland, I'll try it out as soon as the LMS restart is complete (since indeed it eventually starts up, after 10 minutes or so) BTW, while I was first able to use 7.9.2 , getting lyrics was of course working fine. Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
OK enabling plug-ins one by one showed that trackstat was preventing LMS to from starting. I can not understand why it was working for some time. Will try to see if I found some answers in the forum. Meanwhile, if anyone has an idea, feel free to chime in. Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
OK, I upgraded the Win7 VM to 7.9.2 It wasn't painless to keep all settings : At first, all plug-ins were showing, but then since my library was empty, I had to re-point to the music folder in the control panel (the path was correct, but it is a host drive shared as a network drive through VMWare, maybe that was the issue). Then (maybe after a LMS restart, not sure now), all plug-ins were gone. I reselected then all in settings, re-imported a trackstat backup since stats were gone too. Then for a while everything worked fine, dynamic + sql playlists etc. At some point, LMS froze, CPU to 50% and no webUI response. Restarted the whole VM, to no avail. LMS wouldn't start. I cleaned the cache and restarted everything : LMS did start, but I lost all plug-ins again. I'll now try to re-enable them again, but if this doesn't stabilise, it will definitely be a showstopper WRT 7.9.2 ... Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
mherger wrote: > I was mostly wondering about this one (which is not in the server.log > you uploaded): > > Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed > calling Slim::Networking::Async::_async_read: Attempt to reload > Plugins/MusicArtistInfo/Lyrics/Genius.pm aborted. > > -- > > Michael Sorry, uploaded the wrong one. Here you go, at the very end of this one. +---+ |Filename: lyrics 7.7.6.log | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=28069| +---+ Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
Just pushed a very minor update to 1.6.5. It really only fixes the Lyrics fallback when chartlyrics.com is down. -- Michael ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
Is there more context in the server.log? Please find attached a log from 2 consecutive attempts on the (NAS) 7.7.6 version I was mostly wondering about this one (which is not in the server.log you uploaded): Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Networking::Async::_async_read: Attempt to reload Plugins/MusicArtistInfo/Lyrics/Genius.pm aborted. -- Michael ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
Hi Michael, and thanks for your detailed input mherger wrote: > It certainly works best in 7.9. Some major features require at least > 7.8. > > I thought 7.7 was the minimum. But the repo file indeed seems to claim > that 7.6 was good enough. Honestly I would be surprised if that was the > > case. 7.6 is so old... I'm not even sure I had started working on the > Plugin when 7.6 was current. Yes, I read about that e.g. for the artist artwork, but I was wondering about the lyrics feature. As you may have noticed, I don't update a system that's working unless I need new features (hence the 7.6.2) It may be the time to give an update a try. > This might actually be an issue with the Windows build: it comes with > all Perl libraries included. Some of these, in particular SSL libraries, > > needed an update recently (past 12 months). Older builds, incl. older > 7.9 builds, would fail many requests. This has nothing to do with the > plugin itself, but really is a change in the environment, the internet. Yes, could have thought about something like this, since I had a recent concern about a RAD platform I'm using that was updated to openSSL 1.1.1 (potentially breaking basic SHA hashes in old code) I'll try something here. > Is there more context in the server.log? Please find attached a log from 2 consecutive attempts on the (NAS) 7.7.6 version HTH > There's little to no reason not to go straight to the latest 7.9.2 > nightly. In particular if you want to use this plugin, as eg. artist > artwork would not work with 7.7.x. > > I don't think those plugins are incompatible with 7.9. I read in several places here that some were having issues in latest builds with those plug-ins. Anyway, as I said, I'll give it a try someday. If it goes wrong, I'll revert to a snapshot. Thanks again for your work and help. +---+ |Filename: lyrics 7.7.6.log | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=28068| +---+ Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
Is there a minimum version of the server for this plug-in to work ? Or some other pre-requisites ? It certainly works best in 7.9. Some major features require at least 7.8. On my "historical" SqueezeBox Server v7.6.2 on a Windows 7 VM, it doesn't seem to work, whereas on an alternate test install of Logitech Media Server 7.7.6 on an Synology NAS, it works (not for all entries, even with "canonical" tagging as you put it, but on most of them) I thought 7.7 was the minimum. But the repo file indeed seems to claim that 7.6 was good enough. Honestly I would be surprised if that was the case. 7.6 is so old... I'm not even sure I had started working on the Plugin when 7.6 was current. From the (debug level) logs, I see that for both of them chartlyrics times out, but on the NAS, azlyrics gets a result, while on Win7 it gets a "Redirection limit exceeded" error (same for genius). This might actually be an issue with the Windows build: it comes with all Perl libraries included. Some of these, in particular SSL libraries, needed an update recently (past 12 months). Older builds, incl. older 7.9 builds, would fail many requests. This has nothing to do with the plugin itself, but really is a change in the environment, the internet. On the other hand, on the NAS, if azlyrics doesn't found anything (404), it seems genius is not called because od the following error : Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Networking::Async::_async_read: Attempt to reload Plugins/MusicArtistInfo/Lyrics/Genius.pm aborted. Is there more context in the server.log? Ideally on the Win7 VM because it has the "complete" set-up (with MusicIP etc.), but I could very well update it to 7.7.6 There's little to no reason not to go straight to the latest 7.9.2 nightly. In particular if you want to use this plugin, as eg. artist artwork would not work with 7.7.x. (I don't want to go "to far" in newer versions, because I make extensive use of erland's plug-ins and their features are more important to me than lyrics, although it would be a cool bonus) I don't think those plugins are incompatible with 7.9. -- Michael ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
Is there a minimum version of the server for this plug-in to work ? Or some other pre-requisites ? On my "historical" SqueezeBox Server v7.6.2 on a Windows 7 VM, it doesn't seem to work, whereas on an alternate test install of Logitech Media Server 7.7.6 on an Synology NAS, it works (not for all entries, even with "canonical" tagging as you put it, but on most of them) >From the (debug level) logs, I see that for both of them chartlyrics times out, but on the NAS, azlyrics gets a result, while on Win7 it gets a "Redirection limit exceeded" error (same for genius). On the other hand, on the NAS, if azlyrics doesn't found anything (404), it seems genius is not called because od the following error : Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Networking::Async::_async_read: Attempt to reload Plugins/MusicArtistInfo/Lyrics/Genius.pm aborted. Any idea how I could get it to work ? Ideally on the Win7 VM because it has the "complete" set-up (with MusicIP etc.), but I could very well update it to 7.7.6 (I don't want to go "to far" in newer versions, because I make extensive use of erland's plug-ins and their features are more important to me than lyrics, although it would be a cool bonus) Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
Thanks for your answer. Yes actually later on I figured out the last 3 (for lyrics) from the (debug level) log. One of them was skipped because "down", and on those non-canonical tags, a second one was timing-out after a few seconds, and the last was 404. I was just puzzled by the lack of feedback (like stuck), vs. the occasional "nothing found" message. Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music and Artist Info
Stan Pulsar wrote: > > just out of curiosity, I was wondering how the plug-in by Michael > Herger, "Music and artist info" was looking up for online infos, and > especially lyrics. > Where does it search, and > Depending on what is searched for: http://www.allmusic.com/ https://www.discogs.com/ https://www.last.fm/ http://musicbrainz.org/ https://www.azlyrics.com http://www.chartlyrics.com/ https://genius.com/ > > how's the request formulated ? > Artist name and if applicable album name or song name > > I was just wondering if there's anything I can do to optimise this > You've answered your on question: > > some of my tags may be a bit hard for it to interpret > Use canonical artist / album / song name SW: 'Web UI for LMS' (http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta)) | 'Playlist Editor / Generator' (http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor) | 'Music Classification' (http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-)) | 'Similar Music' (http://forums.slimdevices.com/showthread.php?108495-Announce-LMSmusly-play-similar-music) | 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/) HowTos: 'build a self-contained LMS' (http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS) | 'Ogg Opus' (http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files) | 'Bluetooth/ALSA' (http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio)) Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 View this thread: http://forums.slimdevices.com/showthread.php?t=110874 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins