mpv-remote-app icon indicating copy to clipboard operation
mpv-remote-app copied to clipboard

[question] Can hooks be disabled, why are hooks used?

Open stax76 opened this issue 2 years ago • 2 comments

Can hooks be disabled, why are hooks used?

What is a file-local-option?

https://github.com/husudosu/mpv-remote-node/blob/master/mpvremote/main.js#L112

stax76 avatar Jul 10 '22 17:07 stax76

file-local-options being used for passing HTTP headers for online streams. MPV-remote app supports opening streams from Aniyomi and using Aniyomi providers requires HTTP headers for playing videos. https://github.com/husudosu/mpv-remote-app/blob/master/src/Container.vue#L184

husudosu avatar Jul 10 '22 17:07 husudosu

Thanks for the info, I commented out the hook code.

stax76 avatar Jul 10 '22 19:07 stax76