Each section and article is separeted by a CR/LF.
|
Section
|
Description
|
|
#dapyx_playlist
|
Indicates that this file is a dapyx playlist Note:
Must be the first line of the file
|
|
#version=5
|
The version of the dapyx playlist - must be "5"
for the current specifications Note:
Must be the second line of the file
|
|
#files=n
|
The number of files in the database Arguments:
n : integer Note:
Should be the third line of the file
|
|
#newfile
|
Indicates the beginning of a new file record Each
file record contains the following fields:
|
No
|
Name
|
Type
|
Description
|
|
1
|
Artist
|
String
|
from ID3 tags
|
|
2
|
Title
|
String
|
from ID3 tags
|
|
3
|
Track
|
String
|
from ID3 tags
|
|
4
|
Album
|
String
|
from ID3 tags
|
|
5
|
Year
|
String
|
from ID3 tags
|
|
6
|
Volume Name
|
String
|
disk's volume name
|
|
7
|
Genre
|
String
|
from ID3 tags (shouldn't be the genre number)
|
|
8
|
Comment
|
String
|
from ID3 tags
|
|
9
|
File Name
|
String
|
including extension
|
|
10
|
Size
|
Number
|
in KB
|
|
11
|
Directory
|
String
|
with ending backslash
|
|
12
|
Bitrate
|
Number
|
from MPEG info header
|
|
13
|
Frequency*
|
Number
|
from MPEG info header
|
|
14
|
Channel*
|
Number
|
-1 = Unknown 0 = Stereo 1 = Joint Stereo 2
= Dual Channel 3 = Mono
|
|
15
|
Read Only
|
Number
|
0 = false 1 = true
|
|
16
|
Length
|
Number
|
in seconds
|
|
17
|
Date added
|
Date
|
not yet implemented - may contain invalid data
|
|
18
|
Play count
|
Number
|
not yet implemented - it should be 0
|
|
19
|
Rating
|
Number
|
|
Note:
that the track number & year are considered as strings Each
field is on a new line (even if field is empty) (*)
- in version 4 of the database these fields are missing (Dapyx can
read both versions, but it writes only v5)
|
|
#folder=name
|
Indicates a new playlist folder
Arguments: name
: string (60 characters maximum)
Row 2: a number that
is the number of the parent folder (-1 if there is no parent)
|
|
#playlist=name
|
Indicates a new playlist
Arguments: name : string
(60 characters maximum)
Row 2: a number that is the number of the parent
folder (-1 if there is no parent) Row 3: List of record numbers
in the playlist. Finished with -1.
|