Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2022-09-18 Thread Wirrunna


mamema wrote: 
> just for the records, the musicip for linux has version 1.8ish and has
> problems with high res files. The 1.9ish version doesn't have this, but
> was only released on windows. So i created a linux docker with wine and
> the windows version of musicip. It's in the docker hub. Working fine
> since several years now.

mamema - tell me more , please. The docker hub -
https://hub.docker.com/r/mamema/musicip_wine - entry is 'sparse'.

When you say "So i created a linux docker with wine and the windows
version of musicip" is this the full gui or just a headless 1.9ish
version ?
What are the commands to load the container  ? I have MIP running using
this script -
docker run -d \
--name=musicip \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Australia/Sydney \
-p 10002:10002 \
-v
"/srv/dev-disk-by-uuid-cd59f9cd-585b-4c6f-840f-966d2e6e45cc/Storage/Music":"/music":rw
\
-v "/SSD_Data/MIP":"/config":rw \
--network host \
--restart unless-stopped \
ptoulouse/musicip

My son got the linux 1.8 version with the GUI (MusicMagicMixer) running
for me on Ubuntu but has not visited since I built an Open Media Vault
server (as a replacement for an old Vortex Box) and used SeanMiddleton's
instructions to install LMS and MIP containers. I am going to get my son
to put the Linux MIP GUI in a container, but if you have the windows MIP
GUI in a container that will be much better as it was not just high res
files that had bugs and the Linux MIP is single threaded while the Win
will go to 8 threads.



A camel is a racehorse designed by a committee.

Seen sprayed on the outside wall of the local library -
Three things I hate in life :
1. Vandalism
2. Irony
3. Lists

Wirrunna's Profile: http://forums.slimdevices.com/member.php?userid=3225
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2022-02-07 Thread goharbourview123


Thanks so much for doing this - got it working on a RPi4 with Bullseye
64-bit Raspberry Pi OS. Setup was a breeze, took less than 5 minutes.



goharbourview123's Profile: 
http://forums.slimdevices.com/member.php?userid=23031
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2022-01-16 Thread Orange


Thank you very much for this smart solution. 
Running on following system:

RPi4 8GB
GeeekPi DeskPi Pro V2 Case
SSD 1TB

DietPi v8.0.2 Bullseye
Kernel 5.10.63-v8+
ZFS 2.0.3
LMS 8.2.0

Works like a charm. Thanks again.
Stay healthy.



Orange's Profile: http://forums.slimdevices.com/member.php?userid=15424
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-28 Thread CypherMK


Not using spicefly. But I can set the path in the docker how I want it,
so it's all good. changed it to /mnt/MUSIC like I had it in my old
situation. Now I just need to install some plugins and settings and
we're all good.



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-28 Thread bakker_be


CypherMK wrote: 
> > 
Code:

  >   > docker run -d --name=musicip --platform=armhf -e PUID=1000 -e PGID=1000 
-e TZ=Europe/London -p 10002:10002 -v /music:/music:ro -v 
/home/osmc/MusicIP/MusicMagicMixer:/config --restart unless-stopped 
mwalters68/musicip-arm

> > 
> 
> I'm trying to mount my music on my network drive to /music instead of
> /mnt/MUSIC. So the path for LMS and MusicIP are the same. Maybe that
> makes a difference.
> Doing a full rescan again, so I'll report back in a couple of hours.
If you use Spicefly SugarCube for your MusicIP mixes in LMS, it lets you
do path "translation" ;)



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=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-28 Thread CypherMK


And.it works! Changing the path did the trick. This is so much
easier then the other method. Just a few steps and your good to go.
Thanks for making this method work!



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-28 Thread cpd73


sparkyuk wrote: 
> That's a good point, the path to your music files must be the same in
> both LMS and MusicIP.

