OpenSubsonic API: added support for the indexBasedQueue extension

This commit is contained in:
emeric
2025-12-02 22:17:58 +01:00
parent 4ff3091757
commit 80db76c3e3
6 changed files with 115 additions and 61 deletions
@@ -59,7 +59,8 @@ namespace lms::db
// Get tracks, ordered by position
std::vector<TrackId> getTrackIds() const;
void visitTracks(const std::function<void(const ObjectPtr<Track>& track)>& visitor) const;
const Wt::WDateTime getLastModifiedDateTime() const { return _lastModifiedDateTime; }
Wt::WDateTime getLastModifiedDateTime() const { return _lastModifiedDateTime; }
bool isEmpty() const { return _tracks.empty(); }
// Modifiers
void setCurrentIndex(std::size_t index) { _currentIndex = index; }