Sayonara Player
LFMGlobals.h
1 /* LFMGlobals.h
2 
3  * Copyright (C) 2012-2016 Lucio Carreras
4  *
5  * This file is part of sayonara-player
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  * created by Lucio Carreras,
21  * Jul 18, 2012
22  *
23  */
24 
25 #ifndef LFMGLOBALS_H_
26 #define LFMGLOBALS_H_
27 
28 #define LFM_RADIO_MODE_ARTIST 0
29 #define LFM_RADIO_MODE_TAG 1
30 #define LFM_RADIO_MODE_RECOMMENDED 2
31 #define LFM_RADIO_MODE_USER_LIBRARY 3
32 
33 
34 #define LFM_TAG_TRACK_TITLE "track.name"
35 #define LFM_TAG_TRACK_ALBUM "track.album.title"
36 #define LFM_TAG_TRACK_ARTIST "track.artist.name"
37 #define LFM_TAG_TRACK_DURATION "track.duration"
38 #define LFM_TAG_TRACK_LOVED "track.userloved"
39 #define LFM_TAG_TRACK_USERPLAYCOUNT "track.userplaycount"
40 
41 
42 #define LFM_API_KEY QByteArray("51d6f9eaef806f603f346844bef326ba")
43 #define LFM_API_SECRET QByteArray("1093d769e54858cb0d21d42b35a8f603")
44 
45 
46 #include <QMap>
47 #include <QByteArray>
48 
49 
50 #endif /* LFMGLOBALS_H_ */