If you use SugarCube, or my fork of the LMS 'MIP DSTM mixer'
(https://github.com/CDrummond/lms-mipmixer), these will convert paths
to/from LMS - allowing these to be different. I process my files with
MIP on a Linux laptop, save to default.m3lib, and then run MIP itself on
a Pi4 - my DSTM plugin then handles converting the paths so that this
functions correctly.

Alternatively, I wrote a simply 'python proxy script'
(https://github.com/CDrummond/musicip/tree/master/proxy) that will also
do this conversion, allowing you to use the LMS supplied MIP plugin.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-28 Thread sparkyuk


That's a good point, the path to your music files must be the same in
both LMS and MusicIP.  I'm not familiar with OSMC but whatever the path
to your music is in the LMS Settings -> Basic Settings -> Media Folders
page should also be used in the MusicIP container.  Note that this is
the second path for the -v option in the docker run command, not the
first (-v physical_path:/path_in_container).  For example, in my case,
I'm running both LMS and MusicIP in containers and they both map my
physical music file path (/storage/music) to /music in the container.

If the MusicIP interface reports files in the library after you've added
them, and the Test Mix Creation button works the issue is likely to be
with the LMS - MusicIP integration.



sparkyuk's Profile: http://forums.slimdevices.com/member.php?userid=70716
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-28 Thread CypherMK


Code:

docker run -d --name=musicip --platform=armhf -e PUID=1000 -e PGID=1000 -e 
TZ=Europe/London -p 10002:10002 -v /music:/music:ro -v 
/home/osmc/MusicIP/MusicMagicMixer:/config --restart unless-stopped 
mwalters68/musicip-arm



I'm trying to mount my music on my network drive to /music instead of
/mnt/MUSIC. So the path for LMS and MusicIP are the same. Maybe that
makes a difference.
Doing a full rescan again, so I'll report back in a couple of hours.



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-28 Thread CypherMK


So everything is scanned. MusicIP import was successful. But I can't
create a MusicIP mix. Tried restarting LMS, but that made no
difference.

Any ideas on how to proceed?



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-27 Thread CypherMK


slartibartfast wrote: 
> Sounds promising.
> 
> Sent from my Pixel 3a using Tapatalk

I'm now scanning in LMS, so let's see tomorrow.



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-27 Thread slartibartfast


CypherMK wrote: 
> Music is added. Now let's see if I can get this to work with LMS...Sounds 
> promising.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-27 Thread CypherMK


Music is added. Now let's see if I can get this to work with LMS...



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-27 Thread CypherMK


Still need to learn docker :)

But I added /music, and it says: adding tracks. So far so good! Let's
see what happens next...



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-27 Thread sparkyuk


> So I went to 192.168.1.29:10002, added /mnt/MUSIC to 'enter root
folder of music' and pressed 'add music'. Nothing happens

Your docker run command is mapping /mnt/MUSIC to /music inside the
container so you would have to use /music as the path "Add Music" from.



sparkyuk's Profile: http://forums.slimdevices.com/member.php?userid=70716
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-12-26 Thread CypherMK


I did the following on an OSMC image on a raspberry Pi 4:


Code:

curl -sSL https://get.docker.com | sh



Code:

sudo usermod osmc -aG docker


exit and log in

Code:

docker pull mwalters68/musicip-arm



Code:

docker run -d --name=musicip --platform=armhf -e PUID=1000 -e PGID=1000 -e 
TZ=Europe/London -p 10002:10002 -v /mnt/MUSIC:/music:ro -v 
/home/osmc/MusicIP/MusicMagicMixer:/config --restart unless-stopped 
mwalters68/musicip-arm
  


That will run MusicIP!
but when I try to add music it does nothing.
So I went to 192.168.1.29:10002, added /mnt/MUSIC to 'enter root folder
of music' and pressed 'add music'. Nothing happens

Tried this from the
https://forums.slimdevices.com/showthread.php?106958-Success-MusicIP-and-Spicefly-Sugarcube-running-on-Raspberry-Pi
topic:

Code:

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



But that made no difference.

So what's can I try now?



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-06-08 Thread pepeq


Thanks Mark for your very useful Docker-image! I run it as headless
MusicMagicServer on an Odroid-N2 with Armbian-Debian Buster together
with LMS 8.2.x.
Here is may way what I did to run MusicIP with LMS successfully, maybe
it will help some others:

I analyzed (created the MusicIP FINGERPRINT-tags) my huge music library
(85000 tracks) on my Win10-PC, because it is a lot faster than the
Odroid.

Then I created in a Ubuntu-VM on my PC with MusicMagicMixer v1.8 the
suitable defaults.m3lib file, so the paths of the music tracks are
Unix-like (/music/...) and nit Windows-style (F:\music\...) and LMS on
Odroid can handle them.

The path to the default.m3lib is defined in the mmm.ini (cache=...),
which must exist in the config-directory. So MusicMagicServer can
recognize the music library after rebooting the N2 automatically.

Lastly I delayed the start of LMS with inserting following line in
/usr/lib/systemd/system/logitechmediaserver.service after [Service]:
ExecStartPre=/bin/sleep 60.

That's it and it works wunderful!


Just for reference:
I created the Docker image also on my N2 with Debian Buster successfully
with
docker buildx build --platform=armhf -t musicip-arm .

All I had to do was changing the 2 lines with "ubuntu:20.04" to
"debian:10" in the file Dockerfile.

Peter



pepeq's Profile: http://forums.slimdevices.com/member.php?userid=71854
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-03-25 Thread frankd


sparkyuk wrote: 
> As part of the process of moving from an old x86 LMS server to an ARM
> based one I've been trying to find a way to get MusicIP running on the
> new system.  I'm using an Odroid N2 running Ubuntu which uses 64 bit
> (aarch64) architecture and I haven't been able to get the steps detailed
> in the 'thread for the Raspberry Pi'
> (https://forums.slimdevices.com/showthread.php?106958-Success-MusicIP-and-Spicefly-Sugarcube-running-on-Raspberry-Pi)
> to work so I've tried the container route.
> 
> The container is based on the one from 'ptoulouse'
> (https://github.com/ptoulouse/docker-musicip) and uses 'box86 '
> (https://github.com/ptitSeb/box86)for emulation.  It seems to work fine
> on my system and the DTSM plugin uses it keep the music flowing.  One
> thing I have noticed is that it may be necessary to wait a few minutes
> after stopping the container before it will restart but I'm not sure why
> at the moment.  I haven't used it to fingerprint files, that's done on a
> much faster desktop with the results archived in the file so that
> MusicIP just has to scan them. 
> 
> box86 has been compiled without any specific hardware flags so that may
> be an issue for some systems but I'm also not sure to what extent docker
> masks those features.  I'll be putting the build files on github at some
> point if people find it useful.
> 
> If anyone is interested in giving it a go the details are at
> 'mwalters68/musicip-arm on the Docker Hub'
> (https://hub.docker.com/r/mwalters68/musicip-arm) and I'd be interested
> to hear if it works on armhf as well as aarch64.
> 
> Mark

Great to see an alternative approach for ARM, in particular ARM64 (I
think nobody tried the ARM64 approach with QEMU directly...



frankd's Profile: http://forums.slimdevices.com/member.php?userid=52885
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] ANNOUNCE: MusicIP container for ARM based systems - first release.

2021-03-25 Thread sparkyuk


As part of the process of moving from an old x86 LMS server to an ARM
based one I've been trying to find a way to get MusicIP running on the
new system.  I'm using an Odroid N2 running Ubuntu which uses 64 bit
(aarch64) architecture and I haven't been able to get the steps detailed
in the 'thread for the Raspberry Pi'
(https://forums.slimdevices.com/showthread.php?106958-Success-MusicIP-and-Spicefly-Sugarcube-running-on-Raspberry-Pi)
to work so I've tried the container route.

The container is based on the one from 'ptoulouse'
(https://github.com/ptoulouse/docker-musicip) and uses 'box86 '
(https://github.com/ptitSeb/box86)for emulation.  It seems to work fine
on my system and the DTSM plugin uses it keep the music flowing.  One
thing I have noticed is that it may be necessary to wait a few minutes
after stopping the container before it will restart but I'm not sure why
at the moment.  I haven't used it to fingerprint files, that's done on a
much faster desktop with the results archived in the file so that
MusicIP just has to scan them. 

box86 has been compiled without any specific hardware flags so that may
be an issue for some systems but I'm also not sure to what extent docker
masks those features.  I'll be putting the build files on github at some
point if people find it useful.

If anyone is interested in giving it a go the details are at
'mwalters68/musicip-arm on the Docker Hub'
(https://hub.docker.com/repository/docker/mwalters68/musicip-arm) and
I'd be interested to hear if it works on armhf as well as aarch64.

Mark



sparkyuk's Profile: http://forums.slimdevices.com/member.php?userid=70716
View this thread: http://forums.slimdevices.com/showthread.php?t=114235

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins