mpc-hc
mpc-hc copied to clipboard
Saving playlist position not working when launching directly
Not sure if that is how it was intended in #2476
Scenario 1 (working) - triggering by playlist:
- Launch MPC-HC by double-clicking a playlist file or use Open File/URL inside MPC-HC;
- Change an episode in the playlist;
- Close player and repeat 1. Result: SUCCESS the latest episode you were on is loaded.
Scenario 2 (not working) - triggering my MPC-HC:
- Playlist was already loaded and remembered by MPC-HC (scenario 1);
- Launch MPC-HC directly or via shortcut (default and preferred launching pattern by me);
- Change an episode and close the player; Now let's say you went to watch something else, and MPC-HC has unloaded your playlist
- Launch MPC-HC by double-clicking that same playlist file or use Open File/URL inside MPC-HC. Result: FAIL an episode, that you were last on when launching by scenario 1 is loaded, scenario 2 episode is not retained.
Current workaround: Always launch MPC-HC via playlist.
Did it work before: Untested, most likely not.
Works fine for me.
Works fine for me.
That's very strange, I can reproduce it in 100% cases using the test method I've described above. The files in the playlists I tested all pointed to a remote locations though (http). That's fine, I'll just start mpc by triggering a playlist for now instead.
Then you need to explain more clearly what you are doing.
If I launch a different file the playlist position is correctly updated when closing current playing file.
Upload your playlist file, then I can test with that.
You can see saved position in the Registry: HKEY_CURRENT_USER\Software\MPC-HC\MPC-HC\PlaylistHistory
Then you need to explain more clearly what you are doing.
I'll try a more detailed reproduction.
- Double-click an m3u playlist;
- Remember episode number you're on (you can change it from 1st, doesn't matter) and close MPC-HC;
- Open MPC-HC directly from .exe or shortcut;
- Make sure playlist is still loaded by pressing Ctrl+7 (open playlist);
- Press Play;
- Go to Next Episode;
- Close MPC-HC;
- Double-click an m3u playlist (same as in point 1)
What should happen: Episode should be the same you were on when you closed MPC-HC on point 7.
What happens: Playlist is on the episode you were on when you closed MPC-HC on point 2.
Upload your playlist file, then I can test with that.
I'm sorry, the playlist point to files on my local network, they not gonna work for you.
Now I understand.
When reopening the player the playlist (default.mpcpl) is not marked as external playlist that it was imported from.
I can believe this bug. I suppose we could save the current Playlist path as a setting.
@adipose was this solved in https://github.com/clsid2/mpc-hc/pull/2812 ?
Yes, can close.