{"id":13835316,"url":"https://github.com/cyl0/ModernX","last_synced_at":"2025-07-10T07:31:39.282Z","repository":{"id":37897307,"uuid":"363393698","full_name":"cyl0/ModernX","owner":"cyl0","description":"A modern OSC UI replacement for MPV that retains the functionality of the default OSC.","archived":false,"fork":true,"pushed_at":"2024-04-08T04:44:48.000Z","size":11244,"stargazers_count":545,"open_issues_count":15,"forks_count":28,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-11-20T20:39:05.784Z","etag":null,"topics":["mpv"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"maoiscat/mpv-osc-modern","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyl0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-01T11:29:26.000Z","updated_at":"2024-11-17T16:05:04.000Z","dependencies_parsed_at":"2023-02-09T11:30:46.317Z","dependency_job_id":null,"html_url":"https://github.com/cyl0/ModernX","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cyl0/ModernX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyl0%2FModernX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyl0%2FModernX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyl0%2FModernX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyl0%2FModernX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyl0","download_url":"https://codeload.github.com/cyl0/ModernX/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyl0%2FModernX/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264545167,"owners_count":23625404,"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"],"created_at":"2024-08-04T14:00:59.330Z","updated_at":"2025-07-10T07:31:35.683Z","avatar_url":"https://github.com/cyl0.png","language":"Lua","funding_links":[],"categories":["On Screen Controller","others"],"sub_categories":[],"readme":"# ModernX\nAn MPV OSC script based on [mpv-osc-modern](https://github.com/maoiscat/mpv-osc-modern/) that aims to mirror the functionality of MPV's stock OSC while with a more modern-looking interface.\n\n![img](https://github.com/cyl0/ModernX/blob/main/preview.png)\n\n# How to install\n\nLocate your MPV folder. It is typically located at `\\%APPDATA%\\mpv\\` on Windows and `~/.config/mpv/` on Linux/MacOS. See the [Files section](https://mpv.io/manual/master/#files) in mpv's manual for more info.\n\nPut mordenx.lua into your mpv \"\\~\\~/scripts/\" folder. Create the \"\\~\\~/scripts/\" folder if you don't already have one and remove any other OSC scripts,\nthen put `Material-Design-Iconic-Font.ttf` in the \"\\~\\~/fonts\" folder.\n\nin mpv.conf:\n\n```\nosc = no\nborder = no # Optional, but recommended\n```\n`Material-Design-Iconic-Font.ttf` can also be downloaded from [here](https://zavoloklom.github.io/material-design-iconic-font/).\n\n# How to config\n\nedit osc.conf in \"\\~\\~/script-opts/\" folder, however many options are changed, so refer to the user_opts variable in the script file for details.\n\n# Thumbnails\n\nTo enable thumbnails in timeline, install [thumbfast](https://github.com/po5/thumbfast). No other step necessary.\n\n# Buttons\n\nlike the built-in script, some buttons may accept multiple mouse actions, here is a list:\n\n## Seekbar\n* Left mouse button: seek to chosen position.\n* Right mouse button: seek to the head of chosen chapter\n## Playlist back/forward buttons\n* Left mouse button: play previous/next file.\n* Right mouse button: show playlist.\n## Skip back/forward buttons\n* Left mouse button: go to previous/next chapter.\n* Right mouse button: show chapter list.\n## Jump back/forward buttons\n* Left mouse button: Jumps forwards/backwards by 5 seconds, or by the amount set in `user_opts`.\n* Right mouse button: Jumps forwards/backwards by 1 minute.\n* Shift + Left mouse button: Skips to the previous/next frame.\n## Cycle audio/subtitle buttons\n* Left mouse button/Right mouse button: cycle to next/previous track.\n* Middle mouse button: show track list.\n## Playback time\n* Left mouse button: display time in milliseconds\n## Duration\n* Left mouse button: display total time instead of remaining time\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyl0%2FModernX","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyl0%2FModernX","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyl0%2FModernX/lists"}