Discussion:
[SlimDevices: Plugins] MusicIP on Ubuntu 18.04
SlimChances
2018-04-28 01:59:08 UTC
Permalink
To use MusicIP with LMS it is necessary to start MusicIP before LMS
starts when the computer boots. Unfortunately with Ubuntu 18.04 this
does not seem easy or possible to do. I used Boot-Up Manager previously
with 16.04 to change the order so mmserver and thereby MusicIP started
before LMS but because of changes in 18.04 this no longer works.
Anyone with an idea of how to fix this , please add your comments.



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
slartibartfast
2018-04-28 07:15:59 UTC
Permalink
SlimChances wrote:
> To use MusicIP with LMS it is necessary to start MusicIP before LMS
> starts when the computer boots. Unfortunately with Ubuntu 18.04 this
> does not seem easy or possible to do. I used Boot-Up Manager previously
> with 16.04 to change the order so mmserver and thereby MusicIP started
> before LMS but because of changes in 18.04 this no longer works.
> Anyone with an idea of how to fix this , please add your comments.If it is similar to Debian see this thread.
https://forums.slimdevices.com/showthread.php?t=108884

Sent from my SM-G900F using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-04-28 13:35:57 UTC
Permalink
slartibartfast wrote:
> If it is similar to Debian see this thread.
> https://forums.slimdevices.com/showthread.php?t=108884
>
> Sent from my SM-G900F using Tapatalk

Thanks, I gave that a go but the second file rc.local doesn't exist. I
did create
rc-local.service



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
slartibartfast
2018-04-28 15:47:52 UTC
Permalink
SlimChances wrote:
> Thanks, I gave that a go but the second file rc.local doesn't exist on
> my installation. I did create
> rc-local.serviceLooks like you need to create it yourself.
https://www.netroby.com/view/3895

Sent from my SM-G900F using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-04-28 16:47:57 UTC
Permalink
slartibartfast wrote:
> Looks like you need to create it yourself.
> https://www.netroby.com/view/3895
>
> Sent from my SM-G900F using Tapatalk

Thanks

I will give it a try



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-04-28 21:25:41 UTC
Permalink
Getting erros when I try to start rc.local.service
I am wondering if I need to set permissions and or ownership
differently for those two files from https://www.netroby.com/view/3895



