uosc icon indicating copy to clipboard operation
uosc copied to clipboard

Improve music experience

Open 33KK opened this issue 1 year ago • 13 comments

  • Show something instead of a black screen like the logo mpv osc shows in idle state, or some custom image
  • Show metadata like https://github.com/vc-01/metadata-osd

33KK avatar Oct 09 '23 00:10 33KK

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.

tomasklaen avatar Oct 09 '23 09:10 tomasklaen

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 avatar Oct 09 '23 14:10 christoph-heinrich

Great... image

christoph-heinrich avatar Oct 09 '23 14:10 christoph-heinrich

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

dyphire avatar Oct 09 '23 14:10 dyphire

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

NaiveInvestigator avatar Oct 09 '23 17:10 NaiveInvestigator

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.

tomasklaen avatar Oct 09 '23 17:10 tomasklaen

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

33KK avatar Oct 09 '23 17:10 33KK

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

mrfragger avatar Jan 14 '24 01:01 mrfragger

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

zaeboba avatar Jul 23 '24 11:07 zaeboba

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

mrfragger avatar Jul 30 '24 23:07 mrfragger

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

zaeboba avatar Jul 31 '24 08:07 zaeboba

@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

mrfragger avatar Aug 07 '24 00:08 mrfragger

@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. 🤣

zaeboba avatar Aug 07 '24 09:08 zaeboba