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

Jun 28, 2013 6:12 AM in response to gusjc

Yes. Shut down all your macs/computers. Switch off all apple TVs, airport expresses, extremes, time capsules and your Internet router. This means to cut them off from power. Sleeping a Mac/mini/MacBook is NOT enough.

All have to be switched off.

Go for a 30 min walk.

Meanwhile all the bonjour caches of the servers/proxies should expire. When you restart your network numbering will restart again after a while.

If anybody has just bought an Apple TV, complain to Apple while you have phone support, and send them a link to this forum post.

It is an error of the Bonjour protocol that they need to fix some day. Maybe.

Aug 6, 2012 9:26 PM in response to gusjc

I changed my Apple TV name to Living Room Apple TV but it still has the number following the TV identification in the mirroring window. It starts at no number then gains one number at a time. If I unplug the Apple TV electric plug, then plug it back in, the number disappears - then, sometime later, starts adding the number again. Doesn't affect the Apple TV performance, just an irritation.


User uploaded file

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

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.

Aug 20, 2012 12:42 PM in response to gusjc

I am having the same issue. Everything works fine, but my Apple TV shows up with a (2) behind it for Airplay and iTunes.

I recently replaced my 2nd Gen Apple TV with a 3rd Gen Apple TV and sold my 2nd Gen to a buddy.

I have a feeling that somehow my MBP or Time Capsule based wireless network think there is a another Apple TV that may be turned off etc., and it has added my 3rd Gen as an additional unit. Just a theory.

I wonder how you teach your Mac or Timecapsule/Airport Express network that an Apple TV has left, never to return ?

Aug 20, 2012 2:51 PM in response to gusjc

I've seen it too.


I've often wondered if AppleTV IP address changes over time (restarting with DHCP IP allocation), but iPhone/iPad remember the same device name at a different address so think it's a similarly named duplicate AppleTV and append a number.


Annoying.


Hmm wonder if it has any relation to the Home Sharing issues some of us are seeing.


AC

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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 Account.