{"id":13608234,"url":"https://github.com/maoiscat/mpv-osc-modern","last_synced_at":"2025-04-12T14:32:26.137Z","repository":{"id":37585762,"uuid":"306614974","full_name":"maoiscat/mpv-osc-modern","owner":"maoiscat","description":"Another mpv osc script","archived":false,"fork":false,"pushed_at":"2024-04-20T10:47:25.000Z","size":3298,"stargazers_count":338,"open_issues_count":14,"forks_count":67,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-07T13:40:31.667Z","etag":null,"topics":["mpv","mpv-osc","mpv-osc-script","mpv-player","mpv-script"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maoiscat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-23T11:24:02.000Z","updated_at":"2024-11-05T00:54:44.000Z","dependencies_parsed_at":"2024-01-22T13:33:32.698Z","dependency_job_id":"def9a336-a21b-4dbb-89a9-35e31b8a4923","html_url":"https://github.com/maoiscat/mpv-osc-modern","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maoiscat%2Fmpv-osc-modern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maoiscat%2Fmpv-osc-modern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maoiscat%2Fmpv-osc-modern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maoiscat%2Fmpv-osc-modern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maoiscat","download_url":"https://codeload.github.com/maoiscat/mpv-osc-modern/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248581314,"owners_count":21128147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mpv","mpv-osc","mpv-osc-script","mpv-player","mpv-script"],"created_at":"2024-08-01T19:01:25.404Z","updated_at":"2025-04-12T14:32:25.395Z","avatar_url":"https://github.com/maoiscat.png","language":"Lua","funding_links":[],"categories":["On Screen Controller","others","Lua"],"sub_categories":[],"readme":"# mpv-osc-modern\n\nNOTICE: \n    \n1. Anyone wants a thumbnail may try the other ''with.thumbfast'' branch.\n\n2. This project may not be active further, since I have made an [oscf](https://github.com/maoiscat/mpv-osc-framework) tool to develop custom osc scripts more easily.\n\n3. If you are cool, and know how to do the lua programming, you may try the [oscf](https://github.com/maoiscat/mpv-osc-framework) version of this osc.\n\n4. There are other cool osc scripts like [mpv-osc-orange](https://github.com/maoiscat/mpv-osc-orange) and [mpv-osc-simple](https://github.com/maoiscat/mpv-osc-simple) worth trying.\n\nVER 1.1.1\n\nchangelog:\n1. fix logo distortion issue due to recent libass update.\n\nVER 1.1.0\n\nchangelog:\n1. Gui activation area is limited to gui area.\n2. Time slider show chapter name in tooltip.\n3. Volume slider show volume number in tooltip.\n4. Volume slider use processed volume number to make loudness transition fluent.\n5. Mouse wheel up/down over volume slider to change volume.\n\n------\n\nYet another mpv osc script, based on mpv built-in osc\n\n![img](https://github.com/maoiscat/mpv-osc-modern/blob/main/preview.png)\n\n# Installation\n\nmodern.lua --\u003e \"\\~\\~/scripts/\" (!!REMOVE OTHER OSC SCRIPTS!!)\n\nmaterial-design-iconic-font.ttf --\u003e \"\\~\\~/fonts\" ([FONT LINK](https://zavoloklom.github.io/material-design-iconic-font/))\n\nThen edit \"\\~\\~/mpv.conf\", add the following lines to the end\n\n```\nosc=no\n\n[Idle]\nprofile-cond=p[\"idle-active\"]\nprofile-restore=copy-equal\ntitle=' '\nkeepaspect=no\nbackground=1\n```\n# Configuration\n\nConfig file locates at \"\\~\\~/script-opts/osc.conf\". Supported options are listed below.\n\n```\n    showwindowed=yes/no             -- show OSC when windowed?\n    showfullscreen=yes/no           -- show OSC when fullscreen?\n    scalewindowed=1                 -- scaling of the controller when windowed\n    scalefullscreen=1               -- scaling of the controller when fullscreen\n    scaleforcedwindow=2             -- scaling when rendered on a forced window\n    vidscale=yes/no                 -- scale the controller with the video?\n    hidetimeout=1000                -- duration in ms until the OSC hides if no mouse movement. enforced non-negative for the user but internally negative is 'always-on'.\n    fadeduration=500                -- duration of fade out in ms 0=no fade\n    minmousemove=3                  -- minimum amount of pixels the mouse has to move between ticks to make the OSC show up\n    iamaprogrammer=yes/no           -- use native mpv values and disable OSC internal track list management (and some functions that depend on it)\n    font='mpv-osd-symbols'          -- default osc font\n    seekrange=yes/no                -- show seekrange overlay\n    seekrangealpha=128              -- transparency of seekranges\n    seekbarkeyframes=yes/no         -- use keyframes when dragging the seekbar\n    title='${media-title}'          -- string compatible with property-expansion to be shown as OSC title\n    showtitle=yes/no                -- show title and no hide timeout on pause\n    timetotal=yes/no                -- display total time instead of remaining time?\n    visibility=auto/yes/no          -- only used at init to set visibility_mode(...)\n    windowcontrols=auto/yes/no      -- whether to show window controls\n    volumecontrol=yes/no            -- whether to show mute button and volumne slider\n    processvolume=yes/no            -- volume bar show processd volume\n    language=eng/chs                -- eng=English chs=Chinese\n```\n\n# Button Actions\n\nSome buttons may accept multiple mouse actions, here is a list:\n\n(NOTE: mbtn = mouse button)\n\n## seekbar\n* mbtn_left: seek to chosen position.\n* mbtn_right: seek to the head of chosen chapter\n## skip_back/forward\n* mbtn_left: skip 5 seconds.\n* mbtn_right: skip 60 seconds.\n## playlist_back/forwad\n* mbtn_left: play previous/netx file.\n* mbtn_right: show playlist.\n## cycle_audio/subtitle\n* mbtn_left/right: cycle to next/previous track.\n* mbtn_mid: show track list.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaoiscat%2Fmpv-osc-modern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaoiscat%2Fmpv-osc-modern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaoiscat%2Fmpv-osc-modern/lists"}