@247 ~ Should be easy enough to make this into a patch for patchmanager, that’s assuming you use patchmanager, it pretty much only needs ‘import Nemo.Configuration 1.0’ and in the file add; ConfigurationGroup properties (id and path) with some set values.
Quick example;
import Nemo.Configuration 1.0
// other imports of course
Page {
// example
Slider {
id: hueSlider
highlighted: true
width: parent.width
value: 1.0; stepSize: 0.05
minimumValue: 0.0; maximumValue: 0.95
label: "H : " + hueSlider.value.toFixed(2) + " %"
onValueChanged: huesat.hue = hueSlider.value
}
// other/your stuff
ConfigurationGroup {
id: settings
path: "/apps/speedo-animations/new"
}
Component.onCompleted: {
hueSlider.value = settings.value("hueSliderValue", 1.0)
}
Component.onDestruction: {
settings.setValue("hueSliderValue", hueSlider.value)
}
}
I personally don’t use patchmanager (to much grief for me some how) and rarely use mediaplayer, but for anyone reading that can already make patches and is actively using said patches, it shouldn’t be too difficult to add some setValue to modes in mediaplayers pop-up controls.
@pvuorela ~ are you a Sailfish dev?. Regarding your comments, perhaps an icon can be added somewhere on the first page “Media” denoting with an icon of which of the controls have been selected to a setValue?, it’s not like there is not enough room to add something that tells the user, or even a notification bubble “you are in /shuffle/ mode”
Or just like when we wake our device up, the first row of the Launcher pops up for a moment, reminding us of where the launcher menu is. So why not have the same thing for mediaplayer, showing the selected user states. If the user makes no selection, the controls don’t pop up. I think this is probably quite easy to add to mediaplayer in my limited opinion.