Here is some groundwork I've done so far for iOS downloads, now to get it to talk nice with the frontend and actually play local audio. Lots of work left to be done, and I don't believe my Realm objects are perfect yet especially with lists of optionals, which apparently don't exist in Realm...so I need to find a solution for that. Maybe separating the objects for JSON serialization and local database saving is the solution. Feel free to take what I've done so far to go any other directions with the iOS downloads! I'll try to do a bit of work on it over the next few days, but after that I'm going to be away for a week.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/272
**Author:** [@benonymity](https://github.com/benonymity)
**Created:** 7/6/2022
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `downloads`
---
### 📝 Commits (2)
- [`2ca9ce7`](https://github.com/advplyr/audiobookshelf-app/commit/2ca9ce797d3cccee92fd4c7154e5741b0de9f9bc) feat: iOS download groundwork
- [`58927d0`](https://github.com/advplyr/audiobookshelf-app/commit/58927d0c30a8f2ac6707f9a894a04cde07ef5c1c) Merge branch 'advplyr:master' into downloads
### 📊 Changes
**6 files changed** (+364 additions, -116 deletions)
<details>
<summary>View changed files</summary>
📝 `ios/App/App.xcodeproj/project.pbxproj` (+4 -0)
📝 `ios/App/App/plugins/AbsDownloader.swift` (+52 -39)
📝 `ios/App/Shared/models/DataClasses.swift` (+89 -76)
➕ `ios/App/Shared/models/LocalLibrary.swift` (+153 -0)
📝 `ios/App/Shared/util/Database.swift` (+65 -0)
📝 `pages/item/_id.vue` (+1 -1)
</details>
### 📄 Description
Here is some groundwork I've done so far for iOS downloads, now to get it to talk nice with the frontend and actually play local audio. Lots of work left to be done, and I don't believe my Realm objects are perfect yet especially with lists of optionals, which apparently don't exist in Realm...so I need to find a solution for that. Maybe separating the objects for JSON serialization and local database saving is the solution. Feel free to take what I've done so far to go any other directions with the iOS downloads! I'll try to do a bit of work on it over the next few days, but after that I'm going to be away for a week.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf-app/pull/272
Author: @benonymity
Created: 7/6/2022
Status: ❌ Closed
Base:
master← Head:downloads📝 Commits (2)
2ca9ce7feat: iOS download groundwork58927d0Merge branch 'advplyr:master' into downloads📊 Changes
6 files changed (+364 additions, -116 deletions)
View changed files
📝
ios/App/App.xcodeproj/project.pbxproj(+4 -0)📝
ios/App/App/plugins/AbsDownloader.swift(+52 -39)📝
ios/App/Shared/models/DataClasses.swift(+89 -76)➕
ios/App/Shared/models/LocalLibrary.swift(+153 -0)📝
ios/App/Shared/util/Database.swift(+65 -0)📝
pages/item/_id.vue(+1 -1)📄 Description
Here is some groundwork I've done so far for iOS downloads, now to get it to talk nice with the frontend and actually play local audio. Lots of work left to be done, and I don't believe my Realm objects are perfect yet especially with lists of optionals, which apparently don't exist in Realm...so I need to find a solution for that. Maybe separating the objects for JSON serialization and local database saving is the solution. Feel free to take what I've done so far to go any other directions with the iOS downloads! I'll try to do a bit of work on it over the next few days, but after that I'm going to be away for a week.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.