NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 309 310 311 312 313 … 1231 Next »
What's deleted when a recording is deleted?

 
  • 0 Vote(s) - 0 Average
What's deleted when a recording is deleted?
kendrak24
Offline

Member

Posts: 119
Threads: 26
Joined: Dec 2004
#1
2007-07-21, 01:20 PM (This post was last modified: 2007-07-21, 01:43 PM by kendrak24.)
Hi,

I've added some stuff to PostProcessing.bat to generate a preview image of the recorded show. The resulting jpg image is stored in the same directory as the recording, and shows up nicely in the recording list view (if in "large" mode).
However, when I delete the show, the image is not deleted. Not a big problem, but would it be possible to delete everything that has the same base-name as the show (e.g. CSI_20070701_22002300)? It does delete all comskip related files (.log and .txt) so I thought that when deleting a show it deleted <showname>.*...


TIA


P.S

For those of you that are interested, and know your way around a batch file, this is in my PostProcessing.bat to generate the preview image. (This has maybe already been posted, but what the hey...)
As you can see I select a snapshot image 8 minutes into the show, so you may want to change that to your liking. You need ffmpeg for this, but I think it is (was?) distributed with gbpvr, correct me if I'm wrong sub...
The resulting image is in the same resolution/size as the video, but it is scaled down when displayed in the recordings view. If you're picky, you could of course process the image further with some other tool to resize it to use less disk space...


@echo off
REM Enable Command Extensions
SETLOCAL ENABLEEXTENSIONS

REM Extract show name

REM Expand argument to get rid of any quotes
set tmpshow=%~1

REM Strip .mpg from filename
set show=%tmpshow:~0,-4%

REM Call ffmpeg
REM -i = input mpg
REM -f = output file type
REM -ss = where to start in mpg (hh:mmConfuseds) Higher value means longer processtime,
REM since ffmpeg seems to process up to this point first...
REM -t = how long part of mpg to process
"d:\programs\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe" -i "%show%.mpg" -f mjpeg -ss 00:08:00 -t 0.001 "%show%.jpg"
dark_half
Offline

Senior Member

USA
Posts: 463
Threads: 30
Joined: Mar 2006
#2
2007-07-21, 02:17 PM
Look in the config.xml and try adding jpg to the following line.
Code:
<DeleteAdditionalExtensions>srt,txt,log,d2a,edl,csv,bat,wme,vprj,logo.txt,dvbsub,smi</DeleteAdditionalExtensions>
kendrak24
Offline

Member

Posts: 119
Threads: 26
Joined: Dec 2004
#3
2007-07-21, 03:11 PM
Thanks. that did it!
kram_0
Offline

Member

Posts: 57
Threads: 4
Joined: Apr 2006
#4
2007-07-22, 11:10 AM
Hey, thanks for that image grab tip kendrak24!
I'll have to give that one a go.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#5
2007-07-22, 04:49 PM
There is also a builtin mechanism for grabbing a show image during playback, that works much like the batch file above. During video playback you can press ^T to grab a thumbnail. This does have the advantage of being able to specifiy what you want to see in that thumbnail (ie, do it while the title is on the screen etc).

Unfortunately both of these use ffmpeg which results in ffmpeg having to play the file up to that point in the file before it can grab the thumbnail. ie, the further through the file it is, the longer it takes to generate the thumbnail.

I havnt said anything about this feature because I was hoping to find a better way to get a thumbnail without the delay, but I havnt yet.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#6
2008-04-09, 12:31 AM
dark_half Wrote:Look in the config.xml and try adding jpg to the following line.
Code:
<DeleteAdditionalExtensions>srt,txt,log,d2a,edl,csv,bat,wme,vprj,logo.txt,dvbsub,smi</DeleteAdditionalExtensions>

sub,

Just wondering if "dat" should be added to that list, all my recording dirs have a file with .dat extensions (not the mpg).

ART HEIST_20071103_00300230.mpg.dat

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#7
2008-04-09, 12:33 AM
I dont have any of those files. If whatever plugins or utilities you're using is creating these dat files, then you can probably add the extension to <DeleteAdditionalExtensions> in config.xml.
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#8
2008-05-25, 11:09 PM
Do you have to turn this feature on somewhere? I have the "<DeleteAdditional..." line in my config.xml, but the Comskip files remain after I've deleted a show. ???
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#9
2008-05-25, 11:12 PM
Where are you deleting them from? This logic only occurs in the Recordings screen, not with the Video Library 'Delete' funtion.
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#10
2008-06-03, 01:24 AM
Oh, good to know. Bummer though. I do most of my viewing/deleting from the Video Library.
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Audio buzzing second time recording launched. dennit 2 4,534 2012-12-09, 11:28 PM
Last Post: dennit
  Inhibit Computer Shutdown While Recording rwnz 52 30,182 2012-04-03, 11:40 AM
Last Post: pBS
  Start PC for recording, Sleep/Hibernate when done Basher52 6 4,959 2011-12-17, 02:52 PM
Last Post: Sykor
  intermittent recording failures bcdudley 6 3,620 2011-09-28, 07:28 AM
Last Post: bcdudley
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,508 2011-09-19, 01:15 AM
Last Post: sub
  Sattelite interent recording? crsfooddude 1 2,139 2011-07-26, 02:32 AM
Last Post: mvallevand
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,377 2011-06-27, 02:06 AM
Last Post: sub
  How to kill an orphan Live TV recording? martint123 2 2,345 2011-05-16, 05:33 PM
Last Post: martint123
  SUB: Recording show in two pieces. Found bug(?) lif 10 5,078 2011-05-11, 09:30 AM
Last Post: jksmurf
  Order of tuner use for live tv and recording shaunpatrick77 1 1,731 2011-02-19, 10:49 AM
Last Post: martint123

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

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

Linear Mode
Threaded Mode