Mac OS X Applescript to handle Database update

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
efty.edge Offline
Senior Member
Posts: 169
Joined: Feb 2009
Reputation: 0
Post: #1
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
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 11,854
Joined: Jan 2011
Reputation: 130
Location: Arizona, USA
Post: #2
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.

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote
efty.edge Offline
Senior Member
Posts: 169
Joined: Feb 2009
Reputation: 0
Post: #3
@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
find quote