Skip to content

Condition dislikes grab and allow hex code for user_opts colors#53

Merged
zydezu merged 3 commits intozydezu:mainfrom
Samillion:main
Sep 28, 2024
Merged

Condition dislikes grab and allow hex code for user_opts colors#53
zydezu merged 3 commits intozydezu:mainfrom
Samillion:main

Conversation

@Samillion
Copy link
Copy Markdown

@Samillion Samillion commented Sep 26, 2024

Fixes #50 and #51

50: Allow hex code to be used, for simplicity. (mpv osc.lua)

modernx.conf example:

  • seekbarfg_color=#be4d25

51: The basic idea is to prevent web calls (curl) when it is not needed, since dislikes API only shows for those two user_opts: showdescription and updatetitleyoutubestats

@Samillion Samillion changed the title Only grab dislikes if showdescription or updatetitleyoutubestats is true Condition dislikes grab and allow hex code for user_opts colors Sep 26, 2024
@Samillion
Copy link
Copy Markdown
Author

In the comments, I changed it to Hex color format, but I guess following the current comment it could be hex RRGGBB format.

@zydezu zydezu merged commit c600810 into zydezu:main Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow hex color for seekbarfg_color with osc_color_convert()

2 participants