Project

General

Profile

Timeshift in radio mode

Added by Richard Bialek almost 4 years ago

Hi all!
Since I didn't find any ticket or forum entry here: I've recently found out that timeshift on radio channels seems to be not working as expected. I am on 4.2.8-dmo1 on Debian's Buster.
I would expect that it works like on a tv channel but actually it allows me to pause but neither back/forward seeking nor going back to live are possible.

Is this a known issue or maybe am I missing some hidden config option?

Regards,
Richard

@@
These are the build details:
Configure arguments:
--build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --enable-dvbcsa --disable-dvbscan --disable-hdhomerun_static --enable-hdhomerun_client --disable-ffmpeg_static --nowerror

Compiler:
Using C compiler:                        ccache cc
Using C flags:                           -g -O2 -fdebug-prefix-map=/src/tvheadend-4.2.8=. -fstack-protector-strong -Wformat -Werror=format-security
Using LD flags:                          -Wl,-z,relro -Wl,--as-needed -lhdhomerun -ldvbcsa -ldvben50221 -ldvbapi -lucsi
Build for arch:                          x86_64

Binaries:
Using PYTHON:                            python
Using GZIP:                              gzip
Using BZIP2:                             bzip2

Options:
pie                                      yes
ccdebug                                  no
cwc                                      yes
capmt                                    yes
constcw                                  yes
linuxdvb                                 yes
satip_server                             yes
satip_client                             yes
hdhomerun_client                         yes
hdhomerun_static                         no
iptv                                     yes
tsfile                                   yes
dvbscan                                  no
timeshift                                yes
trace                                    yes
imagecache                               yes
avahi                                    yes
zlib                                     yes
libav                                    yes
ffmpeg_static                            no
libx264                                  yes
libx264_static                           yes
libx265                                  yes
libx265_static                           yes
libvpx                                   yes
libvpx_static                            yes
libtheora                                yes
libtheora_static                         yes
libvorbis                                yes
libvorbis_static                         yes
libfdkaac                                yes
libfdkaac_static                         yes
nvenc                                    no
qsv                                      no
libmfx_static                            yes
inotify                                  yes
epoll                                    yes
uriparser                                yes
ccache                                   yes
tvhcsa                                   yes
bundle                                   no
pngquant                                 no
dvbcsa                                   yes
dvben50221                               yes
kqueue                                   no
dbus_1                                   yes
android                                  no
tsdebug                                  no
gtimer_check                             no
slow_memoryinfo                          no
libsystemd_daemon                        no
pcloud_cache                             yes
execinfo                                 yes
mmx                                      yes
sse2                                     yes
W_unused_result                          yes
fdatasync                                yes
getloadavg                               yes
atomic32                                 yes
atomic64                                 yes
atomic_time_t                            yes
bitops64                                 yes
lockowner                                yes
qsort_r                                  yes
stime                                    yes
gmtoff                                   yes
recvmmsg                                 yes
sendmmsg                                 yes
libdvben50221                            yes
ifnames                                  yes
py_gzip                                  yes
bin_pkg_config                           yes
bin_xgettext                             yes
bin_msgmerge                             yes
bin_gzip                                 yes
bin_bzip2                                yes
ssl                                      yes
linuxdvbapi                              yes
libhdhomerun                             yes
upnp                                     yes
inotify_h                                yes
inotify_init1                            yes
linuxdvb_ca                              yes
epoll_create1                            yes
mpegts                                   yes
mpegts_dvb                               yes

Packages:
openssl                                  1.1.1a
zlib                                     1.2.11
liburiparser                             0.9.0
avahi-client                             0.7
libavfilter                              7.40.101
libswresample                            3.3.100
libavresample                            4.0.0
libswscale                               5.3.100
libavformat                              58.20.100
libavcodec                               58.35.100
libavutil                                56.22.100
dbus-1                                   1.12.12

Installation paths:
Prefix:                                  /usr
Binaries:                                ${prefix}/bin
Libraries:                               /usr/lib/x86_64-linux-gnu
Data files:                              ${prefix}/share
Man pages:                               /usr/share/man

Replies (14)

RE: Timeshift in radio mode - Added by saen acro almost 4 years ago

