Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,317

    Using iTunes Library with LMS and pCP

    I'm helping someone start with LMS and piCoreplayer

    He would like to use his iTunes library on his iMac.

    I don't know yet, which OS he is using on the Mac but I can practise on mine.

    So El Capitan with iTunes

    I exported the Library to Documents so the path is

    /Users/ronnie/Documents/Library.xml

    I also have a xml file here

    /Volumes/APPLE HDD HTS541010A9E662 Media/Users/ronnie/Music/iTunes/iTunes Music Library.xml
    If I go to iTunes Plugin Settings and enter either string, prefaced by the IP Address of the Imac, I get a return message, viz;

    Invalid value "http://192.168.1.109 /Volumes/APPLE HDD HTS541010A9E662 Media/Users/ronnie/Music/iTunes/iTunes Music Library.xml" for xml_file

    and

    Invalid value "http://192.18.1.109 /Users/ronnie/Documents/Library.xml" for xml_file
    What am I doing wrong ?

    ronnie

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,177
    The plugin probably wants a file not a url.
    You would probably have to mount the MAC file system from the RPi.
    Or ... write a script to push the xml file to the RPi every few hours/days.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  3. #3
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,317
    Quote Originally Posted by Paul Webster View Post
    The plugin probably wants a file not a url.
    You would probably have to mount the MAC file system from the RPi.
    Or ... write a script to push the xml file to the RPi every few hours/days.

    Hi Paul, thanks for showing pity

    "I'm a simple soul Doctor, more dog ?"

    Name:  itunes.png
Views: 111
Size:  51.0 KB

    Not exactly easy music for the masses is it

    ronnie

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,177
    That path would need to be something like ....

    smb://192.168.x.y/sharename/music/iTunes.xml

    For a MAC I assume that it would be nfs rather than smb

    but you would have to set up the share on the MAC first to make it available.

    Probably would need id/password/guid/uid of some sort if anonymous sharing not available.

    Unless someone else has a definitive answer, I suggest searching more general MAC sites for how to access files on a MAC from Linux and then once that is working ... LMS should work as well.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  5. #5
    Senior Member
    Join Date
    Dec 2013
    Posts
    109
    Definitely Samba share.

    Setting it up on a Mac is easy- in settings, select share and add the folder you want to share and the permissions. Anonymous is also possible.

    I am not sitting in front of my Mac, so I canĺt send screenshots. Let me know and I be will look at it.


    Sent from my iPhone using Tapatalk

  6. #6
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,541

    Using iTunes Library with LMS andpCP

    > That path would need to be something like ....
    >
    > smb://192.168.x.y/sharename/music/iTunes.xml


    No, that's still a URI. You'd really need a path which is mounted in the
    file system: /mnt/music/iTunes.xml or whatever.


  7. #7
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,317
    Quote Originally Posted by rkrug View Post
    Definitely Samba share.

    Setting it up on a Mac is easy- in settings, select share and add the folder you want to share and the permissions. Anonymous is also possible.

    I am not sitting in front of my Mac, so I canĺt send screenshots. Let me know and I be will look at it.


    Sent from my iPhone using Tapatalk
    Any info is appreciated, thanks

    ronnie

  8. #8
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,317
    Well I have made some progress

    I have plugged a usb stick into the pcp, and installed samba (it only took about ten attempts to successfully complete the installation)

    Connected to the pcp from my iMac and transferred an album to the usb stick

    Scanned the stick and played back the album

    Now what I would like to do, is reverse the process, as it seems it once was possible.

    I want to use the iTunes plugin to access the iTunes on the iMac, or have pcp mount a folder on the iMac as it would do on a NAS, essentially the same task

    Any help out there ?

    I can connect to my iMac from my Windows 10 Pro Desktop, why not from LMS ?

    As originally conceived surely the process was designed to be relatively user friendly, not requiring a book full of learning ........I might be wrong about that

    ronnie

  9. #9
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,177
    Quote Originally Posted by Man in a van View Post
    I can connect to my iMac from my Windows 10 Pro Desktop, why not from LMS ?
    What is the full path to the XML file when viewed from the Windows PC?
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  10. #10
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,317
    Quote Originally Posted by Paul Webster View Post
    What is the full path to the XML file when viewed from the Windows PC?
    This:

    \\RONALDS-IMAC\APPLE HDD HTS541010A9E662 Media\Users\ronnie\Music\iTunes\iTunes Music Library.xml

Posting Permissions

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