Jump to content

My extras folder names


Recommended Posts

Posted

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? 

 

 

Posted

Hi there, can you please discuss an example? thanks.

Posted (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 by Cwobbles
Posted

How did you rebuild the library db?

Posted

I renamed the library.db with Emby shutdown , restarted and rescanned all .

Posted

And after that, why exactly do you feel it was still holding onto an old path?

Posted

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
Posted

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.

Posted

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.

Posted

Thanks for the feedback.

Posted

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.

Posted

That's strange, yea windows usually won't allow that.

pwhodges
Posted

Windows allows folder names with a trailing space - this can be a rich source of confusion when it happens.

Posted

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.

Posted

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. 

Posted

Thanks for the feedback.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...