Rockbox Technical Forums

Support and General Use => Audio Playback, Database and Playlists => Topic started by: Racasselle on August 06, 2019, 09:18:56 AM

Title: Create and import playlists?
Post by: Racasselle on August 06, 2019, 09:18:56 AM
Hi, I have an adapted iPod Video 5.5 with an iFlash 256GB SSD and Rockbox. Is it possible to create playlists using external software and then upload them to Rockbox? I connected the iPod to my iMac as an external drive then dragged and dropped songs into a VLC playlist, but the resultant playlist text file is in an incompatible format. Thanks, Richard.
Title: Re: Create and import playlists?
Post by: saratoga on August 07, 2019, 12:31:25 AM
Yes normal m3u playlist files are supported.  Make sure when you create them that the paths in the playlist file exist on the device however or it won't work.
Title: Re: Create and import playlists?
Post by: bobba_mosfet on August 07, 2019, 03:22:53 AM
If you're using *nix then you can do cool things.

I have a monster script that takes care of updating rockbox, hex editing the rockbox.ipod and transcoding all of my flac via ffmpeg and parallel and using rsync for the rest of the music.

Eventually I might share it if anyone is interested, but it has a way to go to be generalised for other peoples use.

Simple way to create a playlist of your music, and make the path relative for the iPod:
Code: [Select]
find "$mount_point/Music/" -type f \( -iname "*.mp3" -o -iname "*.flac" -o -iname "*.m4a" -o -iname "*.ape" -o -iname "*.wav" -o -iname "*.wma" \) -print | sed "s%$mount_point/Music/%%g" | sort > "$playlist_file"
You can also use diff to create an additional playlist only of the newly transferred files. I've been doing this for a long time and its a nice way to see how my collection has changed over time.
Code: [Select]
diff --unchanged-group-format='' "$playlist_file" "$playlist_tmp" > "$playlist_of_sync"
Managed to get to a playlist of 55,000+ tracks, with 32G still free on a 512G msata drive  8)
Title: Re: Create and import playlists?
Post by: Frankenpod on August 07, 2019, 05:53:19 AM
Hi, I have an adapted iPod Video 5.5 with an iFlash 256GB SSD and Rockbox. Is it possible to create playlists using external software and then upload them to Rockbox? I connected the iPod to my iMac as an external drive then dragged and dropped songs into a VLC playlist, but the resultant playlist text file is in an incompatible format. Thanks, Richard.

I use media monkey on a PC and on that there are scripts that will export playlists with suitable settings so that rockbox can use them.  It helps that my music library structure is identical on the PC as on the Ipod.
Title: Re: Create and import playlists?
Post by: Racasselle on August 08, 2019, 06:02:14 AM
Thanks, folks. I will give Media Monkey a try. So my plan is to connect the iPod to my iMac as an external drive, drag and drop songs from my iPod into an iMac MM playlist and then export them back to the iPod; that way, the playlist pathnames should all be good. If it gets too tricky, then my fallback is to set up artificial playlists as new directories where "Playlist-[name]" is the Artist and then copy song files into them. I realise that the song files will be duplicates but I have the capacity. Thanks again, Richard
Title: Re: Create and import playlists?
Post by: nuraman00 on August 29, 2021, 03:43:45 AM
I have a similar setup.  Similar iPod Video, 375 GB SSD.

Did you try Media Monkey?  How was it?

I've been wondering about this too.