View Single Post
Posts: 169 | Thanked: 194 times | Joined on Apr 2012 @ Austria
#1
like the title says i would like to have the function the n900 had back then to press the headsetbutton and then it would start the mediaplayer and play random music. i tried it for myself and as far as i got i also reported here https://together.jolla.com/question/...s-play-button/ i could get the mediaplayer to start playing music automatically, but it only would do this when the app gets into foreground and scanning of the library finished but not in the background, because i put the function or whatever in onFinished section of one qml and it waited for the gui to finish. now the question is how to get this scanning to be triggered in the background and then playing music is trivial^^. i managed to do this if i put the function or whatever outside the onFinished section, but it then strangely would only play one song. thanks in advance for any suggestions
 

The Following 2 Users Say Thank You to smatkovi For This Useful Post: