There were a few things that needed to be changed to get the iTunes
plugin working. There may be easier/better ways to accomplish this, but
this worked for me.
*My environment*
DSM version 6.2.3
Docker version 19.09.0-0513
LMS installed from lmscommunity/logitechmediaserver:latest (version
8.1.8)
iTunes library share located at /volume1/ITunes/iTunes
*User/Security* -- LMS was running under a non-existent user id and
group id. There were a few steps needed to resolve this.
- Created a new group named "SqueezeBox" using the Synology Group
screen (Control Panel -> Group -> Create). Gave that group read/write
access to the Tunes share that contains the iTunes library/media/etc.
- Created a new user named "SqueezeBox" using the Synology Group
screen (Control Panel -> User -> Create). Added this user to only the
SqueezeBox group.
- SSH'ed into the Diskstation and entered the following command in
order to display the numeric user id (uid) and group id (gid) for the
SqueezeBox entities just created . On my system the uid is 1029 and
the gid is 65537.
Result from command "id SqueezeBox": uid=1029(SqueezeBox)
gid=100(users) groups=100(users),65537(SqueezeBox)
*Docker Configuration* --
- If LMS is running in Docker stop the LMS container.
- Edit the LMS container
- On the "Volume" tab add two mappings:
- Click on Add File, browse to the share containing your iTunes
library (.xml file) and select your "iTunes Library.xml" file. In
my case that was "/volume1/ITunes/iTunes/iTunes Library.xml".
Enter "/xml_file" in the mount point field.
- Click on Add Folder, browse to the share containing your iTunes
media and select your iTunes Media folder. In my case
"/volume1/ITunes/iTunes/iTunes Media". Enter "/music_path" in the
mount point field.
- On the "Environment" tab
- Change the value of PUID to the user id previously retrieved via
SSH (1029 in my case).
- Change the value of PGID to the group id previously retrieved
via SSH (65537 in my case).
- Apply the changes.
- Start the LMS container.
*LMS Configuration* --
- On the iTunes tab of the LMS Settings page
- Ensure "Use iTunes" is checked
- Enter "/xml_file" in the "iTunes Music Library.xml Location"
field.
- Enter "/music_path" in the "Tunes Media Folder" field
- Apply
- At this point you may want to delete any duplicate files you put in
your /docker/music and docker/playlist folders (assuming all of your
music is in your iTunes library). (I had copied a few files there in
order to ensure LMS was working properly without the iTunes plugin.)
- On the "Basic Settings" tab of the LMS Settings page change the
"Rescan Media Library" drop down to "Clear Library and Rescan
Everything" and press the Rescan button
Once the Rescan is finished all of your iTunes media should be in LMS.
------------------------------------------------------------------------
JimH's Profile: http://forums.slimdevices.com/member.php?userid=71495
View this thread: http://forums.slimdevices.com/showthread.php?t=114135
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter