mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- audiometadata: add logo to metadata
# Conflicts: # src/driver/audiometadata.cpp # src/driver/audiometadata.h cherry-picked from 9c115bec035114a4cec33834e0ab3a6385f44711 Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -64,6 +64,7 @@ CAudioMetaData::CAudioMetaData( const CAudioMetaData& src )
|
||||
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 ),cover(src.cover),
|
||||
logo( src.logo ), url( src.url ),
|
||||
cover_temporary( false ),
|
||||
changed( src.changed )
|
||||
{
|
||||
@@ -97,9 +98,10 @@ void CAudioMetaData::operator=( const CAudioMetaData& src )
|
||||
genre = src.genre;
|
||||
track = src.track;
|
||||
cover = src.cover;
|
||||
logo = src.logo;
|
||||
url = src.url;
|
||||
sc_station = src.sc_station;
|
||||
changed = src.changed;
|
||||
changed = src.changed;
|
||||
cover_temporary = false;
|
||||
}
|
||||
|
||||
@@ -125,6 +127,8 @@ void CAudioMetaData::clear()
|
||||
if (cover_temporary && !cover.empty())
|
||||
unlink(cover.c_str());
|
||||
cover.clear();
|
||||
logo.clear();
|
||||
url.clear();
|
||||
cover_temporary=false;
|
||||
changed=false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user