- 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:
svenhoefer
2013-11-09 18:34:09 +01:00
parent 1e8764be2e
commit fe07423ad1
5 changed files with 103 additions and 3 deletions

View File

@@ -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;
}