mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 18:15:01 +02:00
iOS add deviceId
This commit is contained in:
parent
2c3dff3544
commit
facf56930e
6 changed files with 90 additions and 74 deletions
|
@ -44,6 +44,7 @@ class PlaybackSession: Object, Codable, Deletable {
|
|||
}
|
||||
}
|
||||
return [
|
||||
"deviceId": UIDevice.current.identifierForVendor?.uuidString,
|
||||
"manufacturer": "Apple",
|
||||
"model": modelCode,
|
||||
"clientVersion": Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String
|
||||
|
|
|
@ -165,6 +165,7 @@ class ApiClient {
|
|||
"forceTranscode": forceTranscode ? "1" : "",
|
||||
"mediaPlayer": "AVPlayer",
|
||||
"deviceInfo": [
|
||||
"deviceId": UIDevice.current.identifierForVendor?.uuidString,
|
||||
"manufacturer": "Apple",
|
||||
"model": modelCode,
|
||||
"clientVersion": Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue