Cremby 0 Posted March 25, 2016 Posted March 25, 2016 Hello, I was looking at Path Substitution earlier today and posed some questions in the following topic: http://emby.media/community/index.php?/topic/33077-path-substitution-clarification-needed/ I was told not to use mapped drive letters in library paths and to instead use the UNC path. I changed several of my libraries from the mapped path to the UNC path and everything seemed fine. However, now every time I restart the server and try to browse to the content in a given library, there is nothing there until I perform a library scan. The one library I didn't change is fine and the content persists. For Clarification, this is what I did for each of the libraries having the issue. For simplicity sake, I'll use one library. ---------------------- I went to Library under the server configuration page I clicked Manage Folders for my TV library I removed the mapped path and added the UNC path I exited and clicked the scan library button on the library page Everything seemed fine ... Now when I restart and go to browse my library I see the following under the TV section of my library: None found. Start watching your shows! ---------------------- This is fixed with a rescan but I don't want to rescan every time I perform a server restart. Does anyone have a fix for this? Thanks
ebr 16190 Posted March 26, 2016 Posted March 26, 2016 None found. Start watching your shows! ---------------------- That looks like it is from the "Suggestions" tab. What do you see if you hit the "Shows" tab?
Cremby 0 Posted March 27, 2016 Author Posted March 27, 2016 That looks like it is from the "Suggestions" tab. What do you see if you hit the "Shows" tab? No shows but 2 sets of "Select View" "Sort" and "Filter" icons. There is no content under any of the headings for the affected libraries. If I change the library path back to the mapped path, everything is fine. As a test, I deleted one of the libraries and recreated it using the mapped path and the issue was corrected for that library. I can do that for the TV library as well but this seems like a bug to me. Also, I'd prefer not to for my TV library as I made quite a few changes.
Wheemer 50 Posted March 28, 2016 Posted March 28, 2016 I recently made the change to UNC paths in Emby library. I was extremely disappointed that all my watched statuses were reset and emby forgot everything.
ebr 16190 Posted March 28, 2016 Posted March 28, 2016 I recently made the change to UNC paths in Emby library. I was extremely disappointed that all my watched statuses were reset and emby forgot everything. If you had everything identified properly before hand and, especially, if you store your metadata with the media, that should not be the case.
Wheemer 50 Posted March 28, 2016 Posted March 28, 2016 Everything was proper before and working fine. The only problem I had was new shows where added and I'd get the message it was removed from the library. I'm pretty sure I store the metadata with the media, but how can I verify? I made this change to try to solve that problem. I think it may have fixed that issue, but unfortunately it lost all watched statuses for all three users.
Cremby 0 Posted March 30, 2016 Author Posted March 30, 2016 No shows but 2 sets of "Select View" "Sort" and "Filter" icons. There is no content under any of the headings for the affected libraries. If I change the library path back to the mapped path, everything is fine. As a test, I deleted one of the libraries and recreated it using the mapped path and the issue was corrected for that library. I can do that for the TV library as well but this seems like a bug to me. Also, I'd prefer not to for my TV library as I made quite a few changes. @@ebr, do you have any tips based on my earlier reply? Thanks
Luke 42085 Posted March 30, 2016 Posted March 30, 2016 @@ebr, do you have any tips based on my earlier reply? Thanks Is a library scan possibly running during a time in which the network path is not available?
Luke 42085 Posted March 30, 2016 Posted March 30, 2016 Everything was proper before and working fine. The only problem I had was new shows where added and I'd get the message it was removed from the library. I'm pretty sure I store the metadata with the media, but how can I verify? I made this change to try to solve that problem. I think it may have fixed that issue, but unfortunately it lost all watched statuses for all three users. Your user data is there, but like Ebr says, it's not being used most likely due to the content not being identified with internet metadata. You'll want to ensure your movies have tmdb id's and your series have tvdb ids, and then your user data should return. For things like home videos, the path change makes the server see them as brand new files, so user data will be lost for those.
Cremby 0 Posted March 30, 2016 Author Posted March 30, 2016 (edited) Your user data is there, but like Ebr says, it's not being used most likely due to the content not being identified with internet metadata. You'll want to ensure your movies have tmdb id's and your series have tvdb ids, and then your user data should return. For things like home videos, the path change makes the server see them as brand new files, so user data will be lost for those. I think there is some confusion. It might be on my part so please forgive me but allow me to clarify where I think the confusion might lie: I haven't lost anything and everything has been identified correctly. It's the fact that the server "forgets" my stuff is there every time I restart/shutdown. All downloaded metadata and statistical data remains in tact. However, I need to do a rescan before the server knows my shows are there. The server is not forgetting the metadata but it forgets the shows are there. Consider the following example: If I wanted to move my data from "C:\TV shows" to "D:\Shows". Would I need to delete the library and start again or simply delete the old path and add the new path? If the latter (I would expect the latter), why is it not working for me above? Edited March 30, 2016 by Cremby
Luke 42085 Posted March 30, 2016 Posted March 30, 2016 There is some confusion because the other poster jumped into this thread with their own issue. Now I'm kind of lost as well Yes to move the library you need to remove the c:\ path and add the d:\ path.
Cremby 0 Posted March 30, 2016 Author Posted March 30, 2016 (edited) There is some confusion because the other poster jumped into this thread with their own issue. Now I'm kind of lost as well Yes to move the library you need to remove the c:\ path and add the d:\ path. Okay. So now that that's settled. I did that except my path is going from Z:\TV to \\UNC_PATH\TV. I pop open the "manage folders" area for the library in question, add \\UNC_Path\TV, remove Z:\TV. This is fine. My stuff disappears of course because the server hasn't added it. So, I "scan library". All my stuff reappears just as it was. However, if I shutdown or restart Emby, no content is listed for that library when I go back to it. I need to "scan library" again. Repeat for each time I restart Emby. It's a very strange issue. I must reiterate that no metadata is lost, it's just that the server forgets the library content is there on restart. To fix it, I simply need to revert to the old path. Emby then remembers between restarts. Alternatively, I can delete the library and add it with the new path. Everything repopulates and persists through restarts. I shouldn't need to do this, should I? I tested this with a less populated library and don't want to do it with my television library. I'd prefer to change the path for that library as above. Edited March 30, 2016 by Cremby
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