Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

User share question

Featured Replies

Hi,

 

I just have a question about the configuration setting for Exceptions under User Shares.

 

If I do not want to split two directories, for example my_photo and VIDEO_TS folders, how should I configure it? I guess that using a regular expression would be a sensible option. So in my example, you will input "my_photo|VIDEO_TS" in the text box without the quotes to make any directory that contains my_photo or VIDEO_TS unsplittable.

 

Is this how it works? Correct me if I am wrong.

 

The following is all I can find in the forum.

 

In addition, you can specify the name of "unsplittable" directories.  For example, suppose you designate "VIDEO_TS" as unsplittable.  Then if a file  needs to be created in the VIDEO_TS directory, it will get created on the disk where that VIDEO_TS directory currently exists, overriding the allocation algorithm.

 

Regards,

Here is some documentation:

http://lime-technology.com/wiki/index.php?title=Manual#User_shares

 

The Exceptions field only has to do with user permissions.  It lists the users which are "exceptions" to the general Export mode.  For example, if Export mode is "Read-only", then any users specified by Exceptions will be granted Read/Write access (and everyone else Read-only).

 

What you're wondering though, is how to specify directories which shouldn't be split.

 

The original implementation used a regular expression to signify this.  We had a config parameter called "Unsplittable dirs" where you could enter a regex, e.g., VIDEO_TS.  Then if the path of the object being created matched the regex, then we would walk the dir path until we found which disk it was on, and create the new object there (thus not splitting a parent directory).

 

However, in the interest of simplicity we moved to a different scheme.  Instead, now you just specify a numeric "level" which indicates the maximum depth in the directory tree where a directory can be split.  (Read the doc above to see an example of this.)

 

We think this is easier to understand.  Especially consider the following example.  Suppose your Movies look like this:

 

Movies/Alien/Alien.dvdid.xml
Movies/Alien/folder.jpg
Movies/Alien/mymovies-front.jpg
Movies/Alien/mymovies.xml
Movies/Alien/VIDEO_TS/VIDEO_TS.BUP
Movies/Alien/VIDEO_TS/VIDEO_TS.IFO
Movies/Alien/VIDEO_TS/VTS_01_0.VOB
Movies/Alien/VIDEO_TS/VTS_01_1.VOB
Movies/Alien/VIDEO_TS/VTS_01_2.VOB

 

In this case, just using the string "VIDEO_TS" would work to make the movie play back smoothly, but there is a possibility that the other files directly under Moves/Alien will be stored on different disk(s) than the VIDEO_TS directory.

 

We felt that most people would want to keep everything associated with a single movie to be kept together on a single disk.  To do this, your regular expression would be: Movies/.*/

 

Now this is a lot more complex to try to explain to someone who just wants to store their media files and not have to geek-out on learning regex's.

 

But - we're open to what other people's opinion is on this.  ;)

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.