Skip to content

Commit

Permalink
improve description
Browse files Browse the repository at this point in the history
  • Loading branch information
zydezu committed Jan 25, 2024
1 parent e62f17d commit 520f815
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,17 @@ seekbarhandlesize=0
| showinfo | Whether to show the info button |
| downloadbutton | Whether to show download button for web videos |
| downloadpath | The download path for videos |
| showyoutubecomments | EXPERIMENTAL - not ready, show YouTube comments below the clickable description |
| commentsdownloadpath | The download path for the comment JSON file |
| ytdlpQuality | What quality of video the download button uses (a max quality mp4 by is downloaded by default) |


The default options are shown below:

```lua
-- Parameters
-- default user option values
-- may change them in osc.conf
-- Change them using osc.conf
local user_opts = {
-- general settings --
language = 'en', -- en:English, chs:Chinese, pl:Polish, jp:Japanese
Expand Down Expand Up @@ -221,6 +224,8 @@ local user_opts = {
showinfo = false, -- show the info button
downloadbutton = true, -- show download button for web videos
downloadpath = "~~desktop/mpv/downloads", -- the download path for videos
showyoutubecomments = false, -- EXPERIMENTAL - not ready
commentsdownloadpath = "~~desktop/mpv/downloads/comments", -- the download path for the comment JSON file
ytdlpQuality = '-f bestvideo[vcodec^=avc][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' -- what quality of video the download button uses (max quality mp4 by default)
}
```
Expand Down
2 changes: 1 addition & 1 deletion modernx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ local utils = require 'mp.utils'

-- Parameters
-- default user option values
-- may change them in osc.conf
-- Change them using osc.conf
local user_opts = {
-- general settings --
language = 'en', -- en:English, chs:Chinese, pl:Polish, jp:Japanese
Expand Down

0 comments on commit 520f815

Please sign in to comment.