Jump to content

any way to delete all collections


Recommended Posts

Ronstang
Posted
14 minutes ago, Luke said:

Do you have nfo files next to your videos?

Yes sir

Posted
18 minutes ago, Ronstang said:

Yes sir

And do they contain <set tags?

Ronstang
Posted (edited)
20 minutes ago, Luke said:

And do they contain <set tags?

I don't see that but where would it be exactly?  All I see with "set" us this:

 <set tmdbcolid="91663">
    <name>Airplane Collection</name>
  </set>
  <uniqueid type="TmdbCollection">91663</uniqueid>
  <uniqueid type="Imdb">tt0080339</uniqueid>
  <uniqueid type="Tmdb">813</uniqueid>

 

Edited by Ronstang
GrimReaper
Posted
5 hours ago, Ronstang said:

I don't see that but where would it be exactly?

What do you mean by that? That IS the <set> node that gets read and Collection (that you don't want) created. 

Happy2Play
Posted
5 hours ago, Ronstang said:

All I see with "set" us this:

 <set tmdbcolid="91663">
    <name>Airplane Collection</name>
  </set>
 

Yes if your item metadata contains this information, it will honor it and create the collection.

Ronstang
Posted
6 hours ago, Happy2Play said:

Yes if your item metadata contains this information, it will honor it and create the collection.

Great.....I didn't ask for it so how do I get rid of it?

Posted
6 hours ago, Ronstang said:

Great.....I didn't ask for it so how do I get rid of it?

Remove those Set tags from the NFO.  What creates your NFO files?

BTW - I unmarked the previous solution to this thread since the system is different now than when this question was originally asked.

Ronstang
Posted
5 hours ago, ebr said:

Remove those Set tags from the NFO.  What creates your NFO files?

Really?  Manually?  That's insane.  I told you I have 320 collections with who knows how many movies.  There needs to be a better solution on your end when these collections get created without our permission.

pwhodges
Posted (edited)

As far as Emby's concerned, it's with your permission as the information is in the .nfo files.

Competent text editors (e.g. NotePad++, TextPad) can easily be told to remove everything from "<set" to "/set>" in all .nfo files under a particular directory.

Paul

Edited by pwhodges
Ronstang
Posted
Just now, pwhodges said:

As far as Emby's concerned, it's with your permission as the information is in the .nfo files.

Competent text editors (e.g. NotePad++, TextPad) can easily be told to remove everything from "<set" to "\set>" in all .nfo files under a particular directory.

Paul

Thanks Paul......it's easier to just flush the database and remove all nfo files and start over.  I am actually in the process of doing this as about half my content has been encoded differently and I am repopulating a new server anyway.  When I'm done with that I will just remove all nfo files from any content I haven't deleted and let emby make them new ones.

Ronstang
Posted

OK, Paul helped me and I used Notpad++ to remove the set tags from the nfo files in one directory as a test and it worked great.  Thanks as always Paul.

Now, how do I get the collections to go away??

Posted
7 hours ago, ebr said:

What creates your NFO files?

 

Ronstang
Posted
29 minutes ago, ebr said:

What creates your NFO files?

Emby

Posted
15 hours ago, Ronstang said:

Emby

Okay, then, at some point, you must've had that option turned on.

Posted

I'd like to throw a wrench into the NFO <set> theory, for how the collections are getting automatically created. I too am having the is issue of Emby automatically creating random movie collections. I've made sure the create collections options within Emby are disabled. Because I've used Kodi for years, my movies are downloaded with Radarr, then I use Ember Media Manager to "manage" the movies. I've verified all the Collections functions have been disabled within EMM. Matter of fact it strips out the collection <set> if its found in the NFO.

I recently deleted all the collections out of Emby. Verified the folders were gone from the metadata folder. Restarted Emby server. This morning there were three new collections in Emby. Each collection was created from one of the new movies added to library yesterday. To exclude the idea about the NFO file and <set> option. None of the newly added movies had the <set> option in their NFO file.

So the idea the new collections are getting created from the NFO isn't the reason. It has to be pulling the information for one of the movie metadata downloaders.

Someone needs to solve this issue.

Posted
15 minutes ago, LLMedia said:

I recently deleted all the collections out of Emby. Verified the folders were gone from the metadata folder

Hi.  That won't really have any kind of persistent effect since these are virtual derived items now.

15 minutes ago, LLMedia said:

I've made sure the create collections options within Emby are disabled

Can we see screen shots of the library settings for each of your movie libraries?  Also, the server log from when those new items were imported?

Thanks.

Posted

Thanks for looking into this issue. I've attached the log and screen captures asked.

I only have one "movie" library and one "collections" library.

 

movies-settings.PNG

collection-settings.PNG

embyserver-log.zip

Posted

A follow up. This afternoon around 3:30pm, 28 new Movie Collections were created. When reviewed several of these collections, it looks like all of those movies have a "<set>" collection in their respective NFO files.

I've used EMM to removed the <set> from each of those NFO files. We'll see if these movies are again re-added into new collections in the future.

So it looks like maybe Emby is rescanning the NFO files to create these new Movie Collections?  I started with 800+ movie collections, I hope I don't have to "clean" the NFO files from all of those movies.

Posted
1 minute ago, LLMedia said:

A follow up. This afternoon around 3:30pm, 28 new Movie Collections were created. When reviewed several of these collections, it looks like all of those movies have a "<set>" collection in their respective NFO files.

I've used EMM to removed the <set> from each of those NFO files. We'll see if these movies are again re-added into new collections in the future.

So it looks like maybe Emby is rescanning the NFO files to create these new Movie Collections?  I started with 800+ movie collections, I hope I don't have to "clean" the NFO files from all of those movies.

If the nfo files change, then yes Emby Server will read them again to import the changes.

ertagon2
Posted
On 7/26/2022 at 5:21 AM, Ronstang said:

You don't seem to understand......I don't care if it works correctly or not and there is nothing wrong with my metadata.  Simply tell me how to turn off automatic collections and if I can't please make it so I can.....I do not want it, it is useless to have 320  collections I don't want.  PERIOD

This has been some problem for some time.
But please keep in mind the sate of emby is "pretty good".

What I ended up doing was (I am on docker tho) making the folder in which the Collection library config is being saved into, read only. That stopped the Collection from appearing in my libraries (since it's apparently impossible to achieve on the dev side or so was I told). Dunno if this helps you but it helped me so I thought I'd share it.

On 7/26/2022 at 12:31 AM, Ronstang said:

Yes please.....automatic collections are not only stupid

So it's not only me. Thank you dear sir, you just made my day.

Posted (edited)

I can confirm it looks like the NFO files of the movies in these new collections were modified (timestamp updated) yesterday at around 4pm. So I need to figure out what application is touching these NFO files.

My goal is that I want to create my own collections from script(s), as I was doing in Plex. So making the Collection directory read-only wouldn't be a viable solution in my case. As I investigate, I keep this tread updated.

Edited by LLMedia
Posted
4 hours ago, Luke said:

If the nfo files change, then yes Emby Server will read them again to import the changes.

It would seem logical to me that if the Movie Library option "Import collection information from metadata downloaders" is disabled? Then the library <set> information in the NFO would be ignored. When the NFO file is re-read on file change.

Ronstang
Posted
15 hours ago, ebr said:

Okay, then, at some point, you must've had that option turned on.

Uh....No, you had it turned on automatically with a server update when it should have been off by default so I had to go into my library settings and turn it OFF like it should have been....BUT by then all this damage had already been done.

My question remains unanswered......because deleting the information in the nfo files didn't make the collections go away as there is no way to manually screen the collections folder and please don't tell me to select all the collections and delete them because there is no provision for select all in the three dot menu once I select one and I don't want to manually  select and delete one collection at a time to the tune of 320 time.

Posted

The multi-select tool can help you delete more than one quickly. It will soon have shift to multi-select support as well.

Ronstang
Posted
12 hours ago, Luke said:

The multi-select tool can help you delete more than one quickly. It will soon have shift to multi-select support as well.

Did you even read my earlier post?.....there is NO MULTI SELECT on my server, I have tried but it is not available in the 3 dot menu.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...