Mercurial > audlegacy-plugins
comparison src/lastfm/lastfm.h @ 1200:0ae013f630fa
mowgli transition, and some fixes
author | Cristi Magherusan <majeru@atheme-project.org> |
---|---|
date | Sun, 01 Jul 2007 18:11:44 +0300 |
parents | b1128efde471 |
children | d4efe4889489 |
comparison
equal
deleted
inserted
replaced
1199:2cb9c6b5cf4d | 1200:0ae013f630fa |
---|---|
1 #define LASTFM_HANDSHAKE_URL "http://ws.audioscrobbler.com/radio/handshake.php?version=1.1.1&platform=linux&username=%s&passwordmd5=%s&debug=0&language=jp" | 1 #define LASTFM_HANDSHAKE_URL "http://ws.audioscrobbler.com/radio/handshake.php?version=1.1.1&platform=linux&username=%s&passwordmd5=%s&debug=0&language=jp" |
2 #define LASTFM_ADJUST_URL "http://ws.audioscrobbler.com/radio/adjust.php?session=%s&url=%s&debug=0" | 2 #define LASTFM_ADJUST_URL "http://ws.audioscrobbler.com/radio/adjust.php?session=%s&url=%s&debug=0" |
3 #define LASTFM_METADATA_URL "http://ws.audioscrobbler.com/radio/np.php?session=%s&debug=0" | 3 #define LASTFM_METADATA_URL "http://ws.audioscrobbler.com/radio/np.php?session=%s&debug=0" |
4 | 4 |
5 #define LASTFM_CURL_TIMEOUT 10 | 5 #define LASTFM_CURL_TIMEOUT 10 |
6 | |
7 | |
8 #define LASTFM_LOGIN_OK 0 | |
9 #define LASTFM_LOGIN_ERROR 1 | |
10 #define LASTFM_MISSING_LOGIN_DATA 2 | |
11 #define LASTFM_SESSION_MISSING 4 | |
12 #define LASTFM_ADJUST_OK 0 | |
6 | 13 |
7 | 14 |
8 typedef struct | 15 typedef struct |
9 { | 16 { |
10 VFSFile *proxy_fd; | 17 VFSFile *proxy_fd; |