Giter Club home page Giter Club logo

modernx's People

Contributors

alpynedreams avatar asilentdreamer avatar computator1200 avatar cyl0 avatar dexeonify avatar gingkapls avatar iainsaxonhome avatar jmickelin avatar lostthing avatar maoiscat avatar po5 avatar protrikk avatar slimdread avatar xurdejl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

modernx's Issues

move timeline to top

The point is, timeline when you pause, covers all subtitles, is there a way to move it to the top of the window?

Showing the full title on the OSC

Screenshot_1
showing the full title : [Hi10][Dual-Audio]

how to make it show the full title ,lots of space is left but script somehow isn't using it for display.

Default font size for titles

If you have a really long title, it gets cut off kind of abruptly at the end. Is there a way we can reduce the default font size to mitigate the issue?

Or other solutions to display them.. i.e. Add "..." ellipses at the end, or a fade effect (i.e. browser tab titles), or dynamically reduce the font size so the full title fits the screen. Maybe even horizontally scrolling text if that's not too hard to implement.

image

buttons not rendering on click while the video is paused

while the video is paused, the window control buttons (from the osc) and the play button won't show that same darkening effect when you click them. It only works while the video isn't paused, is there any way to fix this? @cyl0

I'm using windows 10.0.19043.1526

I would like with a border

Without a border (above), it’s somehow unusual, until I turned it on in the config. But with him, as if part of the video is not visible (?)
Here in this OSC is well implemented, mine. (but there are other problems) In general, I would like improvements in this direction, otherwise everything is super

UPD: Clicking on the sound icon does not work, you can not change the value

Cannot see my UI anymore. Worked till yesterday

Important Information

Provide following Information:

  • mpv version: 1:0.38.0-2
  • Linux Distribution and Version: Arch Stable
  • Source of the mpv binary
  • If known which version of mpv introduced the problem: current one
  • Window Manager and version: KDE Plasma 6
  • GPU model, driver and version: 2060s nvidia driver
  • Possible screenshot or video of visual glitches

Reproduction steps

Open a video.

Expected behavior

Being able to see the UI, to browse the video etc..
Screenshot_20240418_221351

Actual behavior

I cannot see anything.

Log file

output.txt

Any help is appreciated.

Sample files

mpv.conf: https://0x0.st/XouM.conf
scripts folder:
image
.confg/mpv folder:
image

OSC only appears when hovering

@zydezu

In your fork, the osc doesn't show up with small mouse movements, it only shows up when hovering over the osc or title bar area. Can you confirm that its broken and how to fix? I tried minmousemove=0 but it didn't seem to work. 0 is the default value with stock osc: https://mpv.io/manual/master/#on-screen-controller-minmousemove

Solution for OSC Themes not showing

scroll to line 2517 in modernx.lua, replace

utils.shared_script_property_set("osc-visibility", mode)
with
mp.set_property_native("user-data/osc/visibility", mode)

[Feature Request] MPV Thumbnail script functionality

MPV thumbnail script basically shows preview thumbnails when hovering over mpv's seekbar.

It does not work with MordenX and appears broken, which is believe is due to the fact that it replaces the built-in OSC, which conflicts with MordenX.

I just wanted to know if it was possible to somehow use this script with mordenX, or maybe add its functionality ?

Thank you !

Scaling Issues (Sorry found it)

With border enabled, when I resize the player, The OSC does not scale with the player.
This causes issue when I play any audio file with a very small interface all the buttons appear very small. This is not an issue in the upstream.
Sorry if there is an easy way to fix it, I don't not know enough about lua scripting.

Osc hovering issue

How do I make osc to only show up when hovering on the bottom area of the screen? It's a standard behavior of the default mpv osc. Your script shows up osc when hovering mouse anywhere on the sacreen.

Few Updates in Upstream

The upstream project few features like:

volume scroll bar
mute button

etc.

When will we get those features?

Don't autohide with audio files

Hi there,
When we play videos, we want the controls autohide. But when playing audio files, there is no reason to hide controls, since we need buttons, sound title, album, etc... to be visible without moving the mouse.
Is there (or could be) an option to make the modernX ui don't hide when playing audio files?

How can I assign the 'DEL' key to show OSC?

With the default configuration of mpv, the DEL key toggles between the auto, always-on and always-off states of the OSC.

Is there a way to make the DEL key work with MordenX so this behavior is replicated (or just that the OSC can be shown)? I use this in a HTPC setting with a IR remote, mouse hovering is unfortunately not an option.

I know it works just when pausing the video, but sometimes I want to see how much time is left without pausing, just with a discreet glance at the OSC.

fatal mordenx Lua error: [string "./config/scripts/mordenx.lua"]:2125: attempt to call global 'kill_animation' (a nil value)

