JOIN OUR CHAT GROUPS NOW!

If you are a fan of Tasker and want to be aware of the latest news, tips and tricks, have doubts, or would like to help who needs it, join us!

TASKER PROFILE CENTER IS ON PATREON.COM NOW!

If you like my projects and want to support me, now you can do it by becoming my Patron.

STAY UPDATED ABOUT TPC PROJECTS IN A MORE DIRECT WAY!

With the new Tasker Projects Tracker project made by @SmartPhoneLover you can stay up-to-date with our latest work.

Showing posts sorted by relevance for query Background Music Playback Resume for Twitter. Sort by date Show all posts
Showing posts sorted by relevance for query Background Music Playback Resume for Twitter. Sort by date Show all posts

Monday, May 18, 2020

[PROJECT] Background Music Playback Resume for Twitter v1.0

DESCRIPTION
As many users may know, Twitter does not resume music playback if it was previously active after closing/exiting from a video within the app. It just stops it (possibly by sending an 'stop()' call from 'AudioManager' using 'AudioFocus').

So, this project is an experimental attempt to try resuming the background music playback, if any, after exiting from a video within the app.

This project includes an Initial Setup task that needs to be executed when it is imported from TaskerNet, or when the dev considers it is needed even not imported from TaskerNet.

Notes:
- It was based on a user request from Reddit. (link 1/link 2)
- As the project uses the Logcat Entry profile to detect video playback (activity), the android.permission.READ_LOGS permission will have to be granted to Tasker. (instructions)
- If you haven't previously done it, you will have to disable automatic video playback: Profile > Settings and Privacy > Data Usage (General) > Video Autoplay (Video) = 'Never'.
- I have used the 'resume' Poweramp intent from here. But you can use your own intents, or the 'Media Control' action if you want.

DEMO

CREDITS
@SmartPhoneLover

DOWNLOAD
Project (XML)
Project (TaskerNet)

DOWNLOAD (Ads Supported)
Project (XML)
Project (TaskerNet)