Added dbus method SetLoop to switch looping on / off by dbus.#679
Added dbus method SetLoop to switch looping on / off by dbus.#679dronus wants to merge 1 commit intopopcornmix:masterfrom
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.