Upnp/DLNA and Airplay/Shairport

Upnp/DLNA

In version 0.99.1 Beta, upmpdcli (An UPnP Audio Media Renderer based on MPD with Openhome support) became a part of the Archphile distribution. It is installed but not enabled by default.

In order to start it you must give the following:

systemctl start upmpdcli

If you want to enable it so that it’s active after reboot:

systemctl enable upmpdcli

 

If you used this guide and created a remote control for Archphile, you can create two commands:

Start Upnp:  create a new command with the name Start Upnp and in the field of the command put systemctl start upmpdcli

Stop Upnp: create a new command with the name Stop Upnp and in the field of the command put systemctl stop upmpdcli

This way, you will not have to start the service or enable it, using command prompt. You will just press the Start Upnp button to enable upnp functionality it and when you don’t need it anymore you will press the button Stop Upnp. This method is suitable for users that have not based their configuration on upnp and just want to share a song from their smarphone for example. This way you avoid an extra service running while you don’t use it!

A nice Android app I used to test the above is BubbleUPnP:

bubbleupnp_archphile

 

You just select an audio file from the app’s library, you press on it and it starts streaming on your Archphile device.

 

Airport/Aiplay support (shairport-sync)

In version 0.99.4b Beta, shairport-sync (Airtunes/Airplay emulator) became a part of the Archphile distribution replacing shairport. It is installed but not enabled by default.

In order to start it you must give the following:

systemctl start shairport-sync

If you want to enable it so that it’s active after reboot:

systemctl enable shairport-sync

I have tested it with itunes from a windows 7 laptop and it seems to work fine:

archphile_shairport

 

Like I suggested above for Upnp/Dlna it’s highly recommended to not enable the service if you are not a frequent user. You will just waste system resources for something you don’t use. Instead I suggest you create two more commands in your Remote control:

Start Shairport:  create a new command with the name Start Shairport and in the field of the command put systemctl start shairport-sync

Stop Shairport: create a new command with the name Stop Upnp and in the field of the command put systemctl stop shairport-sync

 

Note: Both Upnp/Dlna and Shairport-sync will have zero impact on your system performance if you don’t enable them! If you don’t use them and you feel like your installation is bloated, you don’t have to worry about it. Their dependencies are small and they do not affect Archphile performance at all.