Implements updated nowplaying view

This commit is contained in:
2025-06-11 19:33:20 -07:00
parent bde29e7e98
commit 601ffc4a75
8 changed files with 126 additions and 47 deletions

View File

@@ -76,6 +76,12 @@ struct API
.post()
}
public func stop() async throws {
try await request()
.path("/stop")
.post()
}
public func skip(_ to: Int? = nil) async throws {
let path = if let to { "/skip/\(to)" } else { "/skip" }
try await request()