Appearance tweaks
This commit is contained in:
@@ -118,6 +118,13 @@ struct API
|
||||
.post()
|
||||
}
|
||||
|
||||
public func replace(mediaURL: String) async throws {
|
||||
try await request()
|
||||
.path("/playlist/replace")
|
||||
.body([ "url" : mediaURL ])
|
||||
.post()
|
||||
}
|
||||
|
||||
public func addFavorite(mediaURL: String) async throws {
|
||||
try await request()
|
||||
.path("/favorites")
|
||||
|
||||
Reference in New Issue
Block a user