Chumby and music

From Chumby Wiki
Revision as of 13:08, 22 February 2008 by Wayn3w (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

My Streams

Playlist Support

PLS file

A playlist is a file that looks like a Windows .INI file, with the following format:


The key pieces are: the [playlist]; the NumberOfEntries; and then each path to the song preceded by File#= (where # is the index number of the song,)

This I named Nashville.pls, and all the files including this playlist I put on the USB drive when I mounted the drive to my computer. I knew that chumby was going to mount my drive as /mnt/usb because it had previously mounted it there. If yours is mounted at a different place, you'll have to use something other than /mnt/usb in your list; see where your usb drive is mounted first, and use this location.

Please note that I specified the File# entries backwards in order to address the problem mentioned earlier in this forum that the Chumby plays the songs from the bottom of the playlist up. I numbered them the correct way in the hopes that when the problem is fixed I don't have to change this file.

Simple M3U file

A "simple" M3U file format is a list of filenames. An easy way to create a M3U list, if all your songs are in one folder, is to redirect a list of the songs to a file. As an example, if I start up the sshd daemon and log in, I can create M3U list similar to the PLS list mentioned above by typing:

ls /mnt/usb/BillFrisell/Nashville/* > /mnt/usb/Nashville.m3u

The file would like:


Using a PLS or M3U file

To use the playlist on the chumby, you have to create a new stream in My Streams, call it whatever you want, give it the type of PLS or M3U, but give it the URL of file:////mnt/usb/Nashville.pls (or .m3u) Note the 4 slashes (////) after 'file:' -- this is not a mistake. Of course if your drive is not mounted on /mnt/usb you'd have to change the URL.