mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Make magnatune songs play again
This commit is contained in:
parent
a292677320
commit
8b4c85a886
@ -17,3 +17,7 @@ bool MagnatunePlaylistItem::InitFromQuery(const QSqlQuery &query) {
|
||||
|
||||
return song_.is_valid();
|
||||
}
|
||||
|
||||
QUrl MagnatunePlaylistItem::Url() const {
|
||||
return QUrl(song_.filename());
|
||||
}
|
||||
|
@ -9,6 +9,8 @@ class MagnatunePlaylistItem : public LibraryPlaylistItem {
|
||||
MagnatunePlaylistItem(const Song& song);
|
||||
|
||||
bool InitFromQuery(const QSqlQuery &query);
|
||||
|
||||
QUrl Url() const;
|
||||
};
|
||||
|
||||
#endif // MAGNATUNEPLAYLISTITEM_H
|
||||
|
Loading…
Reference in New Issue
Block a user