#DLNA/UPnP trên Android với AnExplorer
DLNA (Digital Living Network Alliance) là tiêu chuẩn cho phép TV thông minh, thiết bị NAS, máy nghe nhạc và máy tính chia sẻ phương tiện trên mạng cục bộ. Nếu NAS của bạn có máy chủ DLNA hoặc bạn chạy Plex, Jellyfin, Kodi hoặc Windows Media Player, AnExplorer có thể duyệt các máy chủ này và truy cập các tệp.
DLNA đặc biệt hữu ích để đọc phương tiện nào trên máy chủ DLNA của NAS hoặc TV và để tải xuống các tệp riêng lẻ từ chia sẻ NAS DLNA về điện thoại của bạn.
DLNA là gì (và nó không phải là gì)
DLNA is a media browsing and streaming protocol based on UPnP/AV. It's not a general-purpose file transfer protocol like SMB or FTP.
| DLNA | SMB | FTP | |
|---|---|---|---|
| Duyệt tập tin chung | Bị giới hạn (tệp phương tiện) | ✅ Hệ thống tập tin đầy đủ | ✅ Hệ thống tập tin đầy đủ |
| Hình ảnh, âm nhạc, video | ✅ | ✅ | ✅ |
| Tải tập tin lên | ❌ (chỉ đọc) | ✅ | ✅ |
| Tệp không phải phương tiện (ZIP, APK) | ❌ | ✅ | ✅ |
| Hoạt động với TV thông minh làm máy chủ | ✅ | ❌ | ❌ |
| Hoạt động với Plex, Jellyfin | ✅ | ❌ (riêng) | ❌ |
DLNA is best for reading media from a server. For full file management, use SMB or FTP where available.
Nguồn DLNA phổ biến
| Thiết bị / Ứng dụng | Loại máy chủ DLNA |
|---|---|
| NAS Synology | Ứng dụng Máy chủ phương tiện (DLNA/UPnP) |
| NAS QNAP | Máy chủ phương tiện DLNA (tích hợp sẵn) |
| Kodi (trên TV hoặc PC) | Máy chủ UPnP/DLNA |
| Plex (tài khoản miễn phí) | Tương thích DLNA |
| Sứa | Máy chủ DLNA/UPnP |
| Máy tính Windows | Chia sẻ mạng Windows Media Player |
| Tivi thông minh | Một số hoạt động như máy chủ DLNA (Samsung, LG, Sony) |
| VLC (máy tính để bàn) | Trình kết xuất UPnP + máy chủ |
Cách duyệt DLNA trong AnExplorer
- Mở AnExplorer
- Nhấn vào ++ > DLNA / UPnP
- AnExplorer scans your local network for DLNA servers
- Tap a discovered server to browse its media library
- Navigate through categories: Photos, Music, Videos (as organized by the DLNA server)
- Tap a file to open it or long-press > Download to save it to your phone
Lưu ý: Khám phá DLNA sử dụng tính năng phát đa hướng UDP. Nếu không có máy chủ nào xuất hiện:
- Confirm the DLNA server is running on your NAS / PC
- Make sure phone and server are on the same Wi-Fi network (not different VLANs or separated by a smart router's network isolation)
Thiết lập DLNA Synology
- Synology DSM > Install Media Server from Package Center
- Mở Máy chủ phương tiện > Kích hoạt Máy chủ phương tiện UPnP
- Add indexed folders (your video/photo/music shared folders)
- AnExplorer will discover "Synology Media Server" on your network
Thiết lập QNAP DLNA
- QNAP QTS > App Center > install DLNA Media Server (if not already active)
- Go to the DLNA Media Server settings, add shared folders
- Browse from AnExplorer under the QNAP device name
Thiết lập Jellyfin
Jellyfin có hỗ trợ DLNA tích hợp:
- Giao diện người dùng web của máy chủ Jellyfin > Bảng điều khiển > DLNA
- Kích hoạt DLNA
- AnExplorer discovers Jellyfin as a DLNA server on the local network
Jellyfin's media library appears organized by category in AnExplorer. Individual files can be downloaded to your phone for offline viewing.
DLNA vs Truy cập trực tiếp vào tệp NAS
Nếu NAS của bạn hỗ trợ cả DLNA và SMB thì SMB sẽ mang lại cho bạn nhiều quyền kiểm soát hơn — bạn có thể xem tất cả các tệp (không chỉ phương tiện), có thể tải lên, xóa, đổi tên và quản lý toàn bộ hệ thống tệp. Sử dụng DLNA khi:
- Bạn chỉ cần duyệt và tải xuống phương tiện
- The device exposes only DLNA (e.g., some smart TVs, older streaming boxes)
- You want to browse Plex/Jellyfin library structure without the dedicated app
For full NAS file management, see the NAS connection guide.
Khắc phục sự cố DLNA
Không tìm thấy máy chủ DLNA nào:
- The DLNA server may not be running — check the NAS/server application
- Router AP isolation may be blocking UPnP — check router settings
- Some Android versions and VPNs block multicast discovery — try disabling VPN temporarily
Hiển thị máy chủ nhưng không tải được tệp:
- The DLNA server may not have indexed the files yet — wait a few minutes after adding content
- Re-trigger indexing in the server's Media Scanner settings
Có thể duyệt nhưng không thể tải xuống:
- Some DLNA servers disable download for DRM-protected content
- Check DLNA server settings for download permission
