Implements updated nowplaying view
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user