moonplayer icon indicating copy to clipboard operation
moonplayer copied to clipboard

[Feature Request] Add features to support MPV options and Bilibili cookies

Open MrAru opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. I think it's worth considering the following two features for this great video player:

  • Add support for MPV options

Given the different purposes for the users of the player, the options passed to MPV should be supported. This can give more customizability to advanced users. For instance, I'd like to add --hwdec=auto to enable hardware acceleration, or --fs=yes to make sure MPV starts with the full screen mode.

  • Add support for Bilibili cookies

We all know that 大会员 is needed to watch the latest or the best quality videos / bangumi in Bilibili, so I think it must be helpful to meet this feature. (Maybe I should move this feature request to the plugin repo? I'm not sure.)

Describe the solution you'd like For the first feature above, a text input box can be added into Setting -> Videos page. The different options can be separated by semi-comma or enter key, e.g.,

--hwdec=auto;--fs=yes

or

--hwdec=auto
--fs=yes

Also, the Bilibili cookies can be inputed into anywhere, maybe a configuration file or integrate into the player itself.

MrAru avatar Mar 29 '21 14:03 MrAru

Cookies is not supported by the upstream ykdl project.

coslyk avatar Apr 01 '21 12:04 coslyk