Network
Play on a speaker or TV in the house, let other devices browse your library, or let your phone send music to the handheld. Everything here stays on your local network.
Send to a speaker or TV
In Now Playing, START → Send to… looks for devices on your network for about three seconds and lists them: DLNA/UPnP speakers and TVs, and Chromecasts (TVs with Chromecast built in, Google/Nest speakers).
- Pick one and the song goes on there from the same second; the handheld or computer pauses and becomes the remote. The next song of the queue is sent ahead, so the device keeps going through the queue.
- While sending, the top bar shows → <device>, and pause, next, previous and seeking control the device; the progress bar shows its position.
- START → Device volume turns the device up or down. Stop sending to <device> stops it and resumes here, at the same song and second.
- Anything Audiofilus plays can be sent. MP3, FLAC, AAC/M4A, WAV and Ogg go as they are; modules, console music, DSD and CUE tracks are converted on the fly to WAV. Songs from a Subsonic/Jellyfin server and radio stations go by their own address.
Share your library (DLNA server)
Settings → Share library (DLNA) makes your library show up on TVs, consoles and DLNA apps of the same network, as <device name> (the computer's name, or the console model). They can browse Artists, Albums, Songs, Playlists and Folders, with covers, and play from there. Formats a TV doesn't know are converted to WAV for it. It shares the library Audiofilus already scanned; songs from servers aren't shared.
Receive music (DLNA renderer)
Settings → Receive music (DLNA) turns the handheld or computer into a speaker for other apps: from a phone with BubbleUPnP, Windows' Cast to device or any UPnP control point, pick <device name> and send songs. They play through Audiofilus with their title and artist, and the sending app controls play, pause, seek and volume. Each song is downloaded first and then plays, so over Wi-Fi it takes a moment to start.
MPD
Settings → MPD server lets MPD apps (ncmpcpp, Cantata, M.A.L.P., Rigelian, MPDroid…) and other Audiofilus control the music on this device: the queue, the library with covers, your playlists, volume and seeking. It's off by default. Its menu shows the address to type in an app (for example 192.168.1.5:6600) and can set a password; apps that browse the network find it by themselves. On the phone apps it runs while the app is open or playing.
- From another Audiofilus: in Now Playing, START → Send to… also lists the devices with the MPD server on. Songs change with no gap on the device, and START → Library of <device> lets you browse its albums and play them there. If it has a password, it's asked the first time.
- On the device that receives: the top bar shows ← <address> while another device sends music to it, and START has Stop receiving (the music stops here and the Audiofilus that was sending goes on playing by itself) and Turn off MPD server. The same works for music received through DLNA.
- Restarting while receiving brings back your own queue.
Between two Audiofilus, MPD is the better choice: no gaps, a password, and the other device's library. DLNA is for TVs, speakers and apps that don't speak MPD.
Notes
- Both DLNA options are off by default. Turned off, nothing listens on the network.
- Sharing and receiving don't keep the handheld awake on their own: if it goes to sleep, it stops answering until it wakes up.
- A firewall on the computer must let the devices reach Audiofilus (the media port is chosen at random each time).
- From a terminal:
audiofilus dlnashows the state, andaudiofilus dlna server on|off,audiofilus dlna renderer on|offandaudiofilus dlna name <name>change it. - From a terminal:
audiofilus mpdshows the MPD server's state, andaudiofilus mpd on|off,audiofilus mpd password [<password>],audiofilus mpd port <port>andaudiofilus mpd name <name>change it. - On iPhone and iPad the first search asks for permission to use the local network. iOS doesn't let apps use DLNA, so there they find Chromecasts and MPD servers but not DLNA speakers, and they can't receive by DLNA.
