comparison src/pulse_audio/pulse_audio.c @ 1206:a0928c1779bb trunk

Use playlist_get_songtitle() instead of playlist_get_title().
author William Pitcock <nenolod@atheme-project.org>
date Wed, 04 Jul 2007 23:23:58 -0500
parents 661777673349
children 3094d9c8a935
comparison
equal deleted inserted replaced
1199:2cb9c6b5cf4d 1206:a0928c1779bb
74 gint session, pos; 74 gint session, pos;
75 char *str, *u; 75 char *str, *u;
76 Playlist *playlist = playlist_get_active(); 76 Playlist *playlist = playlist_get_active();
77 77
78 pos = playlist_get_position(playlist); 78 pos = playlist_get_position(playlist);
79 if (!(str = playlist_get_title(playlist, pos))) 79 if (!(str = playlist_get_songtitle(playlist, pos)))
80 return "Playback Stream"; 80 return "Playback Stream";
81 81
82 snprintf(t, sizeof(t), "%s", u = pa_locale_to_utf8(str)); 82 snprintf(t, sizeof(t), "%s", u = pa_locale_to_utf8(str));
83 pa_xfree(u); 83 pa_xfree(u);
84 84