Support and General Use > Audio Playback, Database and Playlists

[iPod 5G] Read iPod native playlists in Rb database

<< < (19/20) > >>

Chronon:

--- Quote from: kiwibird on January 10, 2009, 04:47:09 AM ---Hi all, just thought I'd mention my own story in case someone on a Mac (who doesn't like being dependent on wine) wants to convert their iTunes playlists to the m3u/m3u8 (rockbox) format. Here's what I did:

1. Downloaded Songbird.
2. Let it import all my iTunes stuff.
3. Added the extension Playlist Export Tool
4. Exported my playlists to ~/Music
5.
--- Code: ---rsync -avW --progress --size-only --delete ~/Music/* /Volumes/IPODNAME/Music/
--- End code ---
6.
--- Code: ---touch /Volumes/IPODNAME/iPod_Control/Music/database.ignore
--- End code ---

--- End quote ---

This might be useful information in the IpodFAQ page or some other wiki page (maybe UsefulTools).

geruvah:
All that seemed to work until ~/Music.
Is that a folder within the ipod or something in the computer like where the music for iTunes is located? Then after that, what are those next two steps of code?

Sorry, when it comes to coding, I know nothing unless it's a little xml.

kiwibird:

--- Quote from: geruvah on February 16, 2009, 02:10:40 AM ---All that seemed to work until ~/Music.
Is that a folder within the ipod or something in the computer like where the music for iTunes is located? Then after that, what are those next two steps of code?

--- End quote ---

~ means your home folder. So ~/Music is the folder called "Music" in your home folder, where I assume you've put all your mp3s etc. I'm running a Mac, for windows I have no idea how to do all this, although for Linux it should be fairly similar.

Anyway, if you've exported the playlists to the folder called "Music" within your home folder, then on a Mac or Linux you've got to open Terminal, and then write in the code in step 5; but before pressing enter, you have to exchange "/Volumes/IPODNAME/Music/" for the address to your ipod. I think on a Mac, this'll show up if you press Apple+I when you've got your ipod selected in Finder, and it'll say that the ipod is mounted to something like "/Volumes/MyIpod", in that case you put "/Volumes/MyIpod/Music/" (you get the picture?).

(Alternatively, in Terminal, first type "mount" and it'll show you all connected disks, and one of them should be "mounted" to /Volumes/MyIpod or whatever. This works for Linux too, where iPods tend to get mounted to /mnt/MyIpod or /media/MyIpod or something.)

Anyway, once you've found where the iPod is mounted, type your equivalent of

--- Code: ---rsync -avW --progress --size-only --delete ~/Music/* /Volumes/MyIpod/Music/
--- End code ---

into Terminal, and then your equivalent of

--- Code: ---touch /Volumes/IPODNAME/iPod_Control/Music/database.ignore
--- End code ---

Best of luck to you!


EDIT: iTunes doesn't run on Linux does it? Doh.

geruvah:
Thanks a LOT Kiwibird! That went very smoothly. On a Mac, they don't usually say things like "/Volumes/Ipodname" (Just the ipodname) so I had to do what you said about typing mount and it helped get rid of any doubt. That should definitely be added in the wiki, since a lot of playlist solutions exist for Windows.

If you don't mind me asking, what do these codes do? It looks like it just gets ready for me to be able to put playlists on the ipod. So now I can just drag and drop them in the root, "/Volumes/iPodname" right?

*tries*

kiwibird:

--- Quote from: geruvah on February 16, 2009, 11:01:30 PM ---If you don't mind me asking, what do these codes do? It looks like it just gets ready for me to be able to put playlists on the ipod. So now I can just drag and drop them in the root, "/Volumes/iPodname" right?

--- End quote ---

rsync will synchronize your home music folder and your iPod music folder; so if you exported your playlists to your home music folder _before_ running the rsync command, they should also be put onto your iPod.

touch just creates an empty file (database.ignore) in the iTunes-folder on your iPod, making RockBox ignore all those iTunes files with four-letter names.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version