Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 11 FirstFirst 1234 ... LastLast
Results 11 to 20 of 105
  1. #11
    Member srasher's Avatar
    Join Date
    Jun 2006
    Location
    Bochum, Germany
    Posts
    79
    Hi Frank,

    I finally got to trying this out. Unfortunately it didn't work as seemlessly as I had hoped.

    First, I am trying this on a max2play installation on an Odroid U3.
    I had put different lines to the /etc/apt/sources.list.d/i386.list. As the max2play installation on the Odroid is not based directly on Debian/Raspian Jessie, but refers to an ubuntu port of Trusty Tar, I had to put

    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
    deb [arch=i386] http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse

    Before I was trying to use your lines in that file. binfmt-support and qemu-user installed fine, but for the installation of the libc6:i386 I got tons of dependency errors, referring to all kinds of base system tools and libs that I didn't specify to install. Looked like it was trying to do a kind of dist-upgrade from trusty to jessie or something like this.

    After finding those three lines referring to trusty, libc6:i386 installed fine.

    When I am then trying to start the MusicMagicServer I get the following error message

    /home/odroid/Software/Squeezebox/musicip/MusicIP/MusicMagicMixer/MusicMagicServer: 1: /home/odroid/Software/Squeezebox/musicip/MusicIP/MusicMagicMixer/MusicMagicServer: Syntax error: "(" unexpected

    And that's where I am stuck. As this is an executable it looks like the binfmt-support doesn't kick in, although when I try to start it with

    sudo /etc/init.d/binfmt-support start

    it states that it has already been started.

    I am pretty confident that the file is not corrupted from the download. There is only one Linux related download on the page you referred to and all the human readable files in the MusicIP archive look fine.

    Is there any hint anyone can give me? I am a little bit lost when it comes to qemu/binfmt related stuff and only tried to follow the Howto as close as possible.

    Thanks in advance for any bit of help, cheers,
    Seb
    "The only word I know is 'Grunt' - and I can't spell it" (R.I.P. D.A.)

  2. #12
    Senior Member
    Join Date
    May 2009
    Location
    Witham, Essex. UK
    Posts
    482
    Quote Originally Posted by srasher View Post
    Hi Frank,

    I finally got to trying this out. Unfortunately it didn't work as seemlessly as I had hoped.

    First, I am trying this on a max2play installation on an Odroid U3.
    I had put different lines to the /etc/apt/sources.list.d/i386.list. As the max2play installation on the Odroid is not based directly on Debian/Raspian Jessie, but refers to an ubuntu port of Trusty Tar, I had to put

    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
    deb [arch=i386] http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse

    Before I was trying to use your lines in that file. binfmt-support and qemu-user installed fine, but for the installation of the libc6:i386 I got tons of dependency errors, referring to all kinds of base system tools and libs that I didn't specify to install. Looked like it was trying to do a kind of dist-upgrade from trusty to jessie or something like this.

    After finding those three lines referring to trusty, libc6:i386 installed fine.

    ....

    Seb
    Or for Odroid XU4 with Ubuntu 16.04 LTS try using...

    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
    deb [arch=i386] http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse

    MusicIP server runs but haven't tried to get any further yet.

    Bob
    1 x Touch
    1 x Radio
    1 x Boom
    1 x Intel-NUC server/squeezelite running LMS 7.91 on Windows 10
    1 X Odroid-XU4 server/squeezelite running LMS 7.91 on Ubuntu 16.04
    WaveIO USB into Lavry DA-10 DAC
    Starfish Pre-amp : Based on NAIM NAC 72
    Heavily modified NAIM NAP 250 Power-amp
    Behringer DEQ2496
    Linn Isobarik DMS

  3. #13
    Senior Member
    Join Date
    Jul 2010
    Location
    Paris, France
    Posts
    141
    Quote Originally Posted by Antoniop View Post
    I did the steps for MusicIp installation only (not Spicefly at the moment) and it's apparently working well, I can have Musicip mixes, but I have a few problems with LMS, I don't know if it's related with MusicIP: it seems slower than before and the scanning crashes during the artist picture lookup. I restarted LMS and had the same. Then I stopped the mm server and ran a new scan. It finished normally.
    Are you having the same problem ? do you thing it's related with the MusicIp server ? I also have some problems with the dynamic playlist plugin http://forums.slimdevices.com/showth...aylists-on-RPi.
    Thanks a lot
    Hi,
    Finally, it was a problem with the server only.
    I removed LMS and did a fresh install. It's ok now.
    It seems to work well and it's quite fast, no big difference with my desktop computer.
    Thanks
    LMS 7.9.0
    on Linux Mageia 5 and RPI 3
    1 SB3, 2 radio, 1 touch
    Plugins : Trackstat, Smartmix, MusicIP, ...

  4. #14
    Senior Member
    Join Date
    May 2009
    Location
    Witham, Essex. UK
    Posts
    482

    MusicIP install for Odroid-XU4

    Hi frank,

    Building on your great work for RaspberryPi, I've reworked your guide a bit to document getting MusicIP working on Odroid-XU4 with Ubuntu 16.04 LTS and max2play. I hope you don't mind my own modifications to get autostart working on XU4.

    ================================================== ============

    Download and unpack MusicIP 1.8 for linux
    http://www.spicefly.com/article.php?...sicip-software


    Edit /etc/apt/sources.list file and every file in /etc/apt/sources.list.d, adding [arch=armhf] behind each occurence of deb.
    So for example the line
    deb http://ports.ubuntu.com/ubuntu-ports/ xenial main universe restricted
    would become
    deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ xenial main universe restricted

    For the Max2Play installation, following two files had to be modified:
    sudo nano /etc/apt/sources.list
    sudo nano /etc/apt/sources.list.d/odroid.list


    Next, we have to add package sources for i386 packages to our apt configuration. We'll do it the obvious way and take the official Debian repositories.
    Of course you are free to choose other mirrors, if you prefer.
    To do that, you create the file /etc/apt/sources.list.d/i386.list via sudo nano /etc/apt/sources.list.d/i386.list and insert the following

    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
    deb [arch=i386] http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse


    Then add the i386 architecture and update packages:
    sudo dpkg --add-architecture i386
    sudo apt-get update



    Install binfmt, qemu and libc for i386:
    sudo apt-get install binfmt-support qemu-user
    sudo apt-get install libc6:i386

    Ignore warnings...


    Start MusicMagic server (in my case installed in the odroid home-directory):
    sudo /home/odroid/MusicIP/MusicMagicMixer/MusicMagicServer start
    It should be accessible via http://localhost:10002/server

    To start manually...
    sudo /etc/init.d/mmserver start

    To stop manually...
    sudo /etc/init.d/mmserver stop

    To make 'Music IP Server' start when system boots:
    Sudo cp /home/odroid/MusicIP/MusicMagicMixer/Mmserver /etc/Init.d
    cd /etc/init.d
    sudo nano mmserver

    Edit mmserver and add the header for the init daemon, adapt the pathes. My version looks like:


    ------------
    #! /bin/sh

    ### BEGIN INIT INFO
    # Provides: mmserver
    # Required-Start: $remote_fs $syslog
    # Required-Stop: $remote_fs $syslog
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: Start MusicIP daemon at boot time
    # Description: Enable service provided by daemon.
    ### END INIT INFO

    # NON-PRIVIELEGED USER TO RUN MUSICMAGICSERVER.
    USER=odroid
    # PATH TO THE MUSICMAGICMIXERSERVER
    export MUSICHOME=/home/odroid/MusicIP/MusicMagicMixer/
    case $1 in
    start)
    # next line was original
    # su - $USER -c $MUSICHOME"MusicMagicServer start & > /dev/null"
    sudo -u odroid /home/odroid/MusicIP/MusicMagicMixer/MusicMagicServer start & > /dev/null 2>&1
    echo "Running MusicMagicServer"
    exit
    ;;
    stop)
    # next line was original
    # su - $USER -c $MUSICHOME"MusicMagicServer stop & > /dev/null"
    sudo -u odroid /home/odroid/MusicIP/MusicMagicMixer/MusicMagicServer stop & > /dev/null 2>&1
    echo "Stopped MusicMagicServer"
    exit
    ;;
    *)
    echo "Usage: /etc/rc.d/init.d/mmserver { start | stop }"
    exit
    ;;
    esac


    --------


    Then register the start script and reboot:
    sudo update-rc.d mmserver defaults
    sudo reboot


    The MusicIP plugin should run out of the box (may require restart of LMS to recognize the MusicIP server in case LMS is started to early).

    If using max2play there is an option to delay LMS startup. I use a delay of 60 seconds to ensure MusicIP is running before LMS.

    ================================================== =============

    Hopefully this makes sense and helps show others how franks method can be modified for other ARM platforms and other versions of Linux.

    Best wishes

    Bob
    Last edited by bobertuk; 2017-03-01 at 17:07. Reason: Change 'start on boot'
    1 x Touch
    1 x Radio
    1 x Boom
    1 x Intel-NUC server/squeezelite running LMS 7.91 on Windows 10
    1 X Odroid-XU4 server/squeezelite running LMS 7.91 on Ubuntu 16.04
    WaveIO USB into Lavry DA-10 DAC
    Starfish Pre-amp : Based on NAIM NAC 72
    Heavily modified NAIM NAP 250 Power-amp
    Behringer DEQ2496
    Linn Isobarik DMS

  5. #15
    Junior Member
    Join Date
    Jan 2012
    Posts
    24
    Quote Originally Posted by Antoniop View Post
    Hi,
    Finally, it was a problem with the server only.
    I removed LMS and did a fresh install. It's ok now.
    It seems to work well and it's quite fast, no big difference with my desktop computer.
    Thanks
    These are good news Antonio.
    I have a suspicion, in case the problems with scanning your music re-appear:
    In your webinterface, under Advanced - MusicIP you can select what should be imported from MusicIP when your music collection is scanned. I have selected only the mixable status not the Title and Genre information (all Info), which is indicated as being slow and might cause some timeout issues in case the MusicIP server is slow. I think in most setups, the Genre and Title info would be anyway duplication of what is scanned via the music files anyway.

    Best,
    Frank

  6. #16
    Junior Member
    Join Date
    Jan 2012
    Posts
    24
    Quote Originally Posted by srasher View Post
    Hi Frank,

    I finally got to trying this out. Unfortunately it didn't work as seemlessly as I had hoped.

    First, I am trying this on a max2play installation on an Odroid U3.
    I had put different lines to the /etc/apt/sources.list.d/i386.list. As the max2play installation on the Odroid is not based directly on Debian/Raspian Jessie, but refers to an ubuntu port of Trusty Tar, I had to put

    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
    deb [arch=i386] http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse

    Before I was trying to use your lines in that file. binfmt-support and qemu-user installed fine, but for the installation of the libc6:i386 I got tons of dependency errors, referring to all kinds of base system tools and libs that I didn't specify to install. Looked like it was trying to do a kind of dist-upgrade from trusty to jessie or something like this.

    After finding those three lines referring to trusty, libc6:i386 installed fine.

    When I am then trying to start the MusicMagicServer I get the following error message

    /home/odroid/Software/Squeezebox/musicip/MusicIP/MusicMagicMixer/MusicMagicServer: 1: /home/odroid/Software/Squeezebox/musicip/MusicIP/MusicMagicMixer/MusicMagicServer: Syntax error: "(" unexpected

    And that's where I am stuck. As this is an executable it looks like the binfmt-support doesn't kick in, although when I try to start it with

    sudo /etc/init.d/binfmt-support start

    it states that it has already been started.

    I am pretty confident that the file is not corrupted from the download. There is only one Linux related download on the page you referred to and all the human readable files in the MusicIP archive look fine.

    Is there any hint anyone can give me? I am a little bit lost when it comes to qemu/binfmt related stuff and only tried to follow the Howto as close as possible.

    Thanks in advance for any bit of help, cheers,
    Seb
    Hi Seb,
    did you try to run the musicmagicserver via Qemu directly instead of relying on binfmt?
    Maybe as a first tes you can try if following lines starts the web-interface of the MusicMagicServer:
    sudo qemu-i386 /home/odroid/Software/Squeezebox/musicip/MusicIP/MusicMagicMixer/MusicMagicServer

    (assuming the error code above hints to your installation path...)

  7. #17
    Junior Member
    Join Date
    Jan 2012
    Posts
    24
    Quote Originally Posted by bobertuk View Post
    Hi frank,

    Building on your great work for RaspberryPi, I've reworked your guide a bit to document getting MusicIP working on Odroid-XU4 with Ubuntu 16.04 LTS and max2play. I hope you don't mind my own modifications to get autostart working on XU4.

    ================================================== ============

    Download and unpack MusicIP 1.8 for linux
    http://www.spicefly.com/article.php?...sicip-software


    Edit /etc/apt/sources.list file and every file in /etc/apt/sources.list.d, adding [arch=armhf] behind each occurence of deb.
    So for example the line
    deb http://ports.ubuntu.com/ubuntu-ports/ xenial main universe restricted
    would become
    deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ xenial main universe restricted

    For the Max2Play installation, following two files had to be modified:
    sudo nano /etc/apt/sources.list
    sudo nano /etc/apt/sources.list.d/odroid.list


    Next, we have to add package sources for i386 packages to our apt configuration. We'll do it the obvious way and take the official Debian repositories.
    Of course you are free to choose other mirrors, if you prefer.
    To do that, you create the file /etc/apt/sources.list.d/i386.list via sudo nano /etc/apt/sources.list.d/i386.list and insert the following

    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
    deb [arch=i386] http://de.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
    deb [arch=i386] http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse


    Then add the i386 architecture and update packages:
    sudo dpkg --add-architecture i386
    sudo apt-get update



    Install binfmt, qemu and libc for i386:
    sudo apt-get install binfmt-support qemu-user
    sudo apt-get install libc6:i386

    Ignore warnings...


    Start MusicMagic server (in my case installed in the odroid home-directory):
    sudo /home/odroid/MusicIP/MusicMagicMixer/MusicMagicServer start
    It should be accessible via http://localhost:10002/server


    To make 'MusicIP Server' start when system boots:
    Run terminal
    cd /etc/init.d/
    sudo ln -s /home/odroid/MusicIP/MusicMagicMixer/mmserver
    sudo update-rc.d mmserver defaults

    From Desktop, find '/etc/rc.local' and open as administrator
    Add the following line...
    sudo /etc/init.d/mmserver start

    To start manually...
    sudo /etc/init.d/mmserver start

    To stop manually...
    sudo /etc/init.d/mmserver stop


    Edit the file and add the header for the init daemon, adapt the pathes. My version looks like:


    ------------
    #! /bin/sh

    ### BEGIN INIT INFO
    # Provides: mmserver
    # Required-Start: $remote_fs $syslog
    # Required-Stop: $remote_fs $syslog
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: Start MusicIP daemon at boot time
    # Description: Enable service provided by daemon.
    ### END INIT INFO

    # NON-PRIVIELEGED USER TO RUN MUSICMAGICSERVER.
    USER=odroid
    # PATH TO THE MUSICMAGICMIXERSERVER
    export MUSICHOME=/home/odroid/MusicIP/MusicMagicMixer/
    case $1 in
    start)
    # next line was original
    # su - $USER -c $MUSICHOME"MusicMagicServer start & > /dev/null"
    sudo -u odroid /home/odroid/MusicIP/MusicMagicMixer/MusicMagicServer start & > /dev/null 2>&1
    echo "Running MusicMagicServer"
    exit
    ;;
    stop)
    # next line was original
    # su - $USER -c $MUSICHOME"MusicMagicServer stop & > /dev/null"
    sudo -u odroid /home/odroid/MusicIP/MusicMagicMixer/MusicMagicServer stop & > /dev/null 2>&1
    echo "Stopped MusicMagicServer"
    exit
    ;;
    *)
    echo "Usage: /etc/rc.d/init.d/mmserver { start | stop }"
    exit
    ;;
    esac


    --------


    Then register the start script and reboot:
    sudo update-rc.d mmserver defaults
    sudo reboot


    The MusicIP plugin should run out of the box (may require restart of LMS to recognize the MusicIP server in case LMS is started to early).

    If using max2play there is an option to delay LMS startup. I use a delay of 60 seconds to ensure MusicIP is running before LMS.

    ================================================== =============

    Hopefully this makes sense and helps show others how franks method can be modified for other ARM platforms and other versions of Linux.

    Best wishes

    Bob
    Excellent Bob!
    I see that you run everything as root / sudo, which works as you do it consequently. General caveat for others: running the server as normal user and sudo in mixed mode should be prevented, as this would creat two different databases in two different home directories. Either all as sudo / root or all under the same user account.

    Kind regards
    Frank

  8. #18
    Member srasher's Avatar
    Join Date
    Jun 2006
    Location
    Bochum, Germany
    Posts
    79
    Quote Originally Posted by frankd View Post
    Hi Seb,
    did you try to run the musicmagicserver via Qemu directly instead of relying on binfmt?
    Maybe as a first tes you can try if following lines starts the web-interface of the MusicMagicServer:
    sudo qemu-i386 /home/odroid/Software/Squeezebox/musicip/MusicIP/MusicMagicMixer/MusicMagicServer

    (assuming the error code above hints to your installation path...)
    Hi Frank,

    thanks a lot. That helped! I have the server running, my database is recognized (fingerprints have been archived in the files) and basic MusicIP mixing is working. Will explore Spicefly features in the coming days.

    Cheers,
    Seb
    "The only word I know is 'Grunt' - and I can't spell it" (R.I.P. D.A.)

  9. #19
    Senior Member
    Join Date
    May 2009
    Location
    Witham, Essex. UK
    Posts
    482
    Quote Originally Posted by frankd View Post
    Excellent Bob!
    I see that you run everything as root / sudo, which works as you do it consequently. General caveat for others: running the server as normal user and sudo in mixed mode should be prevented, as this would creat two different databases in two different home directories. Either all as sudo / root or all under the same user account.

    Kind regards
    Frank
    Hi frank

    Ran into problems with my method of starting MIP Server on re-boot. Odroid-XU4 wouldn't shutdown or re-boot cleanly and default.m3lib database wasn't being picked up by mmserver on restart. Reverted to your method and it functions correctly now. Edited my post to reflect changes.

    Also needed to edit mmm.ini to direct mmserver as follows...

    cache=/home/odroid/.MusicMagic/default.m3lib
    tivo=0

    Bob
    1 x Touch
    1 x Radio
    1 x Boom
    1 x Intel-NUC server/squeezelite running LMS 7.91 on Windows 10
    1 X Odroid-XU4 server/squeezelite running LMS 7.91 on Ubuntu 16.04
    WaveIO USB into Lavry DA-10 DAC
    Starfish Pre-amp : Based on NAIM NAC 72
    Heavily modified NAIM NAP 250 Power-amp
    Behringer DEQ2496
    Linn Isobarik DMS

  10. #20
    Senior Member
    Join Date
    May 2009
    Location
    Witham, Essex. UK
    Posts
    482
    Quote Originally Posted by cparker View Post
    Hi Frankd,

    Very interesting work that you are doing with the Pi. I've added your proposed changes into a test release here;

    http://www.spicefly.com/media/scube4x/beta480.xml

    If you get a chance would be helpful if you could test this on your setup and let me know if it's working ok. I'll then add a GUI element to enable fine tuning of the timeout value, similar to the SQL timeouts.

    Cheers

    (Note: This contains new code to, Fade Volume on Track Transition however this isn't fully working on clients in a sync group, so shouldn't be considered fully stable)
    Hi Charles

    I've managed to get MIP Server running on Odroid-XU4 based on the good work posted by 'frankd'. Everything working well - validating through headless MIP Server is also working but very very slow. But at least it's working. I'm using Spicefly Sugarcube v4.80 and that's working well too.

    Not sure if it's appropriate to ask you in this thread but... a question for you.
    I haven't been fingerprinting audio tracks for about 2 years because I thought we'd lost access to MIP on ARM based computers. Had to go through real 'hoops' to get nearly 4000 tracks fingerprinted and archived on an old redundant PC. I have a powerful iMac which would be far better at the task and have the Mac version (v1.8) of MIP running on it. However, because the MIP Servers are dead, fingerprinting has to be done offline. I haven't been able to fingerprint offline on Mac so... Is there any way that you know of to do offline fingerprinting on Mac?

    Thanks

    Bob
    1 x Touch
    1 x Radio
    1 x Boom
    1 x Intel-NUC server/squeezelite running LMS 7.91 on Windows 10
    1 X Odroid-XU4 server/squeezelite running LMS 7.91 on Ubuntu 16.04
    WaveIO USB into Lavry DA-10 DAC
    Starfish Pre-amp : Based on NAIM NAC 72
    Heavily modified NAIM NAP 250 Power-amp
    Behringer DEQ2496
    Linn Isobarik DMS

Tags for this Thread

Posting Permissions

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