AutoNotification AN not picking up PowerAmp Notification contents

Discussion in 'AutoApps' started by L.Drake, Mar 30, 2015.

  1. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    Profile - Screenshot

    Seeing as MediaUtilities will not work on Lollipop, I'm trying to use AN to get metadata info from the poweramp now playing notifications.

    AN picks up the notification, but doesn't register any contents.

    Is there a trick to it?
     
    Last edited: Apr 1, 2015
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    Because that is a custom notification layout you need to use the "get all texts" option and then check the %antexts() variable.
     
  3. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    I'll look into that, after flashing the rom and reinstating my backup. THanks :)
     
  4. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    Works like a charm, thank you.
    ---
    Now after getting that text, I noticed I can't split the variable, %antexts(#) returns blank, and anything regarding the variable fails...
     
    Last edited: Apr 1, 2015
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    Wait, so what part did work? :p
     
  6. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    It picks up the contents now, i can't work with Them though
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    Hhmmm then how did you realize it's picking up the contents?
     
  8. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    I can echo the variable %antexts, but their contents are not accessible in any form. Neither splitting, nor setting them, nor sesnding them to zooper.
     
  9. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
  10. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    So what do you get if you use the Tasker flash action with %antexts(1)?
     
  11. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    Nothing.
     
  12. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    But if you flash %antexts() all the texts appear?
     
  13. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    Yes. I've checked taskers run logs, and it errors out von the split
     
  14. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    Sorry, but that doesn't seem right. If %antexts() works, then %antexts(1) should work too.
    Can you please export your current profile (description, not xml) so I can take a look? Thanks in advance
     
  15. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
  16. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    I'm currently in an area with intermittent cell service, if I get net it's Edge at best, sorry in advance for late answers.
     
  17. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    Any reason why you're doing this?
    Code (Text):
    A3: Variable Aufteilen [ Name:%antexts Teiler:, Basis löschen:An ]
     
  18. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    I've been trying to split after nothing came up
     
  19. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    Okay, can be marked as solved... It works after removing the split... Why it didn't work before I had initially split it, I have no clue... Seems to be a Gremlin.
     
  20. L.Drake

    L.Drake Member

    Joined:
    Feb 12, 2015
    Messages:
    61
    Likes Received:
    1
    Hm, is it just me or does the event fire twice? First Time it Shows every thing normally, second Time it comes up empty?
     

Share This Page