ankenyr / jellyfin-youtube-metadata-plugin

Youtube Metadata Plugin for Jellyfin
GNU Affero General Public License v3.0
472 stars 29 forks source link

Support for SponsorBlock #26

Open twiclo opened 3 years ago

twiclo commented 3 years ago

SponsorBlock is a public crowd sourced database of segments in YouTube videos. I would like to see this plugin query SponsorBlock and add them as chapters. YouTube now supports chapters for videos so we need to decide how we'll line those two things up. I believe youtube-dl will provide chapter info if the video had it.

How doable is this? What would need to be done. I might take a look in to it as a primer before trying to help with the Shows library

ankenyr commented 3 years ago

This looks do-able. How familiar are you with c# and jellyfin in general?

Some things we would want to consider are 1) This should be toggleable in the settings and default to off 2) Would you want to use the hashing api which provides some privacy on the video that is being watched/requested.

Let me know if you wish to try and take a stab at this.