FAQ  •  Register  •  Login

Servio does not scan/display certain added folders

<<

brianp6621

Serviio newbie

Posts: 2

Joined: Thu Jan 02, 2014 7:49 pm

Post Thu Jan 02, 2014 7:53 pm

Servio does not scan/display certain added folders

I am using Servio 1.4 and seem to be coming across an odd bug.

I have added the following folders to the library.

D:\Public\Videos\
D:\Public\Videos\Personal\Home Videos\Transferred Videos

The second acts as a shortcut to a specific directory I use often. However this item shows zero results in this folder. However if using the first item, I navigate to the path of the second items, all the subfolders/movies are there.

Any reason for this?

Edit.. Upon further inspection, it seems like each item (a folder/file) can only be represented once in the servio database. Is this intentional/by design? If so, I really dislike this choice. If not, can it be fixed/changed? With highly nested structures (which are nice for organization) it is nice to be able to use "shortcuts" to specific folders.
<<

bolzass

Serviio lover

Posts: 67

Joined: Thu Jan 02, 2014 6:32 pm

Post Thu Jan 02, 2014 9:12 pm

Re: Servio does not scan/display certain added folders

brianp6621 wrote:I am using Servio 1.4 and seem to be coming across an odd bug.

I have added the following folders to the library.

D:\Public\Videos\
D:\Public\Videos\Personal\Home Videos\Transferred Videos

The second acts as a shortcut to a specific directory I use often. However this item shows zero results in this folder. However if using the first item, I navigate to the path of the second items, all the subfolders/movies are there.

Any reason for this?

Edit.. Upon further inspection, it seems like each item (a folder/file) can only be represented once in the servio database. Is this intentional/by design? If so, I really dislike this choice. If not, can it be fixed/changed? With highly nested structures (which are nice for organization) it is nice to be able to use "shortcuts" to specific folders.


Hi!

Seems that your problem could be this "shortcut", not a Serviio bug, what is a special reference on windows but not on the filesystem; so you need to do a LINK (symlink). Do it by this way:

On Windows vista or greater (lower use "junction" or download Windows Server 2003 Resource Kit Tools), open a shell (execute: cmd) or execute directly:
  Code:
mklink /D "D:\Public\Videos\Personal\Home Videos\Transferred Videos" "PATH_TO_TARGET_DIRECTORY"


Note: Be carefull to do not create "loops" with your links; and I recommend to not reference the same file within serviio by two paths cause you would duplicate unnecessary media!

Tip: I agree with you organizating by this way, but must to use "symlinks" instead of "shortcuts" which are just a file that have a reference to somewhere and need support of an application in order to be used (explorer for instance)!. (symlinks are real flisystem pointers and everything sees it as the original file without any application support).

Note: If this is huge to you, you can use "the free Link Shell Extension" (needs Visual Studio 2005 redistributable first): http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html#download
<<

brianp6621

Serviio newbie

Posts: 2

Joined: Thu Jan 02, 2014 7:49 pm

Post Thu Jan 02, 2014 9:47 pm

Re: Servio does not scan/display certain added folders

bolzass wrote:Hi!

Seems that your problem could be this "shortcut", not a Serviio bug, what is a special reference on windows but not on the filesystem; so you need to do a LINK (symlink). Do it by this way:

On Windows vista or greater (lower use "junction" or download Windows Server 2003 Resource Kit Tools), open a shell (execute: cmd) or execute directly:
  Code:
mklink /D "D:\Public\Videos\Personal\Home Videos\Transferred Videos" "PATH_TO_TARGET_DIRECTORY"


Note: Be carefull to do not create "loops" with your links; and I recommend to not reference the same file within serviio by two paths cause you would duplicate unnecessary media!

Tip: I agree with you organizating by this way, but must to use "symlinks" instead of "shortcuts" which are just a file that have a reference to somewhere and need support of an application in order to be used (explorer for instance)!. (symlinks are real flisystem pointers and everything sees it as the original file without any application support).

