Jump to content


Photo

Grouping results in duplicates

linux group version

Best Answer reederda , 26 July 2018 - 06:21 PM

Upgrading to the latest release didn't change anything, however I did find the issue:

 

Interesting. I'm running the latest version (3.4.1.0).

 

Could it possibly be something with the way the media is organized/named? I've attached a snippet with my filepaths.
5b15872453f56_capt.png

 

This was an issue after all. In order for Emby to see them as different versions, the files must have the EXACT same name as the folder, before the hyphen. For example, for this to work properly the folder needs to be named "Star Wars Episode IV: A New Hope", and then the files need to be named "Star Wars Episode IV: A New Hope - <version>".

Go to the full post


  • Please log in to reply
42 replies to this topic

#1 reederda OFFLINE  

reederda

    Member

  • Members
  • 11 posts
  • Local time: 10:00 PM

Posted 23 May 2018 - 01:05 AM

Hi all,

I'm attempting to use Emby's "Grouping" feature to combine two versions of a video into a single listing. However, when I do this I instead am left with two listings, each showing the two versions (see attached screenshots).

I've tried rescanning the library, but that hasn't helped. Any ideas on what could be causing this?

 

5b04f69e362e9_group1.png

 

5b04f6a637d13_group2.png



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 01:00 AM

Posted 23 May 2018 - 01:25 AM

Hi, that shouldn't happen. What screen is the first screenshot from?



#3 reederda OFFLINE  

reederda

    Member

  • Members
  • 11 posts
  • Local time: 10:00 PM

Posted 23 May 2018 - 05:35 PM

The first screenshot is inside a collection (Star Wars Collection). 

Small update- the blue numbers disappeared but I've still got the duplicate listings.



#4 reederda OFFLINE  

reederda

    Member

  • Members
  • 11 posts
  • Local time: 10:00 PM

Posted 27 May 2018 - 11:01 PM

Any thoughts on how to fix this?



#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 01:00 AM

Posted 04 June 2018 - 02:05 PM

@reederda I can't reproduce this. What version of Emby Server are you running?



#6 reederda OFFLINE  

reederda

    Member

  • Members
  • 11 posts
  • Local time: 10:00 PM

Posted 04 June 2018 - 02:38 PM

Interesting. I'm running the latest version (3.4.1.0).

 

Could it possibly be something with the way the media is organized/named? I've attached a snippet with my filepaths.
5b15872453f56_capt.png



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 01:00 AM

Posted 04 June 2018 - 11:34 PM

No that looks ok. What screen is the above screenshot from containing the posters? can you show the entire screen? thanks.



#8 reederda OFFLINE  

reederda

    Member

  • Members
  • 11 posts
  • Local time: 10:00 PM

Posted 14 June 2018 - 11:18 PM

emb.PNG


Edited by reederda, 14 June 2018 - 11:22 PM.


#9 reederda OFFLINE  

reederda

    Member

  • Members
  • 11 posts
  • Local time: 10:00 PM

Posted 14 June 2018 - 11:23 PM

5b2331475f57d_emb.png



#10 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 19143 posts
  • Local time: 10:00 PM
  • LocationWashington State

Posted 14 June 2018 - 11:26 PM

What does the collection.xml look like? click three dot menu-edit metadata on image shown above to find the path to the xml file



#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 01:00 AM

Posted 15 June 2018 - 01:52 PM

emb.PNG

 

Can you fix this image, or was it supposed to be the same one as the other? thanks.



#12 reederda OFFLINE  

reederda

    Member

  • Members
  • 11 posts
  • Local time: 10:00 PM

Posted 17 June 2018 - 11:37 PM

Can you fix this image, or was it supposed to be the same one as the other? thanks.

It was identical to the other- the image just wasn't uploading right.



#13 reederda OFFLINE  

reederda

    Member

  • Members
  • 11 posts
  • Local time: 10:00 PM

Posted 17 June 2018 - 11:40 PM

What does the collection.xml look like? click three dot menu-edit metadata on image shown above to find the path to the xml file

 

There doesn't appear to be a filepath listed for an xml, only to the movie itself.



#14 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 01:00 AM

Posted 15 July 2018 - 05:01 PM

@reederda, I did some new testing on this and I cannot reproduce it. Based on that, I would suggest re-evaluating this with the upcoming new release of Emby Server. Thanks !



#15 reederda OFFLINE  

reederda

    Member

  • Members
  • 11 posts
  • Local time: 10:00 PM

Posted 26 July 2018 - 06:21 PM   Best Answer

Upgrading to the latest release didn't change anything, however I did find the issue:

 

Interesting. I'm running the latest version (3.4.1.0).

 

