Twonky and network shares

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
riethmueller
Posts:11
Joined:Fri Oct 03, 2008 12:53 pm
AV Hardware:Twonky on XP + separate fileserver
Synology DS508
Roku M400
Roku M1000; 2xRoku 1001
Pure Sensia
Pure Evoke
Philips WAC7000
Philips WAS7000
Phillips WAK3300
Contact:
Twonky and network shares

Post by riethmueller » Sat Dec 25, 2010 9:18 pm

My twonky server is installed on a XP client working as a server. I had my media files on a file server which is not identical with the first.
My problem is that twonky didn't find the files on that other server.
I can see that on the twonky server statuspage:

Letzte Änderung: Läuft...
[-unc share name]...

but no indexing happens.
Did anyone has an idea?

Tom
Twonky Server (6.0.38) on XP + separate fileserver (Synology DS508); Roku M400; Roku M1000; 2xRoku 1001; Pure Sensia; Pure Evoke; Philips WAC7000; Philips WAS7000; Phillips WAK3300

PeeBee
Posts:392
Joined:Sat Jun 13, 2009 12:16 pm
AV Hardware:Buffalo LS Pro; PS3; Samsung LE37B650

Re: Twonky and network shares

Post by PeeBee » Sun Dec 26, 2010 1:30 pm

On the sharing page use the IP address of the file server not its name i.e. for me I use \\192.168.2.150\Music instead of \\WILMA\Music and that works.

PB
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)

riethmueller
Posts:11
Joined:Fri Oct 03, 2008 12:53 pm
AV Hardware:Twonky on XP + separate fileserver
Synology DS508
Roku M400
Roku M1000; 2xRoku 1001
Pure Sensia
Pure Evoke
Philips WAC7000
Philips WAS7000
Phillips WAK3300
Contact:

Re: Twonky and network shares

Post by riethmueller » Sun Dec 26, 2010 8:45 pm

PeeBee wrote:On the sharing page use the IP address of the file server not its name i.e. for me I use \\192.168.2.150\Music instead of \\WILMA\Music and that works.

PB
I don't know why but it didn't work, too. During the last hours I've tried the version \\10.10.200.200\music\parents and file://10.10.200.200/music/parents with no result. I am sure that the client with the Twonky Server had propper rights for crawling the fileserver.

Tom
Twonky Server (6.0.38) on XP + separate fileserver (Synology DS508); Roku M400; Roku M1000; 2xRoku 1001; Pure Sensia; Pure Evoke; Philips WAC7000; Philips WAS7000; Phillips WAK3300

User avatar
parnott
Posts:326
Joined:Mon Sep 20, 2010 9:55 pm
AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)

Re: Twonky and network shares

Post by parnott » Sun Dec 26, 2010 10:06 pm

riethmueller wrote:
PeeBee wrote:On the sharing page use the IP address of the file server not its name i.e. for me I use \\192.168.2.150\Music instead of \\WILMA\Music and that works.

PB
I don't know why but it didn't work, too. During the last hours I've tried the version \\10.10.200.200\music\parents and file://10.10.200.200/music/parents with no result. I am sure that the client with the Twonky Server had propper rights for crawling the fileserver.

Tom
file:// anything won't work. Windows does not recognise that. If you are running Twonky on Windows XP I don't know of any way for the Twonky server to recognise network shares. It is not a Twonky restriction but rather just the way Windows networking security works. A Windows service process usually does not have sufficient privileges to access network resources. And it definitely cannot access mapped drives. They only exist in the context of a logon session.

riethmueller
Posts:11
Joined:Fri Oct 03, 2008 12:53 pm
AV Hardware:Twonky on XP + separate fileserver
Synology DS508
Roku M400
Roku M1000; 2xRoku 1001
Pure Sensia
Pure Evoke
Philips WAC7000
Philips WAS7000
Phillips WAK3300
Contact:

Re: Twonky and network shares

Post by riethmueller » Sun Dec 26, 2010 11:43 pm

Yeah parnott thank you, thats it ..., sometimes I didn't see the forrest ...,

that was the necessary hint for me.

>Windows service process usually does not have sufficient privileges to access network resources
If you start the service with administrator rights it works!

Just give the Twonky service the admin rights it works. I'm sure I can customize a user with the propper rights for this service without using an admin account.

Thank you all
for your help

Tom
Twonky Server (6.0.38) on XP + separate fileserver (Synology DS508); Roku M400; Roku M1000; 2xRoku 1001; Pure Sensia; Pure Evoke; Philips WAC7000; Philips WAS7000; Phillips WAK3300

PeeBee
Posts:392
Joined:Sat Jun 13, 2009 12:16 pm
AV Hardware:Buffalo LS Pro; PS3; Samsung LE37B650

Re: Twonky and network shares

Post by PeeBee » Mon Dec 27, 2010 12:27 pm

parnott wrote:file:// anything won't work. Windows does not recognise that. If you are running Twonky on Windows XP I don't know of any way for the Twonky server to recognise network shares.
I have 2 instances of Twonky 6.0.30 running: one on my Linkstation Pro and the other on my Windows 7 PC. Both of them share the same files located on my LS Pro. On the LS Pro itself I share them as the actual filesystem locations on the NAS (/mnt/disk1/Music) and on the PC I use the URL as I described above (\\192.168.2.150\Music). Both work fine for me.

People have had the issue before of not being able to use a server name in the URL but the IP address has always seemed to work for them so far.

Are you saying that Twonky on XP and Win7 are handling shares differently? I could install Twonky 6.0.30 on my son's PC running XP and try it.

PB
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)

User avatar
parnott
Posts:326
Joined:Mon Sep 20, 2010 9:55 pm
AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)

Re: Twonky and network shares

Post by parnott » Mon Dec 27, 2010 9:20 pm

PeeBee wrote:
parnott wrote:Are you saying that Twonky on XP and Win7 are handling shares differently? I could install Twonky 6.0.30 on my son's PC running XP and try it.

PB
No. Sorry, I wasn't very clear.

What I intended to say is that when Twonky runs as a service (i.e. it runs even when no user is logged in), that services usually don't have sufficient privileges to access network resources (i.e. shares). It has been basically this way since day one with Win NT and its successors W2K, XP, Vista, Win7 and all the server versions.

I have been told that there are ways of tweaking the security credentials of a service to allow it to access network resources. But, I have never found one that is reliable and secure. Now this was in the context of a corporate network, so in a home network there are probably ways to loosen up the security without too much risk.

Locked