Jump to content
riffy

How to delete something that's duplicated nearly 1,000 times?

Recommended Posts

riffy

How to delete something that's duplicated nearly 1,000 times? There's no shift click to select them all, so how do I do it?

Share this post


Link to post
Share on other sites
fogpuppy

If you're talking about a media file that truly has 1000 duplicates you'd be way better off deleting it in the OS and just have Emby rescan the library.  Then Emby will remove the "duplicates" that don't exist anymore.

If you're asking about something else then please explain further.

Share this post


Link to post
Share on other sites
Luke

Hi, what exactly is duplicated?

Share this post


Link to post
Share on other sites
riffy

It's a collection item that is duplicated over 1,000 times.

Share this post


Link to post
Share on other sites
Luke
8 hours ago, riffy said:

It's a collection item that is duplicated over 1,000 times.

A collection, or an item within a collection?

Share this post


Link to post
Share on other sites
riffy

A collection of 3 Superman movies. 

Share this post


Link to post
Share on other sites
riffy

Here's a screenshot.

xfy5iCM.jpg

Share this post


Link to post
Share on other sites
Luke

Is another new one being created with each new library scan?

Share this post


Link to post
Share on other sites
riffy

No idea.. there's so many at this point. Again there's like a 1,000 of them. I wouldn't know if a few more popped up or not.

Share this post


Link to post
Share on other sites
Luke

Doesn't the list screen show a count?

Share this post


Link to post
Share on other sites
riffy

I guess it does. Never paid attention to that. I don't think it's changed in some time. I have emby set up to scan every 15 mins too.

Share this post


Link to post
Share on other sites
PenkethBoy

As its a collection then if you go to

programdata/data/collections

do you have multiple "Superman Collection" sub folders?

if so you can delete them - run a library scan - and they should disappear

Wont stop new ones being created - i assume you have the autobox set plugin loaded - which is likely to be adding these duplicates after every library scan - not sure why

Share this post


Link to post
Share on other sites
riffy

Did that a long time ago. They're still on Emby even tho I deleted the sub folders.

Share this post


Link to post
Share on other sites
PenkethBoy

So what else have you done/tried that you have not told us?

Share this post


Link to post
Share on other sites
Happy2Play

Have you tried removing the items that make up the Collection and doing a library scan?

Share this post


Link to post
Share on other sites
riffy
9 hours ago, Happy2Play said:

Have you tried removing the items that make up the Collection and doing a library scan?

Thank you, that worked. Is there an easy way to do it in the web app tho? This not being able to select multiple things really gets in the way a lot.

Share this post


Link to post
Share on other sites
riffy

And it's back... deleting the movies removes the collection, but as soon as I put them back, I have over 2,000+ duplicated items again.

Share this post


Link to post
Share on other sites
vdatanet

Maybe this is related:

 

Share this post


Link to post
Share on other sites
vdatanet
Posted (edited)

It must be something wrong with your metadata. That movies belong to The Death of Superman Collection instead of Superman Collection. I would:

- Edit movies metadata clearing all ids, movie and collection

- Identify movie again

- Remove collections

- Force refresh Box Sets

In fact, as far as I know, Superman Red Son does not belong to any collection

Edited by vdatanet

Share this post


Link to post
Share on other sites
vdatanet

I had the same problem with Superman Red Son. First it was identified as The Death of Superman, then I ran "Identify" to fix match, all metadata was fixed, but collection id wasn't removed.

Share this post


Link to post
Share on other sites
riffy

It's different movies this time. I did all those things too. The collection isn't even the right collection. It's 3 Blade movies... 2,500 Broken Blade Collections. I've had the issue in that other thread too in the past. I've had the actual collections duplicate in the past too where I end up with a dozen different collection folders.

Share this post


Link to post
Share on other sites
vdatanet
Posted (edited)

Can you post the metadata of any of those Blade movies? The section external ids (themoviedbid, collectionid...)

Edited by vdatanet

Share this post


Link to post
Share on other sites
riffy

The collection metadata?

<?xml version="1.0" encoding="UTF-8" standalone="true"?>

-<Item>

<ContentRating>R</ContentRating>

<Added>2/14/2020 4:08:22 AM</Added>

