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!


Origin commit data
------------------
Commit: fe07423ad1
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-09 (Sat, 09 Nov 2013)

Origin message was:
------------------
- 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:
vanhofen
2013-11-09 18:34:09 +01:00
parent 910c8addca
commit ab3e68a68a
5 changed files with 103 additions and 3 deletions

View File

@@ -84,6 +84,7 @@ public:
std::string date;
std::string genre;
std::string track;
std::string cover;
bool changed;
};
#endif /* __AUDIO_METADATA__ */