Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Apple TV name followed by random number when using AirPlay

Hi, I've been having this issue for a while and it's getting on my nerves because I can't seem to find a reason and there's nothing on the internet.


Lately, whenever I use AirPlay, the name of my Apple TV in the drop-down list of devices appears like this:


User uploaded file


There's that annoying number between brackets following Apple TV, and I've no idea why it's there. Whenever I try to use AirPlay to stream a movie, I see 188, but when I stream audio I see '2', and some time ago, number 5 appeared; they keep changing. Right now, for instance, there is no number when streaming audio (just 'Apple TV'), but sometimes that annoying number will appear.


I see the number from either my Mac or my iPhone. And just in case it's important, my Mac is connected through ethernet to a Time Capsule, and the Apple TV is wirelessly connected to the TC.


I know it's something rather silly but what bugs me the most is not having the slightest idea of what that number is or why it appears. I want to get rid of it.


Thanks in advance.

AppleTV 2

Posted on Apr 5, 2012 2:12 PM

Reply
90 replies

Aug 21, 2012 9:01 PM in response to Winston Churchill

Periodically, my Apple TV's power light comes on without me turning the Apple TV on. I assume it is set to automatically check for updates. Each time it comes on, the random number following "Living Room Apple TV" in the mirroring display increases by one. When I turn on the Apple TV and watch something, the random number disappears and then, some time later, appears and increases one by one, I assume following the random power up. Everything works right, just a mystery.

Oct 5, 2012 11:34 AM in response to gusjc

I have one ATV a Mini, 2 iPads, Touch and a new MBP and mine is up to 6024. My ATV does the same thing with waking up all of the time even though it's set to sleep after 1hr. It randomly awakens all the time and wonder if it has to do with updating the photos for the screen saver (iTunes - Choose photos to share). That's when it started to show up on my system...that I can recall. Apple has always had issues with this feature and this may be yet another bug.

Jan 15, 2013 3:18 PM in response to gusjc

I may be wrong but I believe this is related to a Bonjour naming conflict. I have noticed similar naming behavior like this with computers on my home network; i.e. a computer being renamed to ComputerName-2.local for no apparent reason. The problem seems to be caused by Bonjour trying to re-register the same computer, with the same name, twice. This causes a naming conflict that Bonjour resolves by adding a number. I think that the AppleTVs exhibit the same behavior, with the parenthesed number (x) instead of the dash number -x.


For example, my son goes to college, and when he comes home, his laptop always shows up with an incremented number (2...3...4...etc.). This is, unquestioningly, Bonjour resolving a naming conflict. Likewise, if I change the name of my AppleTV to NewAppleTV, the number goes away but eventually returns- NewAppleTV (2). I don't know why the network does this, but I strongly suspect Bonjour is the source.


Again, I'm not sure this is the reason for this behavior but it seems to make the most sense. I haven't researched this that much with regard to the details of how to fix Bonjour but I suspect the fix is related to resetting the network, probably at the router level (though simply restarting the router doesn't seem to do anything). I suspect the whole Bonjour network needs to be reset.


As others have posted, although annoying, the naming issue doesn't seem to affect performance, and I wouldn't expect it to do so.

Mar 17, 2013 2:07 PM in response to gusjc

If your basestation supports simultaneous dual-band wifi (2.4 GHz and 5 GHz), the AppleTV may be connecting to each network at different times of the day and therefore appearing to the router as two different devices. Each time it reconnects to the alternate network, the number likely advances by one. Assigning a different names to each network might help solve the issue.

Mar 20, 2013 10:55 AM in response to gusjc

I keep having the problem with the number after the AppleTV name. It is VERY unnerving. What I did find out is the following: There is a multitude of registered services with Bonjour (using Bonjour Browser, but one can get the full list also in the Terminal), only one of which is the actual AppleTv. The other records are empty.

I tried the following to reset the Bonjour service:

1. Restart all devices, computers and router

2. Reset the router.

3. Disable and enable all network interfaces on my Mac

4. tried in Terminal:

launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

5. Tried in Terminal:

dscacheutil -flushcache

6. Switched off my computer overnight.


The old entries still persist. I seem to remember somewhere in the Bonjour documentation that the DNS should remove entries that expire after a while. Well my AppleTV has been renamed to Living Room Apple TV for already a week and the old Apple TV entries still persist!!!!

Are these cached somewhere in iCloud?


Anybody has any idea how to get rid of those?


User uploaded file

Mar 26, 2013 1:50 PM in response to holb

I think holb is on to something. I have three ATV 3's. Two are hardwired, and one is wireless. 'LR ATV' is on wireless and exhibits the naming issue... It's 'LR ATV (1242)' currently.


I have an Airport Extreme that was running in 2.4/5ghz mode, so I'll try switching to 2.4ghz only mode and see if it changes anything.

Apr 10, 2013 9:06 AM in response to gusjc

Nope. No info from Apple Engineering since I sent them my capture data on the 20. March.

On the other hand I've set a new numbering record with 1064...

My apple TV has been on a fixed IP, but Wireless connection. Seems the wireless connection and Bonjour are the problem, but aparently not enough people complaining...

User uploaded file

Apr 10, 2013 9:41 AM in response to ivan muc

Same here, Ivan. I'm kind of at a loss. I went back and looked over my system, and I forgot that only one of my ATV's is wired ethernet! In my screen shot, only HT ATV is wired; MBR ATV and LR ATV are both wireless, yet only LR ATV exhibits the annoying behavior. They're all set up as DHCP.

User uploaded file


I just tried a full restore. It came back fine with "Apple TV" as the name. I just renamed back to "LR ATV", and so far, so good. I'll post back here in a day or two and update with status.

Apple TV name followed by random number when using AirPlay

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.