[mordenx] 
[mordenx] stack traceback:
[mordenx] 	mp.defaults:361: in function 'process_timers'
[mordenx] 	mp.defaults:530: in function 'dispatch_events'
[mordenx] 	mp.defaults:503: in function <mp.defaults:502>
[mordenx] 	[warnC]:  mordenxat  0x7f
f90d142e80
[mordenx] 	[C]: at warn0 x7fmordenxf 90stack traceback:d1
41070
warn mordenx 	mp.defaults:361: in function 'process_timers'
[mordenx] Lua warnerr or:mordenx [st ring	mp.defaults:530: in function 'dispatch_events' "
./config/scripwarnt smordenx/mo rde	mp.defaults:503: in function <mp.defaults:502>n
x.lua"]:2125:warn a ttmordenxem pt	[C]: at 0x7ff90d142e80 to
 call globalwarn  'kmordenxill _	[C]: at 0x7ff90d141070animat
ion' (a nil value)
fatal mordenx Lua error: [string "./config/scripts/mordenx.lua"]:2125: attempt to call global 'kill_animation' (a nil value)

Only show OSC when hovering?

The default behavior is to show it whenever the cursor moves and I'm wondering if there's a way to make it only show when I hover over the OSC elements at the bottom. I apologize if there's an option for that already but I have read through the lua file multiple times but I couldn't anything related.

Problem with thumbfast?

I am experiencing a problem on Mac OS Ventura. When I play any video via open or double-click in Finder, it opens a new mpv instance. If I then hover over the timeline (and generate thumbnails, invoking thumbfast I suspect), the mpv icon will sort of stutter in the dock and then gets stuck there.

When I say "stuck", I mean that it works until I finish the video or quit, but then it stays open and won't quit unless I pkill or Force Quit. The funny thing is it works fine and as expected if I run via mpv, just not through open or Finder. I am perplexed as to why this is happening... it seems to just sort of bug out when invoking thumbfast.

Here is a video of the issue: https://imgur.com/a/itxg5AP

I'm not sure if this is an issue with thumbfast or not, but I only have ModernX and and thumbfast installed and when I remove either of them this issue goes away.

Hopefully someone can help me resolve this annoying issue, but either way: thank you for reading.

Library option / button

This UI is awesome.

One thing I noticed is I tried using it with a playlist and the only way to select a new file was with previous/next buttons.

Could you add a library button, in case a playlist of files or iptv channels is added? Thank you

Always show progress bar? [feature request]

It would be great to always know the progress of what I am watching.

image
As you can see in this example of a youtube video, with an extension which allow such functionality.

Upsizing the timestamps without scaling the entire UI

Hi,

I'm very happy with the size of the UI but the timestamps are too small for me. Is there any way to change the font size for the timestamps without scaling the entire UI?

If not then can such an option be added (or point me to the right variables as I can't seem to figure out where to set the size)?

P.S. Thanks for the excellent script!

[Feature Request] Stay on top toggle button

A button to toggle "Stay on top" off and on next to the "Stats" button on the right, would be a great addition for convenience sake.

Also, thank you for forking and maintaining this project.

Volume icon and slider

The original mpv-osc-modern has the volume icon; is there a way to enable that here in this fork?

`idlescreen` option to disable the logo

I would like to request an option idlescreen that allows to disable the logo and the logo drag and drop text.

In mpv.net there is an option show-logo.

Users then have a choice if they want the mpv.net logo, the osc logo, or no logo.

It not only fixes the mpv.net logo overlap issue, but also overlap issues with many menu scripts:

https://github.com/CogentRedTester/mpv-file-browser

https://github.com/stax76/mpv-scripts/blob/main/osm.lua

Also, various bookmark and recent file menu scripts.

More info:

CogentRedTester/mpv-file-browser#55

mpv-player/mpv#10201

OSX Fonts not working

Thank you for your plugin!

However, using this plugin on MacOS (12.2.1 on M1 MBA) the special font for the buttons does not work:

[osd/libass] libass API version: 0x1502000
[osd/libass] libass source: tarball: 0.15.2
[osd/libass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 4.0.0 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Loading font file '/Users/mxsrm/.config/mpv/fonts/SamsungOne-700.ttf'
[osd/libass] Loading font file '/Users/mxsrm/.config/mpv/fonts/Material-Design-Iconic-Font.ttf'
[osd/libass] Loading font file '/Users/mxsrm/.config/mpv/fonts/SamsungOne-400.ttf'
[osd/libass] Using font provider coretext
[osd/libass] Done.
[osd/libass] fontselect: (SamsungOne-400, 400, 0) -> SamsungOne-400, 0, SamsungOne-400
[osd/libass] fontselect: (material-design-iconic-font, 400, 0) -> Material-Design-Iconic-Font, 0, Material-Design-Iconic-Font
[osd/libass] Glyph 0x78 not found, selecting one more font for (material-design-iconic-font, 400, 0)
[osd/libass] fontselect: Using default font family: (material-design-iconic-font, 400, 0) -> SamsungOne-400, 0, SamsungOne-400
[osd/libass] fontselect: (material-design-iconic-font, 400, 0) -> SamsungOne-400, 0, SamsungOne-400
[osd/libass] fontselect: (mpv-osd-symbols, 400, 0) -> mpv-osd-symbols-Regular, 0, mpv-osd-symbols-Regular
[osd/libass] Glyph 0x20 not found, selecting one more font for (mpv-osd-symbols, 400, 0)
[osd/libass] fontselect: Using default font family: (mpv-osd-symbols, 400, 0) -> SamsungOne-400, 0, SamsungOne-400
[osd/libass] fontselect: (mpv-osd-symbols, 400, 0) -> SamsungOne-400, 0, SamsungOne-400

Leading to this:

Screenshot 2022-03-13 at 00 37 58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.