Feature #2923
Request - Electronic Program Guide auto-refresh
0%
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
Updated by Rafal Kupiec over 9 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 ;-)
Updated by Mark Clarkstone over 9 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.
Updated by Paul Allen over 9 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.
Updated by Paul Allen over 9 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.
Updated by Piotr Kuchciak over 9 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.
Updated by Jaroslav Kysela over 9 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.
Updated by Paul Allen over 9 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
Updated by Paul Allen over 9 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.
Updated by Jaroslav Kysela over 9 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
Updated by Paul Allen about 9 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.