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) Slimm GB-PVR and GBPVRcli v
« Previous 1 2 3 4 Next »
request: {MinutesToStart} for gbpvrcli

 
  • 0 Vote(s) - 0 Average
request: {MinutesToStart} for gbpvrcli
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#1
2007-09-25, 11:58 PM
great addon for this great gbpvr app Smile but i've also got a request:

{MinutesToStart} for gbpvrcli which should display the number of minutes remaining till the next recording.

why do i need this? because i'm transcoding with ffmpeg in the PostProcessing.bat and i need to make sure i dont shut down 2-3 minutes before the next recording starts! i've noticed that the computer comes out of standby about 5 minutes before a recording so that would cause it to miss a recording.

Thanks!
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#2
2007-09-26, 06:10 AM
I think this already is covered. I think gbpvr will keep the system awake a certain amount of time before a recording starts. I've never seen reports on this.
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#3
2007-09-26, 08:16 AM
you can use {StartTimeWithPadding} to get that value, see my example here
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#4
2007-09-26, 12:41 PM
HtV Wrote:I think this already is covered. I think gbpvr will keep the system awake a certain amount of time before a recording starts. I've never seen reports on this.

i'm using this to standby after each recording/encoding:

psshutdown -d -c -t 300

i managed to manually stand-by the machine less than 2 minutes before a recording without being stopped by slimm or the actual gbpvr. however it never happened (yet afaik) to do this automatically and miss a recording.

i've only upgraded a week ago and still updating my conversion scripts thats why i wanted to account for all cases...
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#5
2007-09-26, 12:42 PM
K.S. Wrote:you can use {StartTimeWithPadding} to get that value, see my example here

nice batch! thanks i'll give it a try! it sure looks very complex. wish gbpvrcli would just have that option (or any other way by running a command not a batch).
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#6
2007-09-26, 01:20 PM
pvruser Wrote:nice batch! thanks i'll give it a try! it sure looks very complex. wish gbpvrcli would just have that option (or any other way by running a command not a batch).

if you stumble into any problems i can post the current version of the batch that's been in use on my machine the last months. yeah, it's a little bit of a hack (learned a lot during creating that batch regarding DOS & batching) expecially the part around "Setlocal EnableDelayedExpansion". i would never again try to do such a thing (date arithmetics) inside batches, it's been a PITA Wink
vbs and probably every any "real" skripting language are more powerfull in that area
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#7
2007-09-30, 05:24 AM
finally got the time to read/understand your date script. i just now realized that {MinutesToEndWithPadding} returns actual minutes till the end of the recording starting from now. i always assumed it would just contain the length of recording or smth like that.

i guess this makes it even easier for Slimm to add the new {MinutesToStart} parameter to gbpvrcli - no need to mess with new date functions :p

but until he adds it i'll use {MinutesToEndWithPadding} with some calculations. this is so much fun!
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
Mister Slimm
Offline

Senior Member

Posts: 437
Threads: 41
Joined: Nov 2005
#8
2007-10-01, 10:37 AM
{MinutesToStart} and {MinutesToStartWithPadding} tokens added. Hope this does the trick.

For information regarding features and bug fixes new to this release, please see my announcement post on my blog.

For all details regarding current version, please see documentation which is installed alongside the utility and is available in the GBPVR start menu group.
[SIZE="1"]Akasa Zen case, AMD Phenom II X3 720, 4.00Gb Ram, Sapphire ATI Radeon 4890, Terratec Terratec Cinergy 2400i Twin Digital Tuner, 1050Gb storage, Windows 7 Home Premium.
See my blog for releases, HD wallpapers, movie, game and anime reviews and more.[/SIZE]
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#9
2007-10-01, 11:46 PM
Mister Slimm Wrote:{MinutesToStart} and {MinutesToStartWithPadding} tokens added. Hope this does the trick.

For information regarding features and bug fixes new to this release, please see my announcement post on my blog.

For all details regarding current version, please see documentation which is installed alongside the utility and is available in the GBPVR start menu group.

wow great! i did update my scripts with the other variable but i'll get this new version asap!
hmm... right now i have Version: 1.6.2746.21588 with GB-PVR v0.99.12 and i was wondering if upgrading will work fine. is it still compatible with 0.99.12?

Thanks!
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
Mister Slimm
Offline

Senior Member

Posts: 437
Threads: 41
Joined: Nov 2005
#10
2007-10-02, 12:14 AM
pvruser Wrote:Is it still compatible with 0.99.12?

Should be.
[SIZE="1"]Akasa Zen case, AMD Phenom II X3 720, 4.00Gb Ram, Sapphire ATI Radeon 4890, Terratec Terratec Cinergy 2400i Twin Digital Tuner, 1050Gb storage, Windows 7 Home Premium.
See my blog for releases, HD wallpapers, movie, game and anime reviews and more.[/SIZE]
« 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
  gbpvrCLI Formatting Tuner Status possible? martint123 2 5,803 2010-05-27, 04:55 PM
Last Post: martint123
  GBPVRCLI pending list problem (v1.7.3245.23786) b00sfuk 3 6,990 2010-05-23, 08:55 PM
Last Post: martint123
  gbpvrcli and lcd smartie few questions ryanmc 8 12,507 2009-09-15, 01:39 PM
Last Post: Sykor
  Need to check for Live TV with GBPVRcli keith_leitch 3 6,244 2009-05-28, 04:00 PM
Last Post: Mister Slimm
  What are the options for GBPVRCLI? keith_leitch 3 6,453 2009-02-03, 08:50 PM
Last Post: keith_leitch
  Request: Playback Info Dava 2 3,295 2008-08-15, 08:49 AM
Last Post: Dava
  Request: Maintenance Mode for xx (sec/minutes) JavaWiz 2 2,964 2007-10-04, 10:02 AM
Last Post: Mister Slimm
  Disable Request to Delete Recording betbest1 3 3,216 2007-06-01, 11:21 AM
Last Post: Mister Slimm
  GBPVRcli - extract information from GB-PVR for use in batch and text files Mister Slimm 2 9,522 2007-02-20, 01:40 PM
Last Post: Mister Slimm

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

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

Linear Mode
Threaded Mode