Mercurial > audlegacy-plugins
diff src/scrobbler/plugin.c @ 1976:5fa26178eaef
s/tuple_/aud_tuple_/g
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Sun, 07 Oct 2007 00:22:59 -0500 |
| parents | 62e89e392227 |
| children | 2ffc6a69fcd1 |
line wrap: on
line diff
--- a/src/scrobbler/plugin.c Wed Oct 03 17:24:59 2007 +0200 +++ b/src/scrobbler/plugin.c Sun Oct 07 00:22:59 2007 -0500 @@ -240,19 +240,19 @@ if (tuple == NULL) continue; - if (ishttp(tuple_get_string(tuple, FIELD_FILE_NAME, NULL))) + if (ishttp(aud_tuple_get_string(tuple, FIELD_FILE_NAME, NULL))) continue; - if (tuple_get_string(tuple, FIELD_ARTIST, NULL) != NULL && - tuple_get_string(tuple, FIELD_TITLE, NULL) != NULL) + if (aud_tuple_get_string(tuple, FIELD_ARTIST, NULL) != NULL && + aud_tuple_get_string(tuple, FIELD_TITLE, NULL) != NULL) { pdebug(fmt_vastr( "submitting artist: %s, title: %s", - tuple_get_string(tuple, FIELD_ARTIST, NULL), - tuple_get_string(tuple, FIELD_TITLE, NULL)), DEBUG); + aud_tuple_get_string(tuple, FIELD_ARTIST, NULL), + aud_tuple_get_string(tuple, FIELD_TITLE, NULL)), DEBUG); - sc_addentry(m_scrobbler, tuple, tuple_get_int(tuple, FIELD_LENGTH, NULL) / 1000); - gerpok_sc_addentry(m_scrobbler, tuple, tuple_get_int(tuple, FIELD_LENGTH, NULL) / 1000); + sc_addentry(m_scrobbler, tuple, aud_tuple_get_int(tuple, FIELD_LENGTH, NULL) / 1000); + gerpok_sc_addentry(m_scrobbler, tuple, aud_tuple_get_int(tuple, FIELD_LENGTH, NULL) / 1000); } else pdebug("tuple does not contain an artist or a title, not submitting.", DEBUG);
