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
1 2 3 4 Next »
Need to check for Live TV with GBPVRcli

 
  • 0 Vote(s) - 0 Average
Need to check for Live TV with GBPVRcli
keith_leitch
Offline

Senior Member

Posts: 510
Threads: 53
Joined: Nov 2008
#1
2009-04-06, 12:37 AM
I'm 90% sure that I've figured out why timeshift is stopping after 5 minutes, as well as Graphrecorder losing its abillity to cancel recordings. As usual, it's my fault.

I have a polling batch file that uses GBPVRcli to check for in-progress and pending recordings, and otherwise restarts the recording service. This is to help me manage my streaming stations from TVUPlayer and other sources. What I didn't realise is that GBPVRcli does not register a timeshifting station as an "inprogress" recording.

Is there any way to use the CLI to either check for recordings that are timeshifting, or check to see if the player is active?
Mister Slimm
Offline

Senior Member

Posts: 437
Threads: 41
Joined: Nov 2005
#2
2009-04-06, 12:01 PM
keith_leitch Wrote:Is there any way to use the CLI to either check for recordings that are timeshifting, or check to see if the player is active?

GBPVRcli doesn't have that ability but you can look at the LiveTV Buffer Directory yourself. The directory is set under GB-PVR Configuration / Directories. Just look for the latest .mpg file (or whatever format your multiplexer outputs to). The .mpg file will be called whatever the program that was on when you first pressed pause or entered timeshift mode.

"dir *.mpg /od /tw /b" will list the files with the latest modified file on the last but one (!) line or, to put it another way, the last line with something in it.

A /livetv switch is something that is on my todo list but updating GBPVRcli isn't really on my radar at the moment.
[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]
keith_leitch
Offline

Senior Member

Posts: 510
Threads: 53
Joined: Nov 2008
#3
2009-04-06, 08:18 PM
Mister Slimm Wrote:GBPVRcli doesn't have that ability but you can look at the LiveTV Buffer Directory yourself. The directory is set under GB-PVR Configuration / Directories. Just look for the latest .mpg file (or whatever format your multiplexer outputs to). The .mpg file will be called whatever the program that was on when you first pressed pause or entered timeshift mode.

"dir *.mpg /od /tw /b" will list the files with the latest modified file on the last but one (!) line or, to put it another way, the last line with something in it.

Eerie. That's amlost exactly what I did. I used /o-d /tw /b to make the most recently-changed file the first one written. I then try to delete it; if it still exists after that, it means live TV is playing.

It never occurred to me that I might have an idea as good as one of yours...
Mister Slimm
Offline

Senior Member

Posts: 437
Threads: 41
Joined: Nov 2005
#4
2009-05-28, 04:00 PM
keith_leitch Wrote:Is there any way to use the CLI to either check for recordings that are timeshifting, or check to see if the player is active?

The next release of GBPVRcli will contain a /tunerstatus switch that you could use to determine whether a tuner is being used for live TV. It will show you the same information that you get in the About box from the SlimmGBPVR tray utility.
[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)



Possibly Related Threads…
Thread Author Replies Views Last Post
  gbpvrCLI Formatting Tuner Status possible? martint123 2 5,804 2010-05-27, 04:55 PM
Last Post: martint123
  GBPVRCLI pending list problem (v1.7.3245.23786) b00sfuk 3 6,993 2010-05-23, 08:55 PM
Last Post: martint123
  gbpvrcli and lcd smartie few questions ryanmc 8 12,508 2009-09-15, 01:39 PM
Last Post: Sykor
  What are the options for GBPVRCLI? keith_leitch 3 6,455 2009-02-03, 08:50 PM
Last Post: keith_leitch
  request: {MinutesToStart} for gbpvrcli pvruser 12 7,757 2007-10-05, 01:56 AM
Last Post: pvruser
  "Recording has started" when watching Live TV & Conflict csc12345678 9 5,467 2007-07-13, 05:19 PM
Last Post: sub
  GBPVRcli - extract information from GB-PVR for use in batch and text files Mister Slimm 2 9,524 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