mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- audioplayer: show cover from id3-tag or folder.jpg in header
if exist a file called folder.jpg in same dir as the audiofile or a audiocover is defined in id3-tag it will be displayed in header. cover in tag is preferred. ported from mohusch. original patch by tangocash. thx!
This commit is contained in:
@@ -51,7 +51,7 @@ CAudioMetaData::CAudioMetaData( const CAudioMetaData& src )
|
||||
audio_start_pos( src.audio_start_pos ), vbr( src.vbr ),
|
||||
hasInfoOrXingTag( src.hasInfoOrXingTag ), artist( src.artist ),
|
||||
title( src.title ), album( src.album ), sc_station( src.sc_station ),
|
||||
date( src.date ), genre( src.genre ), track( src.track ),
|
||||
date( src.date ), genre( src.genre ), track( src.track ),cover(src.cover),
|
||||
changed( src.changed )
|
||||
{
|
||||
}
|
||||
@@ -81,6 +81,7 @@ void CAudioMetaData::operator=( const CAudioMetaData& src )
|
||||
date = src.date;
|
||||
genre = src.genre;
|
||||
track = src.track;
|
||||
cover = src.cover;
|
||||
sc_station = src.sc_station;
|
||||
changed = src.changed;
|
||||
}
|
||||
@@ -104,5 +105,6 @@ void CAudioMetaData::clear()
|
||||
date.clear();
|
||||
genre.clear();
|
||||
track.clear();
|
||||
cover.clear();
|
||||
changed=false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user