<LockData>false</LockData>

<Overview>Rygart Arrow is the only one in his world who lacks the inherent ability to power up quartz, the energy source that makes all of the machines run. Nevertheless, he's pretty well connected. The King and Queen of his country of Krisna happen to be old college friends. But so is Zess, the guy who is leading the army of a neighboring kingdom in an attack on Krisna. How did it comes to this? There's little time to ponder the implications as an army in giant, mechanized battle suits attacks. Arrow just feels like he's in the way - until he comes across a powerful, ancient mech that no one has yet to be able to figure out how to run. But his natural affinity for the suit's operating mechanism may just turn Arrow into the most important player of all.</Overview>

<LocalTitle>Broken Blade Collection</LocalTitle>

<TmdbId>102940</TmdbId>


-<Genres>

<Genre>Horror</Genre>

<Genre>Action</Genre>

<Genre>Fantasy</Genre>

<Genre>Thriller</Genre>

<Genre>Science Fiction</Genre>

<Genre>Adventure</Genre>

</Genres>


-<Studios>

<Studio>Marvel Enterprises</Studio>

<Studio>New Line Cinema</Studio>

<Studio>Amen Ra Films</Studio>

<Studio>Imaginary Forces</Studio>

<Studio>Milk & Honey</Studio>

<Studio>Justin Pictures</Studio>

<Studio>Linovo Productions GmbH & Co. KG</Studio>

<Studio>Pacific Title and Art Studio</Studio>

<Studio>Shawn Danielle Productions Ltd.</Studio>

<Studio>Peter Frankfurt Productions</Studio>

</Studios>


-<CollectionItems>


-<CollectionItem>

<Path>\\192.168.1.100\pool\Media\Movies\Keep\Blade (1998)\Blade (1998) Bluray-1080p.mkv</Path>

</CollectionItem>


-<CollectionItem>

<Path>\\192.168.1.100\pool\Media\Movies\Keep\Blade II (2002)\Blade II (2002) Bluray-1080p.mkv</Path>

</CollectionItem>


-<CollectionItem>

<Path>\\192.168.1.100\pool\Media\Movies\Keep\Blade Trinity (2004)\Blade Trinity (2004) WEBDL-1080p.mkv</Path>

</CollectionItem>

</CollectionItems>

<DisplayOrder>PremiereDate</DisplayOrder>

</Item>

 

Share this post


Link to post
Share on other sites
vdatanet
1 minute ago, riffy said:

The collection metadata?


<?xml version="1.0" encoding="UTF-8" standalone="true"?>

-<Item>

<ContentRating>R</ContentRating>

<Added>2/14/2020 4:08:22 AM</Added>

<LockData>false</LockData>

<Overview>Rygart Arrow is the only one in his world who lacks the inherent ability to power up quartz, the energy source that makes all of the machines run. Nevertheless, he's pretty well connected. The King and Queen of his country of Krisna happen to be old college friends. But so is Zess, the guy who is leading the army of a neighboring kingdom in an attack on Krisna. How did it comes to this? There's little time to ponder the implications as an army in giant, mechanized battle suits attacks. Arrow just feels like he's in the way - until he comes across a powerful, ancient mech that no one has yet to be able to figure out how to run. But his natural affinity for the suit's operating mechanism may just turn Arrow into the most important player of all.</Overview>

<LocalTitle>Broken Blade Collection</LocalTitle>

<TmdbId>102940</TmdbId>


-<Genres>

<Genre>Horror</Genre>

<Genre>Action</Genre>

<Genre>Fantasy</Genre>

<Genre>Thriller</Genre>

<Genre>Science Fiction</Genre>

<Genre>Adventure</Genre>

</Genres>


-<Studios>

<Studio>Marvel Enterprises</Studio>

<Studio>New Line Cinema</Studio>

<Studio>Amen Ra Films</Studio>

<Studio>Imaginary Forces</Studio>

<Studio>Milk & Honey</Studio>

<Studio>Justin Pictures</Studio>

<Studio>Linovo Productions GmbH & Co. KG</Studio>

<Studio>Pacific Title and Art Studio</Studio>

<Studio>Shawn Danielle Productions Ltd.</Studio>

