NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 401 402 403 404 405 … 433 Next »
Worth upgrading for simple TV recording?

Worth upgrading for simple TV recording?
sheppy99
Offline

Member

Posts: 79
Threads: 14
Joined: Nov 2009
#1
2010-09-13, 10:42 PM
I currently use GBPVR 1.4.7 on Server 2003 just for recording and I program it over the web. It works fine and all I wish for is automatic show deletion from the guide after say 7 days. Manual bulk deletion doesn't work so I have to delete each program individually rather than ticking the lot and clicking delete.
I realise that NPVR will surpass GBPVR but is it worth upgrading to NPVR for this simple usage?
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#2
2010-09-14, 08:13 AM
NPVR doesn't have any additional features for automatic show deletion, so switching to NPVR wouldn't give you any immediate benefit. As NPVR is still in beta and changing every month or more often, and you seem happy with GB-PVR, it seems you'd be best served by sticking to GB-PVR for now.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2010-09-14, 12:54 PM (This post was last modified: 2010-09-14, 01:35 PM by pBS.)
there is an auto-delete-old-recordings util on the wiki...should do what you want...
http://gbpvr.com/pmwiki/pmwiki.php/Utility/AutoDelete

hmm,that one is based on free space left...there's another one that deletes based on days...
darn, i can't seem to find it..
i could maybe throw one together pretty easily..or maybe you could modify that script to do it based on age instead of free space left..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2010-09-14, 03:41 PM (This post was last modified: 2010-09-14, 04:09 PM by pBS.)
Auto-delete-old:
it will lookup and delete old files past a certain num days old..
also deletes associated files with different extensions, and cleans up database..
it gets db from registry, and allows a test funstion to query only..

edit the top for the number of days you want to keep, meaning older than chosen days will get deleted..

Requires: sqlite3.exe in gbpvr dir, and this batch file to be placed in gbpvr dir..
add into epgupdate.bat for running on a schedule.. [call delold.bat run]

to run as test to view would-be deleted files, type delold.bat
for scripts, to run 'hot' [deletes files], type delold.bat run

i recommend running test till you see what you expect to get deleted then a hot run to make sure all is well..it's pretty simple so shouldn't have any issues..
copy and save as delold.bat
Code:
@echo off
:: how many Days old to purge?
set age=900

:detect gbpvr path and set as db path
for /f "usebackq skip=4 tokens=1,2,3,* " %%e in (`reg query hklm\SOFTWARE\devnz /v "GBPVR InstallDir"`) do set db=%%~hgbpvr.db3

cd /d "%~dp0"

for /f "usebackq tokens=1,2,3 delims=@" %%f in (`sqlite3.exe -separator "@" "%db%" "select manual_start_time, filename from recording_schedule where status = 2 and recording_type = 0 and manual_start_time < date('now','-%age% days') order by manual_start_time;"`) do (
echo.
echo "%%~g"
if "%1" EQU "run" call :delfiles "%%~g"
)
goto :eof


:delfiles
sqlite3.exe "%db%" "delete from recording_schedule where filename like '%~1';"
echo.
del /q "%~dpn1.*"
goto :eof
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sheppy99
Offline

Member

Posts: 79
Threads: 14
Joined: Nov 2009
#5
2010-09-14, 09:02 PM
superb, thanks v much for the script, I'll load it and let you know how it goes. It'll be a few days as I've just had a clear out.
soccerdad
Offline

Posting Freak

Posts: 1,198
Threads: 137
Joined: Feb 2005
#6
2010-09-14, 10:26 PM
Just to add, you can have both of them on your machine at the same time. NPVR is far enough along now so it is pretty easy to work with. Try installing it, add the wave skin and you will likely be impressed. You can do some test recordings and see how you like it without effecting your current gbpvr setup.
[SIZE="1"] Server= Asus M3A78-EM, 4 gigs ram, AMD A64 5200+, Windows 7 home premium 32, 1 HVR-1800, 1 PCH A-100, Test Rig, Biostar 880g+, AMD X2 260, 4 gb ram, Windows, 7 Home Premium 32, 1 DCR-2650 cablecard tuner [/SIZE]
[SIZE="1"][/SIZE]
jki
Offline

Member

Posts: 112
Threads: 9
Joined: Apr 2010
#7
2010-09-17, 10:48 AM
No.
At this time, Npvr feels more like "downgrade" from Gp-pvr. Gp-pvr does almost everything better and faster. Except channel scanning.
sheppy99
Offline

Member

Posts: 79
Threads: 14
Joined: Nov 2009
#8
2010-10-21, 04:13 AM
Just tried the batch file and I get "Error: no such table: recording_schedule"
Any idea what I'm doing wrong?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,135
Threads: 957
Joined: May 2006
#9
2010-10-21, 04:16 AM
sheppy99 Wrote:Just tried the batch file and I get "Error: no such table: recording_schedule"
Any idea what I'm doing wrong?

That script is for GBPVR.

Martin
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#10
2010-10-21, 04:20 AM
but pBS did write a version for NPVR too: http://forums.gbpvr.com//showthread.php?...post388792
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
« 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
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,712 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,086 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,149 2023-11-20, 03:42 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,365 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,767 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,404 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,113 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,364 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,544 2021-01-11, 04:37 PM
Last Post: Graham
  Recording service stopped or not running at scheduled time MattInetroit 3 1,943 2021-01-08, 12:03 AM
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