NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 21 22 23 24 25 … 43 Next »
Cancelling recordings in TV Guide does not update UI correctly

 
  • 0 Vote(s) - 0 Average
Cancelling recordings in TV Guide does not update UI correctly
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#1
2021-05-26, 12:30 PM (This post was last modified: 2021-05-26, 12:37 PM by janoonk.)
Hi,

two UI update errors:
if you go to TV Guide and do a "record once" for a program (in my case "Molukkers in Nederland....") it turns red and it starts recording... so far so good. But if you then cancel the recording, for example after a few minutes from the same TV guide UI page, the color stays red in the TV Guide. I had to manually refresh (F5) the page to return to normal grey on black color. So thats the first UI error.
But if you click on the same program again it still thinks its recording since only the button "cancel recording" is visible (and Close button) and Watch Now button if program is still airing. This is the second UI error.

I made sure the recording was not still running by checking:
-tuner status from NextPVR settings
-tuner status in HDHomeRun
-the recording file was not getting bigger

In the second screen below you see after I cancelled the recording AND did a refresh.
The first screen below is when you thereafter click on the program. Notice the "Cancel Recording" button still visible while recording is not running anymore (also when waiting for like 10 minutes).
greetings Jan


Attached Files Thumbnail(s)
       
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#2
2021-05-26, 12:56 PM
You need to reload a lots of thing to get a new recording list, this is more a cache issue and knowing when to refresh. Waiting on some screens won't help. If you try this test by closing the NextPVR tab and reopening a tab do you still see this?

Martin
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#3
2021-05-26, 01:01 PM (This post was last modified: 2021-05-26, 01:06 PM by janoonk.)
(2021-05-26, 12:56 PM)mvallevand Wrote: You need to reload a lots of thing to get a new recording list, this is more a cache issue and knowing when to refresh.  Waiting on some screens won't help.  If you try this test by closing the NextPVR tab and reopening a tab do you still see this?

Martin

Regarding waiting for some screens:
if you click on "start recording" it also auto refresh UI by turning the program to red. So you would expect if you cancel it it would also auto turn back to grey/black (using same technique or catching callback?)

I closed the tab, reopened http://192.168.11.57:8866/guide.html and even did a CTRL-F5 (refresh and bypass browser cache).
I also tried a different browser. Same result.
Even a private tab. Same result.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#4
2021-05-26, 01:10 PM
Ok, I know this issue better now since I have seen it in NextPVR too during testing.. You often have to delete the cancelled recording to get the record buttons back.

Martin
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#5
2021-05-26, 01:12 PM
(2021-05-26, 01:10 PM)mvallevand Wrote: Ok, I know this issue better now since I have seen it in NextPVR too during testing..  You often have to delete the cancelled recording to get the record buttons back.

Martin

my pleasure... looking forward for a bug fix. It's easy reproducable luckily.

Btw NextPVR is rock solid and running sooo smooth for almost a year and a few thousands recordings. Love it, thanks! And the wifey also.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#6
2021-05-26, 01:35 PM
Looking at listing-details-modal.js around line 140 I think this would be better

if (typeof listing.recording_id === 'undefined' || listing.recording_status == "ready") {

It probably is probably planning for a future ability to play recordings from the guide.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#7
2021-05-26, 10:32 PM
janoonk, is it only happening for currently recording shows? Do shows that wont start recording for an hour or so remove the red correctly when cancelled?

What device is being used for the recording (or is it IPTV)?

Stopping a recording is an asynchronous event, and I'm guessing sometimes it's not stopping quick enough, and by the time it reloads the recording list after hitting cancel, it's still running, but stops soon after.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#8
2021-05-26, 11:12 PM
Sub, as he said it is easy to duplicate, the recording does stop, but because there is a recording_id you don't get a chance to watch or re-record it after cancelling. My change above shows what might be needed.

Martin
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#9
2021-05-27, 07:11 AM (This post was last modified: 2021-05-27, 07:12 AM by janoonk.)
(2021-05-26, 10:32 PM)sub Wrote: janoonk, is it only happening for currently recording shows? Do shows that wont start recording for an hour or so remove the red correctly when cancelled?

What device is being used for the recording (or is it IPTV)?

Stopping a recording is an asynchronous event, and I'm guessing sometimes it's not stopping quick enough, and by the time it reloads the recording list after hitting cancel, it's still running, but stops soon after.

I am using quad tuner HDHomeRun EXPAND Model: HDHR5-4DC Firmware: 20210224
I run latest NextPVR inside Docker on my Synology NAS DS720+.

The tests/bugs above are for currently running shows. If I pick a show from TV Guide that airs somewhat later it all works perfectly.
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#10
2021-05-28, 07:20 AM
By the way I tried above again (same conditions), but then I let the recording go for 45 minutes before cancelling. The UI did get updated (red turned off) and also the correct buttons (Record once, ...) were shown... but when I waited a minute or so and refreshed the UI the wrong buttons (Cancel recording) came back.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG doesn't update bornsurvivor 11 789 2025-04-06, 04:04 PM
Last Post: mvallevand
  Recurring recording creates multiple recordings of same event txinga 2 303 2025-03-29, 12:33 AM
Last Post: txinga
  Recurring Recordings Not Working After Merging Channels BrettB 2 229 2025-02-06, 04:00 AM
Last Post: mvallevand
  Moving recordings to a fileserver SickBoy 1 226 2025-02-01, 02:39 PM
Last Post: mvallevand
  recordings prematurely 'stop' moonmeat 3 415 2025-01-24, 02:08 PM
Last Post: mvallevand
  webplayer dvb-t subtitles no longer supported or available since v7 update a1blues 23 1,082 2025-01-07, 08:06 AM
Last Post: a1blues
  HDHR Tuner not released after recording since update to 7.0.0 spin35 1 312 2024-12-24, 01:46 PM
Last Post: mvallevand
  V7 update artmetz 0 335 2024-12-03, 07:30 PM
Last Post: artmetz
  What would happen if I change file locations and names of the recordings? Luisy44 4 531 2024-10-15, 01:15 AM
Last Post: Luisy44
  Import guide data from HD Homerun tuner jonasx 5 634 2024-10-14, 08:48 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode