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

Oct 16, 2014 6:52 AM in response to Yaggo

Go to Settings, Airplay, Security, turn on Require Device Verification.


Leave the access control at None. Then Use the Airplay on one of the IOS or Mac devices. You will get a prompt for a 4 digit code so just enter it and enter the code that shows on the screen.


It only asks you to verify your device once. Each time after that it will remember it.


Now go to the Airplay screen again and select the Apple TV name.


I did this and both my Apple Tv's are functioning correctly.

Oct 16, 2014 3:49 PM in response to Yaggo

I work in a few large institutions. In one case we have 30 Apple TV's connected on the same network. There have been a surprisingly low number of issues generally with these setups but there are a couple that are bugging me:


- Apple TV's renaming themselves. Usually just a cosmentic issues. It can sometimes result in users mirroring to a random ATV.

- Sound bug when mirroring from OSX10.9.x. Occasional bug which dissables audio being streamed but does not effect video. Rebooting the offending MacBook/iMac resolves this issue. We recently narrowed that bug down to CoreAudio by running a terminal command that restarts that service, also resolving the problem. (temporarily!)


As others have mentioned, I suspect the Apple TV renaming issue relates to the bonjour service catching sight of a device with a duplicate name. All of our Apple TV's are connected via Ethernet, so it's not a 2.4 vs 5Ghz issue. I'm about to test assigning static IP's to check if that resolves it.


Problems seem to have gotton worse with the latest ATV udpate (7.0 (6897.5))

Oct 17, 2014 8:56 PM in response to FFS48

I have the exact same issue, I have tried renaming it, and it's the same. Our setup is wired and there are 2 Apple TV's total in our home.


Also, we can not stream to them from our Macbook Pro's anymore, as there is no AirPlay icon in the top menu bar anymore... AND, if I open the Remote app on an iPhone, 3 AppleTV's show up with 3 different icons. Ultimate hotness.


Hoping Apple will exchange them since they are brand new and were broken with one "update".

Oct 19, 2014 9:25 PM in response to gimpsley

Go to Settings, Airplay, Security, turn on Require Device Verification.


Leave the access control at None. Then Use the Airplay on one of the IOS or Mac devices. You will get a prompt for a 4 digit code so just enter it and enter the code that shows on the screen.


It only asks you to verify you device once. Each time after that it will remember it.


Now go to the Airplay screen again and select the Apple TV Name.


I did this and both my Apple Tv's are functioning correctly.

Nov 6, 2014 12:30 PM in response to silentzypher

I had the exact same problem. 3 ATVs and all wireless. Only one like to assign random numbers, the other two remained the same even after switching routers. I tried nearly everything in this post, all to no avail. I want to be clear, this did not affect the ATV's functionality, it's just that my OCD hated the (2) after the name. Not very asthetically pleasing. So, I searched elsewhere and found this. It was so simple, I thought there was no way it would work. Guess what? It totally worked. Took two seconds, too!


rename the appleTV and reboot (he means "restart" NOT "reset")
then rename back to the original name and reboot
and the (#s) disappears



Dec 2, 2014 1:46 AM in response to gusjc

Unfortunately the rename/reboot solution didn't work for me. I still do have this silly number behind of my ATVs name.

Does anyone where this number comes from? Is it ATV which broadcasts this number or does the device (such as iPhone or Mac) attach this number?

Today I figured out, connecting to an ATV over peer-to-peer (new iOS feature) and the ATV also showed up with a number. Therefor I suggest it is not a network issue causing the ATV name to count up.

Dec 8, 2014 7:26 PM in response to gusjc

I too had this problem after resetting my 4 Apple TVs to factory defaults and reloading the software to troubleshoot an Airplay problem I've been having since upgrading to iOS 8.1. After trying most of the suggestions on this thread and still having a (2) after the name I found the silver bullet that fixed the problem for me. Rename each unit putting a space after the name, then reboot. Problem solved and my OCD laden brain can now have a rest!

Jan 25, 2015 2:45 AM in response to gusjc

I had this issue. For me it was a network issue - I initially connected the ATV to one wireless network, then a second wireless network (after I realised the first network was my work only, internal network) . Then when I turned my iPad on (connected the the second wireless network) it showed up as Apple TV (2)...or whatever I called it, it had the (2) after it. In my case I disconnected my iPad from network 2 and reconnected to network one, then back to network 2. I did the same on the Apple TV (after unplugging it) and that seemed to work.


Seems to be that connecting it to multiple networks registers two ATV's on the network. Hope that helps some people.

Jan 28, 2015 8:50 AM in response to gusjc

Those mean that device is the 2nd or 7th device on the network to use that hostname. The addition of a number is a feature of Bonjour networking that Airplay uses to see other Airplay devices. What's causing it on your network are ghosts of your own devices not clearing themselves properly. When the device reconnects to your network or gets a new IP address, it see these ghosts and renames itself to not conflict with the ghost device. Harmless, yet annoying.

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.