No resume
It doesnt write the special file on Windows. ♥♥♥
[global] get_path('') -> '?/mpv' [global] get_path('watch_later/0ED51671896F436C980E37AF2FB057C0') -> '?/mpv/watch_later/0ED51671896F436C980E37AF2FB057C0' [global] EOF code: 6 [global] get_path('') -> '♥/mpv' [global] get_path('watch_later/0ED51671896F436C980E37AF2FB057C0') -> 'mpv/watch_later/0ED51671896F436C980E37AF2FB057C0' [cplayer]
You're probably using a home directory that has unicode characters. Most of mpv should be fine with that, but Iit looks like path.c still uses a 8-bit legacy variant. Maybe this is the problem.
Actually Im not. Just normal letters no spaces or anything.
So, what's that ♥ stuff about?
I found out its how the console shows the "end of text" character. What does "EOF code: 6" mean maybe its related?
What does "EOF code: 6" mean maybe its related?
No. It's just the internal value that tells how playback was stopped (stopped by user or end of file, etc.)
It still doesnt work but the message has changed. The weird stuff is random it changes each run.
global: get_path('') -> '??^☻☺/mpv' global: get_path('watch_later/4E6842F9CD3CBE820991C40EAB34F968') -> 'mpv/watch_later/4E6842F9CD3CBE820991C40EAB34F968' cplayer: Saving state.
the recent build mpv from http://mpv.srsfckn.biz/ You need to set environment MPV_HOME, so that mpv can save its config
for my case i use C:\Windows\system32>setx MPV_HOME "D:\mpv\mpv" for system wide or
C:\Windows\system32>set MPV_HOME="D:\mpv\mpv"
then the configuration will be saved in "D:\mpv\mpv"
Thanks that works. I wonder why it doesnt just use ~\appdata\local\mpv by default.
It should. Actually, after having a second look at the latest path.c changes, there were some problems. I hopefully fixed it in git master just now (b97d10a839aee875 or later).
Well, no news? Then I guess this is somehow fixed. I definitely fixed a bug with undefined behavior, that could easily pop up depending how the compiler optimizes.