1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#pragma once
namespace MetadataKeys
{
const int EXTENDED_KEYS_OFFSET = 1000; // The offset to where the extended id's start
enum
{
UNKNOWN=-1,
ARTIST=0,
ALBUM_ARTIST=1,
ALBUM=2,
TITLE=3,
URI=4,
GENRE=5,
YEAR=6,
TRACK=7, // in ifc_metadata::GetField, this might return something like "2/12" for track 2 out of 12. in ifc_metadata::GetInteger, you will just get the track number (use TRACKS for total)
DISC=8, // in ifc_metadata::GetField, this might return something like "1/2" for disc 1 out of 2. in ifc_metadata::GetInteger, you will just get the disc number (use DISCS for total)
BITRATE=9,
COMPOSER=10,
PUBLISHER=11,
BPM=12,
COMMENT=13,
DISCS=14, // only valid for use in ifc_metadata::GetInteger
FILE_SIZE=15,
FILE_TIME=16,
LENGTH=17,
PLAY_COUNT=18,
RATING=19,
SERVER=20,
MIME_TYPE=21,
TRACK_GAIN=22,
TRACK_PEAK=23,
ALBUM_GAIN=24,
ALBUM_PEAK=25,
TRACKS=26, // only valid for use in ifc_metadata::GetInteger
PREGAP=27,
POSTGAP=28,
STAT=29,
CATEGORY=30,
DIRECTOR=31,
PRODUCER=32,
LAST_PLAY=33,
LAST_UPDATE=34,
ADDED=35, // date added
CLOUD=36, // used by pmp_cloud for the 'all sources' view
METAHASH=37, // used by pmp_cloud for the 'all sources' view
NUM_OF_METADATA_KEYS,
};
}
|