Python should reset PulseAudio
-
@digi6622
You're absolutely right, contribution to the apps ecosystem is very important and every contribution is appreciated.
I wanted also to thank you for taking the time and effort to come here to ask about how to develop this feature and be patient about how it works.I know some people are just searching for a hacky-hack way to get it done and if frustrated then will simply drop the idea.
And that's also important for us to be able to take the time to put you in the right direction like @arubislander did (thanks for that).Ubuntu-Touch is not the typical Linux distro, it is a mobile OS with its constraints so the users can have the best OS possible.
-
@arubislander what is actually needed here, is a way to tell media-hub to stop playback after some time - doing this on the app side is not a good solution, since it requires either keeping the screen on, or not suspending the app, both consuming resources/battery.
With the fix in media-hub other apps could use it as well (Podphoenix is a good example).
-
@klh that might be a good comment to add to the MR.
-
@klh Yes, you are right.
Testing on my app revealed that the screen must kept on to activate the sleep timer. This is unacceptable.But the WIP of Music Player / Sleep timer shows no activity since 2 years and the trial version with the fix is outdated.
-
@arubislander Brian already did, I wrote it here for reference since the review on the MR is rather long. I can take a look at doing it once I finish higher priority stuff, I've been really missing this option in Podphoenix