-
Notifications
You must be signed in to change notification settings - Fork 334
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
Added dbus method SetLoop to switch looping on / off by dbus. #679
base: master
Are you sure you want to change the base?
Conversation
Any further concerns? |
Is it possible to add a DBus request to determine if looping is currently set, similar to |
A |
Understood. |
Great... but shouldn't this be the MPRIS2 LoopStatus property (despite the Playlist posibility)? And isn't superlou just right in his statement regarding the usefulness of reading the LoopStatus? |
Ok, if there is already definition in a standard we should implement it that way. However, some properties are implemented as setter functions by omxplayer, for example |
Yes and purely as a personal opinion, strictly taken these methods Therefore the reading of the current LoopStatus is essential when you just want to know the current value. Just as an idea -and probably out of your scope here- , wouldn't it be handy to have a PlayerInfo (object) to which we can ask some current values. E.g. then OMXControl just does a By the way, I like your idea of having a key(board key) mapped to this LoopStatus. |
I think that simply being able to send the DBUS command as the PR currently stands is pretty useful. Would there be anything else required to merge? Maybe it would simplify the debate to handle the "getter" or method vs. property arguments in another issue? |
No description provided.