Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin
cpd73 wrote: > You can also pass "artist:ARTISTNAME", "album:ALBUMNAME", > "title:TRACKTITLE" to MAI calls. Good point, I'll try this way. But from the information of the "status playlist" command the only way seems to be to parse the *"current_title"* tag, e.g. *"current_title:3. DON'T CHASE THE DEAD by Marilyn Manson from WE ARE CHAOS"*, to get the artist name. It looks as if it is not in the track list. Not as convenient as with the track id, but it should work. Thanks, Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=99537 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin
Hi all, I'm using the MAI CLI to retrieve infos for the current song to display it on a little dashboard on a tablet. Works fine for all songs from my local library, but when it comes to songs from Spotify (over Spotty), the reported song id is a negative number, e.g. Request: Code: XX:XX:XX:XX:XX:XX status playlist Response: Code: XX:XX:XX:XX:XX:XX status playlist player_name:KitchenRocker player_connected:1 player_ip:192.168.2.102:36329 power:1 signalstrength:0 mode:stop remote:1 current_title:3. DON'T CHASE THE DEAD by Marilyn Manson from WE ARE CHAOS time:0 rate:1 duration:257.44 can_seek:1 mixer volume:43 playlist repeat:0 playlist shuffle:0 playlist mode:off seq_no:15 playlist_cur_index:2 playlist_timestamp:1601046270.29137 playlist_tracks:10 digital_volume_control:1 remoteMeta:HASH(0x8b94f98) playlist index:0 *id:-118309592* title:RED BLACK AND BLUE playlist index:1 *id:-118309448* title:WE ARE CHAOS playlist index:2 *id:-118310600* title:DON'T CHASE THE DEAD playlist index:3 id:-11831 title:PAINT YOU WITH MY LOVE playlist index:4 id:-119147096 title:HALF-WAY & ONE STEP FORWARD playlist index:5 id:-119157536 title:INFINITE DARKNESS playlist index:6 id:-119148152 title:PERFUME playlist index:7 id:-119583544 title:KEEP MY HEAD TOGETHER playlist index:8 id:-119583856 title:SOLVE COAGULA pla ylist index:9 id:-119159288 title:BROKEN NEEDLE (needs to be scrolled to the right until the first id becomes visible, e.g. id:-118309592) With these negative ids I'm not able to get any information from the MAI CLI, e.g. lyrics, bio or photo url. Any hint for me what I'm doing wrong here. There must be a way as in browser or in iPeng it works perfectly ;-) Best, Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=99537 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] iPeng support thread
pippin wrote: > playlist_cur_index = 4 means track 5, the index is 0-based, not > 1-based. > Clear, I was referring to index 4 when I wrote number 4. And this is the song that is reported by the cli (" status -"), played by the Squeezebox, but does not appear in the playlist view, neither iPeng nor web. I don't think it's an update issue as it stays consistent while you wait. Or restart iPeng. It's a mystery ;-) Just for curiosity: Does iPeng gets the playlist over the cli or any other API? JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=51929 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] iPeng support thread
pippin wrote: > No, there is no cache, if closing iPeng and restarting doesnt help its > a server-side problem. > Are you sure the web interface then shows the correct list? ;tldr It's a server side issue which could be handled nicer. Perhaps. I did some comparisons between iPeng, Web frontend and cli. Interesting results, but a bit lengthy. I started a new random playlist - Web frontend shows 10 titles - iPeng shows 11 titles, last title is duplicated 26919 - cli reports 11 titles from one (number 4) does not appear any of the lists: Code: playlist index:0 id:335901 title:Sniffin' playlist index:1 id:342252 title:New York playlist index:2 id:345212 title:Miss You playlist index:3 id:334305 title:Work Together playlist index:4 id:342916 title:Here Is No Why playlist index:5 id:329152 title:Breadandbutter playlist index:6 id:331905 title:Green The Sun playlist index:7 id:330376 title:Song For Sunshine playlist index:8 id:330108 title:Walking Out Of Stride playlist index:9 id:342285 title:The Heavenly Music Corporation V (half speed) playlist index:10 id:336404 title:Les Vampyrettes - Menetekel (1980, Les Vampyrettes) Now when number 4 is the song to be played it is played indeed. But on both web frontend and iPeng the "current play indicator" on the playlist view gets confused: 26920 But I have no idea what has happed to number 4 ;-) /Jens +---+ |Filename: IMG_9082.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=26920| +---+ JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=51929 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] iPeng support thread
pippin wrote: > Does it fix this on its owning you wait? Sorry, no, it doesn't. Even closing iPeng and restart doesn't help (is there a cache?). I initially thought it's a server-side problem, but in both the web frontend and the squeezebox touch the playlist shows up correctly. Is there anything I could do to help to track that down? /Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=51929 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] iPeng support thread
pippin wrote: > Hm, how long are your playlists? Not very long, but updated frequently. When you start a random mix of songs using the Random Mix plugin, it puts initially 10 songs into your playlist. Every time a song was played, a new song is added to the list. If you start deleting songs from the list the number of deleted songs is automatically added. You have always 10 songs in your list to be played. Perhaps the frequent adding and deleting is causing the issue. /Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=51929 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] iPeng support thread
Hi, I love iPeng and use it on both on iPhone and iPad. For the iPhone app there is something that puzzles me. I hear often a random title mix. When I start editing the playlist, e.g. remove songs, after a short while the playlist becomes confused. Sometimes it indicates the wrong song that is played, often it shows two identical songs at the end of the playlist, from which one is another song. The song view is always right. And it never happens on the iPad. Has one of you seen that behavior and can help? /Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=51929 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Spotty 2.5.x - Spotify Connect for your Squeezebox
mherger wrote: > > does Spotty support the CLI? > > In what way? > > As all modern players and UIs are based on the CLI commands, there > obviously must be some level of support. But whether this can do what > you want to do is another question. > > The idea is still very ... immature. I run Squeezebox voice control with the 'alexa-squeezebox integration' (https://forums.slimdevices.com/showthread.php?107009-Announce-squeeze-alexa-DIY-secure-Alexa-integration=alexa), but currently there's no support for controlling Spotty. I was asking myself if it would be possible to extend it, so I can ask for songs, playlists, moods etc. from Spotify. That would require to send the appropriate commands via CLI. I was playing with it, but couldn't find a way to use the CLI to send commands to Spotty, e.g. to search or play a song. Any example or pointing me to the right direction would help. But perhaps I'm completely wrong ;-) JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=109598 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Spotty 2.5.x - Spotify Connect for your Squeezebox
Hi there, does Spotty support the CLI? Cheers Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=109598 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi
First of all, thank you all that replied to me and for your patience ... Now I have the next questions: First test with the MusicIP and Sugarcube went fine. That's the good message. What I couldn't solve so far is, that every time I restart the MusicMagicServer, it knows the amount of songs but the number of mixable songs is 0, I have to refresh after every restart. Is that expected behavior? Is the number of mixable songs stored in the chache file? What puzzles me is, that the file time of the cache has never changed since it's creation time. File permission seem to be fine. Should it be updated on refresh? I also struggle with the configuration of the service ... Starting with "/etc/init.d/mmserver start" works fine, but on automatic start I get Dec 28 12:10:50 dudelbox mmserver[512]: /home/pi/MusicIP/MusicMagicMixer/MusicMagicServer: 1: /home/pi/MusicIP/MusicMagicMixer/MusicMagicServer: Syntax error: "(" unexpected No clue ... :-/ Cheers Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=106958 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi
HB64 wrote: > Your problem is that you are trying to fingerprint tracks on a Pi that > is a waste of time, fingerprinting should be done on a machine that is > powerfull enough to do that. Take a look at following site > https://www.spicefly.com/ there you can find all the info you need to > get all in working order. Fair enough ;-) Now I´ve started creating fingerprints on a Win box. Much faster, still slow, and never consumed more than 13% CPU. So I tried GenPUID, hoping I can have more processes in parallel ... but this guy want´s to phone home. When I execute Code: genpuid.exe 57aae6071e74345f69143baa210bda87 -archive -nopuid -nosha -print -r -threads 4 Z:\Audio\Music\ipod\801 I get this message Code: GenPUID Version 1.4 - 31 October 2008 Copyright (C) MusicIP Corporation 2006-2008. MusicDNS servers cannot be reached right now. Anyone used that successfully? Cheers Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=106958 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Essentia Integration - music classification (moods, genres, ...)
Hi Roland0 Roland0 wrote: > Strange - continue is a very basic shell builtin command. What exactly > happens? Error messages? > Maybe try replacing the ones in the analyze_file function with return Thanks for the documentation ;-) About the continue: I received warnings that continue is allowed only in a loop, so the script just skipped that (what makes perfectly sense to me, as it was executing a function) and executed the next step in the function. Changing continue to return (i.e. ending the function) did the job for me. Cheers Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 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
Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi
Hi! How long does mipcore need to validate a song? I have just installed on my Raspi, scanning for songs was fine, but when I now start the validation, it seems as mipcore gets stuck at the first song. It consumes 100% of CPU, but I can't see any progress or result. ps shows: 0 R pi2910 1478 99 80 0 - 16643 - 16:13 pts/0 00:00:10 /usr/bin/qemu-i386 /home/pi/MusicIP/MusicMagicMixer/mipcore fp /media/dungeon/Audio/Music/ipod/Zoot Woman/Things Are What They Used To Be/Zoot Woman - Witness.mp3 /home/pi/.MusicMagic/1478-1.tmp but it neither ends, nor creates the tmp file ... Am I impatient? I checked file permissions, should be ok. Is there any logging available, so I can find the source of the problem? Cheers Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=106958 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Essentia Integration - music classification (moods, genres, ...)
What a cool project ;-) If I understood correctly, there´s not only a JSON interface for uploading, but for queries also. Is there some doc about the usage? BTW: I had to change all "continue" to "return" in the ess-analyze.sh to make it run properly ... maybe my personal problem. It runs, but e.g. does not skip analyzing songs where a JSON file already exists. Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 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
Re: [SlimDevices: Plugins] Announce: Smart Mix plugin
Hi Michael, mherger wrote: > > Oh, that's January _2015_? Your LMS is more than a year old... please > update and be happy again. > Oh, updating does the trick! The world is full of wonder ;-) (I feel a little bit stupid now) I updated to the latest nightly build (BTW: is it a good idea?) and after some hick-ups with the DB (DB locked after restart of service, had to reboot Pi) and Triode's Spotify Plugin (Self test fails, but works good for some reason, but I guess this belongs to another thread) everything seems to run smoothly. Many, many thanks for your help and patience! Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=97668 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Smart Mix plugin
mherger wrote: > > Would you see a reference to NOMYSB in /usr/sbin/squeezeboxserver? > No. Mhhh ... neither it has a reference to "NOMYSB" nor to the "--nomysqueezebox" parameter ... I guess it should have? On the web console it reports to be a Logitech Media Server Version: 7.9.0 - 1421387918 @ Fri Jan 16 07:39:16 UTC 2015 Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=97668 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Smart Mix plugin
Hi Michael, mherger wrote: > > > Now that's odd. Because that constant is called in LMS all over the > place. Are you running LMS with the --nomysqueezebox parameter? No, --nomysqueezebox is not set. Parameters look like this: /bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8 /usr/bin/perl /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8 --norestart What is NOMYSB good for? Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=97668 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Smart Mix plugin
Hi, since the last two updates, Smartmix fails to start with a compilation error: -- log - [16-01-20 07:22:01.6799] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::SmartMix::Plugin] failed to load: Undefined subroutine ::NOMYSB called at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SmartMix/Plugin.pm line 22. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SmartMix/Plugin.pm line 22. Compilation failed in require at (eval 948) line 2. BEGIN failed--compilation aborted at (eval 948) line 2. [16-01-20 07:22:01.6851] Slim::Utils::PluginManager::load (318) Error: Couldn't load Plugins::SmartMix::Plugin --- /log -- I can fix this by changing line 22 in Plugin.pm from code --- use constant NOMYSB => Slim::Utils::Versions->compareVersions($::VERSION, '7.9') >= 0 && main::NOMYSB() ? 1 : 0; - /code - into code use constant NOMYSB => 1; - /code --- but this is a ... nasty solution. Any ideas what's wrong here? I run this configuration an a Raspberry Pi 2: Smartmix 1.7.3 Logitech Media Server Version: 7.9.0 - 1421387918 @ Fri Jan 16 07:39:16 UTC 2015 Betriebssystem: Debian - DE - utf8 Plattformarchitektur: armv7l-linux Perl-Version: 5.14.2 - arm-linux-gnueabihf-thread-multi-64int Audio::Scan: 0.95 Datenbankversion: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) New Perl version? Jens JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310 View this thread: http://forums.slimdevices.com/showthread.php?t=97668 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins