deepjyoti30 / ytmdl

A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.
https://ytmdl.deepjyoti30.dev
MIT License
3.22k stars 164 forks source link

Add sponsorblock support #287

Open hegdenischay opened 1 year ago

hegdenischay commented 1 year ago

Feature Request

Add sponsorblock support to this project.

Checklist

Description

Sponsorblock has basically crowdsourced parts of the video to skip, and it's part of the parent yt-dlp project. You can use --sponsorblock-remove to remove non-audio segments for videos that have that category, instead of the trim inbuilt.

deepjyoti30 commented 12 months ago

@hegdenischay Thanks for raising the issue. It will be a bit more complex than just using that flag for yt-dlp as ytmdl does it's own processing of the audio.

As I understand, yt-dlp handles removing segments of the audio in post processing but ytmdl handles it's own post processing and does not use yt-dlpwhich means that sponsorblock integration will have to be separate as well. However, this is definitely interesting and I will add support for this.