Jump to content


Photo

Gestionnaire de metadonnées - Affichage par "Movie" et non "Folder"

metadata folder movie serveritemtype gestionnaire

  • Please log in to reply
13 replies to this topic

#1 Mickelebof OFFLINE  

Mickelebof

    Member

  • Members
  • 11 posts
  • Local time: 11:25 PM

Posted 15 February 2020 - 03:23 PM

Hello,

 

I'm having a problem with the display in the Metadata Manager for "Movies" media libraries.

Indeed, for these media libraries, the variable " serveritemtype " is set to " Movie ", while for media libraries of the " TV " type , the display is in " Folder " mode eg:

 

" Films " type media library :

<li role = "treeitem" serveritemtype = "Movie" collectiontype = "undefined" aria-selected = "false" aria-level = "2" aria-labelledby = "8_anchor" id = "8" class = "jstree-node jstree -leaf ">

" TV " type media library :

<li role = "treeitem" serveritemtype = "Folder" collectiontype = "undefined" aria-selected = "false" aria-level = "2" aria-labelledby = "8_anchor" id = "8" class = "jstree-node jstree -leaf ">

The fact is that when a media is not correctly detected by the scrapper, it is very practical to be able to find it thanks to the Metadata Manager (I think, moreover, that is its function).

Display in " Folder " mode is therefore necessary.

 

On an Emby server, in the latest stable version (4.3.1.0), which I upgrade from version to version since version 4, I don't have this problem, the display is in " Folder "

On a freshly installed Emby server (4.3.1.0), I have this problem.
 

For information on configuration, the 2 Emby servers are installed on an Ubuntu 18.04 server 64bits (up-to-date) with an Emby Premiere LifeTime license each.

 

Is there the possibility to force the display in " Folder " mode in the Metadata Manager ?

 

Thanks for your help.

Mick

@neik

@Happy2Play

@arrbee99



					
					

#2 Mickelebof OFFLINE  

Mickelebof

    Member

  • Members
  • 11 posts
  • Local time: 11:25 PM

Posted 22 February 2020 - 04:50 AM

Bonjour,

 

Un petit UP

Personne pour ce problème ? :(

Je pense que c'est plutôt pour un développeur :)

 

Mick.



#3 sephrat OFFLINE  

sephrat

    Advanced Member

  • Members
  • 83 posts
  • Local time: 11:25 PM

Posted 22 February 2020 - 05:12 AM

Je ne saurais pas t'aider mais puisque l'anglais ne semble pas être un problème pour toi, tu aurais plus de succès à poster ton message dans le forum "Emby Server" directement.  ;)



#4 Mickelebof OFFLINE  

Mickelebof

    Member

  • Members
  • 11 posts
  • Local time: 11:25 PM

Posted 22 February 2020 - 05:15 AM

Ohhh, j'avais même pas remarqué que quelqu'un me l'avait traduit en anglais :o

Surement @neik qui a ajouté sa signature à la fin, merci à lui ;)



#5 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 19204 posts
  • Local time: 02:25 PM
  • LocationWashington State

Posted 23 February 2020 - 11:53 PM

This is a per library option in the librarys options.xml, change <CollapseSingleItemFolders> to false and do a library scan.  SEE NOTE BELOW

 

Look at Dashboard Paths box to get the general location of your programdata folder or it is near the top of a server log.

\Emby-Server\programdata\root\default\"each library folder"

Note changing this option is destructive, so all items will be removed and re-added for every library you apply it to.  If you do not save metadata/image with media this will delete all media metadata/image customization.

 

This would have to applied to all new libraries also as it default to true. 

This is sort of problematic as you have to create a library first, unless you do the hack of copy an existing library and change folder name to the library display name you are adding and edit the  "Path" and "Name" fields in options.xml and a library scan after starting the server.

 

Also note member tags were added by a Admin.


Edited by Happy2Play, 24 February 2020 - 12:26 AM.


#6 Mickelebof OFFLINE  

Mickelebof

    Member

  • Members
  • 11 posts
  • Local time: 11:25 PM

Posted 24 February 2020 - 04:49 AM

Hello @Happy2Play,

 

