Mercurial > audlegacy-plugins
comparison src/scrobbler/plugin.c @ 2057:cf4fa45ffd80
playlist API vtabling
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Sat, 13 Oct 2007 23:09:40 -0500 |
| parents | 2ffc6a69fcd1 |
| children | 0803fba87da8 |
comparison
equal
deleted
inserted
replaced
| 2056:1428a79d6706 | 2057:cf4fa45ffd80 |
|---|---|
| 232 { | 232 { |
| 233 Playlist *playlist; | 233 Playlist *playlist; |
| 234 | 234 |
| 235 pdebug("Submitting song.", DEBUG); | 235 pdebug("Submitting song.", DEBUG); |
| 236 | 236 |
| 237 playlist = playlist_get_active(); | 237 playlist = aud_playlist_get_active(); |
| 238 tuple = playlist_get_tuple(playlist, playlist_get_position(playlist)); | 238 tuple = aud_playlist_get_tuple(playlist, aud_playlist_get_position(playlist)); |
| 239 | 239 |
| 240 if (tuple == NULL) | 240 if (tuple == NULL) |
| 241 continue; | 241 continue; |
| 242 | 242 |
| 243 if (ishttp(aud_tuple_get_string(tuple, FIELD_FILE_NAME, NULL))) | 243 if (ishttp(aud_tuple_get_string(tuple, FIELD_FILE_NAME, NULL))) |