Could it possibly be something with the way the media is organized/named? I've attached a snippet with my filepaths.
5b15872453f56_capt.png

 

This was an issue after all. In order for Emby to see them as different versions, the files must have the EXACT same name as the folder, before the hyphen. For example, for this to work properly the folder needs to be named "Star Wars Episode IV: A New Hope", and then the files need to be named "Star Wars Episode IV: A New Hope - <version>".



#16 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 01:00 AM

Posted 26 July 2018 - 09:12 PM

Ah yes correct, I didn't even notice that myself. Thanks for the update !



#17 MikePlanet OFFLINE  

MikePlanet

    Advanced Member

  • Alpha Testers
  • 356 posts
  • Local time: 06:00 AM

Posted 26 July 2018 - 10:03 PM

@Luke, may I jump in here, as the described issue also still exists in another context - see this post - and the observations here might explain those issues.

Those movies are grouped manually (as they are in different folders) - and the (different) folders are NOT named the same, nor do the filenames share a common start. This seems to be an issue, I reproduced today with latest beta server version, that it is still the same - such movie version groups will not be properly displayed. After grouping two movies, in a Collectionsview, they will still show up with two separate entries, each showing a "2" in the number of contained versions. 

Maybe you can reproduce by grouping two movies from different places and different directory names together to be able to reproduce the behaviour. I think due to the issues this also leads to the other issues (e.g. splitting not properly working) described in the mentioned post.

Testsetup:

library of type 'movies'

\movies\0\movie-a (tt1602472)\dvb-recording.avi

\movies\0\movie-b (tt1602472)\moviefilenameddifferent.avi

\movies\0\movie-c (tt0841044)\moviefile.avi

Scan will both identify as the same (due to imdb id), afterwards mark them both and group them manually, then go to the collections view -> you should see what described above.

resulting XML is:

´╗┐<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <ContentRating>FSK-12</ContentRating>
  <Added>26.07.2018 20:06:17</Added>
  <LockData>false</LockData>
  <Overview>Die Geschichte der Franz├Âsin Marion, gespielt und produziert von Julie Delpy.</Overview>
  <LocalTitle>2 Tage in... Filmreihe</LocalTitle>
  <PremiereDate>2007-02-09</PremiereDate>
  <DisplayOrder>PremiereDate</DisplayOrder>
  <ProductionYear>2007</ProductionYear>
  <TmdbId>138908</TmdbId>
  <Genres>
    <Genre>Kom├Âdie</Genre>
    <Genre>Drama</Genre>
    <Genre>Liebesfilm</Genre>
  </Genres>
  <Studios>
    <Studio>Tempête Sous Un Crâne Productions</Studio>
    <Studio>Senator Film Produktion</Studio>
    <Studio>Focus Features</Studio>
    <Studio>3L Filmproduktion GmbH</Studio>
    <Studio>Polaris Film Productions &amp; Finance</Studio>
  </Studios>
  <CollectionItems>
    <CollectionItem>
      <Path>\\servermovies\0\movie-a (tt1602472)\dvb-recording.avi</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>\\server\movies\0\movie-b (tt1602472)\moviefilenameddifferent.avi</Path>
    </CollectionItem>
    <CollectionItem>
      <Path>\\server\movies\0\movie-c (tt0841044)\moviefile.avi</Path>
    </CollectionItem>
  </CollectionItems>
</Item>

I didn't look into the code, but is it possible, that the linked items (for the blie indicator) come from the DB, but the grouped display is taken from the namingconventions in the XML file? I think both should rely on the linked item configuration from DB - regardless of the naming of the file - otherwise the manual grouping will not work as intended!?



#18 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 01:00 AM

Posted 27 July 2018 - 06:33 PM

Thanks for the info.



#19 luxus OFFLINE  

luxus

    Member

  • Members
  • 16 posts
  • Local time: 06:00 AM

Posted 13 November 2018 - 07:36 PM

I can reproduce this error as well
When i group movies and they are in a collection (created by auto collection) i still see both versions in the collection as separate movies. And both versions have access to the grouped versions

Example:
1080p version of Ant-man
1080p and 4K version of Ant-man 2
Ant-man 2 is visible as 1 movie with 2 versions in the library
In the ant-man collection i see
1x ant-man 1 and 2x ant-man 2
Attached File  DBA56337-8655-49A9-87FE-19A039580E23.jpeg   89.33KB   4 downloads

In the library view it looks fine
Attached File  EA6ABA85-09A8-410A-A41D-178A15FAAC54.jpeg   542.84KB   3 downloads

#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156835 posts
  • Local time: 01:00 AM

Posted 13 November 2018 - 09:17 PM

Hi there, please try again with the next release of emby server, thanks.





Also tagged with one or more of these keywords: linux, group, version

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users