<Studio>Peter Frankfurt Productions</Studio>

</Studios>


-<CollectionItems>


-<CollectionItem>

<Path>\\192.168.1.100\pool\Media\Movies\Keep\Blade (1998)\Blade (1998) Bluray-1080p.mkv</Path>

</CollectionItem>


-<CollectionItem>

<Path>\\192.168.1.100\pool\Media\Movies\Keep\Blade II (2002)\Blade II (2002) Bluray-1080p.mkv</Path>

</CollectionItem>


-<CollectionItem>

<Path>\\192.168.1.100\pool\Media\Movies\Keep\Blade Trinity (2004)\Blade Trinity (2004) WEBDL-1080p.mkv</Path>

</CollectionItem>

</CollectionItems>

<DisplayOrder>PremiereDate</DisplayOrder>

</Item>

 

No, the movie metadata

Share this post


Link to post
Share on other sites
riffy

Blade:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<movie>
  <plot>When Blade's mother was bitten by a vampire during pregnancy, she did not know that she gave her son a special gift while dying—all the good vampire attributes in combination with the best human skills. Blade and his mentor battle an evil vampire rebel who plans to take over the outdated vampire council, capture Blade and resurrect a voracious blood god.</plot>
  <outline>Part Man. Part Vampire. All Hero.</outline>
  <lockdata>false</lockdata>
  <dateadded>2020-07-14 02:53:16</dateadded>
  <title>Blade</title>
  <originaltitle>Blade</originaltitle>
  <director>Stephen Norrington</director>
  <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=kaU2A7KyOu4</trailer>
  <rating>7.1</rating>
  <year>1998</year>
  <mpaa>R</mpaa>
  <collectionnumber>735</collectionnumber>
  <imdbid>tt0120611</imdbid>
  <tmdbid>36647</tmdbid>
  <premiered>1998-08-21</premiered>
  <releasedate>1998-08-21</releasedate>
  <criticrating>55</criticrating>
  <runtime>120</runtime>
  <tagline>Part Man. Part Vampire. All Hero.</tagline>
  <country>United States of America</country>
  <genre>Horror</genre>
  <genre>Action</genre>
  <studio>Marvel Enterprises</studio>
  <studio>New Line Cinema</studio>
  <studio>Amen Ra Films</studio>
  <studio>Imaginary Forces</studio>
  <art>
    <poster>\\192.168.1.100\pool\Media\Movies\Keep\Blade (1998)\poster.jpg</poster>
    <fanart>\\192.168.1.100\pool\Media\Movies\Keep\Blade (1998)\fanart.jpg</fanart>
    <fanart>\\192.168.1.100\pool\Media\Movies\Keep\Blade (1998)\extrafanart\fanart1.jpg</fanart>
  </art>
  <isuserfavorite>false</isuserfavorite>
  <playcount>3</playcount>
  <watched>true</watched>
  <lastplayed>2020-07-15 00:34:55</lastplayed>
  <resume>
    <position>0</position>
    <total>7217.736</total>
  </resume>
  <actor>
    <name>Wesley Snipes</name>
    <role>Blade</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\3b\3bafc566757d4a8fa441ba9fd33ecaaa\folder.jpg</thumb>
  </actor>
  <actor>
    <name>Stephen Dorff</name>
    <role>Deacon Frost</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\80\80bf33a006d54ed7913ba0b9ac58d465\folder.jpg</thumb>
  </actor>
  <actor>
    <name>Kris Kristofferson</name>
    <role>Whistler</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\8e\8e112768dab446728c976a3b13be4d07\folder.jpg</thumb>
  </actor>
  <actor>
    <name>N'Bushe Wright</name>
    <role>Karen</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\27\276b7a5e136744a6b690d71b0b91cc54\folder.jpg</thumb>
  </actor>
  <actor>
    <name>Donal Logue</name>
    <role>Quinn</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\1f\1f9a78cfd1ab424ba9362b1460228825\folder.jpg</thumb>
  </actor>
  <actor>
    <name>Udo Kier</name>
    <role>Dragonetti</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\c4\c4857f4b2c8c4a6590e7bf59ed5b841e\folder.jpg</thumb>
  </actor>
  <actor>
    <name>Arly Jover</name>
    <role>Mercury</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\94\941420764d6849409e53df772b9c2933\folder.jpg</thumb>
  </actor>
  <actor>
    <name>Traci Lords</name>
    <role>Racquel</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\a5\a5feef708c954c3589a34449dc09fcec\folder.jpg</thumb>
  </actor>
  <actor>
    <name>Kevin Patrick Walls</name>
    <role>Krieger</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\2e\2e562d959e304846aca3cb16800c37f4\folder.jpg</thumb>
  </actor>
  <actor>
    <name>Tim Guinee</name>
    <role>Curtis Webb</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\6a\6aa1a8b79ca24033bb4af1ace2b7f614\folder.jpg</thumb>
  </actor>
  <actor>
    <name>Sanaa Lathan</name>
    <role>Vanessa</role>
    <type>Actor</type>
    <thumb>C:\MyStuff\EmbyServer\programdata\metadata\library\05\05053ffcc1dd4902ab7c4f609e9ceacc\folder.jpg</thumb>
  </actor>
  <actor>
    <name>Eric Edwards</name>
    <role>Pearl</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Donna Wong</name>
    <role>Nurse</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/foFSZZExxgeZGd1giIJ4mWYUoV9.jpg</thumb>
  </actor>
  <actor>
    <name>Carmen Thomas</name>
    <role>Senior Resident</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/jNkb8JZStLEFLkkop1cu3XaPe9U.jpg</thumb>
  </actor>
  <actor>
    <name>Shannon Lee</name>
    <role>Resident</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/i1QFP3lchUt8NS6mAuUsyjFxesB.jpg</thumb>
  </actor>
  <actor>
    <name>Kenny Johnson</name>
    <role>Heatseeking Dennis</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/AvokUhBWsqAdnRO3xAzWluf8vdx.jpg</thumb>
  </actor>
  <actor>
    <name>Clint Curtis</name>
    <role>Creepy Morgue Guy</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/rhzDF47rzJ7Jd1UhsSUWR0lbRYo.jpg</thumb>
  </actor>
  <actor>
    <name>Judson Scott</name>
    <role>Pallantine</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/u4RtHhi8KNpuQU5vTlKDDa1bRgM.jpg</thumb>
  </actor>
  <actor>
    <name>Sidney S. Liufau</name>
    <role>Japanese Doorman</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Keith Leon Williams</name>
    <role>Kam</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/6i5XNUNqVm76gUgVxyj1dU70L06.jpg</thumb>
  </actor>
  <actor>
    <name>Andray Johnson</name>
    <role>Paramedic</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/4T1P5gP4qcRCum827FqR6GpZjJZ.jpg</thumb>
  </actor>
  <actor>
    <name>Stephen R. Peluso</name>
    <role>Paramedic</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/9WjFANrwP8GzCzlZYTk2QCa8Xo8.jpg</thumb>
  </actor>
  <actor>
    <name>Marcus Aurelius</name>
    <role>Pragmatic Policeman</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>John Enos III</name>
    <role>Blood Club Bouncer</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/4OtSbi1QxeuOgOVskiduUycj88V.jpg</thumb>
  </actor>
  <actor>
    <name>Eboni 'Chrystal' Adams</name>
    <role>Martial Arts Kid</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/iRG8NKyGOgCwowR3uQqczFNmZ7i.jpg</thumb>
  </actor>
  <actor>
    <name>Lyle Conway</name>
    <role>Lyle Conway</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/rmkc17aIMw8qCrUGmY6uxHDJ0ng.jpg</thumb>
  </actor>
  <actor>
    <name>Freeman White</name>
    <role>Menacing Stud</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/pDC4CTQ0st0w3FzYFleqcdbnO7e.jpg</thumb>
  </actor>
  <actor>
    <name>D.V. DeVincentis</name>
    <role>Vampire Underling</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/5JZ0fRBPPYWZl9LvUjt426LEivV.jpg</thumb>
  </actor>
  <actor>
    <name>Marcus Salgado</name>
    <role>Frost's Goon</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/ogJGHIwRlTKM7ApjdScbHt5CuDJ.jpg</thumb>
  </actor>
  <actor>
    <name>Esau McKnight Jr.</name>
    <role>Frost's Goon</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/hzBKmyjKAinqY9m5jOxoa0SPfCC.jpg</thumb>
  </actor>
  <actor>
    <name>Erl Van Douglas</name>
    <role>Von Esper</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/wvOutZPxUMymz7eNqN58YZHMber.jpg</thumb>
  </actor>
  <actor>
    <name>Matt Schulze</name>
    <role>Crease</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/sLzdh6nDWn0STeoSHFFpPbtTGDQ.jpg</thumb>
  </actor>
  <actor>
    <name>Lennox Brown</name>
    <role>Pleading Goon</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Yvette Ocampo</name>
    <role>Party Girl</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Irena Stepić</name>
    <role>Slavic Vampire Lord</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/acN2okse9a9VjeZxOhBhPKVqHZ2.jpg</thumb>
  </actor>
  <actor>
    <name>Jenya Lano</name>
    <role>Russian Woman</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Levan Uchaneishvili</name>
    <role>Russian Vampire</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/bKqO8XpURSdjwYtpoQ7D2clNorF.jpg</thumb>
  </actor>
  <actor>
    <name>Richard 'Dr.' Baily</name>
    <role>Cardboard cut-out in Subway (uncredited)</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Nikki DiSanto</name>
    <role>Vampire Victim (uncredited)</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Ryan Glorioso</name>
    <role>Blood Bath Vampire (uncredited)</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/fN6kv8UjkWmKdICim0Un3sTXFqV.jpg</thumb>
  </actor>
  <actor>
    <name>Jeff Imada</name>
    <role>Henchman (uncredited)</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/sUNSaNQreSHYaJvKr0SfiBqMPDV.jpg</thumb>
  </actor>
  <actor>
    <name>Elliott James</name>
    <role>Blood Club (uncredited)</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Stephen Norrington</name>
    <role>Vampire (uncredited)</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Gerald Okamura</name>
    <role>Vampire (uncredited)</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Frankie Ray</name>
    <role>Vampire Lord (uncredited)</role>
    <type>Actor</type>
    <thumb>https://image.tmdb.org/t/p/original/enyfzIqyREAYFl1w94aHNLt8D33.jpg</thumb>
  </actor>
  <actor>
    <name>Carrie Seeley</name>
    <role>Woman in Elevator (uncredited)</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Beth Theriac</name>
    <role>Woman in Elevator (uncredited)</role>
    <type>Actor</type>
  </actor>
  <actor>
    <name>Ted King</name>
    <role>Vampire at rave (uncredited)</role>
    <type>Actor</type>
  </actor>
  <id>tt0120611</id>
  <set>Blade Collection</set>
  <fileinfo>
    <streamdetails>
      <video>
        <codec>h264</codec>
        <micodec>h264</micodec>
        <bitrate>14067662</bitrate>
        <width>1920</width>
        <height>800</height>
        <aspect>2.40:1</aspect>
        <aspectratio>2.40:1</aspectratio>
        <framerate>23.976025</framerate>
        <language>eng</language>
        <scantype>progressive</scantype>
        <default>True</default>
        <forced>False</forced>
        <duration>120</duration>
        <durationinseconds>7217</durationinseconds>
      </video>
      <audio>
        <codec>dts</codec>
        <micodec>dts</micodec>
        <bitrate>1536000</bitrate>
        <language>eng</language>
        <scantype>progressive</scantype>
        <channels>7</channels>
        <samplingrate>48000</samplingrate>
        <default>True</default>
        <forced>False</forced>
      </audio>
      <audio>
        <codec>mp3</codec>
        <micodec>mp3</micodec>
        <bitrate>64000</bitrate>
        <language>eng</language>
        <scantype>progressive</scantype>
        <channels>2</channels>
        <samplingrate>24000</samplingrate>
        <default>False</default>
        <forced>False</forced>
      </audio>
      <subtitle>
        <codec>subrip</codec>
        <micodec>subrip</micodec>
        <language>eng</language>
        <scantype>progressive</scantype>
        <default>False</default>
        <forced>False</forced>
      </subtitle>
    </streamdetails>
  </fileinfo>
</movie>

 

Share this post


Link to post
Share on other sites

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...