Added playtime in Game Detail
This commit is contained in:
@@ -86,6 +86,8 @@ class LibraryImport {
|
||||
cdGame.cover_icloud_path = game.cover_icloud_path
|
||||
cdGame.pickupDescription = game.pickupDescription
|
||||
cdGame.isDigital = game.isDigital
|
||||
cdGame.playtime_h = game.playtime_h ?? 0
|
||||
cdGame.playtime_min = game.playtime_min ?? 0
|
||||
|
||||
if let date = Date.from(string: game.createdAt) {
|
||||
cdGame.createdAt = date
|
||||
@@ -216,6 +218,8 @@ struct BHLGame : Decodable {
|
||||
let publisher : String?
|
||||
let console : UUID
|
||||
let cover_icloud_path : String?
|
||||
let playtime_h : Int?
|
||||
let playtime_min : Int?
|
||||
}
|
||||
|
||||
struct BHLAccessory : Decodable {
|
||||
|
||||
Reference in New Issue
Block a user