Simply some song checks and make url always unique by using stream url

instead
This commit is contained in:
Jonas Kvinge
2019-07-31 22:26:51 +02:00
parent 588a0b3c41
commit 99569081c9
6 changed files with 29 additions and 36 deletions

View File

@@ -261,6 +261,8 @@ class Song {
// Sets a flag saying that this song (it's media file) has an embedded cover.
void set_embedded_cover();
const QUrl &stream_url() const;
const QUrl &effective_stream_url() const;
const QImage &image() const;
const QString &error() const;
@@ -334,6 +336,7 @@ class Song {
void set_cue_path(const QString &v);
void set_stream_url(const QUrl &v);
void set_image(const QImage &i);
// Comparison functions