NAS / network media
Add media from an SMB or WebDAV share (NAS, Windows PC, Nextcloud), use folders directly or copy them into the local library and keep them in sync.
Under Content & Services → Providers & Services → NAS you connect shares of a NAS or Windows PC (SMB) or WebDAV storage such as Nextcloud.

Adding a share
| Field | Content |
|---|---|
| Display name | name in the admin interface |
| Connection | SMB (default in home networks) or WebDAV |
| Server / IP (SMB) | e.g. 192.168.1.10 or nas.local |
| SMB share (SMB) | name of the share, e.g. Music |
| Access | guest or user with password |
| WebDAV address (WebDAV) | full address up to the folder, e.g. http://192.168.1.10:8081/Music (QNAP) or https://cloud.example.com/remote.php/dav/files/NAME/Music (Nextcloud) |
| Accept self-signed certificate (WebDAV) | only for your own NAS using HTTPS without an official certificate |
| User name, domain (SMB only), password | credentials; the password is kept when editing if the field stays empty |
| Only in Wi-Fi (optional) | only mount the share when the box is in this Wi-Fi – handy on the road |
Shares are mounted in the background after startup so that an unavailable NAS cannot delay the UI appearing.
Scanning and keeping the library up to date
Under NAS / network media, MuPiBox displays the number of folders and files inspected, the audio files found and the currently scanned source. The total number is unknown until the scan is complete, so the activity bar does not show a fabricated percentage.
- The NAS index is refreshed in the background at startup, when a share reconnects, after media-source changes, or via Rescan NAS media.
- The NAS connection check every 30 seconds does not perform a full scan.
- After a restart, all albums from the last complete scan are available immediately once the share is connected (test box: 3,660 albums after 4 seconds instead of about 3 minutes). The reconciliation with the NAS then runs unnoticed in the background.
- On the first scan MuPiBox reads only the small text tags of each audio file (title, track/disc number, artist, album); embedded cover art is skipped. Progress then shows tags read. Cached metadata avoids rereading unchanged audio tags, so later scans only read new or changed files. Folders that are not ticked are not scanned.
- Folders that are fully read become usable during the scan: every few seconds the folders completed so far appear in the library, the rest follows. Embedded cover art (in MP3, M4A/M4B, FLAC, OGG/Opus) is loaded after the scan with low priority – or immediately once a cover is displayed. An image in the folder (e.g.
cover.jpg) always takes precedence. - Recycle bins, snapshots and thumbnail folders created by NAS systems and Windows (e.g.
@Recycle,#recycle,@eaDir,#snapshot,$RECYCLE.BIN) are skipped during the scan. - Folders containing a
.nomediafile (as on Android) are skipped including their subfolders – handy for photo or archive folders in a mixed share. Immich storage folders (marked by an.immichfile) are detected and skipped automatically. - Adding files on an already-connected NAS currently requires Rescan NAS media. Automatic incremental change detection is not implemented yet.
SMB or WebDAV?
- SMB is the first choice in a home network: every NAS, Windows and many routers offer it.
- WebDAV suits Nextcloud/ownCloud, online storage and NAS access via HTTPS. As with SMB, MuPiBox reads only a few kilobytes per file for the track information; on the test box a WebDAV scan ran at about 90 files per second with roughly 5 KB of network traffic per file.
- QNAP: enable it in QTS under Control Panel → Network & File Services → Win/Mac/NFS/WebDAV → WebDAV (ports 8081 HTTP / 8443 HTTPS). Address:
http://NAS:8081/Share. - Synology: install the WebDAV Server package (ports 5005 / 5006). Address:
https://NAS:5006/Share. - Nextcloud:
https://SERVER/remote.php/dav/files/USER/Folder– preferably with an app password. - Wrong credentials, a wrong address or an untrusted certificate produce a clear message in the admin interface instead of an empty share being mounted.
Choosing folders
After connecting, you browse the share and choose exactly the folders the box may use. Exactly the ticked folders are used; older setups with “Entire share” keep working and the admin interface then offers Switch to individual folders:
- NAS tick: the folder is read directly from the NAS. Without a network it is not available.
- Take over locally: the files are copied to
/srv/mupibox/musicand then used like local media. - Copy once: the copy stays independent of the NAS.
- Keep local & sync: new and changed files are added automatically later. Files deleted on the NAS stay locally.
The chosen folders are then available under Media & categories as the source NAS or as local media.
Streaming a parent with only selected child folders
Select the desired child directories with the NAS ticks under Providers & Services → NAS → Choose folders; leave local copy as Do not copy. Under Media & categories, select the NAS provider and choose the parent entry marked selected subfolders only (for example, Audio Books). A partially selected parent shows a dash in the NAS folder tree; selecting the parent itself would explicitly include all children. The parent is only a navigation view: it streams the checked child folders directly from the NAS and never includes unchecked siblings. The NAS root can be chosen the same way. You can configure different choices on each MuPiBox connected to the same NAS.
Changing NAS ticks updates the content of the parent entry after the next NAS scan. Existing direct child sources and local copies remain independent.
Speed up slow NAS media indexing
Selecting the entire NAS share for music forces an audio scan of every subtree – even huge directories containing only photos and videos. SMB directory traversal can be slow.
Prefer choosing only your actual music folders. If you need to select the share root, use the second checkbox (third column) next to photo-only directories in NAS / Network media → Choose folders: Skip this folder during music scan. The music scanner then prunes that entire folder tree before listing its contents. Do not exclude folders containing music; excluded audio will disappear from the music library. Photo galleries are unaffected. Saving an exclusion triggers a background rescan.
Connect first, then select photo albums
First add the SMB share under NAS / Network media and wait until it is Connected. Only then navigate to Providers & Services → Photo gallery → Select photo albums from NAS, click Choose photo folders, and select the desired directories. Each directory is a separate photo album. No second NAS connection or duplicate credentials are required.