NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 74 75 76 77 78 … 113 Next »
Live TV buffers not deleting

 
  • 0 Vote(s) - 0 Average
Live TV buffers not deleting
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,762
Threads: 998
Joined: May 2006
#11
2020-09-19, 03:53 PM
I can duplicate this with ALT F4 Also nothing seems to be written to the TEMP_FILE table which I thought was providing a bit of auto cleanup.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,521
Threads: 785
Joined: Nov 2003
#12
2020-09-19, 06:37 PM
(2020-09-19, 03:27 PM)lkraus Wrote: I left my file manager open on the live buffer directory while watching TV for a little bit this morning.

If I change channels, the files for the previous channel are deleted.
If I stop watching by clicking the square Stop button in the player controls, the files are deleted.
If I close the NextPVR client window with Alt-F4 or click the X in the upper right corner (my usual method), the files are not deleted.
I just tried this here, and they weren't deleted instantly with Alt-F4 (I'll check why), but they did get automatically deleted about 15 seconds later, with this associated log message in nrecord.log:

Quote:[9] Live stream expired without 15 second renewal. (handle:200005)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,521
Threads: 785
Joined: Nov 2003
#13
2020-09-19, 06:45 PM
This updated NextPVRUI.dll fixes the issue with it not deleting the buffer files immediately at Alt-F4 time.


Attached Files
.zip   NextPVRUI.zip (Size: 167.13 KB / Downloads: 9)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,762
Threads: 998
Joined: May 2006
#14
2020-09-19, 06:52 PM
The three files from my ALT F4 test this morning are still there.

9/19/2020 11:34 50,030,372 live-CBOT-25121.ts
9/19/2020 11:49 397,443,844 live-CBOT-27593.ts
9/19/2020 11:52 369,569,648 live-CBOT-27593-1.ts

The delete action for me seems to be after the expiry message. That writer.close error is in most users logs so I have been ignoring it.

Code:
2020-09-19 11:34:19.971 [ERROR][9] Live stream expired without 15 second renewal. (handle:250007) 2020-09-19 11:34:19.971 [DEBUG][9] StopStream(7) 2020-09-19 11:34:19.971 [DEBUG][9] StopStream handle: 7 2020-09-19 11:34:19.971 [DEBUG][9] Closing TSWriter....: LIVE&C:\Users\Public\Videos\live-CBOT-25121.ts 2020-09-19 11:34:19.972 [ERROR][9] writer.Close() did not complete in a timely fashion 2020-09-19 11:34:19.972 [DEBUG][9] Close@2 2020-09-19 11:34:19.972 [DEBUG][9] Closing mapAccessor 2020-09-19 11:34:19.972 [DEBUG][9] Closing mapMMF 2020-09-19 11:34:19.972 [DEBUG][9] Closing mapFileStream 2020-09-19 11:34:19.972 [DEBUG][9] deleting C:\Users\Public\Videos\live-CBOT-25121.ts.map 2020-09-19 11:34:19.973 [DEBUG][9] Close@exit 2020-09-19 11:34:19.973 [DEBUG][9] StopStream@exit 2020-09-19 11:34:20.140 [DEBUG][9] stopping graph 2020-09-19 11:34:20.140 [DEBUG][9] destroying graph 2020-09-19 11:34:20.140 [INFO][9] Stopped

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,762
Threads: 998
Joined: May 2006
#15
2020-09-19, 06:56 PM
(2020-09-19, 06:45 PM)sub Wrote: This updated NextPVRUI.dll fixes the issue with it not deleting the buffer files immediately at Alt-F4 time.

Oops missed that now they get deleted.

Martin
lkraus
Offline

Junior Member

U.S.
Posts: 7
Threads: 2
Joined: Sep 2020
#16
2020-09-20, 05:18 PM
(2020-09-19, 06:45 PM)sub Wrote: This updated NextPVRUI.dll fixes the issue with it not deleting the buffer files immediately at Alt-F4 time.

Seems to be working well!
Thanks!
eastavin
Offline

Member

Posts: 221
Threads: 54
Joined: Oct 2016
#17
2021-05-03, 08:38 PM
(2020-09-19, 07:54 AM)sub Wrote: While this was a known problem in the past, I wasn't aware of any issue with it with current releases. You'll probably need to supply logs so I can take a look.

Oh it is still happening ... for sure.  I never commented about it as I figured it was not really that important on "the list".
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,521
Threads: 785
Joined: Nov 2003
#18
2021-05-03, 11:38 PM
(2021-05-03, 08:38 PM)eastavin Wrote:
(2020-09-19, 07:54 AM)sub Wrote: While this was a known problem in the past, I wasn't aware of any issue with it with current releases. You'll probably need to supply logs so I can take a look.

Oh it is still happening ... for sure.  I never commented about it as I figured it was not really that important on "the list".
If it can't delete the files at the time, because some other process or thread was using them, v5 will still clean them up eventually. (even if it's not until the application is restarted)

Ultimately, with the complications of different ways files can be accessed, and different behaviour from different clients, it can't always gaurantee it can delete the file immediately. v5 is a little better than v4 at deleting the files at the time, but sometimes it still needs to clean them up later.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with Live TV in Web client Bobins 4 770 2026-03-31, 06:54 PM
Last Post: Bobins
  Live TV crash greg in kansas 8 1,026 2026-03-08, 08:27 PM
Last Post: mvallevand
  NextPVR Client "Live TV" need Internet connection to work? elstaci 3 878 2025-12-02, 06:19 PM
Last Post: mvallevand
  NextPVRServer.exe preventing sleep after watching live TV alanteague 9 2,552 2025-08-09, 05:23 PM
Last Post: Bobins
  BUG: if Live TV Buffer Directory gets deleted can't watch live tv yanivf 0 744 2025-07-18, 07:42 AM
Last Post: yanivf
  Not picking unused tuner to record while watching live tv dlindyds 5 1,621 2025-06-21, 10:34 PM
Last Post: dlindyds
  Live TV stopping every few minutes Schtele Bunzorz 3 1,271 2025-06-17, 11:53 PM
Last Post: mvallevand
  Micro stutter live and recorded TV dallascowboy23 10 3,193 2025-05-31, 06:39 AM
Last Post: three6zerocool
  Cant watch live TV Bobbybear 3 1,563 2025-03-23, 03:49 PM
Last Post: Bobbybear
  Deleting recordings leaves .MP4 files ronsfsd 8 2,964 2025-02-20, 04:53 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