Unless you get really creative no geeky code is needed. Watch some of my basic automation video tutorials for an intro into samba custom automation;