Tasker AutoTools media playing context not working properly

Discussion in 'Guides / Examples / Ideas Forum' started by soumyaranjanmahunt, Jan 5, 2019.

  1. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    120
    Likes Received:
    4
    First of all sorry if i posted with wrong tag as AutoTools tag isn't available.

    So i tried to do some task when media playing iss detected, but the media state context doesn't work properly. It only detects music playing from google play music and nothing else that i tried.

    Funny thing is when i try to detect media playing with the AutoTools task system state it qorks flawlessly. Plz guide what to do.

    Sent from my ONEPLUS A5000 using Tapatalk
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi, can you please try it with this?
     
  3. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    120
    Likes Received:
    4
    Doesn't work with all the apps, the thing i am looking for is media playing context which includes both music apps and video apps too. Unfortunately AutoNotification can't work with video apps.

    The system state task in AutoTools plug in detects media fine, its just that the context doesn't. May be they use different methods for media detection but i will prefer the 1st one.

    Sent from my ONEPLUS A5000 using Tapatalk
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi there. Can you please clarify what you mean by system state task?
     
  5. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    120
    Likes Received:
    4
    The system state action available in AutoTools plugin. See the images:[​IMG][​IMG]

    Sent from my ONEPLUS A5000 using Tapatalk
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Oh I see, thanks! Yeah, that uses a different method, which does not make available all the metadata associated with what's playing, sorry!
     
  7. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    120
    Likes Received:
    4
    I would really lime it to have as a state, i have a profile which turns off notification sounds when music is playing so that i can entetain uninterrupted music(android dims music sound when notification arrives) and turns back on notification sound when i stopped playing music.

    Sent from my ONEPLUS A5000 using Tapatalk
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Unfortunately it's not possible to use that as a state, sorry!
     
  9. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    120
    Likes Received:
    4
    But the automation app "Automate" does the samething, it detects change in media state(playing to paused or paused to playing) and executes the task accordingly.

    Sent from my ONEPLUS A5000 using Tapatalk
     
  10. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Maybe it uses media notifications to do that?
     
  11. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    120
    Likes Received:
    4
  12. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Yeah. You can do that same thing with AutoNotification :)
     
  13. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    120
    Likes Received:
    4
    Sorry but AutoNotification doesn't work for all my media apps, while Automate does.

    Oneplus 5 Stock OOS
     

Share This Page