sonusfaber 17 Posted December 4, 2021 Posted December 4, 2021 Hello I have a question regarding how Emby builds its library. For this question, I will compare Emby and Kodi behaviours, since I come from Kodi. My movie collections contains a lot of videos grabbed from my DVD, BlueRay, etc and each main movie is stored in a dedicated folder with the same name as the main movies. Such raccomandations come from Kodi. Each main movie has also its own .nfo file. At the end of the story, each folder contains: - the main movie - the .nfo file - images, posters, banners, etc. addressed by the .nfo - additional video file such as trailers, interviews, backstages, etc. not addressed by the .nfo The .nfo and additional images addressed are built by TinyMediaManager. Everything is stored in a read only archive: Kodi and/or emby CAN NOT write to this archive Having said that, when I run Kodi for the first time, I tell to Kodi to use only the existing .nfo Kodi imports in its library only the movies addressed by the .nfo and not trailers, backstages, etc. since they do not have any .nfo associated Then, opening "movies" in the Kodi home screen, I have all my main movies, with stories, images, etc. and this is perfect. Kodi does not have access to the Internet. Medias are gathered from the public database by TinyMediaManager and Kodi can not access Internet. If i need to view a backstage, I need to use the "file" menu in Kodi. In this way my movies have a clean view in the home screen with no "rubbish". On then let's move to Emby. I love Emby because it can stream to all of my devices, even in another location by the VPN I have and it works even with low bandwidht connections and for this reason I moved to Emby. I add a library into Emby and poit to the network share where there is my collection.+ Also Emby can not access the Internet Emby "imports" in the library everything, not just the main movies addressed by the .nfo In this way my movies home screen if full of rubbish with no information at all such as interviews, backstages, etc. How can I have Emby bahaves in a similar way to Kodi? Thanks
GrimReaper 4742 Posted December 4, 2021 Posted December 4, 2021 5 minutes ago, sonusfaber said: At the end of the story, each folder contains: - the main movie - the .nfo file - images, posters, banners, etc. addressed by the .nfo - additional video file such as trailers, interviews, backstages, etc. not addressed by the .nfo 6 minutes ago, sonusfaber said: Emby "imports" in the library everything, not just the main movies addressed by the .nfo 6 minutes ago, sonusfaber said: How can I have Emby bahaves in a similar way to Kodi? Have those "additional video file such as trailers, interviews, backstages, etc." in sub-folder(s), as per KB article: Emby Movie Naming : Emby 1
sonusfaber 17 Posted December 4, 2021 Author Posted December 4, 2021 39 minutes ago, GrimReaper said: Have those "additional video file such as trailers, interviews, backstages, etc." in sub-folder(s), as per KB article: Emby Movie Naming : Emby Well... as I said, every movie has its own folder. Movie name and movie folder both are identical \movie_1 (2017)\movie_1 (2017).mkv \movie_1 (2017)\movie_1 (2017).nfo \movie_1 (2017)\banner.jpg \movie_1 (2017)\logo.jpg ....... etc..... Inside the main movie folder, sometime, I have additional video files, sometime in subfolders. No naming convention at all for such additional files. \movie_1 (2017)\making_of.avi \movie_1 (2017)\extras\trailer.mkv \movie_1 (2017)\...... etc ....... I am just trying to have Emby to import video files with the associated .nfo, like Kodi.
GrimReaper 4742 Posted December 4, 2021 Posted December 4, 2021 1 minute ago, sonusfaber said: \movie_1 (2017)\making_of.avi \movie_1 (2017)\extras\trailer.mkv \movie_1 (2017)\...... etc ....... Trailers should go to \trailers subfolder, or be named <moviefilename>-trailer.ext. All the others you can dump in \extras subfolder. KB article stipulates what are supported filefolder/naming structures/conventions. What you're asking ain't feasible, as that can be multi-movie or multi-version folder. Adhere to accepted conventions.
sonusfaber 17 Posted December 4, 2021 Author Posted December 4, 2021 Are you saying that if everything but the main movie is under \extras, then Emby will not pick it and not import it into the library?
GrimReaper 4742 Posted December 4, 2021 Posted December 4, 2021 (edited) 3 minutes ago, sonusfaber said: Are you saying that if everything but the main movie is under \extras, then Emby will not pick it and not import it into the library? It will pick it up, but it will be listed only under Extras section in detail screen for that particular movie, it won't be messing between other movies. Edited December 4, 2021 by GrimReaper Typo
sonusfaber 17 Posted December 5, 2021 Author Posted December 5, 2021 I did some test on specific folder created for this purpose and it seems it does not work. In other words, having just the main movie in the main folder and all the other stuff into the /extras sub-folder, it makes no difference... Emby pick up everything and shows all the videos in the movie home screen. Before I had this below: \movie_1 (2017)\movie_1 (2017).mkv \movie_1 (2017)\movie_1 (2017).nfo \movie_1 (2017)\banner.jpg \movie_1 (2017)\logo.jpg \movie_1 (2017)\making_of.avi \movie_1 (2017)\trailer.mkv \movie_1 (2017)\...... etc ....... now it is like this \movie_1 (2017)\movie_1 (2017).mkv \movie_1 (2017)\movie_1 (2017).nfo \movie_1 (2017)\banner.jpg \movie_1 (2017)\logo.jpg \movie_1 (2017)\extras\making_of.avi \movie_1 (2017)\extras\trailer.mkv \movie_1 (2017)\extras\...... etc ....... So also the content of the /extras subfolder is showed in the main home movie screen together with any other things. If I have let me say ... 100 movies and a total of 300 video files including movies and trailers. making of, behinds, etc.... then the movie home screen show 300 items, 100 of them with associated posters and 200 with the empty reel icon.
GrimReaper 4742 Posted December 5, 2021 Posted December 5, 2021 Care to share a screenshot, having trouble deciphering what do you mean by: 8 minutes ago, sonusfaber said: movie home screen Home Screen (as they should not show there) or movie detail screen?
sonusfaber 17 Posted December 5, 2021 Author Posted December 5, 2021 Sure. I cleanded everything and put just a folder into the library - 4-4-2 Il gioco più bello is the main movie in the main folder - boh is video fail in the main folder not addressed by the .nfo - the one with the monkey is video file under /extras subfolder
GrimReaper 4742 Posted December 5, 2021 Posted December 5, 2021 (edited) Hm, that should not be happening, the only thing that comes to my mind is that that "boh" file is making Emby think it's a multi-movie folder and behave accordingly, put all additional video files in \extras subfolder, run Scan and Identify that 4-2-2 movie. You should see something like this in movie detail screen (and no others on Home Screen): Edit: What is the path you entered in your Library setup? Edited December 5, 2021 by GrimReaper Afterthought
sonusfaber 17 Posted December 5, 2021 Author Posted December 5, 2021 Setup a new test folder, this is for "Babycall (2011)" movie. There is one additional file in the main folder (video_in_main_folder) and other 3 video in /extras (extra_1, extra_2, extra_3) Z:\FILM\TEST > tree /f Folder PATH listing for volume discoA Volume serial number is BA2D-BCEC Z:. └───Babycall (2011) │ Babycall (2011)-fanart.jpg │ Babycall (2011)-poster.jpg │ Babycall (2011).mkv │ Babycall (2011).nfo │ video_in_main_folder.mp4 │ └───extras extra_1.mp4 extra_2.mp4 extra_3.mp4
GrimReaper 4742 Posted December 5, 2021 Posted December 5, 2021 I'm curious as to why are you constantly leaving additional video files in main movie folder, as this would be the third time I'm advising you to put all additional files in \extras: 13 hours ago, GrimReaper said: All the others you can dump in \extras subfolder. 59 minutes ago, GrimReaper said: put all additional video files in \extras subfolder As that is likely the reason that folder gets interpreted as multi-movie folder since it doesn't have 'same' filename hence can't be multi-versioned: 1 hour ago, GrimReaper said: the only thing that comes to my mind is that that "boh" file is making Emby think it's a multi-movie folder and behave accordingly Additionally: 1 hour ago, GrimReaper said: What is the path you entered in your Library setup? 2
sonusfaber 17 Posted December 5, 2021 Author Posted December 5, 2021 (edited) 2 hours ago, GrimReaper said: I'm curious as to why are you constantly leaving additional video files in main movie folder, as this would be the third time I'm advising you to put all additional files in \extras: sorry for that, I agree. Now just the main movie (the one addressed by the .nfo) is in the main folder, all the rest is under /extras Z:\FILM\TEST > tree /f Folder PATH listing for volume discoA Volume serial number is BA2D-BCEC Z:. └───Babycall (2011) │ Babycall (2011)-fanart.jpg │ Babycall (2011)-poster.jpg │ Babycall (2011).mkv │ Babycall (2011).nfo │ └───extras extra_1.mp4 extra_2.mp4 extra_3.mp4 video_in_main_folder.mp4 I deleted and rbuilt the library and nothing changes. Let me say that my goal is to have Emby to import into the library only the videos that are addressed by the .nfo and not let Emby to pick up everything. Edited December 5, 2021 by sonusfaber
GrimReaper 4742 Posted December 5, 2021 Posted December 5, 2021 Now that folder structure looks correct, and you shouldn't be seeing those extras there - yet they're there. As a test, does same happen when you mount that as local drive, and insert that path in Library setup, not smb share (you can always add that under "(Optional) Shared network folder" field? 15 minutes ago, sonusfaber said: Let me say that my goal is to have Emby to import into the library only the videos that are addressed by the .nfo and not let Emby to pick up everything. AFAIK that ain't feasible as use of NFOs is completely optional, Emby relies on filefolder structure/naming.
ebr 16185 Posted December 5, 2021 Posted December 5, 2021 Hi. What library type did you select? It should be "Movies".
sonusfaber 17 Posted December 5, 2021 Author Posted December 5, 2021 (edited) 5 hours ago, GrimReaper said: As a test, does same happen when you mount that as local drive, and insert that path in Library setup Bingo ! Now it works. If mount the network share on the operating system and than I point the library to the same place on the local disk mounted by the OS.... it works! Why such difference? Mounting from the OS it works... pointing Emby directly to the network share... it does not Anyway... I will check other test cases and report the feedback. Thanks EDITED: if this is the solution, then do I have to move all the videos different than the main movie from the main folder to the /extras subfolder, to let Emby not to pick up all the stuff not addressed by .nfo? Any other alternatives? Edited December 5, 2021 by sonusfaber 1
Luke 42080 Posted December 6, 2021 Posted December 6, 2021 On 12/5/2021 at 9:29 AM, sonusfaber said: Bingo ! Now it works. If mount the network share on the operating system and than I point the library to the same place on the local disk mounted by the OS.... it works! Why such difference? Mounting from the OS it works... pointing Emby directly to the network share... it does not Anyway... I will check other test cases and report the feedback. Thanks EDITED: if this is the solution, then do I have to move all the videos different than the main movie from the main folder to the /extras subfolder, to let Emby not to pick up all the stuff not addressed by .nfo? Any other alternatives? It's probably due to some shortcomings in the server's embedded smb protocol support, which for now is why we suggest the OS-level mount instead.
Carlo 4561 Posted December 12, 2021 Posted December 12, 2021 To add to that, regardless of OS used if you mount the network path to the file system (drive letter in windows) it also allows you to specify a username/password which often times is needed. If using mixed OSes you may have no choice but do this short of using guest or anonymous access which is a bad idea for read/write access.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now