if title tag is empty, display filename (only in column view)
This commit is contained in:
@@ -471,7 +471,7 @@ string DisplaySongInColumns(const Song &s, void *s_template)
|
|||||||
ss = s.GetArtist();
|
ss = s.GetArtist();
|
||||||
break;
|
break;
|
||||||
case 't':
|
case 't':
|
||||||
ss = s.GetTitle();
|
ss = s.GetTitle() != UNKNOWN_TITLE ? s.GetTitle() : s.GetShortFilename().substr(0, s.GetShortFilename().find_last_of("."));
|
||||||
break;
|
break;
|
||||||
case 'b':
|
case 'b':
|
||||||
ss = s.GetAlbum();
|
ss = s.GetAlbum();
|
||||||
|
|||||||
Reference in New Issue
Block a user