How to detect the current playing video in the official Youtube app

Viewed 361

I want to implement an application that listens for events from the official Youtube Application, I've been digging into a lot of question here in Stackoverflow but I couldn't find a good answer.

I want to listen when a video start and pause/stop, I've seen in the logcat some relevant information. The only thing that is missing is the video ID. But maybe there is another better way to get this information.

enter image description here

And I know It is possible because that's exactly what Musixmatch does:

enter image description here

Thank you

1 Answers
Related