Airplay not working at all
#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.
Reply
#2
post xbmc.log with debugging turned on.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Can you advise me how I can access this log from Buntu's desktop?

thanks
Reply
#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
Reply
#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.
Reply
#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)
Reply
#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).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#8
What would fix that?
Reply
#9
Code:
/etc/init.d/avahi-daemon start

something like that...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#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")
Reply
#11
Code:
sudo service avahi-daemon start
... thats it then ... (sudo is important here).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#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?
Reply
#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.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#14
Yeh I did restart. Explains it at least.
Reply
#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
Reply

Logout Mark Read Team Forum Stats Members Help
Airplay not working at all0