Update to latest 4.3.xxxx and test

RE: Timeshift in radio mode - Added by Richard Bialek almost 4 years ago

saen acro wrote:

Update to latest 4.3.xxxx and test

Updated to 4.3-1917~gecd05a21d~buster but still am not able to seek while in radio mode.

RE: Timeshift in radio mode - Added by Richard Bialek almost 4 years ago

Since I still have that problem on newest version (4.3-1919): does it work for anyone?

RE: Timeshift in radio mode - Added by saen acro almost 4 years ago

Post bug report.

RE: Timeshift in radio mode - Added by Richard Bialek almost 4 years ago

In the meantime since I had another problem with the EPG grabber I'm back on the 4.2 branch. So don't know if it's clever to post a bug without having possibility to check possible solutions if they would work.

RE: Timeshift in radio mode - Added by Dennis K 11 months ago

I stumbled upon the same issue and ask myself, if it is even possible to use timeshift for radio. I am using the following build together with pvr.hts on Kodi and LibreElec nightly: HTS Tvheadend 4.3-2175~gd85c957aa
I also asked in LibreElec forum, with no answer so far: https://forum.libreelec.tv/thread/27773-pvr-hts-timeshift-for-radio/
I would be happy to find out, if timeshift with radio is possible, and if not, how that could be accomplished. Thanks and best!

RE: Timeshift in radio mode - Added by Jonas Lang 11 months ago

How are you testing Timeshift on Radio. Are you using a 3rd party client/frontend to do your testing.

RE: Timeshift in radio mode - Added by Dennis K 10 months ago

Yes, I do. As I said in my post, I am using KODI and the TVHeadend Addon pvr.hts. I don't have anything else to test timeshift. The Android client TVHClient doesn't support timeshift at all. Is there any other player I could test with?
What seems to work is the web player of TVHeadend. However, as the UI of the web player is very limited, I cannot see what happens, when I press pause. Also, as there are no buttons for forward or rewind, I cannot really test. Just by listening after having paused for a couple of minutes, it seems, that the web player supports timeshifting as it starts to play again at the position where I pressed pause. Only guessing here.

RE: Timeshift in radio mode - Added by Jonas Lang 10 months ago

That’s really a job for the guys at Kodi.

RE: Timeshift in radio mode - Added by Dave H 10 months ago

I'm not entirely sure what you mean by timeshift. But FWIW I use vlc to play programmes and it behaves the same for TV and radio. You can change speed of playback, you can move the slider from one place (time) to another, forwards or backwards etc etc. So I don't think there's a problem.

TVH just stores .ts files so interpreting the playback of those files is down to the player, as Jonas said.

RE: Timeshift in radio mode - Added by Jonas Lang 10 months ago

Dave H wrote:

I'm not entirely sure what you mean by timeshift. But FWIW I use vlc to play programmes and it behaves the same for TV and radio. You can change speed of playback, you can move the slider from one place (time) to another, forwards or backwards etc etc. So I don't think there's a problem.

TVH just stores .ts files so interpreting the playback of those files is down to the player, as Jonas said.

Enabling Timeshift in TVH will allow the user to Pause/FF/Rewind in the Kodi Live TV PVR. He’s stating it works for TV and not for Radio so I imagine it’s an issue with Kodi and it’s addon and how it handles audio streams and not with TVH. There’s plenty of muscle over in the Kodi forum who I imagine would be only too glad to help resolve his issue.

RE: Timeshift in radio mode - Added by Jonas Lang 10 months ago

Interesting Kodi blame TVH for this situation https://forum.kodi.tv/showthread.php?tid=375590

I suggest filing a bug here in TVH. https://tvheadend.org/issues?per_page=50.

RE: Timeshift in radio mode - Added by Dennis K 10 months ago

Thank you, Dave H for clarifying. Not being able to Pause/FF/Rewind during listening to a radio channel is exactly my issue.
Thank you, Jonas Lang, I opened an issue on the bug tracker of TVHeadend. Let's see, what they think about it and what further info they may need.

RE: Timeshift in radio mode - Added by Dennis K 9 months ago

This is fixed now, thank you very much flole998! See https://github.com/tvheadend/tvheadend/issues/1604

    (1-14/14)