problem with playlists, filename and songtitle
Matthew Rubenstein <[email protected]>
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <1071070468.491.41.camel@pac> |
> Does XMMS have the concept that the title of a song can be different from
> its file name? Particularly for non-mp3 files?
There is a bug in playlist.title-fix.c::playlist_set_info() that always updates the playlist display with the filename, even when title data is specified in a playlist. If you merely disable it (as below), filesystem playback works, but streams don't update the titles when the song changes. That hack is insufficient, but preferable - next batter?
PL_LOCK();
if (playlist_position)
{
if(FALSE)
{ // Update playlist item title with any actual data.
g_free(playlist_position->title);
playlist_position->title = g_strdup(title);
}
playlist_position->length = length;
}
PL_UNLOCK();
--
(C) Matthew Rubenstein