rivenmedia / riven

Handle your Media Library with ease!
GNU General Public License v3.0
310 stars 43 forks source link

Implement file watching service to emit delete events when symlinks are deleted #231

Open omnunum opened 7 months ago

omnunum commented 7 months ago

When a user deletes something in Plex, plex will delete the symlink, and we need to be able to detect this to delete the container item for it.

dreulavelle commented 7 months ago

Added this feature in https://github.com/dreulavelle/iceberg/pull/224/commits/514ef4c9d5596382307478abd844ca6534e8572a

We need to bring media_items into the symlinker class so I can get the item using the path, then we can handle it from there to remove from content services and whatnot..

I'm not sure how to handle bringing that in with the new changes you've made so far though.

dreulavelle commented 7 months ago

I left a couple notes and todo's in there for myself.

Here's what its doing,

image