Fri 4th Feb 2005
Posted late afternoon, filed under
General.
That title pretty much sums it up. If you have an SMB server mounted, and you put the Mac to sleep, then the server is no longer mounted when you wake it up.
Windows XP does not have this problem. Windows XP also mounts all servers it can find, removing the need for hacks like creating a mount script and putting it into your LoginItems.
Fri 4th Feb 2005
Posted late afternoon, filed under
iTunes.
One of the comments to my MacOSXHints.com hint about rating iTunes songs with ratings other than the simple 0-5 stars gave me an idea for a program.
Basically, it’s a daemon/controller for iTunes, that sits there and monitors the currently playing track. The rationale is that if you listen to the whole track, you like the song and want to increase the rating, and if you skip it, you are getting a bit sick of it, so you want to reduce the rating.
Since there is no way to determine when a track changes, you have to continually poll iTunes for the track info. What you could do is when a new song is discovered, store the track length in a variable. Then, keep track of the amount of time that that track remains playing, and if it is close to the full track length (say, 95%?) then increase the rating. If you only listened to a small part of it, then reduce the rating.
You could even have it so the rating is increased/reduced by 1 for every 5% of the song either side of 50% that you listen to. Or, you could just have it so it either increases (by 10?) or reduces (by 5) at a certain threshold.
Writing this program as an AppleScript Studio program should be quite simple.
UPDATE: Visit AutoRater for details on the first working version.