df-dlnahelper-patch #23

Merged
af123 merged 1 commits from df/webif:df-dlnahelper-patch into master 2021-02-24 12:48:33 +00:00
Owner

Changes system dlnahelper to default its host/IP part to the loopback address, so avoiding possibly invalid IP addresses that might be returned by system ip.

The dlnahelper URLs are only used locally for HDR DLNA-accelerated decryption.

As it's unlikely to break anything (dlnahelper being a fallback for unindexed recordings), it might as well be shipped to allow users like this to test it.

Changes `system dlnahelper` to default its host/IP part to the loopback address, so avoiding possibly invalid IP addresses that might be returned by `system ip`. The dlnahelper URLs are only used locally for HDR DLNA-accelerated decryption. As it's unlikely to break anything (dlnahelper being a fallback for unindexed recordings), it might as well be shipped to allow users like [this](https://hummy.tv/forum/threads/detectads-not-always-succesful.9936/post-147241) to test it.
Owner

Can you actually connect to the DLNA server via loopback? I have a memory of that not working in the past.

Can you actually connect to the DLNA server via loopback? I have a memory of that not working in the past.
Author
Owner

Good point, but apparently so.

# wget -O /dev/null 'http://127.0.0.1:9000/web/media/430.TS'
--2020-11-02 19:27:25--  http://127.0.0.1:9000/web/media/430.TS
Connecting to 127.0.0.1:9000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 783694420 (747M) [video/ts]
Saving to: '/dev/null'

/dev/null            15%[==>                 ] 118.34M  8.26MB/s    eta 84s    

Perhaps there's no 127.0.0.1 when no network is connected?

Good point, but apparently so. ```plain # wget -O /dev/null 'http://127.0.0.1:9000/web/media/430.TS' --2020-11-02 19:27:25-- http://127.0.0.1:9000/web/media/430.TS Connecting to 127.0.0.1:9000... connected. HTTP request sent, awaiting response... 200 OK Length: 783694420 (747M) [video/ts] Saving to: '/dev/null' /dev/null 15%[==> ] 118.34M 8.26MB/s eta 84s ``` Perhaps there's no 127.0.0.1 when no network is connected?
Contributor

In some tests I was able to succesfully decrypt when there was no network connection at all.

You can't decrypt if the dlna server is not active i.e. in standby, then you get connection refused by wget.

We still haven't found a way to start the dlna server in standby mode,

In some tests I was able to succesfully decrypt when there was no network connection at all. You can't decrypt if the dlna server is not active i.e. in standby, then you get connection refused by wget. We still haven't found a way to start the dlna server in standby mode,
df changed title from WIP: df-dlnahelper-patch to df-dlnahelper-patch 2021-02-23 01:28:34 +00:00
af123 merged commit 15cba14cc3 into master 2021-02-24 12:48:33 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hummypkg/webif#23
No description provided.