feat(*): subsonic client with avfoundation playback and apple music ui
This commit is contained in:
commit
e5bb559d7f
93 files changed
+7517
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import Foundation
|
||||
|
||||
public struct SourceID: Hashable, Codable, Sendable {
|
||||
public let raw: UUID
|
||||
|
||||
public init(_ raw: UUID = UUID()) {
|
||||
self.raw = raw
|
||||
}
|
||||
}
|
||||
|
||||
public struct EntityID: Hashable, Codable, Sendable {
|
||||
public let source: SourceID
|
||||
public let remote: String
|
||||
|
||||
public init(source: SourceID, remote: String) {
|
||||
self.source = source
|
||||
self.remote = remote
|
||||
}
|
||||
}
|
||||
|
||||
public enum EntityKind: String, Codable, Sendable {
|
||||
case artist, album, track, playlist, station
|
||||
}
|
||||
Reference in new issue
Block a user