Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 10-23-2003, 08:36 PM   #1
ethan666
Prospect
 
Join Date: Oct 2003
Posts: 18
tracking what files iTunes is sharing?

Is there any software out there to track which of your iTunes songs are being streamed by others on your network? Here at work there are 10-15 people sharing iTunes music, and it would be cool to keep track of which songs are most popular...

just wonderin'...
ethan666 is offline   Reply With Quote
Old 10-24-2003, 07:13 AM   #2
darndog
Major Leaguer
 
Join Date: Oct 2003
Location: UK
Posts: 306
You can take a snapshot by opening a terminal and typing:
lsof | grep Music

(this assumes that even if you have moved or made a second iTunes Library, it still has a folder named 'Music' in its path.

If anyone else has another way or some ideas I would be interested in reading them, seems odd that iTunes does not keep a track access list?

dD
darndog is offline   Reply With Quote
Old 10-24-2003, 08:44 AM   #3
laurencewilks
Prospect
 
Join Date: Jun 2002
Location: Southampton UK
Posts: 17
Try AppleScript see:

http://www.malcolmadams.com/itunes/

for more info.

L

/edit: fix url -mt

Last edited by mervTormel; 10-24-2003 at 01:40 PM.
laurencewilks is offline   Reply With Quote
Old 10-24-2003, 01:50 PM   #4
mervTormel
League Commissioner
 
Join Date: Jan 2002
Posts: 5,536
Quote:
Originally posted by darndog
You can take a snapshot by opening a terminal and typing:
lsof | grep Music

lsof can be quite expensive to run on a rig with a lot of apps/files open. to speed it up a bit, try scripting the following:

Code:
# get itunes pid to feed to lsof

$ itunesPID=`ps wwax | grep -i "[i]tunes" | cut -c-5`

# get itunes files open, grep for string in your music collection, trim

$ lsof -p $itunesPID | grep -i music | colrm 1 58 | cut -d/ -f6-99

Rock/Neil Young/Decade/For The Turnstiles
tune the colrm and cut to your specific specs
mervTormel is offline   Reply With Quote
Old 06-25-2004, 01:46 PM   #5
DougAdams
Triple-A Player
 
Join Date: Jan 2002
Posts: 67
What Are People Listening 2? is an AppleScript that does this.
__________________
Doug
--
dougscripts.com
DougAdams is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.