View on GitHub

YAACC - Android UPnP/DLNA Client and Server

Play media from UPnP/DLNA devices in your network on your android device or any capable UPnP/DLNA device in your network. It is also possible to start an UPnP/DLNA server on your device and play media from your device on any UPnP/DLNA renderer in your network.

Up

Settings

setting description
appearance category for appearance settings
layout choose “New (single screen)” (the default, also after an update from a version without this setting) or “Classic (tabs)”; the change applies when you return to the app screen
theme choose between “System” (follow the system setting), “Dark” and “Light” (a fresh install starts with “Dark”); a former “Dark mode” check box is converted (on becomes “Dark”, off becomes “System”). The colors are shades of gray in both themes
log level define which log level will be displayed in the log view; the log view has a clear button and refreshes every two seconds while it is open
swipe on browse enable or disable swipe navigation between tabs
media browsing behavior category for media browsing settings
thumbnails show thumbnails or not
cover images search for cover images in media files or use a cover.jpg file within the directories
number of threads Configure the number of threads used for loading content from the UPnP server. More threads causes faster loading but increase the possibility of errors. Changes are effect after restart of YAACC.
chunk size when browsing amount of items fetched from server in one request
result set size the most items fetched from the server in total when a folder is played (1000 by default; the whole folder or search result is loaded page after page up to this number, and a message says when there is more)
media playing behavior category for media playing settings
default item duration default item duration if media file provides no duration information
silence duration default silence duration between two media files in a playlist
repeat for new players (key: replay playlist) the repeat mode a new player starts with: set means repeat all, not set (the default of a new installation) means play the playlist once. Each player has its own repeat button (off, all, one) that changes only that player; the setting is not changed by it
shuffle for new players (key: shuffle music) the shuffle mode a new player starts with. Each player has its own shuffle button that changes only that player; the setting is not changed by it
picture stay duration define the duration an image is shown until the next one coming up
FCast category for the FCast settings; see FCast
About FCast an explanation only, with the notice: This application is an independent community implementation of the FCast protocol. It is not affiliated with FUTO. FCast is a registered trademark of FUTO.
FCast support (key: settings_fcast_enabled) on by default. The one switch for everything FCast (in the structure of Sendspin support and Snapcast support; the old Find FCast receivers switch is gone): the app searches the local network for FCast receivers by mDNS (_fcast._tcp) while a page with the receiver list or the list of FCast receivers is open; it sends mDNS queries on the network and lists every device that announces itself. Announcements are not authenticated: anyone on the network can announce a receiver. Nothing is played to a receiver before you choose it. Clear it to switch FCast off completely: no search, no FCast cards in the receiver lists, and the two entries below are greyed out; the receivers you added stay stored and come back when it is on again. An installation that had the search off and no receiver added starts with FCast off.
use the encrypted version 4 (key: settings_fcast_v4) on by default. On Android 10 or later a receiver whose key YAACC knows (from its connection link, which is stored, or from its mDNS announcement) is spoken to in the encrypted FCast version 4 (TLS 1.3). A key that does not match is refused and never answered with the unencrypted version. Turn it off to always use the unencrypted version 3, for example if a receiver does not work with version 4; the keys are kept. A receiver that was added only by its address is always spoken to in version 3.
FCast receivers (key: settings_fcast_receivers) opens the list of FCast receivers: an input that takes an address (host[:port], port 46899 by default), the name of a device or a pasted fcast://r/... connection link, the receivers with how they were found and Remove for those added by hand (at most 16), and below it the discovery report with Copy report
Sendspin category for the Sendspin settings; see Sendspin
Sendspin support (key: settings_sendspin_enabled) on by default. The one switch for everything Sendspin (the structure of Snapcast support): the app searches the local network for Sendspin players and servers by mDNS (only while a page that shows Sendspin is open; announcements are not authenticated), lists them as receivers, plays music to the players and controls the servers. Nothing is played to a player before you choose it. Clear it to switch Sendspin off completely; the entries below that depend on it are greyed out
Sendspin services (key: settings_sendspin_services) off by default. The general switch for what this phone runs itself, also the switch on the first page (shown only while Sendspin support is on): the Sendspin player and the server that others can reach, as allowed below. The app then stays open in the background
Sendspin server (key: settings_sendspin_advertise) off by default; needs Sendspin services. Makes the phone a server that others connect to: players that look for a server (such as Kodi) and controllers (such as another YAACC phone) can connect and control what the phone plays. Without it the phone still plays to the players it finds or you add, and only the phone itself controls it
Sendspin server sends advertisements (key: settings_sendspin_announce) on by default; needs Sendspin server. The server announces itself on the network, so that players that look for a server and other YAACC phones find it without an address
Sendspin player (key: settings_sendspin_player) off by default; needs Sendspin services. A server such as Music Assistant, or another YAACC phone, can play music on this phone
Allow unpaired servers (key: settings_sendspin_unpaired_servers) off by default. Servers that are not paired with this phone may play on it, and this phone may control such servers; anyone on your network could then play on this phone
Allow unpaired players (key: settings_sendspin_unpaired_players) off by default. Players and other YAACC phones that are not paired may connect to the server of this phone, to play music or to control it
Allow unencrypted devices (key: settings_sendspin_legacy) off by default. Also accept older players that do not encrypt their connection; others on your network could read what is sent
PCM support, FLAC support, Opus support (keys: settings_sendspin_player_pcm, settings_sendspin_player_flac, settings_sendspin_player_opus) all on by default; need Sendspin player. The codecs the phone offers to a server when it is a player, in the order PCM, FLAC, Opus; switch the others off to choose one (if all are off, PCM is used). Turn FLAC or Opus off if the sound stutters or stops
Cover display, Metadata display, Color display (keys: settings_sendspin_player_show_cover, settings_sendspin_player_show_now_playing, settings_sendspin_player_show_colors) off by default; need Sendspin player. What the phone’s display shows while it plays as a player: the cover, title, artist, album and progress, or colors that follow the music. The colours are tuned in the gear of a player card (Colours of the music: red, green and blue offsets and the brightness swing with the loudness, 0 to 100 percent each; and, on this phone’s own card, the screen brightness while only colours show, 5 to 100)
Sendspin players (key: settings_sendspin_players) opens the list of players: add one by address (host or host:port, port 8928) or remove it; below it the paired and approved players and the discovery report with Copy report
Sendspin servers (key: settings_sendspin_servers) needs Sendspin support. Add a server to control by address (port 8927) or remove it
Snapcast category for the Snapcast settings; see Snapcast
what Snapcast needs an explanation only: YAACC plays into and controls an existing Snapcast server in your network, it needs one it can reach
Snapcast support (key: settings_snapcast_enabled) on by default (an installation that had Play to Snapcast groups switched off keeps it off). The one switch for everything Snapcast: the app searches the local network for Snapcast servers (mDNS queries on the network, only while a page that shows Snapcast is open; it contacts every server that announces itself, and announcements are not authenticated), lists them, plays music to their groups and controls them. The music is sent unencrypted. See Snapcast. Everything below depends on it.
Snapcast services (key: settings_snapcast_services) off by default. The general switch for what this phone runs itself, also the switch on the first page (shown only while Snapcast support is on): it starts and ends the Snapcast server and the Snapcast client that are allowed below. The app then stays open in the background. After an app restart the allowed services come back on their own (and after a reboot if start on boot is on).
Snapcast server (this phone) (key: settings_snapcast_server) off by default, needs Snapcast services. The server runs, listens on the ports and announces itself on the network only while Snapcast support, Snapcast services and this switch are all on.
Codec of the YAACC Snapcast server (key: settings_snapcast_server_codec) FLAC by default; needs Snapcast server (this phone). The codec in which the server of this phone sends a stream to its clients: for the stream of this phone when it plays to its own server, and for streams that another app adds without naming a codec (the others keep theirs). PCM is uncompressed and the most reliable; Opus (least traffic, lossy) is offered from Android 10. A stream that exists already keeps its codec until it is removed
Codec when YAACC plays to a Snapcast server (key: settings_snapcast_feed_codec) FLAC by default; needs Snapcast support. The codec in which a server sends the stream of this phone to its clients when YAACC plays to a server (not to the server of this phone: that has its own list above). YAACC itself always sends PCM to the server; this is what the server makes of it. PCM or Opus (from Android 10; the server must support it, a snapserver built without Opus refuses the stream) can be chosen. A stream that exists already on the server keeps its codec until it is removed
Snapcast servers (key: settings_snapcast_servers) opens the list of servers and, below it, the discovery report with a Copy report button (what is browsed, what the system reported, the state of the switch, Wi-Fi, permission and multicast lock; it names the servers found and their addresses). With the switch above on, the network is searched while this window is open. In the list you can add a server by host name or IP address with an optional :port (default 1705), remove a typed-in or remembered server (its selected groups are deselected, and a running play to it stops). At most 16 servers; no user name or password is accepted, YAACC stores no credentials
Snapcast client (key: settings_snapcast_client) off by default, needs Snapcast services. Lets this phone act as a Snapcast client: its card appears among the receivers; the power button of the card connects and disconnects it (and remembers it, so that it reconnects with the app). It may connect only while Snapcast support, Snapcast services and this switch are all on.
Snapcast client details greyed out unless Snapcast client is checked: opens the troubleshooting sheet that shows the connection state, the sync values and the event trace of this client (address of the server, which becomes the server of the client when you tap Start; Choose server, latency, write-ahead, Start, Stop, the state and the numbers of the session, Copy trace). The gear of the Snapcast row on the first page opens the settings at the Snapcast section. The client is connected and disconnected with the power button of its card.
local server configuration category for the server configuration
local server state enable or disable media server
autostart server on boot always selectable (it no longer depends on the media server switch). Checked: the device start wakes YAACC (the boot receiver is enabled), and it starts what is switched on (media server, receiver, proxy and, when its switch is on, the Snapcast client); with all of them off the app only listens for devices (the discovery service and its notification stay). Checked also means YAACC is never closed automatically (the idle close of five minutes in the background does not apply); the exit button and the shutdown timer still end it. Not checked (the default): the receiver is disabled, nothing starts at the boot, and a start of the app without a screen closes itself after five minutes when nothing runs. The switch of the receiver is applied when you change the setting and at every start of the app: an installation that had the setting checked before this version starts at the boot again once the app was opened after the update. An app that was stopped by force gets no boot start
media proxy service if checked the http and https links shared with the app are proxied by the app using an http url, which is needed if your rendering device does not support https urls. The proxy is the SSL offload during sharing and needs the UPnP server switch (the first-page switch) to be on: with the proxy checked and the switch off nothing of the app serves the link, so the shared link is refused and the app says so (switch the UPnP server on or uncheck the proxy). With the proxy not checked the link is handed to the receivers directly and the switch does not matter. Normal sharing (files and links from other apps and from the device, with the short-lived address) works without the switch and does not depend on this setting. See Media proxy.
restrict the media proxy to the chosen receivers checked by default. A shared file or link is then only handed to the receivers you chose for it (their network addresses, and this phone’s own addresses only if this device was chosen); a request from another address is answered with “403” and the log shows the refused address. Switch it off if a chosen receiver is refused, see below.
media receiver service activate or deactivate the media receiving service
output of the media receiver (key: settings_renderer_output) This device (the default: images, video and audio play on this phone) or Snapcast group (audio only): where the renderer plays what other apps and controllers send to it. Video and images are refused while the group is the output. With the group it only feeds the chosen Snapcast group (this phone stays silent, nothing is added to the group), and the renderer’s volume and mute are the group’s. The audio is sent unencrypted to the server. Any device that can reach the receiver can change the volume and mute of the whole group (UPnP and OpenHome have no login). The short text under the setting in the app says the three things that matter most (unencrypted audio, who can change the volume, and that only the group plays); the rest is here. The volume and mute an OpenHome control point sees are the last ones this phone knows from the server until the next play or the next start of the renderer. Takes effect at the next play; a running renderer play on the other output is stopped. The same setting can be changed from an OpenHome control point: the source list of the renderer has Playlist (this device) and one source per Snapcast group the app knows, and choosing a source there writes this setting and the group below; a change here is shown to the controllers (and the other way, an open settings screen follows a change from a controller), see OpenHome. See Snapcast as the output of the renderer
Snapcast group of the media receiver (key: settings_renderer_output_group) visible with the output Snapcast group: opens the chooser (the server from the server list, then one of its groups). Stores the id of the group, not its name; a damaged value falls back to this device and says so
media provider service activate or deactivate the media providing service
media provider source the source of the media server can be either the media store of the device or test content
media store filtering filter media store by configured paths
serve images activate or deactivate publishing of images
serve music activate or deactivate publishing of music
serve videos activate or deactivate publishing of videos
sending UPnP alive notifications define the frequency for sending UPnP alive notifications
network name for local server display name of the media server
UPnP network interface select specific network interface for UPnP (empty = auto-detect).
blacklisted interfaces comma-separated list of interface name prefixes to exclude from UPnP discovery (e.g., lo,dummy,rmnet,ccmni,tun)
renderer settings settings per discovered renderer
enable server-side seeking for external URLs enable server-side time range management in proxy mode for this renderer. It applies to http and https links shared with the media proxy on and played on this renderer (not to this device and not to shared files, which are served from the file with range support). Useful for renderers that cannot handle seeking on external HTTPS URLs.

Restrict the media proxy to the chosen receivers

Every shared item (see Sharing to YAACC) is served from a random, per-share address that lives in memory only. This setting decides who may use that address.

Switch it off if playback fails on a receiver you chose although it can reach the phone. Typical reasons are:

At log level “info” the log view then shows “Media proxy refused a request from <address>”.

The restriction is a check of the network address, not a login: a device that can use a chosen receiver’s address, or another app on this phone when “this device” was chosen, is not stopped by it.

Do not rely on the random key as protection when the setting is off. The address a receiver is playing, including the key, is visible to any UPnP control point in your network that can query that receiver (for example with GetMediaInfo), so such a device can read it. With the setting on, the same device is still refused because its address is not one of the chosen receivers. Switch it off only on a network you trust.

The preference key is proxy_restrict_receivers_chkbx. Changing this setting applies to requests from then on, including shares that are already playing.

Media proxy and the settings file

Shared links used to be stored in the app’s settings. They are not any more: shares are kept in memory with a random key and expire (10 minutes after the player ended, at most 6 hours). Entries that an earlier version left in the settings are deleted when the app starts. Your other settings are never changed by a share.

Screenshots Settings About Code Legal Notice (Impressum) Privacy Policy