title: Is it possible to get currently-playing-song information?
body: <h2>Background</h2>
  <p>I want to see if I can get information about the currently playing song, to be able to show more information about it, or just the information I get instead.</p>
  <p>I've wanted to check it out because I've noticed there is a setting (<a href="https://i.imgur.com/kJH0JJk.png" rel="nofollow noreferrer">here</a>) on a popular music player app called &quot;Musicolet&quot;, of &quot;Broadcast album art&quot;. Sure it says just &quot;album art&quot;, but it also says it's for &quot;3rd party&quot;. So I wanted to investigate if it's possible.</p>
  <h2>The problem</h2>
  <p>Not sure if it's possible or not. I see conflicting answers about it.</p>
  <h2>What I've found</h2>
  <p>I've found some interesting links about it:</p>
  <ol>
  <li>I've also found a question on StackOverflow (<a href="https://stackoverflow.com/q/28007059/878126">here</a>) about getting it, but it is missing some crucial code.</li>
  <li>On the other hand, I've found another post saying that it's not official and that you probably can't do it, <a href="https://stackoverflow.com/a/18177695/878126">here</a>.</li>
  <li>I've noticed that Spotify had (or still have?) something like that (<a href="https://developer.spotify.com/documentation/android/guides/android-media-notifications/" rel="nofollow noreferrer">here</a>, except I can't see album art there), but it's a bit old.</li>
  <li>I've also found an interesting interface <a href="https://developer.android.com/reference/android/media/RemoteControlClient.OnMetadataUpdateListener.html" rel="nofollow noreferrer">RemoteControlClient.OnMetadataUpdateListener</a> (from <a href="https://stackoverflow.com/a/26025809/878126">here</a>), but couldn't find any sample or tutorial about it, except perhaps <a href="https://forum.xda-developers.com/showthread.php?p=48702254#post48702254" rel="nofollow noreferrer">this one</a> one from XDA.</li>
  </ol>
  <p>Of course, I tried using the tips I've found from those links, but failed to get anything to really work.</p>
  <p>So maybe it was not possible in the past, and then it was possible. But then for some reason I don't see a sample/tutorial of how to use it, including on the docs.</p>
  <p>I think that it if's possible, it requires notification access, because it's about the same as reading the currently playing music from the notification of the music player.</p>
  <h2>The questions</h2>
  <ol>
  <li><p>Is it possible to register to a callback (and also query whenever you wish) of when a song plays, and get information about it ?</p>
  <p>Meaning song-title, album-name, file-path/uri, album-art...</p>
  </li>
  <li><p>If it's possible, how? What does it require?</p>
  </li>
  <li><p>If it's not possible, is there any workaround? Anything that works for some apps? Maybe something that exists in the notifications, more officially, that I can detect that it's of this kind, and fetch this information?</p>
  </li>
  </ol>