Kodi Community Forum
OS X Applescript to handle Database update - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: OS X Applescript to handle Database update (/showthread.php?tid=133516)



Applescript to handle Database update - efty.edge - 2012-06-08

Hi there.
I'm new on OSX and so i need some help from the community.

On my Mac Mini there is XBMC installed but it only runs when i need it. During the day SABnzbd downloads e. g. a TV-Show and i rename and sort them automatically into shared smb folders. Now i have following request. Is it possible to build a applescript that starts xbmc, updates the music and the video database and shuts xbmc down!?

Thanx in advance for any advice.

Efty


RE: Applescript to handle Database update - Ned Scott - 2012-06-10

You could just set things to update the library when XBMC starts up, then the Apple script would only need to open XBMC, wait a safe period of time, then quit.


RE: Applescript to handle Database update - efty.edge - 2012-06-10

@ned Scott

I never thought that it was so easy. I haven't seen this simple solution until your post.

Thank you for your help.
Efty