Bug: app still attempts to contact server with Offline Mode enabled.
Purchased the app for my iPhone, installed and configured it to talk to my ABS server on my home network when I'm there. Downloaded a couple of books to my phone, tested it successfully in the house, then left the house and went for a drive. Connected the phone via a wired connection, and CarPlay started as normal. Opened ShelfPlayer via the CarPlay interface, and was presented with a blank screen. Eventually the "Now Playing" tab appears but none of the media I had downloaded to the app is listed.
Opened ShelfPlayer on my phone and the "connection" icon (where the play button would be) is animated and the app freezes for a while. After 2-3 minutes, ShelfPlayer stops trying to connect, data is displayed, and the media begins to play.
I turned off the vehicle, disconnected the phone, and then enabled Offline Mode within ShelfPlayer. Same result, even down to the animated "connection" icon. On the next try, in Offline Mode, when I activated the phone's Airplane Mode, ShelfPlayer immediately showed information and began playing media as expected.
It seems that "Offline Mode" in ShelfPlayer is still attempting to connect and sync with a server, until it reaches a time-out limit or I deliberately block all network access. While I presume that this could be resolved by disabling cellular data for ShelfPlayer, it seems that the "Offline Mode" still attempting to connect is an unintended behavior.
iPhone 15 Pro iOS: 18.6.2 ShelfPlayer: 3.1.2 (915) C Database: 2.0.0 ShelfPlayerUpdated
I am also encountering this. Offline mode does not work right now. I currently do not have my ABS server accessible remotely and the moment I leave my house, I cannot access the books saved offline. However if I start them playing when it still has access to the server, and then leave, it works fine. Very annoying.
I am also encountering this. Offline mode does not work right now. I currently do not have my ABS server accessible remotely and the moment I leave my house, I cannot access the books saved offline. However if I start them playing when it still has access to the server, and then leave, it works fine. Very annoying.
If you turn on "Airplane Mode" for your device, does ShelfPlayer start playing the media you have downloaded?
I am also encountering this. Offline mode does not work right now. I currently do not have my ABS server accessible remotely and the moment I leave my house, I cannot access the books saved offline. However if I start them playing when it still has access to the server, and then leave, it works fine. Very annoying.
If you turn on "Airplane Mode" for your device, does ShelfPlayer start playing the media you have downloaded?
Yes, if I turn on airplay mode, it plays fine. If I turn airplay mode off, and WiFi off, so it can only connect over 5G, then it won't play. It seems the reason it won't play is, if the phone has an internet connection, then it is automatically looking for the ABS server (which it can't find because in my case it is not accessible from the internet yet), and is unable to simply play the local offline copy of the audiobook.
@rasmuslos : any insights on this issue? Thank you!
Yes, if I turn on airplay mode, it plays fine. If I turn airplay mode off, and WiFi off, so it can only connect over 5G, then it won't play. It seems the reason it won't play is, if the phone has an internet connection, then it is automatically looking for the ABS server (which it can't find because in my case it is not accessible from the internet yet), and is unable to simply play the local offline copy of the audiobook.
Yes, I'm experiencing the same issue. It seems that the app does not abide by the "offline mode" setting and instead attempts to connect to my ABS server (which, like you, I do not have accessible from the public internet).
@rasmuslos : any insights on this issue? Thank you!
The architecture of the app is a bit different than you think. The offline mode is inside the UI part, while the networking, etc. is not. I want to move some aspects of it to the same framework so that the offline mode can also be used by the “backend”, maybe I will have time for that on the weekend.