Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Expose “Now Playing” Metadata for Android/Fire TV #4300

Open
mizuxe opened this issue Jan 13, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@mizuxe
Copy link

mizuxe commented Jan 13, 2025

Describe the feature you'd like to request

I’d love for SmartTube to expose richer metadata about the currently playing video on Android/Fire TV devices. Specifically, I’d like to retrieve details such as Title, Channel, Thumbnail URL, Duration, and Current Position, so external tools (like Home Assistant) can display and track what’s being watched.

Describe the solution you'd like

Ideally, SmartTube would populate these fields in either the MediaSession or the foreground notification, similar to how many other video apps do it on Android TV:

  • Title (video’s name)
  • Channel (creator/channel name)
  • Thumbnail URL (artwork or current time stamp)
  • Duration (total length)
  • Current Position (playback timestamp)

This would let home automation dashboards show real-time “Now Playing” info without scraping the screen or pulling logs. For example, Home Assistant could display the title and channel in a Lovelace card or trigger automations based on the current video position.

I know this would mean a lot to me and other home automators.

Describe alternatives you've considered

  1. UI Automator Screen Scraping: Dumping the UI layout to see if the title is visible, but only containers and surfaces show up—no text nodes.
  2. Notifications / MediaSession Queries: Currently, they only provide basic playback state and a generic notification. No title or channel info is available.

Exposing metadata through the built-in Android frameworks (MediaSession or notifications) would be the most straightforward and user-friendly way to address this. Thank you for considering this request!

@mizuxe mizuxe added the enhancement New feature or request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant