We have moved to a new Sailfish OS Forum. Please start new discussions there.
8

Resume music playback once ready (optionally)

asked 2014-08-19 20:18:43 +0300

FireFly gravatar image

updated 2014-08-20 10:00:24 +0300

eric gravatar image

One of the things I use my Jolla for a lot is for listening to music, usually via internet radio, using the stock media player. However, if I leave my house while connected to wifi, music playback is paused, and when I then get connected to 3G data transfer the playback isn't resumed. I always use headphones while listening to music.

It would be useful (at least for me) if playback was resumed once internet connection has been re-established. However, in the event that data transfer is disabled one probably doesn't want the playback resumed if headphones have been disconnected between losing and re-gaining connection.

Similar reasoning could also be applied to other cases when music is paused without the user's explicit request, when the cause is later reverted. For instance, detaching headphones and later reattaching them could resume playback, or answering a phone call and then ending it (if headphones are still attached upon ending it).

It is not obvious what the "right" thing to do in all cases is, but it's pretty annoying to have to work around this every time I leave the house while listening to music.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
2

answered 2014-08-19 20:22:21 +0300

FireFly gravatar image

Option for resuming playback automatically

My suggestion for a remedy to this would be to provide an option for resuming playback when playback has been paused without explicit user request, if headphones are connected upon reverting the cause. This requires keeping track of the "pause cause" and watching for when it is reverted, which requires special code for each such cause one wants to track. However, so does the pausing itself (I presume), so this shouldn't be a big issue. The headphone-check doesn't require any tracking since it's simply checked for once.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2014-08-19 20:18:43 +0300

Seen: 136 times

Last updated: Aug 19 '14