New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serve DLNA not working on Samsung TV #3253
Comments
I see you are running it in a docker container... I'm not 100% sure that will work unless you bridge the networking to the outside world. Can you try it not in a docker container? Any thoughts on this @sretlawd ? |
I'm not running it in a docker container. Just the latest binary on the host. But i have docker installed on my machine. |
Sorry, jumped to conclusions there! I think we'll have to wait for @sretlawd to weigh in! |
Hmm, do you know what series / year is your Samsung (mine's an F series)? Might be worth adding a --log-trace to get all the traffic being sent, too, though there'll be a lot of it. Would also be interesting to know if a super simple config works or not - just a local directory with a one or two media files. Personally I havn't even tried using subdirectories, filenames with weird characters, etc. (But don't know of any reason it wouldn't work, either!) And just to double check - you're getting "the content cannot be displayed" while browsing, where you expect to see a list of files? You havn't gotten as far as trying to play something back? |
I have a Samsung UE55MU6199. It's from late 2017. There is no option like --log-trace. Did you mean to add a new command? I've checked with an absolute folder: one mkv-file, a few subtitles and a few fanarts. But i'm also getting cannot display the content. Also tested it with a local folder, but got the same result: content cannot displayed.My root folder contains a lot of folders with movies in it. I thought it would either display me those folders (like in VLC on Android) or the files. PS: ReadyMedia (MiniDLNA) works with my TV |
Definitely a couple years newer than mine, then - must be something in the Content Directory XML output that it doesn't like? I havn't looked at that at all yet, but I'll compare it with minidlna and see if anything jumps out at me. There's a --log-trace on the dlna subcommand - Indeed, it should definitely be displaying the file listing at that point, just wanted to make it wasn't an unsupported codec issue, since I get the same error when trying to play h265 on my older TV. :-) |
Tested yesterday with anacrolix/dms directly. But with it i get a "no content found". VLC on Android works there too. |
2019/07/26 16:31:10 DEBUG : DLNA server on :4455: unrecognized file type: ************.mkv Cannot listen videos, mkv avi, mp3 |
I'm having the same issue with DLNA not working on my Samsung TV. In my case, it just says 'Loading...' forever. Working fine in VLC and used the same TV before on MiniDLNA. T32E390SX (2016) I will have a look further to see if I can spot any reason why this is happening. Log with
|
@mt025 Thanks for the log, I think the PR I just submitted might do the trick. My Samsung TV starts out with a "BrowseDirectChildren" on the root, but it looks like yours is starting out with a "BrowseMetadata", and the response we were sending out to that was completely wrong, so I can understand why the TV would just hang. Hope it works or at least makes a bit more progress, let us know. |
…tadata We were marshalling the "cds object" instead of the "upnp object". Fixes #3253 (I think)
I've merged @sretlawd 's fix to master now which means it will be in the latest beta in 15-30 mins and released in v1.50 Thank you @sretlawd :-) |
I'll give it a test when its up @ncw, was having trouble building as I'm not very familiar with go. |
@sretlawd @ncw this is definitely a step in the right direction, as the TV no longer hangs at the loading screen, however I now get 'no content found'. Here is a new log
|
OK, it looks like the metadata has childCount=0, so most likely need to either set that to the number of contained files, or maybe we can just omit it. I'll look at what minidlna does and send another change up here in a bit. |
Hi @sretlawd, version: '2' But the problem persist even with the latest stable binary. |
The childCount fix made above solved it, as far as I know, but that error message could have many potential causes... Can you give it a try using just a local filesystem (instead of GDrive) and just 2-3 media files and see if that works? If you want, you can run add "-vv —log-trace” to the command and I might be able to spot some things that are happening out of order or wrong.
… On Jun 8, 2020, at 5:31 PM, Matteo Pietro Dazzi ***@***.***> wrote:
Hi @sretlawd <https://github.com/sretlawd>,
there is any news about this?
I've the same problem of @mt025 <https://github.com/mt025> : "No content found".
I use the beta version on docker, with this compose configuration:
version: '2'
services:
rclone_dlna:
image: rclone/rclone:beta
container_name: rclone_dlna
restart: always
command: serve dlna GDrive:/
network_mode: host
volumes:
- /home/pi/rclone/config:/config/rclone
environment:
- PHP_TZ=Europe/Rome
- PUID=1000
- PGID=1000
dns:
- 1.1.1.1
But the problem persist even with the latest stable binary.
No problem with VNC.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#3253 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACB6DSSKO6KK6KYMRQGCB3LRVVRC5ANCNFSM4HW4KPUQ>.
|
Hi @sretlawd, version: '2' This is the current content of the local folder: Even in this case, VLC works but Samsung tv doesn't. This is the log trace: , , ,<root xmlns="urn:schemas-upnp-org:device-1-0", |
What is the problem you are having with rclone?
TV shows no playable content from DLNA share. I can see it under sources, but after choosing it, it tells me "the content cannot be displayed"
What is your rclone version (output from
rclone version
)rclone v1.47.0-115-g2c72e7f0-beta
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Debian 9, 64 Bit
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg
rclone copy /tmp remote:tmp
)rclone serve dlna remote:Media
A log from the command with the
-vv
flag (eg output fromrclone -vv copy /tmp remote:tmp
)rclone -vvv serve dlna gcrypt:Media/Movies
2019/06/11 10:39:59 DEBUG : rclone: Version "v1.47.0-115-g2c72e7f0-beta" starting with parameters ["rclone" "-vvv" "serve" "dlna" "remote:Media/"]
Enter configuration password:
password:
2019/06/11 10:40:04 DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
2019/06/11 10:40:07 DEBUG : Adding path "vfs/forget" to remote control registry
2019/06/11 10:40:07 DEBUG : Adding path "vfs/refresh" to remote control registry
2019/06/11 10:40:07 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2019/06/11 10:40:07 NOTICE: Encrypted drive 'remote:Media/': Serving HTTP on [::]:7879
2019/06/11 10:40:07 INFO : DLNA server on :7879: Started SSDP on lo
2019/06/11 10:40:07 INFO : DLNA server on :7879: Started SSDP on vethecf93a0
2019/06/11 10:40:07 INFO : DLNA server on :7879: Started SSDP on br-ff002a7d26fd
2019/06/11 10:40:07 INFO : DLNA server on :7879: Started SSDP on docker0
2019/06/11 10:40:07 INFO : DLNA server on :7879: Started SSDP on br-7929a085d1c8
2019/06/11 10:40:07 INFO : DLNA server on :7879: Started SSDP on enp3s0
2019/06/11 10:40:13 INFO : /ctl: 192.168.178.57:53172 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse" %!s()
2019/06/11 10:40:17 INFO : /ctl: 192.168.178.57:53173 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse" %!s()
2019/06/11 10:40:17 INFO : /ctl: 192.168.178.57:53174 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse" %!s()
2019/06/11 10:40:21 INFO : /ctl: 192.168.178.57:53175 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse" %!s()
2019/06/11 10:40:21 INFO : /ctl: 192.168.178.57:53176 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse" %!s()
Every time i clicked on refresh (in the tv), i got 2 of these POST 200 messages.
To check, that the share is working properly i also tested it with VLC on my Android device and got it working. So the combination of rclone-dlna and my Samsung is not working at the moment.
The text was updated successfully, but these errors were encountered: