-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mpv.net Compatibility? #6
Comments
Interesting if i block out logo it breaks the entire script from working @asilentdreamer i have --function show_logo () |
on top of this the osc wont disappear on pause if i add this script nor does mpv.nets toggle for it work :( i rea;;y want this to work as mpv.nets default osc suck |
@asilentdreamer thank you all your help that did solve one issue but I still cant seem to toggle visibility via mpv net context menu nor is a toggle message displayed and the controls are still visible on pause i want them off when paused. any ideas? |
I dont really know the solution to those. Feel free to ping me if you find it. |
@asilentdreamer I'm at a loss I gave opened a ticket with the original dev and the ticket here all i wanted was to replace the old OSC which is a little outdated and modern was perfect you wouldn't think it be this hard right I have QA expertise and your a lua coder between us maybe we can figure something out I wouldn't expect you to spend a lot of time on it but maybe we can make both mpv net and modern a little better in the process who knows |
I am not a lua coder. All I did is copy a few lines of code from mpv's osc and paste it in this osc. Also it looks like the blue mpv.net icon is hard coded so doesn't look like it can be replaced. |
@asilentdreamer that's fine because your solution worked now i just need to make the OSD disappear on pause as it does without modern installed and also display toggle status messages again for the corresponding toggle and the only one being the least bit helpful is you :) anyway its hard because i can find code to make the OSD stay because apparently it is meant ti do that natively but adding modern breaks the behavior for some reason. |
That has been my experience too. I tried to add that but the script broke. So after a few tries I gave up because I understand neither the script nor the langauge very well. |
@asilentdreamer if you know anyone who could possibly help that be awesome as neither developer seems interested in even guiding us and the documentation doesnt cover anything like this |
Open Config Folder, create a
This was certainly fun to debug - the feature isn't implemented in MordenX :D. But don't worry, it's easy to add the feature, I should probably make a PR later. Open function visibility_mode(mode, no_osd)
if mode == "cycle" then
if not state.enabled then
mode = "auto"
elseif user_opts.visibility ~= "always" then
mode = "always"
else
mode = "never"
end
end
if mode == 'auto' then
... Now open
to
The reason is explained here: dexeonify/mpv-config@967413b |
@dexeonify I must have done something wrong because now t modern does not show up at all could you possibly upload the fixed files and ill just put them in place or do we have to do more troubleshooting now |
Hmm, I did encountered that a few times, but it was intermittent and it's not caused by my fix. Maybe try restarting mpv.net again? Any messages printed in the console? |
@dexeonify nothing that i can see its gone back to mpv.nets osc though |
maybe i edited wrong but i dont think so |
Yea, I'm not sure why it suddenly didn't work for you when it's working previously. Try reverting your changes and see which changes caused it. Here's the mpv.net directory for reference. I didn't change anything major. |
@dexeonify Well im not sure now because it works flawless when i replaced the directors i must have just miss typed something the only thing i can think of is I did attempt to use @asilentdreamer 's fix to preserve on screen text where as yours does not maybe that plus your edits doesnt work but its all good now id still love to preserve text? |
Lastly I noticed files don't automatically start on open now i actually have to hit play now i never used to ? |
Ah yea, I chose the 2nd option to completely hide the logo.
That's because I added |
so all this this debugging will it benefit modernx in anyway as that was my ultimate goal to prevent others who happen to be using the mpv.net variation from going through this while still being able to enjoy a music better osc |
Yea, I guess. Others can just follow this thread. We still have to wait for the author to merge my PR (#7) so others don't have to dig into the code and add the features manually. |
I think since between the author code do since between the 3 of us we have done all the leg work :( is just summarize what we have done and state if using the mpv varient make these adjustments |
either way thank you @asilentdreamer @dexeonify we make a good team |
@dexeonify i have one more issue if you would not mind looking at when you get time? |
NP. The fixes mentioned in this issue were a lot of help |
Related issues mpvnet-player/mpv.net#350 mpvnet-player/mpv.net#195 |
tl;dr? |
Only the first two points are mpv.net-exclusive issues. |
Please give me the modified complete working script and istruction what to change |
... Open mpv.net, right click > Settings > Open Config Folder. Download MordenX-mpv.net-patched.zip and extract it inside the folder. Open Del script-binding mordenx/visibility #menu: View > Toggle OSC Visibility Then, open script-opts = osc-hidetimeout=2000,console-scale=1 |
Thank you very much. This instruction is only for mpv.net right? (just confirming never mind) |
Well, the instructions for |
Hi there, sorry for the late response but I've merged @dexeonify's PR. I'm not able to test with mpv.net myself, so please test and see if the issue persists. |
I'll be closing this due to inactivity, feel free to add a comment here if this issue still persists. |
I am having another issue using this with mpv.net. Most of the time, the OSD does not respond to any mouse events (moving, clicking), and the mpv.net logo does not show at all. If I repeatedly open and close mpv.net, sometimes the logo will show properly, and sometimes the mouse events will also work. |
@cyl0
Every time I run MPV.net after installing the script and load the player this occurs
any idea how to make them play nice mpv and mpv.net are not that much different from one another
https://github.com/stax76/mpv.net
The text was updated successfully, but these errors were encountered: