-
Notifications
You must be signed in to change notification settings - Fork 16
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
FR - Show mpv-start-options in the WebUI #331
Comments
Hallo This is certainly possible, but not in the way you describe. CLI options just set properties in MPV and from lua we have access to those properties. There is no difference between a property set on the command line and one set in a config file or a default, so there is no way of showing all the mpv cli options. That said, there are properties for |
Perfect!!! Thank a lot! |
I will now create some homescreen buttons with Tasker for Android to start, pause and so on. I close the issue (feature Request) now, for me it's solved, thanks! |
😁 I'd like to keep this open for now, until it's integrated in the UI and merged into the main branch. |
Sorry, I made a mistake, have to check more thorrowly... I thought, that the "start" value is missing in the /api/status but it is there, even if not set as parameter or option. Apart from that, the "end" value changed from "none" to "null" after the last update, this was irritating me too, but "null" is better than "none" I think too. |
Yeah exactly, So all is working for you now, right? |
Yes, perfect. |
Hallo
I use mpv to show movies to my children, but not too long, only some few minutes, e.g. old Disney Cartoons.
I start the movies (full play time about 3 hours) from a start time to an end time with the options --start= and --end=
To show the end option, and to know when the kids movie-time will be over, I write the end time additionaly to the screen, with e.g.: --osg-msg1="Ende: 7:24", so I can see, how many time left (e.g. by pressing "o" to see the actual time tag).
Now I found this great tool here, simple-mpv-webui, which is a good help already, I can see on my phone (without need to stay in the movie-room), at what time the movie is.
But I have to remember the end-time, it is not to find in the WebUI page.
Could it be done theoretically that the webui.lua hands over the mpv-options (--start and --end) to the WebUI?
Or is that beyond the scope of the capabilities of lua scripts?
I don't know if Lua can get grip of that.
Thanks for hints.
frank
EDIT: I found this documentation: LUA SCRIPTING about it, but it would take hours for me to understand it 😢
The text was updated successfully, but these errors were encountered: