Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use a OSX box as an iTunes music server' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use a OSX box as an iTunes music server
Authored by: beepotato on Feb 01, '04 10:44:25AM

"However, I can't add new music remotely with out VNC or something similar, and I don't want to do that."

To add a music file to your playlist through SSH, you can do it with Applescript (after you put the file on the server disk):

  osascript -e 'tell application "iTunes" to
    add ("/UNIX/path/to/your/file.mp3" as POSIX file) to playlist "Playlist name"'

(all that in one line, which was broken here for readability)

Note that the "to playlist..." part is optional. Without it, the file just gets added to your library.



[ Reply to This | # ]