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