Airplay not working
|
25th Jan, 2014, 05:36 PM
Post: #16
|
|||
|
|||
RE: Airplay not working
and is there as confirmed fix at XBMC ?
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
2nd Mar, 2014, 01:32 AM
Post: #17
|
|||
|
|||
RE: Airplay not working
Scanning through the aforementioned thread, to work around the situation you can first install the package avahi-utils.
Make sure you see your Xbian listed in the list of AirPlay devices as just a audio sink (AirTunes) and then use the following command: avahi-publish -s "iXBMC" _airplay._tcp 36667 "deviceid=XX:XX:XX:XX:XX:XX" "features=0x77" "model=AppleTV3,2" "srcvers=101.28" & In which you can replace "iXBMC" by the name you want your XBian to appear on the device and the XX:...:XX part by the mac address of eth0 (use ifconfig to find that one out). If you want to put this into a start script, make sure to wait until XBMC has sent the first announcement (so put a sleep for 15 or 20 seconds into the script). |
|||
6th Mar, 2014, 06:13 AM
Post: #18
|
|||
|
|||
RE: Airplay not working
(2nd Mar, 2014 01:32 AM)mehlvogel Wrote: If you want to put this into a start script, make sure to wait until XBMC has sent the first announcement (so put a sleep for 15 or 20 seconds into the script). Thank you! This really seemed to solve the problem for me. One question though, how would a startup script like that look and where should it be placed? |
|||
6th Mar, 2014, 06:34 AM
Post: #19
|
|||
|
|||
RE: Airplay not working
I haven't done it myself. The script itself should be pretty straight forward:
Code: #!/bin/bash Put that into one file, make it executable (chmod +x) and create a start script which calls this script like this. Code: #!/bin/bash In order to not let the init process wait for 20 seconds. The placement however is a different thing. In the dark times (i.e. back when I was fiddeling with start scripts ), you would have put it into /etc/init.d/ and run Code: update-rc.d <name of the script> defaults Code: man update-rc.d |
|||
9th Mar, 2014, 01:53 AM
Post: #20
|
|||
|
|||
RE: Airplay not working
(6th Mar, 2014 06:34 AM)mehlvogel Wrote: I haven't done it myself. The script itself should be pretty straight forward: Thank you for your advice on this, I'll try it as soon as have some time for it. I had some trouble with the avahi-utils (some Airplay apps not working, random lockups), but all in all it seems to work quite well. |
|||
25th Mar, 2014, 06:00 AM
Post: #21
|
|||
|
|||
RE: Airplay not working
BTW, it seems like the original issue has been solved: http://forum.xbmc.org/showthread.php?tid=179961&page=32
|
|||
25th Mar, 2014, 01:56 PM
Post: #22
|
|||
|
|||
RE: Airplay not working
(2nd Mar, 2014 01:32 AM)mehlvogel Wrote: In which you can replace "iXBMC" by the name you want your XBian to appear on the device and the XX:...:XX part by the mac address of eth0 (use ifconfig to find that one out). isn't better to provide oneline patch to XBMC? and actually send this announcement after sleep after the first one ? ok, should be merged into upstream. @DreamT anyhow to provide some insights and demonstrate how easier upstart is (comparing to sysv (init.d)): you would create file /etc/init/airplay-anounce.conf Code: start on started xbmc clever gui would change "start on started xbmc" to "start on xbmc-anounced". where xbmc-anounced would mean airplay anounce from XBMC / but for actual syntax and catching avahi events we would need to use documentation Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
25th Mar, 2014, 05:10 PM
Post: #23
|
|||
|
|||
RE: Airplay not working
(25th Mar, 2014 01:56 PM)mk01 Wrote:(2nd Mar, 2014 01:32 AM)mehlvogel Wrote: In which you can replace "iXBMC" by the name you want your XBian to appear on the device and the XX:...:XX part by the mac address of eth0 (use ifconfig to find that one out). Of course it would have been, if I would be able to provide such a patch. But since I have absolutely no idea how XBMC's architecture looks like, how it works and where to start for such a patch, this would take a huge amount of time, which -- I am afraid -- is currently not at my disposal The avahi stuff I got from the XBMC forum, so I guess the devs already now about it. (25th Mar, 2014 01:56 PM)mk01 Wrote: ok, should be merged into upstream. First, thanks on the upstart info. It really looks a hell lot easier. Second, I will make some more tests and keep an eye on it as soon as the update is pushed to my Pi. |
|||
25th Mar, 2014, 05:31 PM
Post: #24
|
|||
|
|||
RE: Airplay not working
(25th Mar, 2014 05:10 PM)mehlvogel Wrote: Of course it would have been, if I would be able to provide such a patch. But since I have absolutely no idea how XBMC's architecture looks like, I would do it, no problem. keep an eye on the upstream fix / in case it will take months, we update by ourself. ok ? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
25th Mar, 2014, 05:39 PM
Post: #25
|
|||
|
|||
RE: Airplay not working
(25th Mar, 2014 05:31 PM)mk01 Wrote: keep an eye on the upstream fix / in case it will take months, we update by ourself. The following is the statement in the forums about the current state: Quote: So I think there is a good chance it will be in the next beta release of Goham already. So on the weekend my task is to update my XBMC to Gotham I'll keep an eye on the release notes there with regard to AirPlay. |
|||
1st Apr, 2014, 03:01 AM
Post: #26
|
|||
|
|||
RE: Airplay not working
I have not come around testing it unfortunately, but XBMC just released beta3 of Gotham mentioning the fixed Airplay.
|
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Airplay not working | Lupurus | 17 | 42,173 |
21st Aug, 2020 08:58 AM Last Post: f1vefour |
|
[PROBLEM] Airplay is not working on XBIAN 1.0RC2 // XBMC 13.1 | sir106 | 27 | 82,000 |
16th Dec, 2014 03:05 PM Last Post: mk01 |