Note: If this is huge to you, you can use "the free Link Shell Extension" (needs Visual Studio 2005 redistributable first): http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html#download


I think you misunderstood. I am not using windows shortcuts, I am simply adding 2 paths to the library, 1 path which points to a subfolder to the other path.

I don't understand/agree with your Note:. Why would creating "loops" as you call them which is what I am doing by referencing the same location in 2 different ways, create unnecessary media? The media is the same regardless, I am simply pointing servio to it from 2 different high level paths. This discussion is moot however as I have basically found that servio does NOT allow there 2 be 2 instances of the same media in its library, which is the cause of my issue. I user other media serving software which this functionality works fine for, unfortunately the transcoding/compatibility of that media serving software with one of my devices caused me to look for another media server.
<<

bolzass

Serviio lover

Posts: 67

Joined: Thu Jan 02, 2014 6:32 pm

Post Thu Jan 02, 2014 11:57 pm

Re: Servio does not scan/display certain added folders

brianp6621 wrote:
bolzass wrote:Hi!

Seems that your problem could be this "shortcut", not a Serviio bug, what is a special reference on windows but not on the filesystem; so you need to do a LINK (symlink). Do it by this way:

On Windows vista or greater (lower use "junction" or download Windows Server 2003 Resource Kit Tools), open a shell (execute: cmd) or execute directly:
  Code:
mklink /D "D:\Public\Videos\Personal\Home Videos\Transferred Videos" "PATH_TO_TARGET_DIRECTORY"


Note: Be carefull to do not create "loops" with your links; and I recommend to not reference the same file within serviio by two paths cause you would duplicate unnecessary media!

Tip: I agree with you organizating by this way, but must to use "symlinks" instead of "shortcuts" which are just a file that have a reference to somewhere and need support of an application in order to be used (explorer for instance)!. (symlinks are real flisystem pointers and everything sees it as the original file without any application support).

Note: If this is huge to you, you can use "the free Link Shell Extension" (needs Visual Studio 2005 redistributable first): http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html#download


I think you misunderstood. I am not using windows shortcuts, I am simply adding 2 paths to the library, 1 path which points to a subfolder to the other path.

I don't understand/agree with your Note:. Why would creating "loops" as you call them which is what I am doing by referencing the same location in 2 different ways, create unnecessary media? The media is the same regardless, I am simply pointing servio to it from 2 different high level paths. This discussion is moot however as I have basically found that servio does NOT allow there 2 be 2 instances of the same media in its library, which is the cause of my issue. I user other media serving software which this functionality works fine for, unfortunately the transcoding/compatibility of that media serving software with one of my devices caused me to look for another media server.



Yes!, I misunderstood you:(, I thought you were playing with external shortcuts... And you said ACT AS (didn't see that :roll: )
When I said "loops" I was talking about links:
  Code:
 - \A\
      1
      2
 - \A\B\
        3
And if B->A, you get a loop (would introduce 1, 2 & 3 too many times in the database); but this is not your case.
About creating unnecessary media, I was not talking about media files, just the instance to media files within serviio (to don't duplicate it unnecessarily); and this is your case and is what you need to do! (I didn't understand your stuff).


So, for this scenario (for instance, discrimine type and metadata based on location of media file without duplicating them), organize it with external links:
    In your example, in windows make a soft link to your specific directory at the same level of the parent container (as example, call it "Transferred Videos"):
      Code:
    mklink /D "D:\Public\Transferred Videos" "D:\Public\Videos\Personal\Home Videos\Transferred Videos"

    And then, add the 1st directory and the new symlink (as if it were a folder) in serviio with its own configuration each one:
    D:\Public\Videos\
    D:\Public\Transferred Videos

This will solve your problem.


Anyway, you are right that serviio doesn't do that (I think due to implementation, Zip could help here). Ask for it to Zip at the "Feature requests" forum,

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 59 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.