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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#11
2007-04-16, 06:23 PM
Quote: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?
Sorry, there just isnt APIs for that kind of stuff. That was also treat as 'internal' and not exposed to plugins.
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#12
2007-04-16, 07:01 PM
Any plans on adding this capability? All that is needed is exposing what channel, channel OID, and/or channel Name each capture source is recording. If not recording, return -1. Also would be nice to have a way to get any one of channel #, OID, and Name if you have one of those pieces of data.
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]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#13
2007-04-16, 08:54 PM
I can try to add some stuff like this in a future release, but I cant do anything for you in the short term, so you'll probably just need to come up with your own work arounds for now. (I'm pretty snowed under for the next release)
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#14
2007-04-16, 10:41 PM
sub Wrote:I can try to add some stuff like this in a future release, but I cant do anything for you in the short term, so you'll probably just need to come up with your own work arounds for now. (I'm pretty snowed under for the next release)

I'll scan the EPG for a show name matching what is recording, which should work for 99% of cases. Is it possible to switch a tuner to live tv given an IRecordingSource interface? I was looking in the Object Browser for GBPVRBackendCommon, and I believe there was an API to do this.
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]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#15
2007-04-16, 11:27 PM
Quote:I'll scan the EPG for a show name matching what is recording, which should work for 99% of cases. Is it possible to switch a tuner to live tv given an IRecordingSource interface?
Yes, but only when watching live preview TV, and only when the thing that calls it is in the same process, and the live tv OSD would still think its on the old channel. The info passed to this call can also be very complex for digital device. Its another thing not really intended to be used by plugins... This is outside the scope of what the plugin API was intended to do.
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#16
2007-04-17, 12:13 AM
sub Wrote:Yes, but only when watching live preview TV, and only when the thing that calls it is in the same process, and the live tv OSD would still think its on the old channel. The info passed to this call can also be very complex for digital device. Its another thing not really intended to be used by plugins... This is outside the scope of what the plugin API was intended to do.

Well then I'll solve my problem by not making my plugin, when you select a capture source, switch to live tv for that capture source. Problem solved! I wish all SW development was this easy Smile
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): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Custom recording tomx 2 430 2025-02-07, 09:14 AM
Last Post: tomx
  API call for Recording Complete linustorvalds 1 290 2025-01-19, 02:11 PM
Last Post: mvallevand
  Manual recording API mvallevand 2 923 2023-11-09, 02:14 PM
Last Post: mvallevand
  API channel.stream.start mvallevand 2 1,260 2023-05-07, 09:40 PM
Last Post: mvallevand
  FM tuner support in NextPVR? Goongyae 2 1,335 2022-11-23, 01:22 PM
Last Post: mvallevand
  Way to tell programmatically if channel load in from NPVR has finished... gdogg371 3 2,343 2021-03-11, 03:59 PM
Last Post: mvallevand
  Recording direct to GPhotos API rgonzalez 0 1,407 2020-06-29, 04:45 AM
Last Post: rgonzalez
  What is being sent when using /live?channel=3.1 scJohn 2 1,880 2020-01-30, 04:51 PM
Last Post: sub
  Recurring Recording URL Parameters jcole998 2 2,902 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 13,542 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