tomasklaen / uosc

Feature-rich minimalist proximity-based UI for MPV player.
GNU Lesser General Public License v2.1
1.69k stars 66 forks source link

Improve music experience #686

Open 33KK opened 11 months ago

33KK commented 11 months ago
tomasklaen commented 11 months ago

Audio indicator was quick and easy, but displaying meta will be a bit more involved and require new options, so I'll leave it for some time later.

christoph-heinrich commented 11 months ago

I don't see why this has to be part of uosc, one can simply use a different script in combination with uosc.

christoph-heinrich commented 11 months ago

Great... image

dyphire commented 11 months ago

I also don't understand what is preventing you using other scripts in combination with uosc.

NaiveInvestigator commented 11 months ago

same i also personally use vc-01/metadata-osd alongside with uosc for audio.

tomasklaen commented 11 months ago

I do think that it is valuable and a uosc's concern to indicate to the user there is no video. It's a difference between user thinking "this part of the video is black", and "there is no video".

But it of course should be replaceable with an equalizer script or something similar. That'll be possible with disable_elements=audio_indicator option once I get around to adding it.

And I see that there are good scripts for displaying meta, so I won't be adding that in.

33KK commented 11 months ago

I also don't understand what is preventing you using other scripts in combination with uosc.

I'm only aware of metadata-osd, which doesn't exactly look amazing.

I was thinking of something like this: image metadata_osd doesn't allow for left margin settings and this needs dynamic video-margin-ratio calculation to keep margin equal on top/bottom and right. I guess I'll try throwing something together myself

mrfragger commented 8 months ago

I only listen to audiobooks with transcribed subtitles and always enable metadata for all audio but not for video. Most important for me was to always show the current chapter playing which it does. Here's a screenshot of what it looks like playing a song. Only downside is if you try to use dual subs the one on top it blocks. When mpv 0.38 comes out there'll be a --secondary-sub-pos to deal with this however.

in script-opts/usoc.conf

top_bar=always
top_bar_size=40
top_bar_controls=no
top_bar_title=yes
top_bar_alt_title=${time-remaining} (${percent-pos}%) ${filename/no-ext}
top_bar_alt_title_place=below
top_bar_flash_on=video,audio
top_bar_persistency=audio

audiometadata

zaeboba commented 1 month ago

Could you please share the settings? Very interesting icons on the panel and what they do

I only listen to audiobooks with transcribed subtitles and always enable metadata for all audio but not for video. Most important for me was to always show the current chapter playing which it does. Here's a screenshot of what it looks like playing a song. Only downside is if you try to use dual subs the one on top it blocks. When mpv 0.38 comes out there'll be a --secondary-sub-pos to deal with this however.

in script-opts/usoc.conf

top_bar=always
top_bar_size=40
top_bar_controls=no
top_bar_title=yes
top_bar_alt_title=${time-remaining} (${percent-pos}%) ${filename/no-ext}
top_bar_alt_title_place=below
top_bar_flash_on=video,audio
top_bar_persistency=audio

audiometadata

Could you please share the settings? Very interesting icons on the panel and what they do

mrfragger commented 1 month ago

@zaeboba

Here is my mpv config and extensions for Mac. If you are on Linux or Windows I can send you a config for that. Quick PDF showing some of the options and uosc menu. I use mpv 0.38 on mac and compiled it. Not sure why people don't just share a binary for it. brew install stolendata version only has 0.37 and hogs up cpu / gpu. 0.38 runs smooth when compiled for apple silicon mac m1.

zaeboba commented 1 month ago

@mrfragger

If you are on Linux or Windows I can send you a config for that.

if you would be so kind (Win and Lin)

I was wondering how you have implemented such bookmarks and history menu, I thought maybe somehow you can put this in there - https://github.com/Eisa01/mpv-scripts/tree/master but apparently these scripts are all yours personally. Too bad I don't know anything about writing scripts like this.

mrfragger commented 1 month ago

@zaeboba I actually deleted the bookmark script I was using as a searchable History which keeps track of last played position pretty much does the job. I've tried that simple bookmark before and can't recall why I didn't use it. Think it was I couldn't get the glyphs to display with the font I was using. Anyway here's the current mpv custom config and PDF is included with instructions for Mac, Linux or Windows. I didn't test on Windows just Mac and Linux though. mpvconfiggeektips082024.zip 4MB

zaeboba commented 1 month ago

@mrfragger

I actually deleted the bookmark script

That's too bad. I use it a lot. I'll take it from the last mac file, hopefully it will work.

thanks!

Even though you removed more than half of the scripts, the rest of the scripts still don't work on Windows. 🤣