mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
15 lines
597 B
Diff
15 lines
597 B
Diff
Patch-Source: https://github.com/kraxarn/spotify-qt/pull/208
|
|
|
|
diff --git a/lib/src/spotifyapi/player.cpp b/lib/src/spotifyapi/player.cpp
|
|
index f2cfc3f..9b1bd7d 100644
|
|
--- a/lib/src/spotifyapi/player.cpp
|
|
+++ b/lib/src/spotifyapi/player.cpp
|
|
@@ -74,7 +74,7 @@ void lib::spt::api::play_tracks(int track_index, const std::vector<std::string>
|
|
{
|
|
lib::log::info("Attempting to queue {} tracks, but only {} allowed",
|
|
all.size(), maxQueue);
|
|
- items = lib::vector::sub(all, track_index, maxQueue);
|
|
+ items = lib::vector::sub(all, track_index, track_index+maxQueue);
|
|
track_index = 0;
|
|
}
|
|
else
|