 |
 |
Who is listening to my iTunes library?
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2006
Status:
Offline
|
|
I share my iTunes library - is there any way to find out who is listening to it, or what they listen to?
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2006
Location: California
Status:
Offline
|
|
only the number of people that are listening. sorry mr. peep
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2006
Location: California
Status:
Offline
|
|
i take that back. from another site:
Who are listening to my tunes?
Ever wondering who those "n users connected" are when you look at the Sharing part of the Preferences of your iTunes? Well wonder no more - it turns out fairly easy to figure out in Terminal.app; just type this line:
lsof -r 2 -n -P -F n -c iTunes -a -i TCP@`hostname`:3689
and it will tell you the IP address of each connection, together with the music file the connection is listening to. lsof is a UNIX tool which is capable of listing the files a particular process opens - including even the files being accessed from remote connections, such as NFS, and iTunes in our case. Some short explanations of the parameters used:
-r 2: list the opened files repeatedly, and refresh the list every 2 seconds.
-n: show numeric IP address instead of domain names.
-P: show port info in numbers instead of names (e.g., 3689 vs. `daap').
-F n: display field `name' (n).
-c iTunes: only list files opened by process with name 'iTunes'.
-a: logical `and' to connect more than one conditions.
-i TCP@`hostname`:3689: only list files involving the specified address; in this case the protocol must be TCP, connecting to my machine, and connecting to port 3689.
Of course based on the result you can do all kinds of fancy things, like accumulating statistics about which tunes get listened to most often, and so on. I'm too lazy to write an app like that - let me know if you write one though!
Benjamin Han: UNIX Tips for Mac OS X
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 1999
Location: Montréal, Québec (Canada)
Status:
Offline
|
|
I thought Apple limited the scope of people that could listen to your subnet, under pressure from the recording industries, a few revisions after iTunes first went out?
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Feb 2003
Location: NY²
Status:
Offline
|
|
They did.
Maybe peeb is in an airport terminal, college, starbucks, or any other place like that
My wife and I were looking through someone's iTunes library the last time we were in an airport terminal. The guy had a bunch of porn in there. 
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2006
Status:
Offline
|
|
It's over a work network. You can no longer download, but I don't know what restrictions there are on how many people can stream. Thanks!
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jun 2003
Location: Newport News, VA USA
Status:
Offline
|
|
I believe iTunes sharing is limited to 5 connections per day now. I can't remember where I read that now, though.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2006
Status:
Offline
|
|
That sounds possible - I don't see more than five at any one time.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Aug 2007
Location: Arizona
Status:
Offline
|
|
I stream to my DirecTV HR20 in the living room
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jan 2003
Location: Teaneck, NJ
Status:
Offline
|
|
if you don't like to use the terminal you can get the same info by using the activity monitor app. Open it up, click on iTunes and click inspect process. In the resulting window click on the open files tab and scroll all the way to the bottom.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2006
Location: California
Status:
Offline
|
|
wow. good to know ssharon. thank you :-)
Alex
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|