{"action":"created","issue":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/848","labels_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/848/labels{/name}","comments_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/848/comments","events_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/848/events","html_url":"https://github.com/SynoCommunity/spksrc/pull/848","id":28375856,"number":848,"title":"Shairport Airplay Receiver","user":{"login":"lost-carrier","id":3090579,"avatar_url":"https://avatars.githubusercontent.com/u/3090579?v=3","gravatar_id":"","url":"https://api.github.com/users/lost-carrier","html_url":"https://github.com/lost-carrier","followers_url":"https://api.github.com/users/lost-carrier/followers","following_url":"https://api.github.com/users/lost-carrier/following{/other_user}","gists_url":"https://api.github.com/users/lost-carrier/gists{/gist_id}","starred_url":"https://api.github.com/users/lost-carrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lost-carrier/subscriptions","organizations_url":"https://api.github.com/users/lost-carrier/orgs","repos_url":"https://api.github.com/users/lost-carrier/repos","events_url":"https://api.github.com/users/lost-carrier/events{/privacy}","received_events_url":"https://api.github.com/users/lost-carrier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":60,"created_at":"2014-02-26T22:24:34Z","updated_at":"2015-01-08T11:00:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/pulls/848","html_url":"https://github.com/SynoCommunity/spksrc/pull/848","diff_url":"https://github.com/SynoCommunity/spksrc/pull/848.diff","patch_url":"https://github.com/SynoCommunity/spksrc/pull/848.patch"},"body":"Hi there,\r\n\r\nthis is my first try to build a Synology package.\r\n\r\nSince I have some AirPlay-enabled iDevices in use, as well as a Synology hooked via a USB soundcard to my amp, I wanted to use the storage as an AirPlay receiver. Synology provides various Apps that would stream TO AirPlay receivers, but nothing that would make the NAS act as an AirPlay receiver.\r\n\r\nLuckly there's a project called \"ShairPort\" around (well, it's even @ github: https://github.com/abrasive/shairport). So I compiled shairport using your crosscompile framework. Works fine with on my DS1512+. However, there are some known issues:\r\n\r\n1. shairport currently runs as root. I've tried to use a \"shairport\" user, but the /dev/snd and alsa-config are a bit messed-up in the DSM, so I could not allow any other user than root to play back via alsa without messing around with chgrp and chmod in /dev/snd/. Suggestions welcome.\r\n\r\n2. avahi-deamon has to support avahi-publish and dbus. Did not apply any of that stuff http://blog.elsdoerfer.name/2011/05/15/shairport-on-synology-nas/ suggests and it runs fine on my box. However: no guaranty it will run on every box. Beta testers welcome.\r\n\r\n3. the icon I used is from http://gnarld.com/how-to-use-airplay-with-your-ipad-2-iphone-4s-apple-tv/ - hope there's no copyright issue... (...graphically gifted contributions welcome. ;-) )\r\n\r\nCheers,\r\nLosty\r\n"},"comment":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/comments/69164900","html_url":"https://github.com/SynoCommunity/spksrc/pull/848#issuecomment-69164900","issue_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/848","id":69164900,"user":{"login":"altimac","id":778986,"avatar_url":"https://avatars.githubusercontent.com/u/778986?v=3","gravatar_id":"","url":"https://api.github.com/users/altimac","html_url":"https://github.com/altimac","followers_url":"https://api.github.com/users/altimac/followers","following_url":"https://api.github.com/users/altimac/following{/other_user}","gists_url":"https://api.github.com/users/altimac/gists{/gist_id}","starred_url":"https://api.github.com/users/altimac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/altimac/subscriptions","organizations_url":"https://api.github.com/users/altimac/orgs","repos_url":"https://api.github.com/users/altimac/repos","events_url":"https://api.github.com/users/altimac/events{/privacy}","received_events_url":"https://api.github.com/users/altimac/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T11:00:33Z","updated_at":"2015-01-08T11:00:33Z","body":"And of course your source music file is 16 bits?\r\nMy DAC shows the sample frequency in facade, but not the bit wide value. I thought it was 16bits because Airplay protocol force 16b.\r\n\r\nAlso, remember that bit wideness is not very important (at least from 16 to 24b) since most of the time the gap is padded with zeros, whereas sampling freq is a major problem (upsampling is generally very bad as it creates harmonics)."}}