Author Topic: Sharp Media Player 2  (Read 1550 times)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Sharp Media Player 2
« on: April 29, 2005, 09:14:00 am »
Here's a tip.

I like to carry radio series such as The Hitchhiker's Guide to the Galaxy around on my Z if I'm away from home for a while. If you rip these from CD you tend to end up with 20 or more tracks per CD and hence lots of files.

Whilst I number the files so that they can be found in order it's quite common that CDDB type lookups don't store the track number inside the Track Title (instead use a different TAG in the mp3 file).

The real shortcoming in Media Player 2 is that it doesn't display the filenames - or at least I can't find a way of doing it. Creation of playlists is therefore awkward.

If, however, you create a playlist and take a look under ~/Applications/MusicPlayer/.playlist you will find your playlist as a file with the suffix .m3u. This is a text file that starts with the tag #EXTM3U.

Creation of file name sorted playlist, from a directory under Documents/Music_Files/myalbum is therefore as simple as....

Code: [Select]
echo #EXTM3U > ~/Applications/MusicPlayer/.playlist/myplaylist.m3u
find /home/zaurus/Documents/Music_Files/myalbum/* | sort >> ~/Applications/MusicPlayer/.playlist/myplaylist.m3u


Note that I use find and not ls because find gives the full path.

Hope this is useful.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card