Feature #2923

Request - Electronic Program Guide auto-refresh

Added by Paul Allen over 2 years ago. Updated about 2 years ago.

Status:NewStart date:2015-06-05
Priority:NormalDue date:
Assignee:Adam Sutton% Done:

0%

Category:EPG
Target version:4.4

Description

A request to implement a feature in the Tvheadend Web frontend to give the user the option to have the Electronic Program Guide tab auto-refresh every x minutes to eliminate the task of having to manually clicking on 'Reset All' to view what shows are showing and the % progress they are on.

History

#1 Updated by Rafal Kupiec over 2 years ago

This is a bad idea, because it could prevent users from reading descriptions, search for their favourite movies, etc.
I say NO to autorefresh ;-)

#2 Updated by Mark Clarkstone over 2 years ago

Rafal Kupiec wrote:

This is a bad idea, because it could prevent users from reading descriptions, search for their favourite movies, etc.
I say NO to autorefresh ;-)

I think he means an option on the UI to enable auto-refresh, not have it refresh by default.

#3 Updated by Paul Allen over 2 years ago

Mark Clarkstone wrote:
I think he means an option on the UI to enable auto-refresh, not have it refresh by default.

Mark is correct. The feature should be disabled by default, the user should at least have the option to set refresh times.

Example, I'm often at my computer with the TVHeadend tab open on one screen watching TV in fullscreen on one monitor in VLC and the EPG in a Firefox tab on the other monitor. It would be nice to be able to set the refresh interval so that I know how long a show has to go before something I want to watch comes around.

#4 Updated by Paul Allen over 2 years ago

Mark Clarkstone wrote:

I think he means an option on the UI to enable auto-refresh, not have it refresh by default.

Mark is correct. The feature should be disabled by default, the user should at least have the option to set refresh times.

Example, I'm often at my computer watching TV in fullscreen on one monitor in VLC and the EPG in a Firefox tab on the other monitor. It would be nice to be able to set the refresh interval so that I know how long a show has to go before something I want to watch comes around.

#5 Updated by Piotr Kuchciak over 2 years ago

I also requeste auto refresh to refresh page with EPG. User can set X minute to refresh. This resolved problem with progress bar program... Change % progress... automatic.

#6 Updated by Jaroslav Kysela over 2 years ago

I added the javascript code v4.1-182-gfb6b56c which updates the progress column now each 20 seconds inside browser only (no extra requests to tvh). EPG fields should be deleted and updated on-the-fly incrementally using AJAX/Comet requests. The only problem is that tvh does not "remember" the EPG filter settings per session to add new EPG records also on-the-fly yet.

#7 Updated by Paul Allen over 2 years ago

Jaroslav Kysela wrote:

I added the javascript code v4.1-182-gfb6b56c which updates the progress column now each 20 seconds inside browser only (no extra requests to tvh). EPG fields should be deleted and updated on-the-fly incrementally using AJAX/Comet requests. The only problem is that tvh does not "remember" the EPG filter settings per session to add new EPG records also on-the-fly yet.

Working nicely Jaroslav, fantastic edition to the code :)

#8 Updated by Piotr Kuchciak over 2 years ago

works nice :)

#9 Updated by Paul Allen over 2 years ago

Jaroslav Kysela wrote:

I added the javascript code v4.1-182-gfb6b56c which updates the progress column now each 20 seconds inside browser only (no extra requests to tvh). EPG fields should be deleted and updated on-the-fly incrementally using AJAX/Comet requests. The only problem is that tvh does not "remember" the EPG filter settings per session to add new EPG records also on-the-fly yet.

Hi Jaroslav, which file/s are affected and can you tell me what line/s the code is on that sets the refresh rate ie. 20 seconds. I'd like to manually tweak this myself. Thank you.

#10 Updated by Jaroslav Kysela over 2 years ago

Paul Allen wrote:

Jaroslav Kysela wrote:

I added the javascript code v4.1-182-gfb6b56c which updates the progress column now each 20 seconds inside browser only (no extra requests to tvh). EPG fields should be deleted and updated on-the-fly incrementally using AJAX/Comet requests. The only problem is that tvh does not "remember" the EPG filter settings per session to add new EPG records also on-the-fly yet.

Hi Jaroslav, which file/s are affected and can you tell me what line/s the code is on that sets the refresh rate ie. 20 seconds. I'd like to manually tweak this myself. Thank you.

https://github.com/tvheadend/tvheadend/commit/fb6b56ce0f7a2edc5885c5e455e4ab07e27acfa2

#11 Updated by Paul Allen over 2 years ago

Jaroslav Kysela wrote:

Paul Allen wrote:

Jaroslav Kysela wrote:

I added the javascript code v4.1-182-gfb6b56c which updates the progress column now each 20 seconds inside browser only (no extra requests to tvh). EPG fields should be deleted and updated on-the-fly incrementally using AJAX/Comet requests. The only problem is that tvh does not "remember" the EPG filter settings per session to add new EPG records also on-the-fly yet.

Hi Jaroslav, which file/s are affected and can you tell me what line/s the code is on that sets the refresh rate ie. 20 seconds. I'd like to manually tweak this myself. Thank you.

https://github.com/tvheadend/tvheadend/commit/fb6b56ce0f7a2edc5885c5e455e4ab07e27acfa2

Thank you Jaroslav.

#12 Updated by Jaroslav Kysela about 2 years ago

  • Target version set to 4.4

Also available in: Atom PDF