dexeonify / mpv-config Goto Github PK
View Code? Open in Web Editor NEWMy personal mpv config and user scripts. :)
My personal mpv config and user scripts. :)
Despite being present in code as an user option
mpv-config/scripts/modernx.lua
Line 63 in 9679575
showtitle
isn't actually implemented.
To fix that, I just added
ne.visible = user_opts.showtitle
after element declaration
mpv-config/scripts/modernx.lua
Line 1760 in 9679575
Hi,
First of all, thanks for sharing your work.
I added two lines at the end of the script to get two features I wanted. Just reporting here for you to think about if it would be useful to present them as user options.
1. In your script, theres no indicator when the next file starts playing (in playlist). I want osc
to be be temporarily visible (by the time set in hidetimeout
). This line does the job:
mp.register_event("start-file", show_osc)
2. By default, osd-bar
is displayed when you seek (like when you press โ
key). I prefer to hide it with no-osd-bar
in mpv.conf
and to display osc
instead.
mp.register_event("seek", show_osc)
whats the best way to set this up based on my install discussed before?
You are my only hope Obi-Wan Kenobi!
I've been using both jamesxmcintosh's (https://gist.github.com/jamesxmcintosh) and marzzzello's (https://github.com/marzzzello/mpv_thumbnail_script/) updated versions of the mpv_thumbnail_script and they work great with mpv.net. However, the problem is that they are not updated to the newer versions of the OSC.lua that display the chapter names when you hover with the mouse on the seekbar! I've even brought this issue up in the MPV subreddit recently (hoping someone kind enough could help me out): https://old.reddit.com/r/mpv/comments/rpyy6q/request_can_someone_update_the_mpv_thumbnail/ .
And so I set out to find a way to solve this issue! When I saw that you made a version of the morden-x work that not only work the Thumbnailer but also features the recent osc.lua changes, I was so glad! However, unfortunately, Thumbnailer refuses to generate thumbnails with ffmpeg (for some reason) and mpv.net. And yes, I've even changed line 298 ( worker_extra.index_name = concat_args(args, worker_options.exec_path .. 'mpvnet')) to account for the mpvnet command! Looking at my log.txt didn't show any issues or errors. And thus I've been stuck.
So, I ask you, for the reasons I wrote above, to please consider making a version of the morden-x for the original mpv_thumbnail_script, so it may work with mpv.net. Thank you for reading this.
Thomas
@dexeonify was not sure where to put this or how to contact you outside of Git but I have a friend who loves mpv but is frustrated by lack of OSC volume controls and i know the main mpv team is hardline against it how much work would it take could we do it with you coding and me testing or?
First of all,Thank you for Thumbnailer functionality to ModernX.
I know that turning on the Thumbnailer function will increase the cpu usage.But every time you open the video file will make the cpu usage rate almost 100%, the cpu cooler also high-speed rotation up.
I'm using this osc theme and it doesn't happen 100% cpu usage rate of the time and the thumbnails are generated very fast.
Would you mind improving this thumbnailer ?
Well, I would be grateful if you could help me set up thumbnailer, I just can't seem to get it right.
My problem is, when I add mpv_thumbnailer_script from this repo, the icons get messed up. First I was using ur modernx then switched to his Modern-X, but both give same issues with different results (I mean the icons are messed up in different way for both). But yes thumbnailing works
I'm using mpv I believe, I'm not sure what mpv.net refers to on Win11 64-bit
I'm quite a newbie on mpv. I can't tinker around much with it yet with lack of knowledge of osc scripts and lua language
Thank you for the osc script.
I would like to use a loop button on the osc, with playlist-loop functionality.
I succesfully implemented it, but I got stuck with the toggle function. The button doesn't gray out in "off" (inactive) state. It only changes when I play the next/previous track on the playlist.
Is there a way to change the button behavior on the fly when I press the button?
I've downloaded your code and saved it to ".config/mpv/scripts/seek-to.lua" - and restarted MPV (as works with the other lua scripts I have in that folder).
But when I paste the following timecode using "Ctrl+Alt+V" nothing happens, and mpv says it ain't responsible for that keyboard shortcut.
The timecode was: 00:01:03.12
- and the video was 2m20s long. So it should work, right?
Can I help debugging this?
Thank you very much in advance!
System:
Currently, when I hover over the screen, both the osc and windowcontrol/tile areas are displayed simultaneously. So, my idea is whether there is a way to adjust it so that only the part that I am hovering over is displayed. For example, when I hover over the bottom part, only the osc part will be displayed, and when I hover over the top part, the windowcontrol/title will be displayed. If I do not hover over either the osc or windowcontrol/title areas, nothing will be displayed. Can you help me adjust this? Thank you very much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.