DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-10-23 17:17:15

breakstring
New member
Registered: 2008-09-24
Posts: 4

Cannot use symbolic link in uPnP AV Server?

I have folder structure as the following,

               Root
                |
   ----------------------
  |                          |
Pictures                Media
                             |
                   -----------------
                   |                   |
                 Movie            Music


I add the "Pictures" as the symbolic link under "Media". And I set the Media as the uPnP AV Server scan folder.
But it looks I cannot find the Pictures from other uPnP AV Client software(e.g. XBMC), the files under "Movies" and "Music" can be found.
Is the uPnP AV Server cannot scan the symbolic link folders?

Offline

 

#2 2010-04-03 03:22:38

djtaz
Member
Registered: 2010-04-03
Posts: 33

Re: Cannot use symbolic link in uPnP AV Server?

Im having the same issue with uPnP AV server not finding the symbolic link.

I have movies on one drive and TV shows on the other and didnt want to use root as the root of the server , but it looks like i may have to as it wont find the symbolic link sad

Anyone know a way of getting the uPnP server to see symbolic links ?

i have ssh access to the nas.

Offline

 

#3 2010-04-03 09:03:49

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Cannot use symbolic link in uPnP AV Server?

try mount --bind instead, worked on pch where ln -s failed.

Offline

 

#4 2010-04-11 00:47:43

djtaz
Member
Registered: 2010-04-03
Posts: 33

Re: Cannot use symbolic link in uPnP AV Server?

I just tried that and i got :

mount --bind HD_b2/Movies/_Tv_Shows HD_a2/TV\ Shows/
mount: mounting HD_b2/Movies/_Tv_Shows on HD_a2/TV Shows/ failed: No such file or directory

Offline

 

#5 2010-04-11 07:40:40

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Cannot use symbolic link in uPnP AV Server?

Have you really tried reading up on howto mount with --bind ?

Example:
mkdir -p /opt
mount --bind /mnt/USB/ipkg/opt /opt

Offline

 

#6 2010-05-12 23:33:27

djtaz
Member
Registered: 2010-04-03
Posts: 33

Re: Cannot use symbolic link in uPnP AV Server?

OK So i made a folder called '_TV' where i wanted it (/mnt/HD_b2/Movies/_TV/) and then typed the following :

mount --bind /mnt/HD_a2/TV\ Shows/TV/ /mnt/HD_b2/Movies/_TV/

which is mount --bind  {where you want to link to} {the folder you want to link}


*edit*
OK after doing a refresh on the UPNP AV server the Ps3 can now see the Bind link and all the files inside it
Thanks a million guys - I appreciate all the help
im no version 1.07 by the way

I have to run this command each time i reboot the nas as well

Last edited by djtaz (2010-05-13 01:37:35)

Offline

 

#7 2010-05-13 04:42:13

sorna
Member
Registered: 2010-03-02
Posts: 9

Re: Cannot use symbolic link in uPnP AV Server?

djtaz wrote:

OK So i made a folder called '_TV' where i wanted it (/mnt/HD_b2/Movies/_TV/) and then typed the following :

mount --bind /mnt/HD_a2/TV\ Shows/TV/ /mnt/HD_b2/Movies/_TV/

which is mount --bind  {where you want to link to} {the folder you want to link}


*edit*
OK after doing a refresh on the UPNP AV server the Ps3 can now see the Bind link and all the files inside it
Thanks a million guys - I appreciate all the help
im no version 1.07 by the way

I have to run this command each time i reboot the nas as well

There are several ways to have the command executed automatically. You can edit the fun_plug and add the mount command at the end of it. Or (better way IMO) you can save the command in a .sh file and put it in the ffp/start folder.

Sorna.

Last edited by sorna (2010-05-13 04:42:55)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB