Airplay not working at all

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tmacka88 Offline
Member
Posts: 86
Joined: Mar 2012
Reputation: 0
Post: #1
I have done a little reading and can see a few people having issues with this but can at least get some parts working. I can get any airplay function to show up.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #2
post xbmc.log with debugging turned on.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
tmacka88 Offline
Member
Posts: 86
Joined: Mar 2012
Reputation: 0
Post: #3
Can you advise me how I can access this log from Buntu's desktop?

thanks
find quote
tmacka88 Offline
Member
Posts: 86
Joined: Mar 2012
Reputation: 0
Post: #4
Got it.

this is my log.

http://xbmclogs.com/show.php?id=1121

Will this help even though i cant even communicate with XBMC via airplay?

thanks
find quote
grywnn Offline
Donor
Posts: 379
Joined: Mar 2010
Reputation: 0
Location: Germany
Post: #5
If you don't even see XBMC as a target on the devices you want to stream from:
Did you install avahi-daemon as mentioned in the airplay wiki:
http://wiki.xbmc.org/index.php?title=Air...quirements

... cause without that, the airplay service won't be announced on your network, and thus won't apear on your devices.
find quote
tmacka88 Offline
Member
Posts: 86
Joined: Mar 2012
Reputation: 0
Post: #6
O, sorry didnt see that sorry. Was working on mac assumed something was wrong. Thanks.
I ran the command and got

trent_mackness@XBMC:~$ sudo apt-get install avahi-daemon
[sudo] password for trent_mackness:
Reading package lists... Done
Building dependency tree... 50%

but still not showing up on ipad etc

or does it meen do this on command line within ubuntu when it states this

#(on Ubuntu)
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #7
Code:
12:39:39 T:2843720560   DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing

the avahi is not running. If this is xbmcbuntu then imho its a wrong default (this should be working without interaction of the user).

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
tmacka88 Offline
Member
Posts: 86
Joined: Mar 2012
Reputation: 0
Post: #8
What would fix that?
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #9
Code:
/etc/init.d/avahi-daemon start

something like that...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
tmacka88 Offline
Member
Posts: 86
Joined: Mar 2012
Reputation: 0
Post: #10
this is what i get after running the code above: Still no airplay.

trent_mackness@XBMC:~$ /etc/init.d/avahi-daemon start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service avahi-daemon start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start avahi-daemon
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.25" (uid=1000 pid=1596 comm="start avahi-daemon ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #11
Code:
sudo service avahi-daemon start
... thats it then ... (sudo is important here).

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
tmacka88 Offline
Member
Posts: 86
Joined: Mar 2012
Reputation: 0
Post: #12
(2012-04-02 09:57)Memphiz Wrote:  
Code:
sudo service avahi-daemon start
... thats it then ... (sudo is important here).

That fixed it for a bit. Now it stoped working again, saying the same thing:

14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.eventserver type: _xbmc-events._udp name:XBMC (XBMC) port:9777
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.jsonrpc-http type: _xbmc-jsonrpc-h._tcp name:XBMC (XBMC) port:8080
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.jsonrpc-tpc type: _xbmc-jsonrpc._tcp name:XBMC (XBMC) port:9090
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.webapi type: _xbmc-web._tcp name:XBMC (XBMC) port:8080
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.webserver type: _http._tcp name:XBMC (XBMC) port:8080
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
14:40:22 T:3043034880 DEBUG: SECTION:LoadDLL(libshairport.so.1)
14:40:22 T:2809125744 DEBUG: Thread CAirPlayServer start, auto delete: 0
14:40:22 T:3043034880 DEBUG: Loading: libshairport.so.1
14:40:22 T:2800733040 DEBUG: Thread Jobworker start, auto delete: 1
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.airplay type: _airplay._tcp name:XBMC (XBMC) port:36667
14:40:22 T:2817518448 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
14:40:22 T:2792340336 DEBUG: Thread CAirTunesServer start, auto delete: 0
14:40:22 T:3043034880 DEBUG: CLastfmScrobbler: Clearing session.
14:40:22 T:2800733040 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.airtunes type: _raop._tcp name:0BC5FF4A849E@XBMC (XBMC) port:36666
14:40:22 T:3043034880 DEBUG: CLibrefmScrobbler: Clearing session.
14:40:22 T:2800733040 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
14:40:22 T:2895117168 DEBUG: RunQuery took 9 ms for 10 items query: select * from episodeview order by idEpisode desc limit 10


this is the full log:

http://xbmclogs.com/show.php?id=1196

Did it not save my settings I changed or something?
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #13
Did you restart your computer You have to make the start of the deamon sticky. (not sure how to do that on xbmcbuntu). Maybe some linux dev or linux user could jump in here now.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
tmacka88 Offline
Member
Posts: 86
Joined: Mar 2012
Reputation: 0
Post: #14
Yeh I did restart. Explains it at least.
find quote
prae5 Offline
Team-XBMC Forum Moderator
Posts: 2,063
Joined: Jan 2009
Reputation: 34
Location: Cambridge, UK
Post: #15
(2012-04-05 13:55)Memphiz Wrote:  Did you restart your computer You have to make the start of the deamon sticky. (not sure how to do that on xbmcbuntu). Maybe some linux dev or linux user could jump in here now.

If this is a standard XBMCBunutu install it should start automatically.

I've just done a fresh install to test this and it seems to start fine:

Code:
@MicroServer:~$ /etc/init.d/avahi-daemon status
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service avahi-daemon status

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the status(8) utility, e.g. status avahi-daemon
avahi-daemon start/running, process 850
find quote
Post Reply