Pukabyte / Real-Debrid-Scripts

Scripts I use to help maintain symlinks with Real-debrid and organise my library.
17 stars 3 forks source link

Broken symlinks when original files are deleted #1

Open subexx opened 8 months ago

subexx commented 8 months ago

First of all thanks for your guide and scripts. What happens to the symlinks when file gets removed from real-debrid. I have few torrents oin my library which says uncached, but they still appear in plex/emby but won't play. Any idea how to clean this up? Is there a way to reinser it automatically when file gets removed?

Pukabyte commented 7 months ago

To be honest, best bet is to run a script to delete broken symlinks and then refresh and rescan the arrs and re download. I would also rather do this manually instead of automatically in case rclone/zurg goes down and the script triggers, resulting in deleting all symlinks.

I will post the script I currently use to do this