Owe RIAA |
|
Submitted By E dixon (Reikon) |
DescriptionJoke script that tells you and others how much you owe the RIAA.Updates: -Requires iTunes to be open to use -Prompts to open iTunes if it's not already open -Allows you to choose from the playlist you want to count To use: /oweriaa ImagesCommentsYou can reply to individual comments by clicking the "Reply" link next to each. # by Kyle on 05/11/05 at 02:54:23yo, I figured out the prb! you need to add a function. I just added it and it works 100%!
erm add this on number_to_text(this_number) set this_number to this_number as text if this_number contains "E+" then set x to the offset of "." in this_number set y to the offset of "+" in this_number set z to the offset of "E" in this_number set the decimal_adjust to characters (y - (length of this_number)) thru ? -1 of this_number as string as number if x is not 0 then set the first_part to characters 1 thru (x - 1) of this_number as string else set the first_part to "" end if set the second_part to characters (x + 1) thru (z - 1) of this_number as string set the converted_number to the first_part repeat with i from 1 to the decimal_adjust try set the converted_number to ? the converted_number & character i of the second_part on error set the converted_number to the converted_number & "0" end try end repeat return the converted_number else return this_number end if end number_to_t # by Reikon on 05/11/05 at 03:45:37Thanks man. You could've just linked me to the subroutine at apple though :)
# by hola on 05/11/05 at 18:57:43i don't think that there'll be an update. they're going to move the server the next week and nobody is able to upload anything.
# by Reikon on 05/11/05 at 19:02:12I've updated it twice. IF it still doesn't work, then I don't know what's wrong.
# by Kyle on 05/11/05 at 19:23:42Can I post my version as ZIP on my server, and see what that does for people?
# by Kyle on 05/12/05 at 18:12:18Ok this one works for me.... I have placed the file here: Click Here and if I cant post links, the actual URL is http://files.optimalconnection.net/...oweriaa.zip
# by Reikon on 05/12/05 at 22:03:00cool, but our code is exactly the same from what I can tell, except I changed "this_number" to "the_number"...
# by Kyle Kirby on 05/12/05 at 23:27:34I realize that HAHAH, erm, but it works for me 100%.. so IDK maybe a copying error? Did It work for u? (I would assume so)... Its weird that it doesnt work for others..
# by Reikon on 05/18/05 at 08:48:47Now it should work for everyone. Tell me if it doesn't. (fix was easy, but we were all perplexed why it didn't work for you, yet worked for me.)
# by on 06/04/05 at 11:26:09This tells me that I have 103 mp3s... Are you sure about this? I definitely have around 14000.
# by Reikon on 06/04/05 at 14:06:23Well...
-It only counts .mp3 files (not aiff or acc or m4p, or m3p, etc) -It only counts the .mp3 files in your ~/Music/ folder If you have them someplace else (you shouldn't if you use iTunes) it won't count them. # by zaudragon on 06/04/05 at 23:15:46Reikon: iTunes itself has a feature to use a folder outside of ~/Music/
And I think it'll be easily fixed to do that… but then again, I don't know the iTunes Dictionary… # by Reikon on 06/04/05 at 23:31:48I know this, however, polling iTunes for this location either requires, or causes iTunes to open, a situaiton I was attempting to avoid with this script.
# by Reikon on 06/08/05 at 12:14:48But then I'll get people complaining it doesn't work properly unless iTunes is running..lmfao...okok ok i get the point!
# by Impulse29 on 06/12/05 at 19:25:24umm, does this assume that all the songs I have are pirated? And it only lists 1070 songs... I have over 10 000 in total, so why not count those?
# by on 06/20/05 at 23:32:41Also, it doesn't count AACs or MOvs, for those of you that have taken advantage of the little-documented video feature in iT 4.8 (which may herald a video iPod? We can hope.)
# by on 06/29/05 at 11:52:20If you change the "set j"-line to "set j to do shell script "locate *.mp3" as string" you'll get a system-wide result and it's MUCH faster than using find.
BTW, I owe the RIAA $1,1,382,000 (7588 mp3s). # by zaudragon on 07/13/05 at 12:10:34Or use:
mdfind "kMDItemDisplayName == '*.mp3'wc" Probably faster than locate since it’s Spotlight UNIX-ified # by Reikon on 07/13/05 at 13:03:50And for those who don't have Tiger?
I just used iTunes' dictionary. Try the new release and tell me what you think. :) # by saiajin on 02/03/06 at 02:12:35Hi yeah the main DL doesn't work..so Dled from Kyle and it works but only sees one mp3 cause I keep my Mp3's on another Sytem on the network using 0.88 in OSX 10.4.4
Thanx for this !! Post a New CommentYou must be logged in to post comments. |
# by Kyle on 05/11/05 at 02:47:42
set this_number to number_to_text(this_number)