Mon Jan 16 13:14:45 CET 2006

Howto change the playlist file to play from SD Card

Some people ask me , how they can change the playlist file to work with the SDCard.
So , I decided to write a short Howto:

First you need a hex editor.
For example HexEdit (Windows). Or KhexEdit (Linux)

Then, you have to understand the playlist/spl format , here is a short description:
Header






































01 00 00 00 00 00

Init Sequence






























00 00 00 00



Nr of Entries






























For each Entry:






































02 00





Init entry






























00 00 00 00



Entry number /position






























00 00 00 00 00 00 00 00 Filesize






























00 00 00 00



Playtime






























00 00 00 00



Size of title






























? ? ? ? ? ? ? ? Title






























00 00 00 00



Size of artist






























? ? ? ? ? ? ? ? Artist






























00 00 00 00



Size of album






























? ? ? ? ? ? ? ? Album






























00 00 00 00



Size of genre






























? ? ? ? ? ? ? ? Genre






























00 00 00 00



Size of absolute file path






























? ? ? ? ? ? ? ? Absolute file path






























00






Track nr






























00






Closing byte































The important part is the "absolut file path". This is the path where the aireo can find the mp3 file.
Normally it would be something like \Disk\MyMusic\artist\album\title.mp3.
Changing the "absolute file path" to \Storage Card\... causes the aireo to search on the SDCard.
But you have to pay attention to the previous 4 bytes ("size of absolute file path") ! These bytes define the length of the "absolute file path".
So you have the following options:
1. Change \Disk\ to \Storage Card\ and change the mp3 file name so that the whole path has the same length as before.(don't forget to rename the mp3 file.)
2. Change \Disk\ to \Storage Card\ and add 8 to the "size of absolute file path". (e.g. 3F 00 00 00 -> 47 00 00 00)

That's it ! The playlist contains now a song located on the SDCard !!

Posted by mdietz | Permalink | Categories: Aireo