1
0
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:
David Sansome 2010-05-18 20:51:33 +00:00
parent a292677320
commit 8b4c85a886
2 changed files with 6 additions and 0 deletions

View File

@ -17,3 +17,7 @@ bool MagnatunePlaylistItem::InitFromQuery(const QSqlQuery &query) {
return song_.is_valid();
}
QUrl MagnatunePlaylistItem::Url() const {
return QUrl(song_.filename());
}

View File

@ -9,6 +9,8 @@ class MagnatunePlaylistItem : public LibraryPlaylistItem {
MagnatunePlaylistItem(const Song& song);
bool InitFromQuery(const QSqlQuery &query);
QUrl Url() const;
};
#endif // MAGNATUNEPLAYLISTITEM_H