mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-28 10:09:24 +01:00
Network remote: Send song url as well.
This commit is contained in:
parent
c9b39e7c83
commit
d93917ce9b
@ -86,6 +86,7 @@ message SongMetadata {
|
||||
optional string filename = 16;
|
||||
optional int32 file_size = 17;
|
||||
optional float rating = 18; // 0 (0 stars) to 1 (5 stars)
|
||||
optional string url = 19;
|
||||
}
|
||||
|
||||
// Playlist informations
|
||||
@ -305,7 +306,7 @@ message ResponseTranscoderStatus {
|
||||
|
||||
// The message itself
|
||||
message Message {
|
||||
optional int32 version = 1 [default=18];
|
||||
optional int32 version = 1 [default=19];
|
||||
optional MsgType type = 2 [default=UNKNOWN]; // What data is in the message?
|
||||
|
||||
optional RequestConnect request_connect = 21;
|
||||
|
@ -373,6 +373,7 @@ void OutgoingDataCreator::CreateSong(const Song& song, const QImage& art,
|
||||
song_metadata->set_filename(DataCommaSizeFromQString(song.basefilename()));
|
||||
song_metadata->set_file_size(song.filesize());
|
||||
song_metadata->set_rating(song.rating());
|
||||
song_metadata->set_url(DataCommaSizeFromQString(song.url().toString()));
|
||||
|
||||
// Append coverart
|
||||
if (!art.isNull()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user