Teredactle 37 Posted March 22, 2022 Author Posted March 22, 2022 1 hour ago, ebr said: Okay, so that is the problem. Emby does not support multiple libraries pointing to the same locations. If you want to setup these types of libraries, you will need to structure them in the file system so that they don't overlap. Well that's too bad - is that possible to change in the future? Why would I restructure my whole subfolder structure? I have photos in subfolders, and I only want some of them shared in certain libraries. The other alternative is to support sharing out a top level folder, and have the option to remove certain folders from that structure (by unchecking a box say, on the side).
Teredactle 37 Posted March 22, 2022 Author Posted March 22, 2022 Why not? If user can see the media, why wouldn't search and favorites also work? The behaviour seems inconsistent.
Teredactle 37 Posted March 22, 2022 Author Posted March 22, 2022 Nevertheless at least i know why it's not working, so this issue can be put to rest i guess.
ebr 16177 Posted March 23, 2022 Posted March 23, 2022 16 hours ago, Teredactle said: The other alternative is to support sharing out a top level folder, and have the option to remove certain folders from that structure (by unchecking a box say, on the side). We do have that capability. Sorry, I didn't suggest it before but you can create a single library and then assign access to different parts of it by user. However, you still will need to either re-structure or define the library locations a little differently. Please see: Folder Based Access Control
Teredactle 37 Posted March 23, 2022 Author Posted March 23, 2022 Yes, well I saw that before but to use that feature you have to add separate folders, again one needs to redo the way they house their media. I think most (Windows) users that actually organize their home media would be like this. FAMPHOTOS 2018 September October 2019 December 2020 January USERS: So you would share out the top level to a photo/video library for users with access to all. Then if you want a user with reduced access to folders, one would create a user, and THEN add specific folders from within that tree. Which I've done. Which works (to see/view the media). But search and favorites don't. These two things should be user dependent not library dependent, if that was the case it would work. To me this makes more sense. But since Emby server can run on different OSes, this folder thing may not be the same across all OSes so what I'm expecting may be for minority usage. Well just a thought, thanks for the help!!
Teredactle 37 Posted March 24, 2022 Author Posted March 24, 2022 (edited) This lack of support not only removes the search and favorites, but also removes the "latest media" added to this library capability. May I ask, if dev can't create code to make this work like any other library, then why even allow creating a library with subfolders from another (top level created) library? Is it a matter of "well I can't do that, but you can have this which is better than nothing at all". Edited March 24, 2022 by Teredactle
ebr 16177 Posted March 25, 2022 Posted March 25, 2022 Hi. Libraries with subsets of data from other libraries simply isn't supported right now. We have created the procedure mentioned before to accommodate this use-case.
Luke 42078 Posted March 25, 2022 Posted March 25, 2022 On 3/22/2022 at 3:27 PM, Teredactle said: Well that's too bad - is that possible to change in the future? Why would I restructure my whole subfolder structure? I have photos in subfolders, and I only want some of them shared in certain libraries. The other alternative is to support sharing out a top level folder, and have the option to remove certain folders from that structure (by unchecking a box say, on the side). We'd like to be able to accommodate this in future updates, yes. 1
Teredactle 37 Posted March 31, 2022 Author Posted March 31, 2022 Guess what, this is all working now. The user for which Search, Favorites, and Latest Media features were not working, well all these features are now working. So how did this happen when you told me that libraries with subsets of data from other libraries will not be able to have these features enabled? Do you want to guess? I think I have inadvertently found the workaround (that works fine for me at least).
Happy2Play 9780 Posted March 31, 2022 Posted March 31, 2022 (edited) 4 minutes ago, Teredactle said: Guess what, this is all working now. The user for which Search, Favorites, and Latest Media features were not working, well all these features are now working. So how did this happen when you told me that libraries with subsets of data from other libraries will not be able to have these features enabled? Do you want to guess? I think I have inadvertently found the workaround (that works fine for me at least). Only guess work without all the required information. What changes with your libraries/library setup? Edited March 31, 2022 by Happy2Play
Teredactle 37 Posted March 31, 2022 Author Posted March 31, 2022 Yes, this is true, no way to really guess. For the library who this user's folders are subsets, I actually added the \\?\ before the X:\pictures of that main library because I was having issues with files with very long filenames (max length in Win). So, well Emby sees that top level library as a different path so \\?\x:\pictures is different than x:\pictures which then, for subfolders/subsetsof of x:\pictures like x:\pictures\may, x:\pictures\june, are no longer seen as subsets of \\?\x:\pictures So, for me I solved 2 issues at the same time - so, pretty happy about that! Would this be an accurate statement as a workaround to get the features to work that would otherwise not work when using subsets? If you want a library with subsets from another, make that other (top level) library use \\?\. Solves the issue for Windows users (I guess) at least and I don't believe there is any negative side effect (even if you don't have issues with long filenames).
Happy2Play 9780 Posted March 31, 2022 Posted March 31, 2022 8 minutes ago, Teredactle said: Yes, this is true, no way to really guess. For the library who this user's folders are subsets, I actually added the \\?\ before the X:\pictures of that main library because I was having issues with files with very long filenames (max length in Win). So, well Emby sees that top level library as a different path so \\?\x:\pictures is different than x:\pictures which then, for subfolders/subsetsof of x:\pictures like x:\pictures\may, x:\pictures\june, are no longer seen as subsets of \\?\x:\pictures So, for me I solved 2 issues at the same time - so, pretty happy about that! Would this be an accurate statement as a workaround to get the features to work that would otherwise not work when using subsets? If you want a library with subsets from another, make that other (top level) library use \\?\. Solves the issue for Windows users (I guess) at least and I don't believe there is any negative side effect (even if you don't have issues with long filenames). I can sort of see how this would fake Emby as they are two different paths methods. But you will have duplicate via the two paths a everything will be in "Picture" then you have the duplicated subset. \\?\X: is technically the same as X: But the written database paths would be different. Example with normal path and subsets the item path will alway equal x:\picture\may\any.jpg, but changing one path with \\?\ changes the database path to no longer make them match and technically create new items ids for each making them two different items. I would assume path vs network share would do the same thing also.
Teredactle 37 Posted April 1, 2022 Author Posted April 1, 2022 16 hours ago, Happy2Play said: I would assume path vs network share would do the same thing also. Can we get a confirmation from @Luke on this?
Luke 42078 Posted April 1, 2022 Posted April 1, 2022 Yes that would duplicate everything in the manner he's describing.
Teredactle 37 Posted April 4, 2022 Author Posted April 4, 2022 Would a different user, assigned the same folder to their library, have it's own favorites? Just curious, if I set the same folders for my dad and my brother, but create different users so that they can set their own "favorites" would that work?
Luke 42078 Posted April 18, 2022 Posted April 18, 2022 On 4/3/2022 at 11:11 PM, Teredactle said: Would a different user, assigned the same folder to their library, have it's own favorites? Just curious, if I set the same folders for my dad and my brother, but create different users so that they can set their own "favorites" would that work? Yes, each user gets their own favorites.
Teredactle 37 Posted April 23, 2022 Author Posted April 23, 2022 Thanks. Is there an easy way to duplicate a user and give it a different name?
Luke 42078 Posted April 23, 2022 Posted April 23, 2022 You can create a new user and then use the backup plugin to restore user data from a different user.
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