Roland0 wrote: > That's weird. I've tested with Firefox (v52esr) and Vivaldi (which is > based on Chromium), both work. Can you check the browser console > (ctrl-shift-k in FF)? > What do you mean by "no content"? An empty page? > > > Since the upload worked, the plugin was loaded successfully, and in this > case, if logging for the plugin is set to debug, you should at least see > something like: > > Code: -------------------- > > > [17-11-30 22:07:42.5221] Plugins::LMSessentiaIntegration::Plugin::initPlugin (77) LMSessentiaIntegration init start > [17-11-30 22:07:42.5305] Plugins::LMSessentiaIntegration::Plugin::createDBtables (419) creating database tables > [17-11-30 22:07:42.5328] Plugins::LMSessentiaIntegration::Plugin::initPlugin (127) LMSessentiaIntegration initialized (v0.0.3) > -------------------- > > > Check if debugging is really enabled. It may be easiest to just add > these options to LMS startup: > > Code: -------------------- > > > --debug plugin.lmsnewgui=DEBUG,plugin.lmsplsedit=DEBUG,plugin.lmsessentia=DEBUG > -------------------- > >
Thank you! It works far better now (except for the still empty webgui), but the soft restart prompted after the updated plugin was detected within LMS is no good. After the soft restart there were strange messages from the LMSessentia webgui ("No players found!") and the Essentia attributes menu item was grayed in the Custom Search in LMSplaylisteditor. A restart of the LMS service on the OS level seems to have fixed the issues above (empty statistics page though) - and the LMSplaylisteditor worked perfectly :-) I got the full Essentia attributes list, made (for me) appealing choices and got 18 suggestions for tracks. Great chices BTW, about half were from my absolute favorites (of course, appealing attributes) and the other half were surprises. Exactly what I expected! Server log from the OS service restart and up to creation and loading of the playlist: Code: -------------------- [17-12-01 00:19:29.0126] main::init (387) Starting Logitech Media Server (v7.9.1, 1511211491, Tue Nov 21 09:20:44 UTC 2017) perl 5.022001 - x86_64-linux-gnu-thread-multi [17-12-01 00:19:30.2868] Plugins::LMSessentiaIntegration::Plugin::initPlugin (77) LMSessentiaIntegration init start [17-12-01 00:19:30.2929] Plugins::LMSessentiaIntegration::Plugin::createDBtables (418) creating database tables [17-12-01 00:19:30.2940] Plugins::LMSessentiaIntegration::Plugin::initPlugin (127) LMSessentiaIntegration initialized (v0.0.3) [17-12-01 00:19:30.4872] Plugins::ShairTunes2W::Plugin::initPlugin (198) Initialising 0.81.1 on x86_64-linux-gnu-thread-multi [17-12-01 00:19:30.4899] Plugins::ShairTunes2W::Plugin::initPlugin (226) selected helper: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux [17-12-01 00:19:32.3709] Plugins::ShairTunes2W::Plugin::publishPlayer (375) start avahi-publish-service "Touch Arbetsrum" [17-12-01 00:19:32.3802] Plugins::ShairTunes2W::Plugin::playerSubscriptionChange (291) create client Slim::Player::SqueezePlay=ARRAY(0xa8d1850) with proc Proc::Background=HASH(0xa81c698) [17-12-01 00:19:32.3975] Plugins::ShairTunes2W::Plugin::publishPlayer (375) start avahi-publish-service "Touch Vardagsrum" [17-12-01 00:19:32.4069] Plugins::ShairTunes2W::Plugin::playerSubscriptionChange (291) create client Slim::Player::SqueezePlay=ARRAY(0x7c6d960) with proc Proc::Background=HASH(0xaa571b8) [17-12-01 00:19:33.3538] Plugins::ShairTunes2W::Plugin::publishPlayer (375) start avahi-publish-service "piCorePlayer" [17-12-01 00:19:33.3662] Plugins::ShairTunes2W::Plugin::playerSubscriptionChange (291) create client Slim::Player::SqueezePlay=ARRAY(0xab2a828) with proc Proc::Background=HASH(0xab8b8d8) [17-12-01 00:19:33.6684] Plugins::ShairTunes2W::Plugin::publishPlayer (375) start avahi-publish-service "piCorePlayerDigi" [17-12-01 00:19:33.6809] Plugins::ShairTunes2W::Plugin::playerSubscriptionChange (291) create client Slim::Player::SqueezePlay=ARRAY(0xac51820) with proc Proc::Background=HASH(0xabc2ba8) [17-12-01 00:24:29.9956] Plugins::LMSessentiaIntegration::Plugin::handleJSONP (207) handleJSONP args={'cmd' => 'getTrackAttributesAsTree'} [17-12-01 00:24:29.9962] Plugins::LMSessentiaIntegration::Plugin::memoizeNormalizer (166) memoizeNormalizer=ea24e0f966c39e3dac98c1833a13985fc790ba64 [17-12-01 00:24:29.9966] Plugins::LMSessentiaIntegration::Plugin::getTrackAttributesAsTree (712) node = [17-12-01 00:24:30.2754] Plugins::LMSessentiaIntegration::Plugin::handleJSONP (297) processing time=0.279235 [17-12-01 00:26:58.8478] Plugins::LMSessentiaIntegration::Plugin::handleJSONP (207) handleJSONP args={'cmd' => 'getTracksByParams','essAtts' => [{'value' => 'danceable','attrib' => 'danceability'},{'attrib' => 'gender','value' => 'female'},{'attrib' => 'genre_dortmund','value' => 'electronic'},{'value' => 'ambient','attrib' => 'genre_electronic'},{'attrib' => 'mood_acoustic','value' => 'acoustic'},{'value' => 'not_aggressive','attrib' => 'mood_aggressive'},{'value' => 'not_electronic','attrib' => 'mood_electronic'},{'attrib' => 'mood_happy','value' => 'happy'},{'value' => 'relaxed','attrib' => 'mood_relaxed'},{'attrib' => 'mood_sad','value' => 'not_sad'},{'attrib' => 'voice_instrumental','value' => 'instrumental'}],'dbAtts' => [],'dbSearch' => [],'player' => ''} [17-12-01 00:26:58.8484] Plugins::LMSessentiaIntegration::Plugin::getTracksByParams (604) track search page 0, 500, 1 DBsearchs=[] DBatt=[] ESSatt=[{'value' => 'danceable','attrib' => 'danceability'},{'attrib' => 'gender','value' => 'female'},{'attrib' => 'genre_dortmund','value' => 'electronic'},{'value' => 'ambient','attrib' => 'genre_electronic'},{'attrib' => 'mood_acoustic','value' => 'acoustic'},{'value' => 'not_aggressive','attrib' => 'mood_aggressive'},{'value' => 'not_electronic','attrib' => 'mood_electronic'},{'attrib' => 'mood_happy','value' => 'happy'},{'value' => 'relaxed','attrib' => 'mood_relaxed'},{'attrib' => 'mood_sad','value' => 'not_sad'},{'attrib' => 'voice_instrumental','value' => 'instrumental'}] [17-12-01 00:26:58.8488] Plugins::LMSessentiaIntegration::Plugin::getTracksByParams (613) getTracksByParams where final={} [17-12-01 00:26:58.8491] Plugins::LMSessentiaIntegration::Plugin::getTracksByParams (627) final DB atts={'prefetch' => ['persistent','album','primary_artist'],'page' => '1','rows' => '500'} [17-12-01 00:26:58.8494] Plugins::LMSessentiaIntegration::Plugin::memoizeNormalizer (166) memoizeNormalizer=0b0f5872a0c6cf45162ee15a03d36a2ad359839a [17-12-01 00:26:58.8499] Plugins::LMSessentiaIntegration::Plugin::getUrlMD5byValues (534) essAttribToSQL atts=[{'value' => 'danceable','attrib' => 'danceability'},{'attrib' => 'gender','value' => 'female'},{'attrib' => 'genre_dortmund','value' => 'electronic'},{'value' => 'ambient','attrib' => 'genre_electronic'},{'attrib' => 'mood_acoustic','value' => 'acoustic'},{'value' => 'not_aggressive','attrib' => 'mood_aggressive'},{'value' => 'not_electronic','attrib' => 'mood_electronic'},{'attrib' => 'mood_happy','value' => 'happy'},{'value' => 'relaxed','attrib' => 'mood_relaxed'},{'attrib' => 'mood_sad','value' => 'not_sad'},{'attrib' => 'voice_instrumental','value' => 'instrumental'}] [17-12-01 00:26:58.8502] Plugins::LMSessentiaIntegration::Plugin::getUrlMD5byValues (545) sql=select urlmd5 from essentia_tracks where id in (select etrackid from essentia_values where ( attrib='danceability' and value='danceable') or ( attrib='gender' and value='female') or ( attrib='genre_dortmund' and value='electronic') or ( attrib='genre_electronic' and value='ambient') or ( attrib='mood_acoustic' and value='acoustic') or ( attrib='mood_aggressive' and value='not_aggressive') or ( attrib='mood_electronic' and value='not_electronic') or ( attrib='mood_happy' and value='happy') or ( attrib='mood_relaxed' and value='relaxed') or ( attrib='mood_sad' and value='not_sad') or ( attrib='voice_instrumental' and value='instrumental') group by etrackid having count(etrackid)=11 ) [17-12-01 00:26:59.9134] Plugins::LMSessentiaIntegration::Plugin::handleJSONP (297) processing time=1.064937 -------------------- I'll play with this the coming days and report back if I notice anything else. Thanks for your fixes, I think your plugin is a great idea :-) /Bosse ------------------------------------------------------------------------ BosseJ's Profile: http://forums.slimdevices.com/member.php?userid=67378 View this thread: http://forums.slimdevices.com/showthread.php?t=108278 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins