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: 4 months ago
JSON representation

An OSC supplement for OSC replacements.

Lists

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).