swift-toolkit
swift-toolkit copied to clipboard
Does TestApp have an example of working with audiobooks?
I was able to figure out how to work with EPUB file format, but unfortunately did not understand how to work with audiobooks.
Please advise how to implement this, if it is already there. If possible, it would be cool to add this example to the TestApp
I started working on a basic implementation in the Test App: https://github.com/readium/swift-toolkit/pull/290
The relevant parts for you is in this commit: https://github.com/readium/swift-toolkit/pull/290/commits/9562e1b0c66424f82439b11da61da94626addbb7
Note that you will need to use _AudioNavigator instead of AudioNavigator, as the Audio navigator is still experimental in the develop branch.
Thank you for such a prompt reply!
Hey @mickael-menu! Am pulling the repo to tinker around with the TestApp, and wasn't able to build. Was tracing the issue and seems to be down to all the audio-related dependencies missing.
Any guidance? I followed the noob instructions in https://github.com/readium/swift-toolkit/tree/develop/TestApp#building-the-test-app
In the meantime, I should be able to get it working by deleting the audiobook code off. But would love to use if working.
Thanks so much and also thanks for the easy-to-read commit in #290!!
Which branch and which make command did you use to build the project?