Releases: tomasklaen/uosc
4.0.0
A huge update that brings controls bar, thumbnails, textures, UI polish, and tons of other features!
uosc now requires multiple files to be installed, so grab the uosc.zip
archive below with all of the requirements instead of just downloading the script from repository.
It's also a good idea to re-download the default config file and reconfigure your uosc. A lot has changed.
Note: to get thumbnails, you need to install thumbfast.
Features
- Add
show-menu
message handler @tomasklaen - Add
get-version
message handler @tomasklaen - Improve
show-menu
api @tomasklaen - Add
audio-device
command (#140) @hooke007 - Thumbfast intergration (#213) @eva
- Only stretch the line when
size_min
is bigger than0
@tomasklaen - Always display volume controls, and visualize no audio @tomasklaen
- Don't show tooltips for chapters that only end a range (#153) @christoph-heinrich
- Better default config for chapter ranges (#165) @christoph-heinrich
- Support
osc-margins
shared-script-property (#166) @christoph-heinrich - Implement
controls
bar @tomasklaen - Improve menu styling @tomasklaen
- Improve track selection menus @tomasklaen
- Add tooltips @tomasklaen
- Add
update-menu
API @tomasklaen - [breaking] Consolidate all
*_font_scale
options into onefont_scale
@tomasklaen - Improve volume slider visuals @tomasklaen
- Added
text_border
option @tomasklaen - Mouse wheel on menu now scrolls by 3 items at a time @tomasklaen
- Add
has_sub
andhas_chapter
dispositions (#207) @dyphire - [breaking] Added textures to improve indicators and other visuals @tomasklaen
- [breaking] Improve chapters rendering style @tomasklaen
- [breaking] Convert
timeline_chapters
option intotimeline_chapters_opacity
@tomasklaen - Display buffered time in timeline @tomasklaen
- New
items
,load-audio
,load-video
commands @tomasklaen - Added counters and other badges to control buttons @tomasklaen
- [breaking] Changed
peek-{x}
commands totoggle-{x}
@tomasklaen - Improved top bar playlist position indicator @tomasklaen
- Added control bar button badge limits @tomasklaen
- Added
has_many_*
disposition types @tomasklaen - Show current chapter as a top bar subtitle @tomasklaen
- [breaking] Accept colors in RGB(A) HEX format @tomasklaen
- [breaking] Improve
chapter_ranges
serialization @tomasklaen - Add
top_bar_title_opacity
option @tomasklaen - Implemented
shuffle
andautoload
options @tomasklaen - Implemented
menu-blurred
command @tomasklaen - Set uncached ranges as early as possible (#244) @christoph-heinrich
- Implemented
buffered_time_threshold
option @tomasklaen - Implement
chapter_range_patterns
option @tomasklaen - [breaking] Removed wasd and hjkl menu navigation @tomasklaen
Fixes
- -A LOT of fixes, most of them related to 4.0 development. See the full changelog below when interested.
Refactor
- [breaking]
active
andselected_index
menu API @tomasklaen - [breaking] Removed
color_
prefixes from options @tomasklaen
Full Changelog: 3.1.2...4.0.0
3.1.2
Features
- Always disable the original osc (#128) @hooke007
With this, setting
osc=no
inmpv.conf
is theoretically not needed anymore, but just to be safe we are going to keep it as a recommended installation step.
Fixes
- Drives menu unable to read drives in player idle mode @tomasklaen
Full Changelog: 3.1.1...3.1.2
3.1.1
Fixes
- Menu cursor detection ignoring updated items @tomasklaen
This was causing self updating menus (subtitles, audio, chapters, ...) to ignore cursor movement and not be clickable.
3.1.0
Features
- File navigation menus now support traversing to other drives on Windows (#124) @Hill-98
- Add an ability to open submenus @tomasklaen
R script-message-to uosc show-submenu "Utils > Aspect ratio"
- Add
time_precision
option @tomasklaenUse to display sub second precision in timeline timestamps. For example, setting to
2
will produce00:00:00.42
. - Provide default context menu @tomasklaen
If there is no context menu defined in
input.conf
and user callsuosc/menu
binding, there will now be a pre-configured menu with common actions. - Preselect previous folder when navigating up the file tree @tomasklaen
- Preselect 1st item when opening new menus @tomasklaen
Fixes
- Menu item navigation not selecting the scrolled to index @tomasklaen
- Color chapters to the left of the progress line were colored with background color @tomasklaen
- Adjust and visualize time area padding due to line width @tomasklaen
- Correct hovered menu item detection @tomasklaen
- Show timeline adjacent elements during peek-timeline even when cursor is hidden @tomasklaen
- Load subtitles menu loosing allowed types filter during navigation @tomasklaen
- Directory navigation menus pre-selecting 1st item instead of 1st path @tomasklaen
Full Changelog: 3.0.0...3.1.0
3.0.0
Features
- [BREAKING!] New default timeline progress style
line
. Line is semantically and visually the most appropriate way to represent current time. Doing it with a bar was sub-optimal as it collides with chapter and cached ranges so there was just too many bars on top of each other, making it harder to tell what's going on.
This comes with 3 new options to control the line:
timeline_line_width=2
to control the width in windowed mode
timeline_line_width_fullscreen=3
to control the width in fullscreen mode
timeline_line_width_minimized_scale=10
to scale the line 10x when the timeline is minimized so the position is more visible
If you want the old progress bar back, just settimeline_style=bar
. - [BREAKING!] Implemented consistent scrolling direction among elements. Scrolling up now always increases the value. This affects
timeline_step
,speed_step
, andvolume_step
. Set these values to negative to flip the direction. (#87) @christoph-heinrich - Speed step can now be a factor by enabling
speed_step_is_factor=yes
(#108) @christoph-heinrich - Support for high dpi displays, as well as new
ui_scale
option (#91) @christoph-heinrich - Playlist, subtitle, audio, video and chapter menus now update while opened (#98) @christoph-heinrich
- Hovering over timeline now displays the title of the current chapter above the timestamp (#93) @christoph-heinrich
default_directory=~/
option that controls the default location ofopen-file
menu when triggered without any open file, or when watching a stream- Menus now shows more information about tracks (#99) @christoph-heinrich
- Context menu now allows creating empty folders with
# ignore #! Folder title >
(#101) @christoph-heinrich - Added
menu_min_width=260
,menu_min_width_fullscreen=360
, andmenu_parent_opacity=0.4
options (#115) @christoph-heinrich - Display playlist position in window title (#120) @po5
- Added
timeline_chapters_width=6
option to control the width of each chapter display format (#119) @po5 - Other small UI tweaks and fixes...
Changes
- [BREAKING!]
chapters
andchapters_opacity
options renamed totimeline_chapters
andtimeline_chapters_opacity
Fixes
- Playlist items were ignoring title
- Compatibility with lua 5.1 used by some mpv builds (#113) @christoph-heinrich
- When starting the player paused, the static pause indicator was not shown (#88) @christoph-heinrich
- UI not re-rendering on cache and remaining time updates (#89, #104) @christoph-heinrich
- Menu items not initializing properly on dynamic menus (#97) @christoph-heinrich
- Various UI crashes (#100, #107) @christoph-heinrich
- Text width estimation not accounting for different hint size (#103) @christoph-heinrich
- Volume bar showing when there is no audio (#109) @natural-harmonia-gropius
- Fixed text width estimation for asian text (#112) @natural-harmonia-gropius
- Context menu showing untrimmed whitespace characters (#101) @christoph-heinrich
- Subtitle loader not normalizing path correctly (#117) @tinkernels
- Menu button was sometimes closing the menu immediately after opening it
Full Changelog: 2.17.0...3.0.0
2.17.0
Added
default_directory
option - if there is no file open, this is the open-file menu directory that will be used.~/
by default.
Older change logs are available here: CHANGELOG.md