Assuming your Pacemaker is connected and you have found the Pacemaker drive, then next step will be to determine
- Where is the music database?
- Where are the music files (mp3, etc.) stored?
K:\.Pacemaker\Music.DB
And the music files are stored in various folders under this folder
K:\.Pacemaker\Music
On the Pacemaker, all the music folders and music files use hexadecimal filenames, which doesn't help you to determine which track is which. If you know the track in the database, then the Tracks.Location field will tell you which hex named music file is this track. and where it is in relation to K:\.Pacemaker\Music
Here's an example of getting foldernames in vb .Net
Code: Select all
Private MusicSubFolder As String = "Music"
Private MusicDBSubFolder As String = ".Pacemaker"
Private DatabaseFilename As String = "Music.DB"
'Update some global vars with the info we were looking for
if FindPacemakerDrive Then
'Where we find the device's database (library)
MusicDBFolder = String.Format("{0}{1}", PacemakerDrive, MusicDBSubFolder)
'The full path to the database file
MusicDBFilename = String.Format("{0}\{1}", MusicDBFolder, DatabaseFilename)
'Is it there?
MusicDBExists = File.Exists(MusicDBFilename)
'The root of our audio file storage
MusicFolder = String.Format("{0}{1}\{2}", PacemakerDrive, MusicDBSubFolder, MusicSubFolder)
End If