Rework content commands, add audio player
This commit is contained in:
22
CHDataManagement/Model/Song.swift
Normal file
22
CHDataManagement/Model/Song.swift
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
struct Song {
|
||||
|
||||
let name: String
|
||||
|
||||
let artist: String
|
||||
|
||||
let album: String
|
||||
|
||||
let track: Int
|
||||
|
||||
/// The file id of the audio file
|
||||
let file: String
|
||||
|
||||
/// The file id of the cover image
|
||||
let cover: String
|
||||
}
|
||||
|
||||
|
||||
extension Song: Codable {
|
||||
|
||||
}
|
Reference in New Issue
Block a user