tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

Adding to Raindrop (or other "notifications")

Open derekantrican opened this issue 6 months ago • 3 comments

I've written a very similar system to TubeSync and am eager to stop maintaining one of my personal projects and help out here :)

The main thing I use my system for is adding new YouTube videos to Raindrop.io (I used to use Pocket, but that has since been deprecated). How would I add this in TubeSync? I don't see anything in the web UI - should I be creating a custom task of some sort?

Maybe this is thinking too big, but if TubeSync is claiming to be the "Sonarr for YouTube" (according to the README) then maybe it should have a notification system like Sonarr where notifications can be sent for new videos

derekantrican avatar Jun 30 '25 19:06 derekantrican

I'd personally add a new media server type if I wanted to do notifications for each new video.

Either that or use a custom post processor command to trigger a new notification for each video after it was moved into place.

If you already have Jellyfin or Plex working with TubeSync, then a plugin to handle notifications there might make more sense.

tcely avatar Jun 30 '25 20:06 tcely

It may be odd, but I don't want to use TubeSync to do downloads - just for the "YouTube source management" plus this notification idea. So I haven't set up any media servers.

I'll look around in the code to see what I could add to. Are there already custom post processors you could link me to?

derekantrican avatar Jun 30 '25 20:06 derekantrican

The indexing task is where you want to start looking.

I added a stupid little post processor to check that we don't delete videos when yt-dlp was returning partial playlists for a while.

https://github.com/meeb/tubesync/blob/b24441dbabce675431a8830c7dc7dcbb07e7a50e/tubesync/sync/youtube.py#L172-L177

https://github.com/meeb/tubesync/blob/main/tubesync/full_playlist.sh

There are also some examples in old issues.

https://github.com/meeb/tubesync/issues/302#issuecomment-2963569313

tcely avatar Jun 30 '25 20:06 tcely