If I am playing an audio album, for example, then I quit the app mid album, when I re-open the app, the player should resume where I left off by default.
Likewise, if I am shuffling all songs in my library, then I quit the app, when I re-open the app, the player should resume where I left off by default, and should remain in the "shuffle" state.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Indeed, I agree that the player should remember the last state set by the user. This will be done with the rework of the video and audio player most probably for 3.3.0.
So, now that the new VLC iOS is out (its great), could we please revisit this?
This is such a simple and intuitive feature that everyone expects from any mobile media app. VLC iOS can do some truly amazing and niche things that no other app can do, but adoption would be greater if simple low hanging fruit like this were addressed. Given the rather magical things this app can already do, I'd think dumping a json state blob on exit and reloading the blob on boot would be feasible.
#668 (closed) has been addressed/closed, but it only implemented the bare minimum save state.
The fix only remembers the bottom menu tab selection (video, audio, playlists, network, settings). It does not remember which subsection you are under (example: audio->Albums->De-Loused in the Comatorium).
Furthermore, it doesn't remember the play state at all (what video/song was playing, timestamp of current play file, shuffle status, etc). I know these things were not covered/discussed in #668 (closed), this comment merely serves to documents what's left to be covered by this issue.
No. I only use VLC app to listen to local music files I've transferred to my iPhone via the VLC network/wifi transfer. Though I transfer the songs to the device over network/wifi, I turn the network/wifi transfer utility off after transfer and only listen to files locally present on the iphone.
If I open VLC, go to Audio->Artist->MY ARTIST and start playing a song, then I kill the VLC app, and then reopen the VLC app, none of the previous play state is saved. All that is remembered is that I was in the Audio tab, which is automatically selected when I open the app the second time. But it should open straight to Audio->Artist->MY ARTIST and the playbar should appear at the bottom with the song I was previously playing at the timestamp the song was at when I killed the app.
The shuffle and repeat states will be tracked with the next releases.
This only kind of works in the latest release. It remembers the global state of the shuffle button, but that is it.
If I open an album and shuffle it, quit the app, then reopen the app, it does not remember what I was shuffling, where I was in that shuffle queue, what song was last playing, and what time marker I was at in said song.
@fkuehne Could you assign this to me? I want to implement this feature similar to the YouTube iOS app, where if the user terminates the app and reopens it, it will show the miniplayer in a stopped state and resume from where it left off when played. Do you have any hints on how to implement this?
I have investigated a bit and plan to implement it as follows:
The MediaLibrary saves all the necessary metadata for the playing media (I hope I understood this correctly), so I will save this data to user defaults.
When the application becomes active, I will load the data and show the miniplayer.