-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The YouTube app neither provides the Media ID nor a media URL.
Change the architecture to support optional custom actions executed after recording a bookmark, and optional custom actions for playing back a bookmark (which Spotify's integration will also need)
When a bookmark was created, in order to get the video ID, make a HTTP request to the YouTube search API, providing the mediaMetadata.getString(MediaMetadataCompat.METADATA_KEY_TITLE), and filter for the result that has the exact same duration as the one given in the audio track's meta-data. This way, we can retrieve the YouTube video ID.
Starting the playback for a bookmark could then be done by simply launching an intent with an URL such as https://youtu.be/<video-id>?t=<seconds>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels