Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christoph-heinrich/sosc
An OSC supplement for OSC replacements.
https://github.com/christoph-heinrich/sosc
mpv mpv-script
Last synced: 3 months ago
JSON representation
An OSC supplement for OSC replacements.
- Host: GitHub
- URL: https://github.com/christoph-heinrich/sosc
- Owner: christoph-heinrich
- License: gpl-2.0
- Created: 2022-10-04T20:49:50.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-09T15:50:24.000Z (11 months ago)
- Last Synced: 2024-06-30T11:33:09.275Z (5 months ago)
- Topics: mpv, mpv-script
- Language: Lua
- Homepage:
- Size: 19.5 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mpv - sosc - An OSC supplement for OSC replacements. Provides the idle message and script messages from the original OSC. (On Screen Controller)
README
# sosc
A stripped down version of [osc.lua](https://github.com/mpv-player/mpv/blob/master/player/lua/osc.lua) to supplement OSC replacements like [uosc](https://github.com/tomasklaen/uosc) with the idle screen and messages provided by the original OSC.
It listens to all the script messages and sets shared-script-properties just like [osc.lua](https://github.com/mpv-player/mpv/blob/master/player/lua/osc.lua) does, except for the `osc-visibility` message and the `osc-visibility` and`osc-margins` shared-script-properties because those don't make sense without actually displaying an interface.
Your configuration for the original OSC will be used automatically.
## Installation
1. Save the `osc.lua` into your [scripts directory](https://mpv.io/manual/stable/#script-location)
2. Make sure you have `osc=no` in your [mpv.conf](https://mpv.io/manual/stable/#configuration-files)
3. For [uosc](https://github.com/tomasklaen/uosc) make sure you have `disable_elements=idle_indicator` in uosc.conf or `script-opts-append=uosc-disable_elements=idle_indicator` in your [mpv.conf](https://mpv.io/manual/stable/#configuration-files).