Thank you for your return :)
Unfortunately, it doesn't work.
I tested on one of my libraries and the problem remains the same.

Indeed, on the server that works well, the "CollapseSingleItemFolders" variable seems to be set to "false" by default.
While on the other one, it is set to "true" by default.

But on "TV" libraries, the "CollapseSingleItemFolders" is set to "true" and yet the display in "Metadata Manager" is correct.

I can't put a screenshot (permissions denied), so I'll try to show what I'm looking for:

I would like the display in Metadata Manager to look like this:

 Library Name
     `- Folder name
          `- Content name by scrapper

Example :

 Animations
      `- Abominable (2019)
            `- Abominable

But right now it's showing up :

 Library Name
      `- Content name by scrapper

=>

 Animations
       `- Abominable

Maybe it is not possible to change this setting once the library has been created ?
Is it possible to add this option when creating the library ?

 

NB : I've tried on "Animations" libraries :

# grep "CollapseSingleItemFolders" Animations/*
Animations/options.xml:  <CollapseSingleItemFolders>false</CollapseSingleItemFolders>

Thanks a lot.

Mick
 


Edited by Mickelebof, 24 February 2020 - 04:49 AM.


#7 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 19204 posts
  • Local time: 02:25 PM
  • LocationWashington State

Posted 24 February 2020 - 06:28 AM

Sorry, looks like you have to ensure the system.xml <CollapseVideoFolders> is set to false also so it will honor the individual library settings.  It is in the Emby-Server\programdata\config folder.

5e53a52a750fb_MM.jpg



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157215 posts
  • Local time: 05:25 PM

Posted 24 February 2020 - 01:42 PM

That is not intended to be a personal preference so i would not suggest changing it.



#9 Mickelebof OFFLINE  

Mickelebof

    Member

  • Members
  • 11 posts
  • Local time: 11:25 PM

Posted 24 February 2020 - 05:00 PM

Hello @Happy2Play,

 

Thanks, that's working ! (but only for my first library, the second library "Movie" has not changed ^^)

But I will try to recreate this library ;)

 

@Luke :

Why would you say that ?

You think it can be replaced with a new version of Emby ?

 

On my second Emby Server, on the one I don't have this problem with, that parameter's already set to "false." (I'm not the one who changed it.)

The only difference on this one is that I upgraded Emby Server regularly since version 3.
On the other one, it's a "fresh install" in 4.3.1.0 directly

 

Anyway, thank you for your help.

Emby is a very good product, I love it ;)



#10 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 19204 posts
  • Local time: 02:25 PM
  • LocationWashington State

Posted 24 February 2020 - 05:04 PM

This was I guess a unintended change from 3.5 to 4.0, and these switches were added to revert back to 3.5 format.  So your preferred showing is not intended.  As these were/are destructive library actions.


  • Mickelebof likes this

#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157215 posts
  • Local time: 05:25 PM

Posted 25 February 2020 - 02:35 PM

Exactly, someday these hidden switches will just go away altogether.



#12 Mickelebof OFFLINE  

Mickelebof

    Member

  • Members
  • 11 posts
  • Local time: 11:25 PM

Posted 25 February 2020 - 05:14 PM

@Luke : I understand :)
However, I find that this was a regression, we should put this parameter back as it was before and not change it anymore :P

For info, I recreated my 2nd library and the display is back in "Folder" mode. :lol:

Thanks again @Happy2Play ;)

 

(This topic can be marked to Solved :) )



#13 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 19204 posts
  • Local time: 02:25 PM
  • LocationWashington State

Posted 25 February 2020 - 05:16 PM

I guess as a note when and if this switch does go away you will see this destructive library scan again.



#14 Mickelebof OFFLINE  

Mickelebof

    Member

  • Members
  • 11 posts
  • Local time: 11:25 PM

Posted 25 February 2020 - 05:20 PM

I suppose so, too.
Luckily Emby scans much faster than a few years ago :D

 

I'll think about asking Emby to put all the info in the files directly, but I have some constraints that make this choice difficult :ph34r:







Also tagged with one or more of these keywords: metadata, folder, movie, serveritemtype, gestionnaire

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users