AutoNotification My Poweramp doesn't like AN?

Discussion in 'AutoApps' started by Brambo, May 4, 2017.

  1. Brambo

    Brambo New Member

    Joined:
    May 4, 2017
    Messages:
    1
    Likes Received:
    0
    Hey,
    I've tried to make my lineage OS 14.1-phone (if this is useful info :)) say the title and artist playing in Google Play Music and in Poweramp. For GPM that was no problem at all, Poweramp however, does not go beyond saying "%antitle by %antext".
    I thought I could just make the same profile and task for the both of them, but something goes wrong, but I don't see where. I've googled a lot on this topic, tried different settings, but nothing worked so far. Can anyone help me out?

    Description GPM:
    Code (Text):
    Profile: Playsay (21)
    Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
    Notification App: Play Music
    Get All Fields : true ]
    Enter: Say Track2me (20)
        A1: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
        A2: AutoNotification Query [ Configuration:persistency Type: Both
    Notification Apps: Google Play Music
    Get All Fields : true Timeout (Seconds):20 ]
        A3: Say [ Text:%antitle by%antext Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
    Description Poweramp:
    Code (Text):
    Profile: Powerampsay (8)
        Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
    Notification Apps: Poweramp
    Get All Fields : true ]
    Enter: Say Track2me B (33)
        A1: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
        A2: AutoNotification Query [ Configuration:persistency Type: Both
    Notification Apps: Poweramp
    Get All Fields : true Timeout (Seconds):20 ]
        A3: Say [ Text:%antitle by %antext Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
     
    Last edited by a moderator: May 5, 2017
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Just FYI, you don't need to do the Query in the Task :) The variables are available directly from the profile.

    About the Poweramp notification, maybe it doesn't use a regular notification layout? Try using the "Get All Texts" option and then check the variable for that and see if the texts are there.
     

Share This Page