Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mass delete collections #155

Open
gitttt54 opened this issue Sep 27, 2022 · 0 comments
Open

Mass delete collections #155

gitttt54 opened this issue Sep 27, 2022 · 0 comments
Labels
1. Script request Request for new script 2. Level: Easy The request is easy to make 3. Request accepted Request is accepted and will be realised

Comments

@gitttt54
Copy link

Hello,

I searched the repository, but did not find anything suitable, therefore my script request:

I have about 3000 collections in my plex libraries. And I'd like to delete/remove most of them all at once. in one single rush, if possible.

Those collections I'd like to remove are named " Collection" or " Collezione" or " Filmreihe"
I too have collections named " Collection (Canon)" or similar.

It would be great to start a script, say

remove_collections.ph -- "* Colle*" which would remove those " Collection" and " Collezione" in one single go.

remove_collections.ph -- "B* Collezione" would only remove collections starting with letter "B" and ending with "Collezione"

remove_collections.ph -- " *Collection *" (space before first * and before last *) would remove all collections containing the word " Collection "

(I have no idea, if it would be needed to define the library too? I don't know, if collections are "global" or depend on a single library)

(maybe define, wether to only remove normal collections or only smart-collections? remove_collections.ph -- "* Collection" --only-smart)

Would that be possible?

Thank you.

@gitttt54 gitttt54 added the 1. Script request Request for new script label Sep 27, 2022
@Casvt Casvt added 3. Request accepted Request is accepted and will be realised 2. Level: Easy The request is easy to make labels Sep 27, 2022
@Casvt Casvt changed the title remove collections with wildcards from the plex library in one go. Mass delete collections May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Script request Request for new script 2. Level: Easy The request is easy to make 3. Request accepted Request is accepted and will be realised
Projects
None yet
Development

No branches or pull requests

2 participants