Appearance tweaks

This commit is contained in:
2025-06-20 18:22:31 -07:00
parent 0d2eb229cf
commit d87d6e038e
13 changed files with 273 additions and 58 deletions

View File

@@ -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")