NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 44 45 46 47 48 … 93 Next »
how to figure out what channel a tuner is recording

 
  • 0 Vote(s) - 0 Average
how to figure out what channel a tuner is recording
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#1
2007-04-15, 10:32 PM
I'm trying to figure out how to enumerate the tuners in the system, and if one is recording, what channel it's recording and the show name and description. Anyone have pointers? I've been digging through docs and the DLL Object Browser in Visual Studio 2005 for CommonGBPVRUtilities.
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2007-04-16, 01:42 AM
check out graph viewer plugin, i think it has source...
pretty simple and he had to enum tuners so we could tune them.Smile
other wise might check out the wdm software recorder plugin [both on wiki]
as it well programmed and covers a lot of areas..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#3
2007-04-16, 03:20 AM (This post was last modified: 2007-04-16, 04:04 AM by Wakalaka.)
Thanks for the pointer. I found a plugin called GraphRecorder, but not Graph Viewer or WDM Software Recorder plugin. Do you know where they're at?
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#4
2007-04-16, 04:38 AM
http://gbpvr.com/pmwiki/pmwiki.php/Plugi...reRecorder
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#5
2007-04-16, 04:53 AM
What does this return while recording: GBPVR.Public.PluginHelperFactory.getPluginHelper().getCaptureSourceStatus();

I know it says sleeping when sleeping, maybe you could match that string with the channel/program
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#6
2007-04-16, 05:23 AM
I have code that returns a string array for tuner status. Right now [0] says "Recording Mind of Mencia =" and [1] says "Sleeping" because I have 2 tuners.
I need to figure out how to get the channel string or OID for each tuner, when recording, so I can get the channel image, and then how to get the show description. If I knew the channel #, string, or OID, I'm sure that can be used to get the show description from the TV guide data. Without that info, it wouldn't be reliable to search the entire guide looking for a show name match to get the channel #.
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#7
2007-04-16, 06:19 AM
but if you know this: Recording Mind of Mencia you could zip through the program list for the current time and figure out the programme - and from that you can get the channel and everything else.

Not ideal, but I'm guessing what you want isn't exposed by sub...
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#8
2007-04-16, 08:36 AM (This post was last modified: 2007-04-16, 08:53 AM by Wakalaka.)
I thought of that, and it would work only if the same show name is never on 2 channels at times that overlap. If show name is "xyz", and is on channel 5 from 3pm to 7 pm, and is on channel 9 from 5 pm to 6 pm, then you have a problem because the show on channel 9 could be matched to the one on channel 5, and the shows could have different descriptions. You then end up showing the descriptions backwards.
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#9
2007-04-16, 08:46 AM
Maybe you can then only do it by reading the scheduled recordings and resolving that back to the tuner in use....
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#10
2007-04-16, 12:17 PM
whurlston Wrote:http://gbpvr.com/pmwiki/pmwiki.php/Plugi...reRecorder

Using the code from the plugin above, I now have the following:
The channel icon, show name, and show description are all place holders. I can't find a way to get the currently tuned channel for a capture source.
sub, any suggestions?
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/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
  Custom recording tomx 2 1,014 2025-02-07, 09:14 AM
Last Post: tomx
  API call for Recording Complete linustorvalds 1 648 2025-01-19, 02:11 PM
Last Post: mvallevand
  Manual recording API mvallevand 2 1,280 2023-11-09, 02:14 PM
Last Post: mvallevand
  API channel.stream.start mvallevand 2 1,618 2023-05-07, 09:40 PM
Last Post: mvallevand
  FM tuner support in NextPVR? Goongyae 2 1,717 2022-11-23, 01:22 PM
Last Post: mvallevand
  Way to tell programmatically if channel load in from NPVR has finished... gdogg371 3 2,642 2021-03-11, 03:59 PM
Last Post: mvallevand
  Recording direct to GPhotos API rgonzalez 0 1,651 2020-06-29, 04:45 AM
Last Post: rgonzalez
  What is being sent when using /live?channel=3.1 scJohn 2 2,124 2020-01-30, 04:51 PM
Last Post: sub
  Recurring Recording URL Parameters jcole998 2 3,232 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 15,798 2019-08-15, 09:34 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode