Woahai321 / list-sync

ListSync automates the import of your IMDB & Trakt lists into Overseerr & Jellyseerr, simplifying your movie management.
https://soluify.com
50 stars 5 forks source link

I tested on your script it working well, but any way to batch delete request overseerr/jellyseerr? #4

Open ericvlog opened 1 month ago

ericvlog commented 1 month ago

Because it will add alot of content inside request.

thanks.

Woahai321 commented 1 month ago

Hey, thanks for reaching out, glad to hear it is working well for you.

As it stands currently the script searches for the title and requests it, i suppose we could add something so the user can input the list id and instead it do the oposite, search for the title and delete anything thats been requested and that isn't now available.

I can look to implement some functionality like this if this would suffice, unless you have another route or outcome you are looking to achieve. I'm busy with work and studies this Q but look to make this a v1.0 before xmas.

Any other suggestions you think should make it to the v1.0?

ericvlog commented 1 day ago

it quite important able to batch delete request because all list is sync to overseerr it will become huge request.

at https://github.com/sct/overseerr/discussions/548 on last comment it say can use DELETE FROM media_request WHERE id IN (SELECT media_request.id FROM media LEFT JOIN media_request ON media.id = media_request.mediaId WHERE media.status=5);

but I tested seem is unsuccessful.