Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    1,550
    Quote Originally Posted by SlimChances View Post
    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
    There might be a clue in this link.
    https://stackoverflow.com/questions/...emd-sysv-insta


    Sent from my SM-G900F using Tapatalk

  2. #12
    Senior Member SlimChances's Avatar
    Join Date
    Apr 2005
    Posts
    1,465

    Installing MusicIP on Ubuntu 18.04

    I was able to get MusicIP working with Ubuntu 18.04 (Bionic ) with the help of the Ubuntu Forums and HavetheKnow


    How to install MusicIP on Ubuntu Server Bionic

    Once you have installed LogitechMediaServer there is a great little application called MusicIP 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...sicip-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


    Further Hints


    Then install Windows MusicIP GUI in WINE so tracks can be archived https://www.spicefly.com/article.php...sicip-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)
    Last edited by SlimChances; 2018-05-13 at 12:57.
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •