TheAMM / mpv_thumbnail_script

A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies
GNU General Public License v3.0
679 stars 68 forks source link

failed on password protected videos #14

Closed zaza42 closed 6 years ago

zaza42 commented 6 years ago

the script doesn't handle username+password, so I can't use it on nicovideo.jp. The debug log:

[   0.010][i][cplayer] Playing: http://smile-fnl21.nicovideo.jp/smile?m=26882407.33245low
[   0.010][v][ffmpeg] Opening http://smile-fnl21.nicovideo.jp/smile?m=26882407.33245low
[   3.877][w][ffmpeg] http: HTTP error 403 Forbidden
[   3.877][e][stream] Failed to open http://smile-fnl21.nicovideo.jp/smile?m=26882407.33245low.
[   3.877][v][cplayer] Opening failed or was aborted: http://smile-fnl21.nicovideo.jp/smile?m=26882407.33245low
[   3.877][v][cplayer] finished playback, loading failed (reason 4)
[   3.877][i][cplayer] 
[   3.877][i][cplayer] 
[   3.877][i][cplayer] Exiting... (Errors when loading file)
TheAMM commented 6 years ago

https://github.com/TheAMM/mpv_thumbnail_script/releases/tag/0.4.2 (A workaround would've been remote_direct_stream=no in the .conf)

zaza42 commented 6 years ago

thx again!