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 … 63 64 65 66 67 … 102 Next »
Live TV buffers not deleting

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

Posting Freak

Ontario Canada
Posts: 53,164
Threads: 958
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: 106,807
Threads: 769
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: 106,807
Threads: 769
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
Online

Posting Freak

Ontario Canada
Posts: 53,164
Threads: 958
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
Online

Posting Freak

Ontario Canada
Posts: 53,164
Threads: 958
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: 106,807
Threads: 769
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
  Not picking unused tuner to record while watching live tv dlindyds 5 279 2025-06-21, 10:34 PM
Last Post: dlindyds
  Live TV stopping every few minutes Schtele Bunzorz 3 193 2025-06-17, 11:53 PM
Last Post: mvallevand
  Micro stutter live and recorded TV dallascowboy23 10 708 2025-05-31, 06:39 AM
Last Post: three6zerocool
  Cant watch live TV Bobbybear 3 440 2025-03-23, 03:49 PM
Last Post: Bobbybear
  Deleting recordings leaves .MP4 files ronsfsd 8 813 2025-02-20, 04:53 PM
Last Post: mvallevand
  Fail To start Live TV PeterK2003 2 407 2024-12-15, 10:30 PM
Last Post: PeterK2003
  Random freeze while watching Live TV. three6zerocool 11 1,494 2024-08-25, 01:47 PM
Last Post: mvallevand
  Android Walmart Onn.TV box (gen 1, 2 and pro) Live TV buffering every few minute txinga 7 1,099 2024-05-31, 06:14 PM
Last Post: txinga
  V6 Live TV issue using HDHomeRun tuners wwhenderson 7 1,274 2024-03-21, 06:57 PM
Last Post: mvallevand
Music Live tv link only work for 10 minutos dpineyro 1 453 2024-03-03, 06:40 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