• Home
  • Blog
  • Demo
  • Community

The Web Server for iTunes

Access your iTunes music library from anywhere, through a web browser

loginMembers Login


  • Forgot Password?

Support Center » Knowledgebase

Search Knowledgebase (Linux )     All Categories

Search by entering keywords (formatting, account, E-mail) or phrasing a question.
Note: Live search requires a minimum of 4 characters.

Top / .. / Linux

  • How to use pulpTunes in Linux rating stars

    Article ID: 2     Created on: 12/30/2009 12:00 am     Modified on: 01/05/2010 5:39 pm


     The Linux functionality was thought for people having an existing iTunes library in a PC or Mac, and that want to host that same library on a Linux server with pulpTunes.


    These are the steps to set up pulpTunes on Linux:

    1) Upload to Linux all your music files, conserving the same directory structure you have in your PC or Mac.

    2) Create a copy of your iTunes music library XML file.

    3) Use your favorite plain-text editor (e.g. Notepad but not Word) to edit that copy. In the XML file there is an entry for each song, and each entry contains a sub-entry "Location" that specifies where in the file system is each song located. You need to update each Location tag, reflecting the new location of your music files in Linux.

    For example you might have something like:
    <key>Location</key><string>file://localhost/C:/Documents%20and%20Settings/John/My%20Documents/My%20Music/iTunes/iTunes%20Music/Artist/Album/song.mp3</string>

    If you copied all your "iTunes Music" directory to your Linux machine under something like /home/john/music then you need to replace the Location entry with:
    <key>Location</key><string>file://localhost//home/john/music/iTunes%20Music/Artist/Album/song.mp3</string>

    This should be doable in a single operation through your editor's search-and-replace command.

    4) Upload that XML file to your Linux machine.

    5) After starting pulpTunes in Linux, specify that file when asked. If you're using a console, specify it through the command line with the -xml_location option. For example run:

    ./pt_linux.sh -xml_location /home/john/itunes.xml -background
    (the -background option is to run pulpTunes on the background and get back your command-line prompt. To see all the commands available, use the -h option)


    Author: alpeb

    Rate this article

    How Helpful was this article to you?

    • Currently 1.33/5
    • 1
    • 2
    • 3
    • 4
    • 5
    Rating: 4 / 5 (3 votes cast)


    Comments

    Comment by Spencer - 08/01/2010 2:15 pm

    rather than make a copy of all my music and modify the itunes library xml file, I shared the itunes directory from my mac to Ubuntu. I mounted it in a directory and used a symlink so that the path on the Ubuntu file system would match what's in the library xml file. On the mac the music path is like /Users/spencer/Music/iTunes So in Ubuntu I mounted the iTunes directory in /home/spencer/Music/iTunes then created a /Users symlink pointed to /home. The path in Ubuntu was then /Users/spencer/Music/iTunes, just like the contents of the files in the xml library file. I did this so that ratings that I set in pulp tunes would be reflected in iTunes on my mac. I also wanted to keep the library local on my mac since it's quite large and so that I could keep it backed up with time machine.

    Comment by Egner.Q - 04/17/2010 09:56 am

    excellent application, in my opinion, the only serious flaw that I see is that it depends on itunes, for that reason it is necessary for users of GNU / Linux have the same PC, or rely on a Windows or Mac with iTunes installed ... Programs that run natively on linux as Rhythmbox, Banshee, atunes, etc also generate an xml library to store data from audio files it is possible to implement some code to allow the use pulptunes the xml generated by these programs? would be an excellent choice for linux users ... personally I suggest you take into account the implementation of atunes xml atunes info: http://www.atunes.org/ Please excuse my English ... Best Regards! Egner.Q

    Add a comment





    Comment

  • Home
  • Blog
  • Project Page
  • Demo
  • Community
  • RSS
Copyright 2008-2010 pulpTunes.com