-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Merge the On-Screen-Controller #172
Comments
Can you put the OSC on a separate repository in the mpv organization? People might actually start using it and give feedback/report bugs. More importantly, are all the C parts even merged? |
yeah, that's probably the best. And no, the lua implementation is still missing from master, but will hit it soon. |
I see at least three blockers:
Some more issues that could be discussed or that are in the way:
|
Edit: For the people who aren't on IRC frequently, we are talking about this: http://puu.sh/3LRh0
The inconsistency is bullshit, I agree, but displaying 0-based counting to end-users is even more bullshit. Displaying "Track 0/1" will make no sense to someone who isn't familiar with programming. The OSC is completely consistent in using 1-based counting. Users would only experience inconsistency if they use the --xid option (which they don't have to, as they can just change tracks with the OSC). You are welcome to change mpv's internal track-IDs to 1-based-counting, which should probably be discussed in a separate issue. It should also be noted, that the OSC supports displaying the "raw" track IDs as-is as well.
Okay, I still don't get were this comes from. The OSC is using the deadzone method for weeks now, so if you park your mouse somewhere at the top of the screen there is very major mouse movement needed to make the OSC show up.
This is your personal taste. I like the diamond. On top of that, a progress bar is not a GUI element users can normally interact with, while the "moving indicator" is often used in other player software as well. (It should also be noted that users who really don't like this can change the slider back to progress bar style in the script.)
The OSC is targeted at "average users" who may never read the manual and never find out it even exists. So it should be enabled by default. People who don't like it will manage to find the option to turn it off.
Very minor and not annoying at all in the weeks I've been using it now
Seeing how some people eagerly disagree with my design-choices, some configuration method would probably be welcome to save users from the effort of maintaining their modified copy of osc.lua somewhere. I'll look into using an own config file. |
I'll leave this to the users to decide. Personally, I care more about the consistency than the actual start offset, but I'm also wary about changing the current default. But how to we ask the users?
I don't want to have to explicitly "park" my mouse somewhere just because the software is too stupid to handle this reasonably. I'm pretty sure 100% of our current users think the same way, because, you know, most run it from the terminal and use keyboard control. It seems you have plans about gathering new users, which is fine and awesome, but I don't want to alienate the current userbase.
It's my project, so my taste takes priority. Anyway, I don't want you to "force" to change this, so once again it would be good to ask the users, and if they have strong opinions about it, that takes priority above all.
I'm not sure about this myself; again user feedback would be nice. Also, some VOs might lag more, and future improvements to video playback might make the lag worse. (That's all because video playback is optimized for throughput and exact timing, not real-time user interaction.)
Do you need any mpv provided functions for this? |
IMHO this problem is greatly undervalued.. This is why I think we need a period of testing with the OSC outside the main tree. I'm actually a proponent of having a plugins project in the organization. Other plugins could be added to do for example scrobbling, IRC status updates, growl notifications and god knows what else. Does it all have to finish in the main tree? Probably not. And have the plugins autoloaded if put somewhere like ~/.mpv/plugins/lua/autoload and use the existing config path functionality in mpv for plugins lookup. This is similar to what weechat does for example. The added benefit is a packager could add some default plugins if he wants. |
On Fri, 09 Aug 2013 02:34:36 -0700
Hm... could work.
Should be no problem to test this while the OSC is not enabled by The OSC is probably also a bit different from other possible plugins |
Okay, let me start with highlighting a very important but apparently ignored part of my previous post: The OSC is targeted at "average users". More specifically, users new to mpv or coming from "full-GUI-OSes", who want to be able to use the essential functions without memorizing a page of shortcuts and digging through the endless manuals first. It is not aimed at people who "run it from the terminal and use keyboard control" since, why would they want to use something like this anyway? So yes, "asking" the users is obviously the best way for feedback. But the only way to do this on a large scale is to just merge it in master, enable it by default and wait for the complaints to roll in. Last but not least, @pigoz's proposal of a plugin architecture sounds very favorable and should be persuaded further.
I probably need a way to query the path to ~/.mpv |
I remembered another issue: for some reason, the OSD symbols (with classic OSD) are smaller with the modified OSD font. |
I have no idea why this happens, I don't think I changed anything about the old glyphs or the font-metrics in general, but I'll investigate it. |
Just a question: How gnome-mplayer/smplayer way is wrong/bad to add a GUI to mplayer/mpv? A~nd another question: What would happen in case I play some (music) file which currently doesn't show a mpv window? |
It's not wrong, but the old slave protocol sucks. I plan to add a client library to allow external GUIs to control/embed mpv, though, see issue #97.
Nothing. It would behave as with OSC disabled. We could maybe add a mode where it creates an empty window or so if there is no video track. |
Another issue: the OSC needs Lua. We are fine with any Lua (5.1, 5.2, luajit), but whatever we use can clash with the Lua version used by libquvi. Not sure if we can play any linker acrobatics to work this around, but for now I'm clueless how to solve this. |
Apparently, the OSD-symbol-font had somewhat broken metrics before, causing the symbols to be rendered too large. So far this was simply compensated by applying a Line 40 in 554cd7c
\fs-5 tag. Changing it to \fs-1 fixed this. (153ac1c)
|
A "proper" editor shouldn't change any metrics. Also, the font didn't change when it was converted from pfb to otf. |
Maybe the pkg-config check for |
Since Lua has no official pkg-config files, this is highly distro specific. For example, on Debian, only "lua5.2" and "lua.5.1" exist, while others systems have "lua" only. For now, it looks like you can't really win. |
I guess this issue can be closed now? |
Yep. |
http://puu.sh/3LRh0
The text was updated successfully, but these errors were encountered: