AutoWeb Checking if Spotify track is in your current library

Use the Spotify API to check your library for the currently playing track

  1. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    joaomgcd submitted a new AutoApps project:

    Checking if Spotify track is in your current library - Use the Spotify API to check your library for the currently playing track

    Read more about this project...
     
  2. dahod83

    dahod83 New Member

    Joined:
    Jan 3, 2017
    Messages:
    4
    Likes Received:
    0
    WoW that´s so amazing. I tryed to save track in my liberty but i dont get it. Have you some tutorial for that too?

    greez
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    You have the Save track to library action in AutoWeb :)
     
  4. dahod83

    dahod83 New Member

    Joined:
    Jan 3, 2017
    Messages:
    4
    Likes Received:
    0
    Yeah i know... but when i but it for ecample in your task under "false" nothing happen
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
  6. dahod83

    dahod83 New Member

    Joined:
    Jan 3, 2017
    Messages:
    4
    Likes Received:
    0
    Lied gefällt (270)
    A1: [X] Home-Screen anzeigen [ Seite:0 ]
    A2: [X] Vibrieren [ Zeit:200 ]
    A3: AutoNotification Query [ Konfiguration:Notification Apps: Spotify
    Use Regex: false
    Has Reply Action: false
    Get All Fields : false Timeout (Sekunden):20 ]
    A4: Popup-Benachrichtigung [ Text:%anticker() Lang:Aus ]
    A5: AutoWeb Web Service [ Konfiguration:API: Spotify
    API Action: Search tracks
    Market: AT Timeout (Sekunden):120 ]
    A6: Popup-Benachrichtigung [ Text:%items_id() Lang:Aus ]
    A7: AutoWeb Web Service [ Konfiguration:API: Spotify
    API Action: Check user's saved tracks
    Market: AT Timeout (Sekunden):120 ]
    A8: Popup-Benachrichtigung [ Text:%result() Lang:Aus ]
    A9: If [ %result() ~R true ]
    A10: Vorlesen [ Text:Lied bereits gespeichert Maschine: Stimme:com.google.android.tts:deu-deu Stream:3 Tonhöhe:5 Geschwindigkeit:5 Respect Audio Focus:An Network:Aus sofort mit Task fortfahren:Aus ]
    A11: Else
    A12: AutoWeb Web Service [ Konfiguration:API: Spotify
    API Action: Save track to Library
    Market: AT Timeout (Sekunden):120 ]
    A13: [X] Task Ausführen [ Name:Lied gefällt ausführung Priorität:%priority Parameter 1 (%par1): Parameter 2 (%par2): Rücksetzungswert Variable: Stop:Aus ]
    A14: End If
     
  7. dahod83

    dahod83 New Member

    Joined:
    Jan 3, 2017
    Messages:
    4
    Likes Received:
    0
    ah ok... i se it works..but i see it not actually in my spotify app in the device.. but i see that it works when i look in the web player..the problem i wanna only save one song not all ID´s of this song... so that save all id´s

    EDIT: is there a way to get only one ID? or to split them
     
    Last edited: Jan 4, 2017

Share This Page