{"id":48587,"date":"2020-06-02T16:32:49","date_gmt":"2020-06-02T14:32:49","guid":{"rendered":"https:\/\/www.max2play.com\/?page_id=48587"},"modified":"2020-06-02T16:32:49","modified_gmt":"2020-06-02T14:32:49","slug":"howto-airplay-with-max2play","status":"publish","type":"page","link":"https:\/\/www.max2play.com\/en\/how-tos\/howto-airplay-with-max2play\/","title":{"rendered":"HowTo &#8211; AirPlay with Max2Play"},"content":{"rendered":"[spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>In this HowTo we show you the many possibilities that Max2Play has to offer, using your Apple devices to control or play music.<\/p>\n<p>Basically, with Max2Play you have 3 options to integrate Apple devices into your setup:<\/p>\n<ol>\n<li><strong>Shairport<\/strong> service in the Max2Play audio player tab<\/li>\n<li><strong>Shairtunes2<\/strong> plugin for the Squeezebox server<\/li>\n<li><strong>Airplay Bridge<\/strong> plugin for the Squeezebox server<\/li>\n<\/ol>\n[\/spb_text_block] [blank_spacer height=&#8220;30px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block title=&#8220;1. Shairport&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;][\/spb_text_block] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/2&#8243; el_position=&#8220;first&#8220;]\n<p>Shairport is a service pre-installed on every Max2Play device for starting and stopping a dedicated Airplay player that can be synchronized with other Airplay players via iTunes.<\/p>\n<p>You can find Shairport in the Audioplayer tab of the Max2Play web interface. To start it, simply click on the corresponding button. If you use a sound card, you should first select it as audio output in the advanced settings of Shairport.<\/p>\n<p>Note that Squeezelite and Shairport can run at the same time, but the two can get in each other&#8217;s way when playing audio. To avoid this, either only ever start one of the two processes or enter the IP address of the Squeezebox Server in your home network in the advanced settings of Shairport. Then the device automatically switches between AirPlay and Squeezelite playback.<\/p>\n[\/spb_text_block] [spb_single_image image=&#8220;48916&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/2&#8243; el_position=&#8220;last&#8220;] [spb_single_image image=&#8220;48926&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [blank_spacer height=&#8220;30px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p><strong>Multishairport<\/strong><\/p>\n<p>The Max2Play Premium Plugin Multishairport offers the simultaneous operation of several AirPlay players on just one Raspberry Pi. In this way you can use more than one audio output of the Pi or the sound card at a time. <a href=\"https:\/\/www.max2play.com\/en\/portfolio\/pluginmultishairport\/\" target=\"_blank\" rel=\"noopener\">Click here to get the plugin.<\/a><\/p>\n[\/spb_text_block] [blank_spacer height=&#8220;30px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block title=&#8220;2. Shairtunes2&#8243; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;][\/spb_text_block] [spb_single_image image=&#8220;48922&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>Shairtunes2 is a plugin for the Squeezebox Server, which turns all Squeezelite players that are connected to the server into AirPlay players.<\/p>\n<p>You can find the plugin by clicking Settings in the Squeezebox Server at the bottom right and selecting the Plugins tab. Shairtunes2 should then be listed at the third-party plugins. Check the box next to Shairtunes2 and click Apply on the bottom right. After restarting the server, go to the plugin overview again and click on Settings on the right side of the Shairtunes2 plugin.* Here you can determine the format for re-encoding the files and which players should be turned into AirPlay players.<\/p>\n<p>*If the settings of Shairtunes2 are not available for you after the installation, please install the Shairtunes2 Fix on the Squeezebox Server tab in the Max2Play webinterface. If that does not work, try to execute the following command on the device via a terminal\/SSH (e.g. with our Remote Control Plugin): <strong>sudo apt-get upgrade libcrypt-openssl-rsa-perl<\/strong><\/p>\n[\/spb_text_block] [blank_spacer height=&#8220;30px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block title=&#8220;3. Airplay Bridge&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;][\/spb_text_block] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p><span title=\"\">With this plugin, AirPlay-compatible devices can be used and controlled by the Squeezebox Server as normal Squeezebox devices.<\/span> <span title=\"\">It searches the local network for compatible devices and creates a player instance of the Squeezebox Server for each Airplay device found.<\/span><\/p>\n<div class=\"tlid-results-container results-container\">\n<div class=\"tlid-result result-dict-wrapper\">\n<div class=\"result tlid-copy-target\">\n<div class=\"text-wrap tlid-copy-target\">\n<div class=\"result-shield-container tlid-copy-target\" tabindex=\"0\">\n<p><span class=\"tlid-translation translation\" lang=\"en\"><span class=\"tlid-translation translation\" lang=\"en\"><span class=\"\" title=\"\">You can find the plugin just like Shairtunes2: Click on Settings in the Squeezebox Server at the bottom right and go to the Plugins tab.<\/span> <span class=\"\" title=\"\">Airplay Bridge should then be listed atthe third-party plugins.<\/span> <span class=\"\" title=\"\">Check the box next to the plugin name and click on Apply in the lower right corner.<\/span> <span class=\"\" title=\"\">After restarting the server, go to the plugin overview again and click on Settings on the Airplay Bridge Plugin on the right.<\/span><\/span><\/span><strong><span title=\"\">To get the plugin up and running, follow these steps:<\/span><\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n[\/spb_text_block] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/2&#8243; el_position=&#8220;first&#8220;]\n<p style=\"padding-left: 30px;\"><strong>1.<\/strong> Switch on all Airplay devices<\/p>\n<p style=\"padding-left: 30px;\"><strong>2.<\/strong> Tick the box at <strong>Start the Bridge<\/strong><\/p>\n<p style=\"padding-left: 30px;\"><strong>3.<\/strong> Select binary if necessary<\/p>\n<p style=\"padding-left: 30px;\"><strong>4.<\/strong> Click <strong>Apply<\/strong> in the lower right corner<\/p>\n[\/spb_text_block] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/2&#8243; el_position=&#8220;last&#8220;]\n<p style=\"padding-left: 30px;\"><strong>5.<\/strong> If a configuration file was not automatically generated after approx. 30s (refresh page), click on <strong>Generate<\/strong> and force the creation<\/p>\n<p style=\"padding-left: 30px;\"><strong>6.<\/strong> If the Airplay players do not already appear, remove the tick at <strong>Start the Bridge<\/strong> and edit parameters<\/p>\n<p style=\"padding-left: 30px;\"><strong>7.<\/strong> Click <strong>View User Guide<\/strong> for more information<\/p>\n[\/spb_text_block] [spb_single_image image=&#8220;48921&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n","protected":false},"excerpt":{"rendered":"<p>[spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] In this HowTo we show you the many possibilities that Max2Play has to offer, using your Apple devices to control or play music. Basically, with Max2Play you have 3 options to integrate Apple devices into your setup: Shairport service in the Max2Play audio player tab Shairtunes2 plugin for the Squeezebox server Airplay Bridge plugin [&hellip;]<\/p>\n","protected":false},"author":13459,"featured_media":0,"parent":17211,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/48587"}],"collection":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/users\/13459"}],"replies":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/comments?post=48587"}],"version-history":[{"count":8,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/48587\/revisions"}],"predecessor-version":[{"id":48928,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/48587\/revisions\/48928"}],"up":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/17211"}],"wp:attachment":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/media?parent=48587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}