-
Notifications
You must be signed in to change notification settings - Fork 31
Resuming of local media fails on the second resume #121
Description
When I play an audiobook from internal storage, pause it, return to the main menu, and then resume playback from the resume menu, it works fine the first time.
However, after pausing and returning to the main menu a second time, the entry in resume.json appears to become corrupted. When I try to resume playback again, it shows "Title 0/0" and nothing happens.
Investigation
I looked deeper into the issue and noticed that normally, the resume.json file contains an entry like this for local media:
"resumelocalalbum": "audiobook"
However, as soon as I resume playback for the first time, this entry changes to:
"resumelocalalbum": "resume"
From this point on, resuming playback (-> main menu -> resume menu -> resume ) no longer works.
I tested manually changing the json entry back to "audiobook", and after doing so, the resume function worked again.
This is true for all of my MuPiBoxes with SW version 4.2.1