Last playlist tip/Audio play queue history is forgotten when chromecast is used from a media shared to VLC
Hello.
Description
For me, the Last playlist tip is a useful thing to recover where i left from the last session listening music. But also i use VLC in my phone to cast videos to Chromecast, sharing them directly via share option, or, normally, open it with a built-in external player option in apps (Like Newpipe, Twire, etc.).
But something i found is the two things interfere each other.
If i have a audio queue history (the last playlist tip shows when i open VLC), and i share a video to VLC, VLC opens the video. When the video finish or i stopped it (going back), it goes to the original app, but if i return to VLC, it still shows the last playlist tip to resume the last audio session in the point i left.
However, with the shared video to VLC i cast it to Chromecast, i show it in the TV, and it finish or i go back, it returns to the original app as it does when i show it directly in the phone, but when i return to VLC, the last playlist tip is gone and is not possible to return the last audio session in the point i left because VLC forgot it.
I don't know, correct me if I'm wrong, but the behaviour of VLC Android should be keep that last audio session, unless you play other audios (videos?) from inside VLC, and ignoring media opened or shared from outside VLC (at least of what is Audio play queue history/last playlist tip, if you have the playback history enabled i suppose all should be there, in my case i have it disabled, and only enabled the Audio play queue history). And normally it does like that, but when you try to cast one of those shared media to Chromecast, the last playlist tip is gone.
Expected behavior
The last playlist tip/audio queue history is kept meanwhile you can use VLC to share/open other medias (audio/videos) from outside, and play it in the phone or cast it to chromecast.
Actual behavior
At the moment you cast to Chromecast anything opened from outside VLC, the last playlist tip/audio queue history is gone.
Steps to reproduce
Note: You need a working Chromecast device.
- Have Playback History OFF and Audio play queue history ON (i have Video play queue history OFF, but i don't know if matters or not), and Show last playlist tip ON (Settings -> Interface -> Audio)
- Play any mp3 or audio inside VLC. Stop it, close VLC, and swipe the VLC notification.
- With any video app, share it to VLC (it can be a video from the gallery sharing it and using "Play with VLC" option, or any external player option with Newpipe, Twire, etc.)
- VLC opens it, you can see it in the phone.
- Using the cast icon, cast it to Chromecast. It plays on the TV.
- Stop it, close it, going back to the original app.
- Open VLC again. The last playlist tip is not shown. But if you don't do (5), it shows.
Screenshot / video
Context
App version
VLC Android 3.5.4
Android version
Android 10 QKQ1.190828.002 (MIUI 12.0.10)
Device model
Xiaomi Mi 9 Lite
App mode
Smartphone
Thanks!