Comments (10)
@probonopd Thanks for finding this. I've submitted an issue to rclone, hopefully they are interesting in contributing their improvements on this. As for plugging it in, it would go alongside the code that was copied there in the first place 😆 .
from dms.
@probonopd thanks for the pcap! It looks like dms
returns HTTP 500 errors for the SOAPACTION "urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList". I expect there could be a more appropriate error to return for this unsupported request, that may have the Samsung handle the results better. It may be aborting whatever it was attempting, rather than trying to proceed with an unsupported action. The other choice would be to implement the action.
I won't look into that just now, I'm not active on this project at the moment.
from dms.
Thanks @anacrolix for your analysis. Searching for X_GetFeatureList
in Golang code, I found the rclone project which, among many other features, can also serve directories on the local filesystem to DLNA devices. I can confirm that the Samsung TV can play the same video using rclone indeed.
Looking at the rclone code, the solution may be rather easy:
Where would this need to be plugged into the dms code?
from dms.
@probonopd can you try #86?
from dms.
I have a Samsung UE46D6300 (so similar but not identical), and I can confirm this problem with v.1.6.0
from dms.
I have a Samsung UE46D6300 (so similar but not identical), and I can confirm this problem with v.1.6.0
from dms.
@anacrolix No, but since it was merged I assumed it was part of 1.6.0, but perhaps it isn't?
from dms.
You are quite right. I'll leave the issue open.
from dms.
Stash recently had a PR (stashapp/stash#4784) submitted to fix what appears to be a related issue (stashapp/stash#1768).
The change was to add the following headers when streaming a file:
transferMode.dlna.org
set toStreaming
contentFeatures.dlna.org
set toDLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000
I can see that the former is already included upstream. Having had a look at
Line 35 in 6b89c44
ContentFeatures
instance with SupportTimeSeek = false
, SupportRange = true
, and Transcoded = false
. The only other difference is that the DLNA.ORG_FLAGS
value starts with 015
instead of 017
.
I don't have a Samsung TV to test with, nor do I know the DLNA protocol well enough to be confident that this change would be the solution to this original problem. A request was made to contribute the fix upstream, but as far as I can tell there doesn't appear to be anything useful to contribute.
from dms.
@WithoutPants that's really helpful, appreciated.
from dms.
Related Issues (20)
- can not serv the flac and mp3 file HOT 1
- BubbleUPnP and DMS HOT 3
- HomeAssistant TorrServe error HOT 1
- dms binary can't be executed in NixOS. HOT 6
- binary: log level configuration HOT 1
- got an SSDP server running in LAN already, so how to disable SSDP listening in dms? HOT 7
- ssdp panic while caltulating delay time HOT 2
- Verbose/Debug output? HOT 3
- broken pipe from ffmpeg when transcoding HOT 3
- old LG stalled subscribe connection went away HOT 3
- Subtitles HOT 1
- Panic on Close() function HOT 1
- Serving media from non-local/dummy filesystem HOT 6
- foobar2k iOS? HOT 1
- Not discovered by LG WebOS HOT 4
- Path must be absolute HOT 5
- docs HOT 1
- grep not works on usage message HOT 4
- how to use ffmpeg instead avconv? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dms.