Nextcloud on Your TV — Self-Hosted Cloud Meets Big Screen
If you run Nextcloud (or ownCloud) for private cloud storage, you've probably wanted to access it from your TV — browse family photos on the big screen, stream home videos, or display documents during gatherings. But Nextcloud doesn't have a TV app.
AnExplorer bridges this gap by connecting to Nextcloud's WebDAV interface directly from Android TV. Browse your entire self-hosted cloud with the TV remote and play media on the big screen.
What you can do:
- Stream personal videos (home movies, travel footage) from Nextcloud to TV
- Browse family photo albums on the big screen
- View shared documents and PDFs in group settings
- Access any file in your Nextcloud from the living room TV
Setting Up WebDAV on Android TV
Finding your WebDAV URL
Every Nextcloud/ownCloud instance has a WebDAV endpoint:
- Nextcloud:
https://cloud.yourdomain.com/remote.php/dav/files/USERNAME/ - ownCloud:
https://cloud.yourdomain.com/remote.php/webdav/
Find it in: Nextcloud → Settings → scroll to the very bottom → "WebDAV" section shows the URL.
Connecting from Android TV
- Open AnExplorer on TV
- Network → WebDAV → tap +
- URL: paste your WebDAV URL
- Username: your Nextcloud username
- Password: your Nextcloud password (or app password if 2FA enabled)
- Connect → your Nextcloud file tree appears
App passwords (if using 2FA)
If you have two-factor authentication on Nextcloud:
- Nextcloud → Settings → Security → Devices & sessions → Create new app password
- Name it "AnExplorer TV" for identification
- Use this app password instead of your main password
- The app password bypasses 2FA for this specific connection
Streaming Media from Nextcloud
Home videos
- Navigate to your Videos folder in Nextcloud
- Tap any video → plays in VLC or system player
- Streams over your network — TV storage not consumed
Photo slideshows
- Navigate to Photos folder (or shared album)
- Tap images → view full-screen on TV
- Browse with D-pad left/right — like a private photo gallery
Music
- Navigate to Music folder
- Tap audio files → plays through TV speakers/soundbar
- Background playback continues while browsing
WebDAV vs SMB for TV Access
| Aspect | WebDAV (Nextcloud) | SMB (NAS) |
|---|---|---|
| Best for | Self-hosted cloud (Nextcloud, ownCloud) | Dedicated NAS (Synology, QNAP) |
| Access over internet | ✅ (HTTPS — works anywhere) | ❌ (local network only, unless VPN) |
| Speed (local) | 10-40 MB/s (HTTP overhead) | 40-100+ MB/s |
| Speed (remote) | Internet-limited | N/A |
| Encryption | ✅ (HTTPS) | ❌ (local assumed safe) |
| Setup | WebDAV URL + credentials | NAS IP + credentials |
| File sharing features | ✅ (Nextcloud links, sharing) | ❌ (just files) |
Use WebDAV when: You run Nextcloud/ownCloud as your primary cloud storage. Use SMB when: You have a traditional NAS and don't use Nextcloud. Use both: If you run Nextcloud on your NAS (common setup) — WebDAV for the Nextcloud interface, SMB for direct NAS access.
Other WebDAV-Compatible Services
AnExplorer's WebDAV client works with any WebDAV server, not just Nextcloud:
- ownCloud — Nextcloud's predecessor, same WebDAV URL format
- Koofr — cloud storage with WebDAV access
- 4shared — file hosting with WebDAV support
- Box — enterprise (WebDAV available on some plans)
- Any custom WebDAV server — Apache/Nginx with mod_dav, SabreDAV, etc.
Performance Tips for TV Streaming
- Use HTTPS (not HTTP) — required by most Nextcloud installations
- Local access: If TV and Nextcloud server are on the same network, performance is best (10-40 MB/s)
- Remote access: Streaming from Nextcloud over the internet depends on your server's upload speed and home download speed
- Large video files: For 4K content, local network access works well. Remote streaming of 4K may buffer depending on internet speeds
- Enable caching on Nextcloud for faster file listing (Redis or APCu)
D-pad Navigation
All WebDAV operations work with the TV remote:
- D-pad up/down: scroll file list
- OK: open folder / play file
- Back: go up one directory
- Files play in system player (video) or AnExplorer viewer (images, PDFs)
Compatible TV Devices
WebDAV client works on all Android TV / Google TV / Fire TV:
- Nvidia Shield TV, Google TV Streamer, Chromecast with Google TV
- Amazon Fire TV (all models)
- Sony Bravia, TCL, Hisense, Xiaomi Mi Box, Walmart Onn
Troubleshooting WebDAV on Android TV
| Problem | Cause | Solution |
|---|---|---|
| "Connection failed" | Wrong URL format | Ensure URL includes full path: /remote.php/dav/files/username/ |
| "401 Unauthorized" | Bad credentials | Double-check username/password; use app password if 2FA enabled |
| "SSL error" | Self-signed certificate | Enable "Accept all certificates" in AnExplorer's WebDAV settings (only for private servers) |
| Video won't play | Unsupported codec on TV | Transcode to H.264 MP4 before uploading to Nextcloud |
| File listing is slow | Many files in one folder | Organize Nextcloud into subfolders (< 500 files each) |
| Connection drops during streaming | Server timeout | Check Nextcloud's PHP timeout settings; increase to 300+ seconds |
Optimizing Nextcloud for TV Streaming
If you control the Nextcloud server, these tweaks improve TV performance:
- Enable Redis caching — dramatically speeds up file listing (Nextcloud Admin → Basic Settings → Caching)
- Increase PHP memory limit —
memory_limit = 512Min php.ini helps with large file operations - Use HTTP/2 — modern web servers (Nginx, Apache 2.4.17+) support HTTP/2 for faster parallel transfers
- Organize media by folder — avoid single folders with 5,000+ files; split into Year/Month structure
- Transcode videos to H.264 MP4 — the universal format supported by all TV players
Security Considerations
WebDAV over HTTPS is encrypted end-to-end:
- Username/password never transmitted in plain text (HTTPS encrypts the connection)
- App passwords limit damage — if your TV is compromised, revoke the app password without changing your main Nextcloud password
- Don't use HTTP (non-SSL) for WebDAV — even on local networks, someone could sniff credentials
- Separate user account for TV — create a Nextcloud user with read-only access to specific folders for TV viewing (limits exposure)
Related Guides
- Network Storage Feature — all protocols overview
- SMB for Android TV — NAS access on TV
- FTP for Android TV — remote server access
- File Manager for Android TV — complete TV guide
- Cloud Storage — commercial cloud services
