Retrieve media info and artwork - Android TV integration

Hello,
It would be great to retrieve the info of the media being played (video title, artist, song title …) and its artwork on an AndroidTV device. At the moment, the Android TV media player only shows the running app and can display the live screen capture as artwork.
I know the Chromecast integration can retrieve such information (not always the artwork though), it would be great to add these options to the Android TV integration too.

Mat

This would almost certainly need to be done on a per app basis. What if the current app is Netflix? YouTube? Hulu? Firefox? etc.

The first step is providing an ADB command that can be used to retrieve this data for a particular app. The next step would be to parse the info from the ADB response.

Contributions are always welcome.

https://github.com/JeffLIrion/python-androidtv