• _____@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    3
    ·
    2 months ago

    I’m not 100% sure we both are talking about the same things but I’m going to assume you mean playing songs on Spotify and then having your phones lockscreen display that song.

    The answer to that is UI APIs, your phone likely exposed APIs to developers who make apps for your phone. They can use these system APIs to tell your phone’s music display UI thing what song you are playing and what the buttons (next, prev, stop/play should do)

    These APIs are client side but I wouldn’t be surprised if they phoned home in some way.

    An example of this could be that the internal UI API may phone home to tell Google that a client is choosing Spotify as their music player.

    That being said I don’t know if this is practical or likely. It is possible and doable though.

    • Alk@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      2 months ago

      That’s not what they were referring to. I have a setting on my pixel 7 (and have had it on 2 older pixels) that automatically listens foe music playing anywhere around the phone and shows the title on the always on display and on the lockscreen. It samples audio once every several seconds and listens for music and if it hears some it activates, records some of the song, and finds the info. The battery usage is negligible in my experience and it’s actually very useful, if you don’t care about privacy.