Skip to content

Instantly share code, notes, and snippets.

@fabianmaass
fabianmaass / gist:5533458
Last active December 17, 2015 02:08
Applescript to remotely rate iTunes Songs in a Shared Library credits go to dougs iTunes Scripts esp. dougscripts.com/itunes/itinfo/diy1network17.php
global remUserName, remHostIPAddr, remAddr
my get_login_info()
tell application "iTunes"
set numList to {"0", "1", "2", "3", "4", "5"}
set selectedRating to {choose from list numList}
set selectedRating to (selectedRating * 20)
set sel to selection
#!/bin/bash
# Copyright (c) 2011 Josh Schreuder
# http://www.postteenageliving.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: