We need to re-apply my second patch related to sendfile syscall too. The current tvheadend can't service recorded media properly.
And I have another suggestion about web UI. I have seen abnormal behavior in the EPG tab. The entire program list disapears when I click "Reset All" button. This happens also when I type any search text and delete all. Linux tvheadend users don't suffer this problem. However, I found a way to fix this problem by modifying src/webui/static/app/epg.js: diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index 650ac9202..d00b76557 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -1167,12 +1167,10 @@ tvheadend.epg = function() { var value = c.getValue(); if (value.length < 1) - value = null; - - if (epgStore.baseParams.title !== value) { + delete epgStore.baseParams.title; + else if (epgStore.baseParams.title !== value) epgStore.baseParams.title = value; - epgView.reset(); - } + epgView.reset(); }); epgFilterFulltext.on('check', function(c, value) { But I don't know whether it's correct way and why it works, because I totally don't know about web programming. Can anybody review this patch? 2018년 10월 25일 (목) 오후 8:49, Bernhard Fröhlich <de...@freebsd.org>님이 작성: > On Tue, Oct 23, 2018 at 5:53 AM 김종성 <jongsung....@gmail.com> wrote: > > > > Hi decke, > > tvheadend v4.2.7 has a merged commit 3895c923a FreeBSD: Fix recv problem > if no data received, which touches my previous merged commit 0d5c8efee tcp: > fix tcp_socket_dead() for FreeBSD. It makes the FreeBSD port of tvheadend > unable to service live TV, and reverted from the mainline. (f08bbef11 > Revert "FreeBSD: Fix recv problem if no data received.") Please apply this > reverting patch: > > > > commit f08bbef11c77a6a81d4e2bf974e36e54b0cd14d6 > > Author: Jaroslav Kysela <pe...@perex.cz> > > Date: Tue Oct 16 16:51:00 2018 +0200 > > > > Revert "FreeBSD: Fix recv problem if no data received." > > > > This reverts commit 3895c923a3a959da05080831b8146c09ed143b00. > > > > diff --git a/src/tcp.c b/src/tcp.c > > index d15b4381f..5349784a4 100644 > > --- a/src/tcp.c > > +++ b/src/tcp.c > > @@ -454,11 +454,8 @@ tcp_socket_dead(int fd) > > if (err) > > return -err; > > #ifdef PLATFORM_FREEBSD > > - err = recv(fd, NULL, 0, MSG_PEEK | MSG_DONTWAIT); > > - if (err < 0) > > + if (recv(fd, NULL, 0, MSG_PEEK | MSG_DONTWAIT) < 0) > > return -errno; > > - else if (err == 0) > > - return -EIO; > > #else > > if (recv(fd, NULL, 0, MSG_PEEK | MSG_DONTWAIT) == 0) > > return -EIO; > > > > Thank you > > JS > > Thanks! Committed in r482966. > > https://svnweb.freebsd.org/ports?view=revision&revision=482966 > > -- > Bernhard Froehlich > http://www.bluelife.at/ > _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"