volpone;615838 Wrote: 
> Thank's a lot for your work Alan !
> Could you please post the source script ?
> 
> As stated in this thread in my preceding post(October/3/2010):
> 
> 
> 
> It will be very usefull for guys using SBS on a Nas to set the path
> parameters in the ini files and let the script troncate the CLI command
> path as needed, for example:
> 
> [parameters]
> .....
> Foobarpath: "//Readynas/mylibrary" (music library path as seen from
> Foobar on Window)
> SBSpath: "/mylibray" (music library path as seen from SBS on the NAS)
> ....
> 
> Let me know if you understand the needs for this adaption ? 
> 
> Regards
> Volpone


Hello, so basically you want to strip "//Readynas" from the CLI
commands?

I think I could just add one parameter "NASPath" and then use an
additional stringreplace on $m_sq immediately before each TCPSend (with
playlist play or insert).

$m_sq = StringReplace($m_sq, $m_NASPath, "")

If the NASPath parameter is blank, then stringreplace will not make any
changes.

Can you send me your script so I can see exactly what you've done
before making these changes?


-- 
stuffedspacedog
------------------------------------------------------------------------
stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655
View this thread: http://forums.slimdevices.com/showthread.php?t=79575

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to