Code:
--------------------
***@MainSqueeze:~$ systemctl start rc.local.service
Job for rc.local.service failed because the control process exited with error code.
See "systemctl status rc.local.service" and "journalctl -xe" for details.
***@MainSqueeze:~$ systemctl status rc.local.service
● rc.local.service - /etc/rc.local Compatibility
Loaded: loaded (/etc/systemd/system/rc.local.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-04-28 17:22:21 EDT; 5s ago
Process: 2972 ExecStart=/etc/rc.local start (code=exited, status=203/EXEC)

Apr 28 17:22:21 MainSqueeze systemd[1]: Starting /etc/rc.local Compatibility...
Apr 28 17:22:21 MainSqueeze systemd[2972]: rc.local.service: Failed to execute command: Permiss
Apr 28 17:22:21 MainSqueeze systemd[2972]: rc.local.service: Failed at step EXEC spawning /etc/
Apr 28 17:22:21 MainSqueeze systemd[1]: rc.local.service: Control process exited, code=exited s
Apr 28 17:22:21 MainSqueeze systemd[1]: rc.local.service: Failed with result 'exit-code'.
Apr 28 17:22:21 MainSqueeze systemd[1]: Failed to start /etc/rc.local Compatibility.
lines 1-11/11 (END)...skipping...
● rc.local.service - /etc/rc.local Compatibility
Loaded: loaded (/etc/systemd/system/rc.local.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-04-28 17:22:21 EDT; 5s ago
Process: 2972 ExecStart=/etc/rc.local start (code=exited, status=203/EXEC)

Apr 28 17:22:21 MainSqueeze systemd[1]: Starting /etc/rc.local Compatibility...
Apr 28 17:22:21 MainSqueeze systemd[2972]: rc.local.service: Failed to execute command: Permission denied
Apr 28 17:22:21 MainSqueeze systemd[2972]: rc.local.service: Failed at step EXEC spawning /etc/rc.local: Permission denied
Apr 28 17:22:21 MainSqueeze systemd[1]: rc.local.service: Control process exited, code=exited status=203
Apr 28 17:22:21 MainSqueeze systemd[1]: rc.local.service: Failed with result 'exit-code'.
Apr 28 17:22:21 MainSqueeze systemd[1]: Failed to start /etc/rc.local Compatibility.

--------------------



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-04-29 20:11:59 UTC
Permalink
@slartibartfast

Thanks for your help. I am afraid I am a bit lost at this point. Looking
at your appended code to rc.local I see it refers to a file in


Code:
--------------------
/opt/max2play/options.conf
--------------------


but I don't have either a directory under opt or option.conf. Do I need
to create this also.
Also I determined that mmserver is not enabled and not sure how to
change that.

It may be that changes to 18.04 have made these methods not possible I
don't know. I am hoping there is a graphical app that will arise to set
boot order and timings of processes.



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
slartibartfast
2018-04-29 20:27:14 UTC
Permalink
SlimChances wrote:
> @slartibartfast
>
> Thanks for your help. I am afraid I am a bit lost at this point. Looking
> at your appended code to rc.local I see it refers to a file in
>
> >
Code:
--------------------
> > /opt/max2play/options.conf
--------------------
> >
>
> but I don't have either a directory under opt or option.conf. Do I
> need to create this also.
> Also I determined that mmserver is not enabled and not sure how to
> change that.
>
> It may be that changes to 18.04 have made these methods not possible I
> don't know. I am hoping there is a graphical app that will arise to
> set boot order and timings of processes.

You don't need to worry about the max2play related paths, that was what
I found in the max2play rc.local when I was investigating how their
start up delay was achieved.
All I added to my rc.local was

sleep 60;sudo /etc/init.d/logitechmediaserver restart

and that did the trick.

Sent from my SM-G900F using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-04-30 01:56:54 UTC
Permalink
That's great, but I still can't get mmserver to enable as a service


Code:
--------------------
$ systemctl enable mmserver.service
mmserver.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mmserver
update-rc.d: error: mmserver Default-Start contains no runlevels, aborting.

--------------------



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-04-30 18:34:47 UTC
Permalink
OK I got it to work, kind of

If I issue the command in terminal
Code:
--------------------
systemctl start mmserver.service
--------------------

and then restart LMS I can create MusicIP Playlists.

This is inconvenient and awkward and I don't think of much value. I
think the issue is the response to the command to enable mmserver

Code:
--------------------
$ systemctl enable mmserver.service
mmserver.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mmserver
update-rc.d: error: mmserver Default-Start contains no runlevels, aborting.

--------------------


It may not be possible to run MusicIP on 18.04 or at least with my
limited knowledge of Linux. Hopefully someone will figure this out.
Thanks for your guidance



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
slartibartfast
2018-04-30 19:01:50 UTC
Permalink
SlimChances wrote:
> OK I got it to work, kind of
>
> If I issue the command in terminal >
Code:
--------------------
> > systemctl start mmserver.service
--------------------
> >
> and then restart LMS I can create MusicIP Playlists.
>
> This is inconvenient and awkward and I don't think of much value. I
> think the issue is the response to the command to enable mmserver
> >
Code:
--------------------
> > $ systemctl enable mmserver.service
> mmserver.service is not a native service, redirecting to systemd-sysv-install.
> Executing: /lib/systemd/systemd-sysv-install enable mmserver
> update-rc.d: error: mmserver Default-Start contains no runlevels, aborting.
>
--------------------
> >
>
> It may not be possible to run MusicIP on 18.04 or at least with my
> limited knowledge of Linux. Hopefully someone will figure this out.
> Thanks for your guidanceThere might be a clue in this link.
https://stackoverflow.com/questions/43960869/elasticsearch-service-is-not-a-native-service-redirecting-to-systemd-sysv-insta


Sent from my SM-G900F using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-05-13 17:15:39 UTC
Permalink
I was able to get MusicIP working with Ubuntu 18.04 (Bionic ) with the
help of the Ubuntu Forums and 'HavetheKnow'
(http://www.havetheknowhow.com/Install-the-software/Install-MusicIP.html)
How to install MusicIP on Ubuntu Server Bionic Once you have
'installed LogitechMediaServer'
(http://www.havetheknowhow.com/Install-the-software/Install-Squeezebox-server.html)
there is a great little application called 'MusicIP'
(https://www.spicefly.com/article.php?page=musicip-software) which can
be used to create intelligent playlists on-the-fly from within
Squeezebox Server. As with a lot of this guide the following
instructions work well for Bionic 18.04.

First off we'll need to download and install MusicIP itself. Once we've
done that we'll need to change the start order of LogitechMediaServer
and MusicIP to ensure that MusicIP starts -before- LogitechMedia Server.
If we don't carry out this step then LogitechMediaServer will not be
aware of MusicIP (since LogitechMediaServer checks for it on startup)
and will just default to using your regular library.



Using the Command Line: You should be sitting in your home
folder before you proceed:
cd /home/*yourusername*
to switch into your home folder where *yourusername* is your Ubuntu
username.
So first off we need to download the MusicIP application from
https://www.spicefly.com/article.php?page=musicip-software (use the
linux version) to your home folder.



Download the compressed MusicIP installation file into the folder
you're currently sitting in.
Next type:
*gunzip -c MusicMixer_x86_1.8.tgz | tar xf -*
this will extract the files and create a folder called MusicIP in the
folder you're currently sitting in.
You can now delete the *MusicMixer_x86_1.8.tgz* file since it is no
longer needed:
*rm MusicMixer_x86_1.8.tgz*
We're actually interested in the MusicMagicMixer folder which is
currently inside the MusicIP folder. So, type the following commands to
fix this:
*mv MusicIP/MusicMagicMixer MusicMagicMixer*
this will move the MusicMagicMixer up one level
*rmdir MusicIP*
This will remove the, now empty, MusicIP folder.
*mv MusicMagicMixer MusicIP*
This will rename the MusicMagixMixer folder to be MusicIP
Now we want to edit the MusicIP configuration file (called
*mmserver*)and make changes. So:
*gedit** MusicIP/mmserver * (use your preferred text editor –
gedit, leafpad, vim etc)
Delete the entire text of mmserver and replace with this text



*#! /bin/sh*

*#*
*### BEGIN INIT INFO*
*# Provides: mmserver*
*# Required-Start: $all*
*# Required-Stop: $all*
*# Should-Start: $all*
*# Should-Stop: $all*
*# Default-Start: 2 3 4 5*
*# Default-Stop: 0 1 6*
*# Short-Description: Startup script for mmserver*
*# Description: *
*### END INIT INFO*

*# NON-PRIVIELEGED USER TO RUN MUSICMAGICSERVER.*
*USER=*
*# PATH TO THE MUSICMAGICMIXERSERVER *
*export MUSICHOME=*

*case $1 in*
*start)*
*su - $USER -c $MUSICHOME\"MusicMagicServer start & > /dev/null\" *
*echo \"Running MusicMagicServer\"*
*exit*
*;;*
*stop)*
*su - $USER -c $MUSICHOME\"MusicMagicServer stop & > /dev/null\" *
*echo \"Stopped MusicMagicServer\"*
*exit*
*;;*
**)*
*echo \"Usage: /etc/rc.d/init.d/mmserver { start | stop }\"*
*exit*
*;;*
*esac*


*USER** **=* should be changed to *USER=yourusername
*where *yourusername* is the username you created when you installed
Ubuntu.
You also need to change *export MUSICHOME=* to *export
MUSICHOME=/home/user name/MusicIP/
*where *yourusername* is the same as above.
Now save the file to:
*sudo mv MusicIP/mmserver /etc/init.d/*
Now issue these commands in terminal:
*ln -s /etc/init.d/mmserver /etc/rc0.d/K01mmserver *
*ln -s /etc/init.d/mmserver /etc/rc1.d/K01mmserver *
*ln -s /etc/init.d/mmserver /etc/rc2.d/S01mmserver *
*ln -s /etc/init.d/mmserver /etc/rc3.d/S01mmserver *
*ln -s /etc/init.d/mmserver /etc/rc4.d/S01mmserver *
*ln -s /etc/init.d/mmserver /etc/rc5.d/S01mmserver *
*ln -s /etc/init.d/mmserver /etc/rc6.d/K01mmserver *
*systemctl daemon-reload*
*systemctl enable mmserver*







Restart your server for the changes to take effect by typing:
*sudo reboot -h now*



*-F-u-r-t-h-e-r- -H-i-n-t-s-*-


Then install Windows MusicIP GUI in WINE so tracks can be archived
https://www.spicefly.com/article.php?page=musicip-software




Open http://localhost:10002/server in browser and scan directories




Do not use default.m3lib from another install. Rebuild library from
archived fingerprints
-
Disclaimer
Any action you take upon the information on this forum thread is
strictly at your own risk and the author(s) accept no liability for
damages or losses caused to person-



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
chaug
2018-08-27 22:01:31 UTC
Permalink
SlimChances wrote:
>
> Do not use default.m3lib from another install. Rebuild library from
> archived fingerprints
>

Could you explain that part? I was going to do just that, given that it
will take days, if not weeks for doing a complete rescan. I'm not sure
how to do the archiving.

If the problem with using the default.m3lib from another install is
merely that the file paths might be different, I guess I could fix that
via symlinks or so, no?



*Server*: LMS 7.7.5 on a ReadyNAS Ultra 2
*Players*: Radio, Touch, Duet (Receiver & Controller), Boom
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Switch Player, Custom Browse, Spotty, Multi Library
------------------------------------------------------------------------
chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-08-27 23:08:24 UTC
Permalink
chaug wrote:
> Could you explain that part? I was going to do just that, given that it
> will take days, if not weeks for doing a complete rescan. I'm not sure
> how to do the archiving.
>
> If the problem with using the default.m3lib from another install is
> merely that the file paths might be different, I guess I could fix that
> via symlinks or so, no?

I never had much luck using the m3lib file from another install. If all
your music has been archived (fingerprinted) it only takes 5 minutes or
so for MusicIp to do the scan (i had about 20000 tracks under MusicIP).
If the music isn't archived it will take quite a long time (days I
imagine). To archive in the future check the box under
Preferences/General(see screenshot)


+-------------------------------------------------------------------+
|Filename: Selection_001.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=25537|
+-------------------------------------------------------------------+


Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
cparker
2018-08-28 19:02:21 UTC
Permalink
Hi

You can find out more about archive analysis and how to check it, on
this page;

https://www.spicefly.com/article.php?page=musicip-offline

Cheers



www.spicefly.com - ** Spicefly SugarCube ** - A hassle free acoustic
journey through your music library using MusicIP. Plus the finest
MusicIP installation guides, enhanced MIP Interface and SpyGlass MIP the
Windows Automated MusicIP Headless Installer.
------------------------------------------------------------------------
cparker's Profile: http://forums.slimdevices.com/member.php?userid=2083
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
chaug
2018-08-30 22:27:43 UTC
Permalink
SlimChances wrote:
> I never had much luck using the m3lib file from another install. If all
> your music has been archived (fingerprinted) it only takes 5 minutes or
> so for MusicIp to do the scan (i had about 20000 tracks under MusicIP).
> If the music isn't archived it will take quite a long time (days I
> imagine). To archive in the future check the box under
> Preferences/General(see screenshot)
>
> Edit:I am not sure how long archiving will take on files that were not
> done that way to begin with but I am thinking it will take a very long
> time and suggest you try using your old m3lib file and see what happens

cparker wrote:
> Hi
>
> You can find out more about archive analysis and how to check it, on
> this page;
>
> https://www.spicefly.com/article.php?page=musicip-offline
>
> Cheers

Thank you both for those hints. For me, the problem is that I am running
MusicIP as a headless install on my NAS so I don't have access to the
kind of GUI you are referring to. Is there any way to do this
(archiving) via the CLI?



*Server*: LMS 7.7.5 on a ReadyNAS Ultra 2
*Players*: Radio, Touch, Duet (Receiver & Controller), Boom
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Switch Player, Custom Browse, Spotty, Multi Library
------------------------------------------------------------------------
chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-08-30 23:37:04 UTC
Permalink
chaug wrote:
> Thank you both for those hints. For me, the problem is that I am running
> MusicIP as a headless install on my NAS so I don't have access to the
> kind of GUI you are referring to. Is there any way to do this
> (archiving) via the CLI?
sorry, i have no idea



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
Roland0
2018-08-31 10:37:27 UTC
Permalink
chaug wrote:
> For me, the problem is that I am running MusicIP as a headless install
> on my NAS so I don't have access to the kind of GUI you are referring
> to. Is there any way to do this (archiving) via the CLI?
You can run GUI programs on headless servers using ssh's x11 forwarding
functionality



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=108991
bakker_be
2018-09-03 20:32:17 UTC
Permalink
SlimChances wrote:
> I was able to get MusicIP working with Ubuntu 18.04 (Bionic ) with the
> help of the Ubuntu Forums and 'HavetheKnow'
> (http://www.havetheknowhow.com/Install-the-software/Install-MusicIP.html)
>
>
> How to install MusicIP on Ubuntu Server Bionic Once you have
> installed LogitechMediaServer there is a great little application called
> 'MusicIP' (https://www.spicefly.com/article.php?page=musicip-software)
> which can be used to create intelligent playlists on-the-fly from within
> Squeezebox Server. As with a lot of this guide the following
> instructions work well for Bionic 18.04.
>
> First off we'll need to download and install MusicIP itself. Once we've
> done that we'll need to change the start order of LogitechMediaServer
> and MusicIP to ensure that MusicIP starts -before- LogitechMedia Server.
> If we don't carry out this step then LogitechMediaServer will not be
> aware of MusicIP (since LogitechMediaServer checks for it on startup)
> and will just default to using your regular library.
> sudo may be required for some of the commands although not stated
> explicitly.
>
>
> Using the Command Line: You should be sitting in your home
> folder before you proceed:
> >
Code:
--------------------
> > cd /home/*yourusername*
--------------------
> >
> to switch into your home folder where *yourusername* is your Ubuntu
> username.
> So first off we need to download the MusicIP application from
> https://www.spicefly.com/article.php?page=musicip-software (use the
> linux version) to your home folder.
>
>
>
> Download the compressed MusicIP installation file into the folder
> you're currently sitting in.
> Next type:
> >
Code:
--------------------
> > *gunzip -c MusicMixer_x86_1.8.tgz | tar xf -*
--------------------
> >
> this will extract the files and create a folder called MusicIP in the
> folder you're currently sitting in.
> You can now delete the *MusicMixer_x86_1.8.tgz* file since it is no
> longer needed:
> >
Code:
--------------------
> > *rm MusicMixer_x86_1.8.tgz*
--------------------
> >
> We're actually interested in the MusicMagicMixer folder which is
> currently inside the MusicIP folder. So, type the following commands
> to fix this:
> >
Code:
--------------------
> > *mv MusicIP/MusicMagicMixer MusicMagicMixer*
--------------------
> >
> this will move the MusicMagicMixer up one level
> >
Code:
--------------------
> > *rmdir MusicIP*
--------------------
> >
> This will remove the, now empty, MusicIP folder.
> >
Code:
--------------------
> > *mv MusicMagicMixer MusicIP*
--------------------
> >
> This will rename the MusicMagixMixer folder to be MusicIP
> Now we want to edit the MusicIP configuration file (called
> *mmserver*)and make changes. So:
> >
Code:
--------------------
> > *gedit** MusicIP/mmserver *
--------------------
> > (use your preferred text editor – gedit, leafpad, vim etc)
> Delete the entire text of mmserver and replace with this text
>
>
>
> >
Code:
--------------------
> > *#! /bin/sh*
>
> *#*
> *### BEGIN INIT INFO*
> *# Provides: mmserver*
> *# Required-Start: $all*
> *# Required-Stop: $all*
> *# Should-Start: $all*
> *# Should-Stop: $all*
> *# Default-Start: 2 3 4 5*
> *# Default-Stop: 0 1 6*
> *# Short-Description: Startup script for mmserver*
> *# Description: *
> *### END INIT INFO*
>
> *# NON-PRIVIELEGED USER TO RUN MUSICMAGICSERVER.*
> *USER=*
> *# PATH TO THE MUSICMAGICMIXERSERVER *
> *export MUSICHOME=*
>
> *case $1 in*
> *start)*
> *su - $USER -c $MUSICHOME\"MusicMagicServer start & > /dev/null\" *
> *echo \"Running MusicMagicServer\"*
> *exit*
> *;;*
> *stop)*
> *su - $USER -c $MUSICHOME\"MusicMagicServer stop & > /dev/null\" *
> *echo \"Stopped MusicMagicServer\"*
> *exit*
> *;;*
> **)*
> *echo \"Usage: /etc/rc.d/init.d/mmserver { start | stop }\"*
> *exit*
> *;;*
> *esac*
>
--------------------
> >
>
> *USER** **=* should be changed to *USER=yourusername
> *where *yourusername* is the username you created when you installed
> Ubuntu.
> You also need to change *export MUSICHOME=* to *export
> MUSICHOME=/home/user name/MusicIP/
> *where *yourusername* is the same as above.
> Next we need to move this configuration file into the /etc/init.d
> folder. This requires supervisor access hence the sudo:
> >
Code:
--------------------
> > *sudo mv MusicIP/mmserver /etc/init.d/*
--------------------
> >
> Now issue these commands in terminal:
> >
Code:
--------------------
> > *ln -s /etc/init.d/mmserver /etc/rc0.d/K01mmserver *
> *ln -s /etc/init.d/mmserver /etc/rc1.d/K01mmserver *
> *ln -s /etc/init.d/mmserver /etc/rc2.d/S01mmserver *
> *ln -s /etc/init.d/mmserver /etc/rc3.d/S01mmserver *
> *ln -s /etc/init.d/mmserver /etc/rc4.d/S01mmserver *
> *ln -s /etc/init.d/mmserver /etc/rc5.d/S01mmserver *
> *ln -s /etc/init.d/mmserver /etc/rc6.d/K01mmserver *
> *systemctl daemon-reload*
> *systemctl enable mmserver*
--------------------
> >
>
>
>
>
>
>
>
> Restart your server for the changes to take effect by typing:
> >
Code:
--------------------
> > *sudo reboot -h now*
--------------------
> >
>
>
>
> *-F-u-r-t-h-e-r- -H-i-n-t-s-*-
>
>
> Then install Windows MusicIP GUI in WINE so tracks can be archived
> https://www.spicefly.com/article.php?page=musicip-software
>
>
>
>
> Open http://localhost:10002/server in browser and scan directories
>
>
>
>
> Do not use default.m3lib from another install. Rebuild library from
> archived fingerprints
> -
> Disclaimer
> Any action you take upon the information on this forum thread is
> strictly at your own risk and the author(s) accept no liability for
> damages or losses caused to person or device(s)-

Somehow this doesn't seem to work on my fresh 18.04 install. I get
"Connection refused", and if I check the status of the service it tells
me "Active (exited)" :(



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-09-03 23:25:21 UTC
Permalink
bakker_be wrote:
> Somehow this doesn't seem to work on my fresh 18.04 install. I get
> "Connection refused", and if I check the status of the service it tells
> me "Active (exited)" :(


Was it the wine install of graphical MusicIP or the MusicIP you
installed by cli?

Not sure if I can help you further than the instructions I gave as they
were basically dictated by someone on the Ubuntu forums and another
website. They worked for me with both Ubuntu 18.04 fresh install and
Mint 19



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
bakker_be
2018-09-04 08:06:30 UTC
Permalink
SlimChances wrote:
> Was it the wine install of graphical MusicIP or the MusicIP you
> installed by cli?
>
> Not sure if I can help you further than the instructions I gave as they
> were basically dictated by someone on the Ubuntu forums and another
> website. They worked for me with both Ubuntu 18.04 fresh install and
> Mint 19
>
> Edit: if it is the graphical part of MusicIP you are referring to you
> cannot to my knowledge connect to the server as the program is now
> abandonware. However you can still create MusicIP tracks. Suggest you
> make sure that under Preferences/General you have archive files ticked.
> To add files to MusicIP in this graphical interface go to library/add
> songs. Be careful not to duplicate this on future additions of songs or
> you will get duplicated archived tracks. When I chose add library and
> want to add an album I drill down to the album. Hope that helps

Hi, I'm talking about the CLI MusicIP. Your instructions basically match
the way I previously installed on 16.04, where it just worked.
Performance on that machine was rather limited though (for my collection
+ the additional things I want to do with the machine), so I've just
repurposed a slightly older machine which was lying idle in a cupboard
(i5-4300M, 16GB RAM) and proceeded with a completely fresh install.



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-09-04 13:21:11 UTC
Permalink
Sorry I can not offer more help. However you could look over the Ubuntu
Forum thread where I got my directions for the Cli install ,perhaps I
missed a step in my description. Start at post #9 with @nlee2.

https://ubuntuforums.org/showthread.php?t=2391064



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
bakker_be
2018-09-23 16:26:38 UTC
Permalink
After a lot of searching, trying, cursing, searching and trying again
I've managed to solve my issue :)
Below what I've done, for future reference for myself, and to offer an
alternative to what's detailed above. As with the above, my method is
based on the info in 'HaveTheKnowhow'
(http://www.havetheknowhow.com/Install-the-software/Install-MusicIP.html),
along with info gathered from stackexchange and reddit, so I'll not
repeat the steps which are identical. Where my approach differs is in
the content and location of the service file.
Edit the mmserver file:

Code:
--------------------

vim MusicIP/mmserver

--------------------

Keep hitting dd until all lines in the file are gone. Paste the
following into the file, replacing XXX by your username:

Code:
--------------------

[Unit]
Description=MusicMagicServer

[Service]
Type=simple
Restart=on-failure
User=XXX
ExecStart=/home/XXX/MusicIP/MusicMagicServer start
ExecStop=/home/XXX/MusicIP/MusicMagicServer stop

[Install]
WantedBy=multi-user.target

--------------------

Move the mmserver file into its location:

Code:
--------------------

sudo mv MusicIP/mmserver /etc/systemd/system/mmserver.service

--------------------

Enable and start the service

Code:
--------------------

sudo systemctl enable mmserver
sudo systemctl start mmserver

--------------------



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
chaug
2018-09-24 22:19:16 UTC
Permalink
bakker_be wrote:
> After a lot of searching, trying, cursing, searching and trying again
> I've managed to solve my issue :)
>

Thanks mate, I know exactly what you're talking about.

One little addendum for anyone using a 64bit system (amd64):
magicmusicserver wont execute because it is a 32-bit executable. In
order to be able to execute 32-bit on your system, you need to do


Code:
--------------------

sudo apt-get install libc6-i386

--------------------


(See:
https://superuser.com/questions/1076730/how-to-run-32-bit-app-in-recent-ubuntu-64-bit)

After that, @bakker_be's solution worked for me.

If someone passes by hear and can explain what the difference between
that solution is compared to the original one (with mmserver in
/etc/init.d/), it would be great to understand what is going on here...



*Server*: LMS 7.7.5 on a ReadyNAS Ultra 2
*Players*: Radio, Touch, Duet (Receiver & Controller), Boom
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Switch Player, Custom Browse, Spotty, Multi Library
------------------------------------------------------------------------
chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
bakker_be
2018-09-25 09:03:40 UTC
Permalink
chaug wrote:
> Thanks mate, I know exactly what you're talking about.
>
> One little addendum for anyone using a 64bit system (amd64):
> magicmusicserver wont execute because it is a 32-bit executable. In
> order to be able to execute 32-bit on your system, you need to do
>
> >
Code:
--------------------
> >
> sudo apt-get install libc6-i386
>
--------------------
> >
>
> (See:
> https://superuser.com/questions/1076730/how-to-run-32-bit-app-in-recent-ubuntu-64-bit)
>
> After that, @bakker_be's solution worked for me.
>
> If someone passes by hear and can explain what the difference between
> that solution is compared to the original one (with mmserver in
> /etc/init.d/), it would be great to understand what is going on
> here...

You're right about the 32-bit part, but as that was already mentioned on
the havetheknowhow site (wit an older deprecated library, but still) I
hadn't mentioned it as a change in procedure.
The difference between the 2 approaches has to do with the difference
between the way services are launched: 'systemd<->sys v<->upstart'
(https://fossbytes.com/systemd-vs-sys-v-vs-upstart/). Systemd is the
most recent of the three and the default in Ubuntu since 15.04. I have
no idea why the original info on havetheknowhow worked for 16.04 which I
had previously but doesn't on 18.04. The service file I now created is
for systemd.



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
chaug
2018-09-26 20:34:21 UTC
Permalink
bakker_be wrote:
>
> The difference between the 2 approaches has to do with the difference
> between the way services are launched: 'systemd<->sys v<->upstart'
> (https://fossbytes.com/systemd-vs-sys-v-vs-upstart/). Systemd is the
> most recent of the three and the default in Ubuntu since 15.04. I have
> no idea why the original info on havetheknowhow worked for 16.04 which I
> had previously but doesn't on 18.04. The service file I now created is
> for systemd.

Thanks for explaining. I'm starting to make sense of the different ways
of starting deamons. However, I believe `systemctl` (which was used in
the previous instructions) 'is also part of systemd'
(https://askubuntu.com/questions/903354/difference-between-systemctl-and-service).
So I'm not sure that is the difference...



*Server*: LMS 7.7.5 on a ReadyNAS Ultra 2
*Players*: Radio, Touch, Duet (Receiver & Controller), Boom
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Switch Player, Custom Browse, Spotty, Multi Library
------------------------------------------------------------------------
chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
bakker_be
2018-09-30 10:14:42 UTC
Permalink
chaug wrote:
> Thanks for explaining. I'm starting to make sense of the different ways
> of starting deamons. However, I believe `systemctl` (which was used in
> the previous instructions) 'is also part of systemd'
> (https://askubuntu.com/questions/903354/difference-between-systemctl-and-service).
> So I'm not sure that is the difference...

I'm no Linux guru at all, but as I understand it systemctl, which is
indeed a part of the systemd implementation, can also be used to call
the "legacy" services. In my system it's that last part which seems to
be causing some trouble, which I resolved by trial and error in creating
this systemd service file/script.



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
chaug
2018-10-20 14:16:45 UTC
Permalink
I can't get Sugarcube to see the recipes.xml file (for MusicIP recipes).
I'm not sure if this has anything to do with the specifics of the setup
discussed here, but I thought I'd start here.

According to 'this'
(https://forums.slimdevices.com/showthread.php?106958-Success-MusicIP-and-Spicefly-Sugarcube-running-on-Raspberry-Pi)
post, the recipes.xml files is supposed to be in the .MusicMagic
directory where also the default.m3lib is located. That is the case on
my system but in the Sugarcube plugin settings there are still no
recipes available at the "Optionally Add a MusicIP Recipe" dropdown
option.

What I have tried/looked at so far:
- restarted LMS
- restarted MusicIP
- checked file permissions: -rwxr-xr-x 1 christoph christoph 5628 Apr
12 2017 recipes.xml*
- created a recipes.xml file in the ~/MusicIP/recipes directory as well
as in ~/MusicIP

Where else might musicIP be looking for that file? Or how can I tell it
where it is?



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library
------------------------------------------------------------------------
chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
SlimChances
2018-10-20 19:23:40 UTC
Permalink
chaug wrote:
> I can't get Sugarcube to see the recipes.xml file (for MusicIP recipes).
> I'm not sure if this has anything to do with the specifics of the setup
> discussed here, but I thought I'd start here.
>
> According to 'this'
> (https://forums.slimdevices.com/showthread.php?106958-Success-MusicIP-and-Spicefly-Sugarcube-running-on-Raspberry-Pi)
> post, the recipes.xml files is supposed to be in the .MusicMagic
> directory where also the default.m3lib is located. That is the case on
> my system but in the Sugarcube plugin settings there are still no
> recipes available at the "Optionally Add a MusicIP Recipe" dropdown
> option.
>
> What I have tried/looked at so far:
> - restarted LMS
> - restarted MusicIP
> - checked file permissions: -rwxr-xr-x 1 christoph christoph 5628 Apr
> 12 2017 recipes.xml*
> - created a recipes.xml file in the ~/MusicIP/recipes directory as well
> as in ~/MusicIP
>
> Where else might musicIP be looking for that file? Or how can I tell it
> where it is?

Not sure if this is the way I use MusicIP or because I don't use
Sugarcube , but I do not have any recipe.xml files in that folder. I
just have a log file and the default.m3lib file



Logitech Media Server Version: 7.9.1 - 1518987734 @ Sun Feb 18 22:55:43
CET 2018
Operating system: Debian - EN - utf8 Platform
Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi

One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
SB Classic connected by Ethernet to FX Audio D802C amp and Sinclair
bookshelf speakers
Two SB Radios wireless
------------------------------------------------------------------------
SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
slartibartfast
2018-10-21 07:22:20 UTC
Permalink
chaug wrote:
> I can't get Sugarcube to see the recipes.xml file (for MusicIP recipes).
> I'm not sure if this has anything to do with the specifics of the setup
> discussed here, but I thought I'd start here.
>
> According to 'this'
> (https://forums.slimdevices.com/showthread.php?106958-Success-MusicIP-and-Spicefly-Sugarcube-running-on-Raspberry-Pi)
> post, the recipes.xml files is supposed to be in the .MusicMagic
> directory where also the default.m3lib is located. That is the case on
> my system but in the Sugarcube plugin settings there are still no
> recipes available at the "Optionally Add a MusicIP Recipe" dropdown
> option.
>
> What I have tried/looked at so far:
> - restarted LMS
> - restarted MusicIP
> - checked file permissions: -rwxr-xr-x 1 christoph christoph 5628 Apr
> 12 2017 recipes.xml*
> - created a recipes.xml file in the ~/MusicIP/recipes directory as well
> as in ~/MusicIP
>
> Where else might musicIP be looking for that file? Or how can I tell it
> where it is?According to this thread
https://r.tapatalk.com/shareLink?url=https%3A%2F%2Fforums%2Eslimdevices%2Ecom%2Fshowthread%2Ephp%3Ft%3D106958&share_tid=106958&share_fid=813&share_type=t
Recipes.xml should be in .MusicMagic. Is there a folder with that name
in Ubuntu? It is the same folder that contains the default.m3lib file
and is specified in your mmm.ini file.

Sent from my SM-G900F using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
chaug
2018-10-21 20:29:43 UTC
Permalink
slartibartfast wrote:
> Just noticed that your recipes file is in the correct place. Is your
> mmm.ini file correct?
>

Well, perhaps not. I'm not sure. I did not touch it. It looks like
this:

[mix]
mixsize=10 tracks
restrict=3 tracks
style=20
variety=0
seed=1
[server]
proxy=0
host=
proxyport=
authentication=
user=
password=
[services]
key=
cache=
port=10002
tivo=1
upnp=0
api=1
readonly=0
cpu=0

Where or how would I specify the location of the recipes file here?

I can't remember having done that on my old system, where recipes worked
fine. But I sat that up years ago, so I may have forgotten.

I should mention that my musicIP installation seems to be working fine
otherwise. It scanned and validated thousands of files and wrote them
into the default.m3lib database. And Sugarsync uses it to decide which
song it should play next. The only thing that's not working are the
recipes. :(



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library
------------------------------------------------------------------------
chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
slartibartfast
2018-10-21 20:39:48 UTC
Permalink
chaug wrote:
> Well, perhaps not. I'm not sure. I did not touch it. It looks like this:
>
> [mix]
> mixsize=10 tracks
> restrict=3 tracks
> style=20
> variety=0
> seed=1
> [server]
> proxy=0
> host=
> proxyport=
> authentication=
> user=
> password=
> [services]
> key=
> cache=
> port=10002
> tivo=1
> upnp=0
> api=1
> readonly=0
> cpu=0
>
> Where or how would I specify the location of the recipes file here?
>
> I can't remember having done that on my old system, where recipes worked
> fine. But I sat that up years ago, so I may have forgotten.
>
> I should mention that my musicIP installation seems to be working fine
> otherwise. It scanned and validated thousands of files and wrote them
> into the default.m3lib database. And Sugarsync uses it to decide which
> song it should play next. The only thing that's not working are the
> recipes. :(

I think you need to specify the cache location in the mmm.ini file. In
my case it is

cache=/home/pi/.MusicMagic/default.m3lib

Also I think you should set

tivo=0



Sent from my SM-G900F using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
chaug
2018-10-21 20:53:48 UTC
Permalink
slartibartfast wrote:
>
> cache=/home/pi/.MusicMagic/default.m3lib
> (...)
> tivo=0
>

Just tried that, restarted musicIP and LMS but still no recipes in
sight. I'm not surprised though, since MusicIP somehow (magically?)
already knows where the default.m3lib file is, so I'm not really giving
it any new information. But thanks for your assistance.



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library
------------------------------------------------------------------------
chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
Loading...