zydezu / ModernX

My fork of modernX (a replacement for MPV that retains the functionality of the default OSC), adding additional features - see builds at: https://github.com/zydezu/mpvconfig
131 stars 5 forks source link

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

Closed Samillion closed 2 days ago

Samillion commented 4 days ago

Fixes #50 and #51

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

modernx.conf example:

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 commented 3 days ago

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