Mercurial > audlegacy-plugins
diff src/streambrowser/streamdir.c @ 2815:cc6f02424609
added initial support for xiph streaming directory; small bug fixes & code cleanups
author | Calin Crisan ccrisan@gmail.com |
---|---|
date | Sun, 13 Jul 2008 04:00:04 +0300 |
parents | 7977bdc02664 |
children | e883536cefe0 |
line wrap: on
line diff
--- a/src/streambrowser/streamdir.c Sat Jul 12 16:00:03 2008 +0200 +++ b/src/streambrowser/streamdir.c Sun Jul 13 04:00:04 2008 +0300 @@ -111,11 +111,12 @@ } -streaminfo_t* streaminfo_new(gchar *name, gchar *playlist_url, gchar *current_track) +streaminfo_t* streaminfo_new(gchar *name, gchar *playlist_url, gchar *url, gchar *current_track) { streaminfo_t *streaminfo = (streaminfo_t*) g_malloc(sizeof(streaminfo_t)); strncpy(streaminfo->name, name, DEF_STRING_LEN); strncpy(streaminfo->playlist_url, playlist_url, DEF_STRING_LEN); + strncpy(streaminfo->url, url, DEF_STRING_LEN); strncpy(streaminfo->current_track, current_track, DEF_STRING_LEN); return streaminfo;