|
|
#1 |
|
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'...
|
|
|
|
|
|
#2 |
|
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 |
|
|
|
|
|
#3 |
|
Prospect
Join Date: Jun 2002
Location: Southampton UK
Posts: 17
|
Last edited by mervTormel; 10-24-2003 at 01:40 PM. |
|
|
|
|
|
#4 | |||||||||||||||||||
|
League Commissioner
Join Date: Jan 2002
Posts: 5,536
|
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 |
|||||||||||||||||||
|
|
|
|
|
#5 |
|
Triple-A Player
Join Date: Jan 2002
Posts: 67
|
What Are People Listening 2? is an AppleScript that does this.
|
|
|
|
![]() |
|
|