Jump to content

Auto Box Sets


arrbee99

Recommended Posts

alturismo

may a note, moving movies to another place in background also likes to kill collections ...

 

same issue as before, collections incomplete or gone, no way to add them again, manual trigger just does nothing.

 

historie, i wiped the database to test if nfo files fixes the issue here.

so i added the "nfo" option in movies after wiping, most nfo files where created and collections wich where messy where working,

Rest could be manually added etc ... so was quite ok ...

 

Now, i wanted to clean up my files with multi formats to bring them physically together.

background

i use unraid as NAS, my share is for example /mnt/Media/HDDVDR/

the movies and nfo files where now cluttered over the disks behind, sample

 

/mnt/disk1/Media/HDDVDR/moviefolder/movie-1080p.mkv

/mnt/disk1/Media/HDDVDR/moviefolder/movie-1080p.nfo

/mnt/disk3/Media/HDDVDR/moviefolder/movie-2160p.mkv
/mnt/disk3/Media/HDDVDR/moviefolder/movie-2160p.nfo
 
or the worse scenario ... wich is now again causing issues, 2nd version does NOT have an nfo ...
 

/mnt/disk1/Media/HDDVDR/moviefolder/movie-1080p.mkv

/mnt/disk1/Media/HDDVDR/moviefolder/movie-1080p.nfo

/mnt/disk3/Media/HDDVDR/moviefolder/movie-2160p.mkv
 
i did now move the files physically together so 1 Movie is physically together on 1 disk, sample
 

