Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Airplay not working
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Airplay not working
9th Mar, 2014, 01:53 AM
Post: #20
DreamT Offline
Registered
Posts: 3
Joined: Mar 2014
Reputation: 0
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:

Code:
#!/bin/bash

sleep 20 # Sleep for 20 seconds, adjust until it works.
avahi-publish -s "iXBMC" _airplay._tcp 36667 "deviceid=XX:XX:XX:XX:XX:XX" "features=0x77" "model=AppleTV3,2" "srcvers=101.28"

Put that into one file, make it executable (chmod +x) and create a start script which calls this script like this.

Code:
#!/bin/bash

/path/to/script.sh &


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 Wink), you would have put it into /etc/init.d/ and run
Code:
update-rc.d <name of the script> defaults
to have it loaded. This might still work. I recommend reading /etc/init.d/README and
Code:
man update-rc.d
before messing with the start scripts. Nowadays, there are more advanced init systems at place and I am not sure what is used in xbian and how it could be ideally integrated. Maybe one of the devs or one having a better overview might chip in a pointer.

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.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Airplay not working - Elemental - 8th Dec, 2013, 11:36 PM
RE: Airplay not working - Koenkk - 9th Dec, 2013, 08:16 AM
RE: Airplay not working - mk01 - 14th Dec, 2013, 12:20 PM
RE: Airplay not working - Elemental - 16th Dec, 2013, 06:25 AM
RE: Airplay not working - mk01 - 16th Dec, 2013, 06:32 AM
RE: Airplay not working - S47 - 28th Dec, 2013, 06:40 PM
RE: Airplay not working - S47 - 28th Dec, 2013, 07:44 PM
RE: Airplay not working - bcre3306 - 11th Jan, 2014, 04:48 AM
RE: Airplay not working - IriDium - 3rd Jan, 2014, 03:58 AM
RE: Airplay not working - mk01 - 7th Jan, 2014, 10:07 PM
RE: Airplay not working - IriDium - 8th Jan, 2014, 12:56 AM
RE: Airplay not working - mk01 - 8th Jan, 2014, 06:53 AM
RE: Airplay not working - mk01 - 16th Jan, 2014, 02:49 PM
RE: Airplay not working - S47 - 23rd Jan, 2014, 02:59 AM
RE: Airplay not working - bcre3306 - 23rd Jan, 2014, 06:23 AM
RE: Airplay not working - mk01 - 25th Jan, 2014, 05:36 PM
RE: Airplay not working - mehlvogel - 2nd Mar, 2014, 01:32 AM
RE: Airplay not working - DreamT - 6th Mar, 2014, 06:13 AM
RE: Airplay not working - mk01 - 25th Mar, 2014, 01:56 PM
RE: Airplay not working - mehlvogel - 25th Mar, 2014, 05:10 PM
RE: Airplay not working - mk01 - 25th Mar, 2014, 05:31 PM
RE: Airplay not working - mehlvogel - 25th Mar, 2014, 05:39 PM
RE: Airplay not working - mehlvogel - 6th Mar, 2014, 06:34 AM
RE: Airplay not working - DreamT - 9th Mar, 2014 01:53 AM
RE: Airplay not working - DreamT - 25th Mar, 2014, 06:00 AM
RE: Airplay not working - mehlvogel - 1st Apr, 2014, 03:01 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Airplay not working Lupurus 17 44,938 21st Aug, 2020 08:58 AM
Last Post: f1vefour
  [PROBLEM] Airplay is not working on XBIAN 1.0RC2 // XBMC 13.1 sir106 27 86,175 16th Dec, 2014 03:05 PM
Last Post: mk01

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 23rd May, 2025, 05:17 AM Powered By MyBB, © 2002-2025 MyBB Group.