-
-
Notifications
You must be signed in to change notification settings - Fork 781
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
DLNA #1364
DLNA #1364
Conversation
Some feedback from the discord channel
From my testing using VLC in linux, android everything seems fine. EDIT: |
Happy to report that Kodi support is now fixed.
I'm going to defer transcode support for a later PR. It's an extra layer of complexity I don't want to include right now.
I've not been able to reproduce this locally.
Nor this.
I've added some trace-level logging of the request and response for now.
I've added an interfaces list configuration option. I didn't want to add an extra graphql interface for listing network interfaces, so it's just a plain text list right now.
This should now be fixed. |
var tmp []net.Interface | ||
for _, if_ := range ifs { | ||
if if_.Flags&net.FlagUp == 0 || if_.MTU <= 0 { | ||
continue | ||
} | ||
tmp = append(tmp, if_) | ||
} | ||
ifs = tmp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is a tmp
interface slice needed to clean the ifs ?
Cant we remove the above code and just adjust line 61?
if if_ != nil {
if if_.Flags&net.FlagUp == 0 || if_.MTU <= 0 {
continue
}
ifs = append(ifs, *if_)
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 61 only applies where ifNames
is not empty.
Everything seems to work ok. Selecting an interface works fine and the |
Which port is needed in Docker? |
This comment has been minimized.
This comment has been minimized.
The docker needs the host network to run dlna i would have a look in the discord channel for details https://discord.com/channels/559159668438728723/642079454054711306/846241919985516570 |
Resolves #850
Adds a
DLNA
tab to the Settings page:This allows the user to enable or disable DLNA by default, and to override these with time-based overrides:
So if DLNA is disabled by default, then the user can enable it for a specific time, or until server restart. Likewise, it can be disabled for a specific time if it is enabled by default. This temporary behaviour can be cancelled with the cancel button.
By default, the server will reject connections to it and record the IP addresses. These addresses can be allowed temporarily similarly to above, with individual cancel buttons. IP addresses can be whitelisted manually using the text field.
A default whitelist can also be configured.
The DLNA server serves up folders for all scenes, performers, studios, tags, movies and ratings. Here is a screenshot in VLC:
Where many scenes are present, it presents pages instead:
It gives a prefix for ten entries, since these were expensive to calculate.
I was able to test successfully in VLC and on my LG TV. I was unable to get it working for Kodi - and this seems the same for XBVR, rclone and DMS.