ALL version and files from a movie are together in /mnt/disk3/moviename/****

 

what happened now, by touching those files some more (still missing) nfo files where created so overall almost all movies (multi versions 1080p AND 2160p) now had theit own nfo file,

also they are showing up as new ... i thought great ... nevermind.

 

and now exactly those movies are completey broke again for collections ..., i did no renaming, no nothing ... as the NEW nfos where created in my cache drive i can easily see where to look for ...

and it is like before i wiped the database ... just a real weird database issue ....

 

and NOTHING can sort it here, rescan complete library, removing collections and let the recreate (after wiping /data/collecions) ... so its still no fire and forget.

running currently the 4105 beta as note, i removed now ALL nfo files again and let collections again recreate, same result ....

 

the only way probably would be again to wipe the database from emby ... but i really dont like todo this again ;)

 

just wanted to leave a note, logs etc are useless cause its the same as logs already provided here, its definately some database weirdness in emby when using multiformats ...

naming files, folders are all good, working, moving or nfos are the point in some weird way ...

 

attachements, screenshot from my cache drive, here are the multi format movies wich where recognized as new and new nfos where created after moving them in background ...

screenshow from the New records show them as new items ....

as u then see in the Ex Collection exactly this movie is not there anymore, same in the MI Collection ... there only one left (funny, the one wich is left was the one wich didnt work before the database reset ;) )

 

ALL those movies are here since a long time, ALL those movie where NOT touched in foldername or filename ... NOTHING changed.

 

all i did was moving them in background and now even when i manually add any of the missing movies to the collection nothing happens ...

post-112497-0-43652900-1549177222_thumb.png

post-112497-0-63561800-1549177246_thumb.png

post-112497-0-90965800-1549177262_thumb.png

post-112497-0-71526000-1549177280_thumb.png

Link to comment
Share on other sites

alturismo

@@alturismo

 

Did you refer to our wiki article on how to properly migrate collections?

https://github.com/MediaBrowser/Wiki/wiki/Collections-%E2%80%93-Manual-Migration

 

@@cayars

 

yes, but as the path did not change for emby ... moving "background" ...

 

path for emby was /mnt/Media/HDVDR/moviename/*.mkv and stay the same ...

 

so that pretty useless herefore

 

sample from the Expendables collection, here is the xml, all movies are there ... but as u see in the pic above its not in the collection ;)

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <ContentRating>FSK-18</ContentRating>
  <Added>2/3/19 8:18:29 AM</Added>
  <LockData>false</LockData>
  <Overview>The Expendables ist ein Ensemble-Actionfilm, bei dem Sylvester Stallone Regie führte und zusammen mit Dave Callaham das Drehbuch schrieb. Der Film zollt den Actionfilmen der achtziger und neunziger Jahre Tribut und hat eine Reihe bekannter Schauspieler dieses Genres in den Hauptrollen. [Wikipedia]</Overview>
  <LocalTitle>The Expendables Filmreihe</LocalTitle>
  <DisplayOrder>PremiereDate</DisplayOrder>
  <TmdbId>126125</TmdbId>
  <Genres>
    <Genre>Thriller</Genre>
    <Genre>Abenteuer</Genre>
    <Genre>Action</Genre>
  </Genres>
  <Studios>
    <Studio>Nimar Studios</Studio>
    <Studio>Rogue Marble</Studio>
    <Studio>Millennium Films</Studio>
    <Studio>Nu Image</Studio>
    <Studio>Davis-Films</Studio>
    <Studio>Ex3 Productions</Studio>
    <Studio>Fipex Holding</Studio>
    <Studio>Lionsgate</Studio>
  </Studios>
  <CollectionItems>
    <CollectionItem>
      <Path>/mnt/HDDVDR/The Expendables (2010)/The Expendables (2010) - 2160p.mkv</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>/mnt/HDDVDR/The Expendables 2 (2012)/The Expendables 2 (2012) - 2160p.mkv</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>/mnt/HDDVDR/The Expendables 3 (2014)/The Expendables 3 (2014) - 2160p.mkv</Path>
    </CollectionItem>
  </CollectionItems>
</Item>
Edited by alturismo
Link to comment
Share on other sites

alturismo

or may another good sample, as ALL Harry Potter movies where recognized as new ... this collection does not even exist anymore ...

even in /data/collection its created and the xml is also properly there ... so ...

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <ContentRating>FSK-6</ContentRating>
  <Added>2/3/19 8:18:40 AM</Added>
  <LockData>false</LockData>
  <Overview>Harry Potter ist eine populäre Fantasy-Romanreihe der englischen Schriftstellerin Joanne K. Rowling.  Erzählt wird die Geschichte des Titelhelden Harry James Potter, eines Schülers des britischen Zaubererinternats Hogwarts, und seiner Konfrontationen mit dem bösen Magier Lord Voldemort und dessen Gefolgsleuten, den so genannten Todessern. Jeder der sieben Bände beschreibt ein Schul- und Lebensjahr von Harry Potter, beginnend kurz vor seinem elften Geburtstag. Band 1 erschien 1997 (deutsch 1998), Band 7 erschien am 21. Juli 2007 auf Englisch und am 27. Oktober 2007 auf Deutsch.  Die Reihe kann verschiedenen literarischen Genres zugeordnet werden. Neben der klaren Einordnung als Fantasy-Literatur weist die Harry-Potter-Heptalogie Eigenschaften eines Entwicklungsromans oder Bildungsromans auf und wird in der Regel als Jugendliteratur eingeordnet, obgleich die Leserschaft auch viele Erwachsene umfasst.</Overview>
  <LocalTitle>Harry Potter Filmreihe</LocalTitle>
  <DisplayOrder>PremiereDate</DisplayOrder>
  <TmdbId>1241</TmdbId>
  <Genres>
    <Genre>Abenteuer</Genre>
    <Genre>Fantasy</Genre>
    <Genre>Familie</Genre>
    <Genre>Mystery</Genre>
  </Genres>
  <CollectionItems>
    <CollectionItem>
      <Path>/mnt/HDDVDR/Harry Potter und der Stein der Weisen (2001)/Harry Potter und der Stein der Weisen (2001) - 2160p.mkv</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>/mnt/HDDVDR/Harry Potter und die Kammer des Schreckens (2002)/Harry Potter und die Kammer des Schreckens (2002) - 2160p.mkv</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>/mnt/HDDVDR/Harry Potter und der Gefangene von Askaban (2004)/Harry Potter und der Gefangene von Askaban (2004) - 2160p.mkv</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>/mnt/HDDVDR/Harry Potter und der Feuerkelch (2005)/Harry Potter und der Feuerkelch (2005) - 2160p.mkv</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>/mnt/HDDVDR/Harry Potter und der Orden des Phönix (2007)/Harry Potter und der Orden des Phönix (2007) - 2160p.mkv</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>/mnt/HDDVDR/Harry Potter und der Halbblutprinz (2009)/Harry Potter und der Halbblutprinz (2009) - 2160p.mkv</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>/mnt/HDDVDR/Harry Potter und die Heiligtümer des Todes - Teil 1 (2010)/Harry Potter und die Heiligtümer des Todes - Teil 1 (2010) - 2160p.mkv</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>/mnt/HDDVDR/Harry Potter und die Heiligtümer des Todes - Teil 2 (2011)/Harry Potter und die Heiligtümer des Todes - Teil 2 (2011) - 2160p.mkv</Path>
    </CollectionItem>
  </CollectionItems>
</Item>
Link to comment
Share on other sites

alturismo

ok, did delete the library.db and voila, back again ...

 

so in the end, moving (even in background), correct identifying, multi formats changes etc etc ... is breaking the database for collections in some cases.

 

no changes now here and they are back in collections.

Link to comment
Share on other sites

You probably didn't need to delete your library.db, but now that you have and did the re scan is everything now working properly again for your collections?

Link to comment
Share on other sites

alturismo

yes its working, but also last time there was no way to rescan properly or add manually ...

 

im pretty sure i could reproduce it if i start moving in the background again but i leave as is now ;)

Link to comment
Share on other sites

im pretty sure i could reproduce it if i start moving in the background again but i leave as is now ;)

 

yes of course you can create the problem again. but if you update the playlist or collection xml files to fix the paths afterwards, then run a library scan, you should be fine. does that make sense?

 

@@cayars can we expand the wiki article to cover this? thanks.

Link to comment
Share on other sites

alturismo

yes of course you can create the problem again. but if you update the playlist or collection xml files to fix the paths afterwards, then run a library scan, you should be fine. does that make sense?

 

@@cayars can we expand the wiki article to cover this? thanks.

 

sorry, no, seems i cant describe it properly ... ;)

 

the collection.xml files are correct cause the pathes for emby stay exactly the same ... and even wiping them, readding, etc etc ...

once its broken it stays broken, just a library delete and let all rescan fixes it ... so it has to be something in the library ...

 

so nevermind, nothing essential in my usecase.

Link to comment
Share on other sites

yes of course you can create the problem again. but if you update the playlist or collection xml files to fix the paths afterwards, then run a library scan, you should be fine. does that make sense?

 

@@cayars can we expand the wiki article to cover this? thanks.

https://github.com/MediaBrowser/Wiki/wiki/Collections-%E2%80%93-Manual-Migration

 

Very last line of the article:

After you complete your editing of collections please run a full library.

Link to comment
Share on other sites

alturismo

https://github.com/MediaBrowser/Wiki/wiki/Collections-%E2%80%93-Manual-Migration

 

Very last line of the article:

After you complete your editing of collections please run a full library.

 

of course i did this ...

 

lets try it like this with the upper sample from the collection The Expendables

 

it was all fine, then i started a move on my NAS (clean up), this move from the file should have NO effect to emby cause the PATH for emby stays the same,

exept its gone for a few seconds during move).

 

take a look at the attachements, database shows where emby locates the file, NAS shows where it is, on the right side u see the diskx ...

thats all i changed cause they where clutterd (1080p on disk1, 2160p on disk3 for example, i merged so all are together on the same disk)

roughly this movies (moved from one disk to another) where recognized as "new", nevermind i thought cause 1 version was moved around and in this seconds it was gone and new there for emby.

in the database its correct (same path), in the collection.xml it is correct (same path), so ... may you can explain me now what could be wrong that a movie is gone from the collection ...

its there in movies, i can play it, it just doesnt come back into the collection anymore ... either automatically or manually or full rescan or ... JUST deleting the library and start from scratch fixes it ...

post-112497-0-04861500-1549262051_thumb.png

post-112497-0-31655300-1549262057_thumb.png

Link to comment
Share on other sites

The path to the movie has changed, therefore the playlist/collection xml needs to be updated. forget about the database, just follow the instructions in the wiki. Thanks.

Link to comment
Share on other sites

alturismo

The path to the movie has changed, therefore the playlist/collection xml needs to be updated. forget about the database, just follow the instructions in the wiki. Thanks.

 

the path did NOT change ... thats what i mean ... nevermind.

Link to comment
Share on other sites

That's why it is called AutoBoxSets.

I guess I just needed to give it time..

 

Sent from my SM-G960U1 using Tapatalk

Link to comment
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...