Page 1 of 1

Shared Device

PostPosted: Sat Sep 26, 2015 11:40 pm
by Coolcaper
Thanks for the plugin. I am trying it out at the moment for mounting a shared NAS device. Is there a particular way I need to set it up to mount? I have set it up as a Disk Volume but no luck.

Re: Shared Device

PostPosted: Wed Apr 27, 2016 3:27 am
by Asconasny
was this issue resolved? I'm trying to figure out the same. Have a NAS and would like the volume to mount and dismount with this plugin.

regards
Asconasny

Re: Shared Device

PostPosted: Sat Apr 30, 2016 3:37 pm
by Coolcaper
Nope and haven't seen the developer active here for a while either.

Re: Shared Device

PostPosted: Sat Apr 30, 2016 4:02 pm
by Different Computers
There's a pretty simple applescript that would do this, and then you could use Indigo to fire off the Applescript.

Code: Select all
set diskName to "YourDiskNameHere"
tell application "Finder"
 if disk diskName exists then
  eject disk diskName
 else
  tell current application
   set deviceLine to (do shell script "diskutil list | grep \"" & diskName & "\" | awk '{ print $NF }' }'")
   if deviceLine = "" then
    display dialog "The disk \"" & diskName & "\" cannot be found." buttons {"OK"} default button 1 with title "Error" with icon caution
   end if
   set foundDisks to paragraphs of deviceLine
   repeat with i from 1 to number of items in foundDisks
    set this_item to item i of foundDisks
    if this_item contains "disk" then
     do shell script "diskutil mountDisk /dev/" & this_item
    end if
   end repeat
  end tell
 end if
end tell

Re: Shared Device

PostPosted: Thu Sep 22, 2016 12:18 pm
by Coolcaper
Thanks for that! Haven't been active on here either lol....life as usual :|

Re: Shared Device

PostPosted: Mon Dec 26, 2016 1:34 pm
by kmarkley
I have forked bip.phillipe's plugin to work with local network shares. There is a new device type to accomplish this.

Tested on my system with afp and smb shares, but should theoretically also work for nfs, ftp, and webdav.

This is a bit of a butcher's job and there are large swaths of this plugin I do not understand. Right now it works for me, but if it breaks you should probably revert to the official version.

Download here: https://github.com/kmarkley/Indigo-Domo ... ses/latest

Re: Shared Device

PostPosted: Mon Dec 26, 2016 6:04 pm
by Asconasny
kmarkley wrote:
I have forked bip.phillipe's plugin to work with local network shares. There is a new device type to accomplish this.


Great! thank you for this
work good on my system with smb shares


Asconasny