Cwobbles 0 Posted August 10, 2019 Posted August 10, 2019 Hi, I have noticed recently that Extras folder content is not being picked up as extras but as films. When I check the path it shows the old path before I renamed the folder to just "Extras" . It makes no difference if I rescan the library the folder path does not update. I have just renamed the library.db and rebuilt it and still the old path is retained. The files play so it knows where they really are. Renaming the folder to "extras" always used to work. Is there a way to reset the path names? If I rename the folder to Extras2 Emby reports finding new video files. Once I rename it back , same issue. Other Extras folders work as expected. I am running on Windows 10 1903 with Emby ver. 4.2.1.0 Thoughts on clear down or why this might be happening?
Luke 42083 Posted August 10, 2019 Posted August 10, 2019 Hi there, can you please discuss an example? thanks.
Cwobbles 0 Posted August 11, 2019 Author Posted August 11, 2019 (edited) Yep sure. So this film has this file path \Random film\Random film.MKV The extras folder is simply \Random film\Extras It has individual files in it, the usual things. The folder path reported in Emby is this for the Extras files \Random film\Random.film.Extras.blah.blah\Deleted.Scene5.mkv This path no longer exists, the actual path is \Random film\Extras\Deleted.Scene5.mkv The file plays fine so the actual path must be known in there somewhere. So lots of Extras files for a good few films are not associated with the film but show as films in their own right with the original path before I renamed the folders. The rename process used to work fine. I'm not sure when this started happening, in the last update or so I think. It does recognise if I change the directory to something else, Extras2 say and process all the files as actual films as you would expect. The path in the properties does not change though and remains as per the original. Changing back to Extras makes no difference. Rebuilding the library.db made no difference either. Thanks Edited August 11, 2019 by Cwobbles
Cwobbles 0 Posted August 11, 2019 Author Posted August 11, 2019 I renamed the library.db with Emby shutdown , restarted and rescanned all .
Luke 42083 Posted August 12, 2019 Posted August 12, 2019 And after that, why exactly do you feel it was still holding onto an old path?
Cwobbles 0 Posted August 12, 2019 Author Posted August 12, 2019 Because the extras files still show the old path on the screen and are not associated with the film they are extras for. Somewhere along the line the old path is overriding the Extras folder expected behaviour, even after a rebuild. The file will play though so it must have the correct path too just not in the place that drives the extras folder actions. The way it used to work was I would rename the extras folder to just extras and then rescan the library and all would be fine.
Happy2Play 9783 Posted August 12, 2019 Posted August 12, 2019 I don't see how a new library.db did not resolve this issue. As all the media would have to be reimported so the old path can not still exist. Does this renamed extras folder have metadata in it? Only other thing I can think of would be applying the orginal folder name, removing the media from your library, performing a library scan to remove the media, then re-adding the media ensuring it has proper folder names before re-importing.
Cwobbles 0 Posted August 13, 2019 Author Posted August 13, 2019 Ah quick update on this.... It seems to not be related to Emby. I cut and pasted the Extras folder and lo and behold the original file name was the one that got pasted in the alternative location.... So I will investigate why that might be and come back here.
Cwobbles 0 Posted August 13, 2019 Author Posted August 13, 2019 So, if I create another extras folder in the same directory, which normally Windows would complain about with the same folder name already there, it allows it. Copying the files from the dodgy directory to the newly created one sorts the issue. Not sure on the root cause yet though.
Luke 42083 Posted August 13, 2019 Posted August 13, 2019 That's strange, yea windows usually won't allow that.
pwhodges 2012 Posted August 13, 2019 Posted August 13, 2019 Windows allows folder names with a trailing space - this can be a rich source of confusion when it happens.
Cwobbles 0 Posted August 14, 2019 Author Posted August 14, 2019 Yep, no trailing spaces though. Has a radically different name in the background. May be desktop.ini related. I have a work around for now. Will be digging deeper when I have more time. Will feedback here for reference.
Cwobbles 0 Posted August 17, 2019 Author Posted August 17, 2019 So as a final update here, it was the desktop.ini file within each Extras folder that was assigning the extra part of the folder name. Deleting them made explorer display the full folder name which i could then rename and all sorted.
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