[Request] Implement support for complex file structure

Hello.

 

I would like to request the possibibilty for a bit more complex file structures etc.

 

/TV/[A-Z#]/"Show Name"/Season [0-9] *additional info 720p, dd etc..*/Showname.S[0-9]E[0-9]

 

The last part works, but the [A-Z#] REALLY messes stuff up.

 

I see they already have this implemented in XBMC, maybe the feature could me implemented from their work? 

 

http://kodi.wiki/view/Naming_video_files/TV_shows#Complex

What is your need to have something before the showname?

What is your need to have something before the showname?

Sounds like the OP wants to have multiple folders in that place such as [a-d], [e-m], [n-z] if I had to guess, likely just to cut down on how many are in a single folder.

What is your need to have something before the showname?

When you have 50 TB of data it starts to seems reciculus to have everything in one folder, just opening it would take lots of time an recourse often causing windows explorer to stop working. 

Sounds like the OP wants to have multiple folders in that place such as [a-d], [e-m], [n-z] if I had to guess, likely just to cut down on how many are in a single folder.

Yes, this is correct. 

you can do that but  then you would need to add multiple folder entries into your plex library definition which plex can  handle  just fine

instead of having /TV/ you would need to have /TV/[A-Z#]/" and all the other folders you create in /TV/

When you have 50 TB of data it starts to seems reciculus to have everything in one folder, just opening it would take lots of time an recourse often causing windows explorer to stop working.



Yes, this is correct.

I have my media organized into folders. I can either include multiple folders into one library or have multiple libraries. I prefer the multiple library option better so each library is not so huge when browsing. There really isn't a need to point to the parent folder. Yes it would take out a few steps but it is not something you would do often.

you can do that but  then you would need to add multiple folder entries into your plex library definition which plex can  handle  just fine

instead of having /TV/ you would need to have /TV/[A-Z#]/" and all the other folders you create in /TV/

Yes, this is what I do today, but as a I have to reinstall plex times to time because fetching info from the net breaks or something like that it's a pain to add 50+ folder for two libaries all the time. It's a feature that's very easy to implement and I see no downside to supporting it. 

Yes, this is what I do today, but as a I have to reinstall plex times to time because fetching info from the net breaks or something like that it's a pain to add 50+ folder for two libaries all the time. It's a feature that's very easy to implement and I see no downside to supporting it. 

As much as this feature would be nice, please don't make the assumption it's simple unless you've actually dug into the code for their scrapers. As a programmer myself, often times things that seem simple aren't due to assumptions you've already made in your code. Not saying it's hard or not since I have no experience with their code base, just saying that sometimes things are not as they appear.

When you have 50 TB of data it starts to seems reciculus to have everything in one folder, just opening it would take lots of time an recourse often causing windows explorer to stop working. 

Yes, this is correct. 

How the hell do you even store 50TB?!  :blink: Would be a good feature.

As long as Plex doesn't offer a solution to your problem you could create a duplicate of the folder/files structure without the part that causes trouble using symlinks. In this case you would have to add only once the "duplicate" to Plex.

The process of creating all the symlinks for the "duplicate" structure can be performed with a batchjob.

An example for how this could be done on a Windows machine can be found here: http://superuser.com/questions/674069/make-the-contents-of-two-folders-appear-in-one

As long as Plex doesn't offer a solution to your problem you could create a duplicate of the folder/files structure without the part that causes trouble using symlinks. In this case you would have to add only once the "duplicate" to Plex.

The process of creating all the symlinks for the "duplicate" structure can be performed with a batchjob.

An example for how this could be done on a Windows machine can be found here: http://superuser.com/questions/674069/make-the-contents-of-two-folders-appear-in-one

This is a great suggestion, I will do this for now, starting to be a number of layers since I already use unrarfs for fuse :P

As much as this feature would be nice, please don't make the assumption it's simple unless you've actually dug into the code for their scrapers. As a programmer myself, often times things that seem simple aren't due to assumptions you've already made in your code. Not saying it's hard or not since I have no experience with their code base, just saying that sometimes things are not as they appear.

I do know how to do it, I have a professional degree in software engineering. 

How the hell do you even store 50TB?!  :blink: Would be a good feature.

Money. Lots of it. 

As long as Plex doesn't offer a solution to your problem you could create a duplicate of the folder/files structure without the part that causes trouble using symlinks. In this case you would have to add only once the "duplicate" to Plex.
 
The process of creating all the symlinks for the "duplicate" structure can be performed with a batchjob.
An example for how this could be done on a Windows machine can be found here: http://superuser.com/questions/674069/make-the-contents-of-two-folders-appear-in-one

 
Wow, what a convoluted method.
 
Each library supports multiple source folders, just add each sub folder to the library and be done with it. If you are using symlinks/mountpoints (insert other OS Magic) you are doing it wrong.

ChosenFolders.png

As the op has methoded, if you have a lot folders it can be a chore to add them to the library. If plex had the ability to select more than 1 folder at a time, or to create libraries from existing libraries, then it would be a different story. It would take me way too long to organize my media 1 folder at a time.

IMO it seems to me that it would take more time to independently manage other solutions listed previously.


Sent from my Nexus 5 using Tapatalk

I guess it depends on how your original data is organized and managed. I have automated tasks that i can perform that i can not with Plex so for me it is easier to have 1 library to 1 folder. I also share my library so having multiple libraries is the only way to limit what i share, until parental controls are put in.

Early 2021 clean-up: implemented (Plex library can monitor multiple folders, so top-level folders for tv-show libraries can e.g. point to the 1st-letter index folder)