NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 22 23 24 25 26 … 93 Next »
Recording without mapped channels.

 
  • 0 Vote(s) - 0 Average
Recording without mapped channels.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,396
Threads: 868
Joined: May 2006
#1
2009-09-05, 05:53 PM
Is it possible to record a stream based on the scan data information only? I have 80 or so QAM audio channels that I don't want to map and see as blank entries in my TV guide. If I could provide a simple link to in my Web Radio plugin I could get at the channels and probably even transcode them for the MVP.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,457
Threads: 743
Joined: Nov 2003
#2
2009-09-05, 05:55 PM
Its not currently possible, but I could add it for the next release.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,457
Threads: 743
Joined: Nov 2003
#3
2009-09-05, 05:56 PM
Or I could add something to hide radio stations in the tv guide? This could possibly be done as a patch.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,396
Threads: 868
Joined: May 2006
#4
2009-09-05, 06:04 PM
That would be good maybe just an option to hide if the video pid is 0?

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,396
Threads: 868
Joined: May 2006
#5
2009-09-06, 03:21 AM
Is there documentation or samples on how to use some of the interfaces I could use for this like (hopefully) GBPVR.Backend.Common.BDARecordingSource or even GBPVR.Backend.Common.ScheduleHelper

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,457
Threads: 743
Joined: Nov 2003
#6
2009-09-06, 04:03 AM
Quote:Is there documentation or sampleson how to use some of the interfaces I could use for this like (hopefully) GBPVR.Backend.Common.BDARecordingSource
No, that is internal to the application, and the interface changes regularly.

Quote:or even GBPVR.Backend.Common.ScheduleHelper
The web admin source code is included with the release, and shows the use of this interface. It is intended that developers can use this interface.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,396
Threads: 868
Joined: May 2006
#7
2009-09-06, 04:10 AM
Thanks, I didn't know about all that code, it will help

I figured something like this would be too easy

Code:
BDARecordingSource bda = new BDARecordingSource();
            IRecordingSourceConfiguration config;
//            config.? =  "Hauppauge HVR-1600 (QAM)"
            ChannelTuning ct = new ChannelTuning(0, "T:121,0,0~P:54~V:0~A:201~PMT:135");
            bda.startRecording(config, 1, "c:\\temp\\martin.ts", ct,5,false);

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,457
Threads: 743
Joined: Nov 2003
#8
2009-09-06, 04:16 AM
Yes, that sort of thing will probably work, but be warned I change the interface on that class all the time, so its likely to break any code using it each time I do a release.

I dont mind if you do it, but dont want to be hassled about it each time I change the interface.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,457
Threads: 743
Joined: Nov 2003
#9
2009-09-06, 04:21 AM
You wouldnt have needed to set anything on the IRecordingSourceConfiguration interface. It can probably be passed in as null, and only really exists for historic reasons.

The bda object would need to have the "cardType" and "board" set. These are normally loaded by another object, but its not accessible externally.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,396
Threads: 868
Joined: May 2006
#10
2009-09-06, 04:55 AM
Thanks, Load() does works currently which is pretty cool although I guess will have to stop the recording myself which is fine for radio.

Does this logic mean I can submit any tuning request?

Code:
2009-09-06 00:46:41.678    VERBOSE    [1]    BDARecordingSource about to start recording  oid:2 channel:T:121,0,0~P:54~V:0~A:201~PMT:135 file:c:\temp\martin.ts

Martin
« 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
  is there a service?method which returns listings for multiple channels? reven 16 4,435 2022-04-11, 04:30 PM
Last Post: mandai
  Recording direct to GPhotos API rgonzalez 0 943 2020-06-29, 04:45 AM
Last Post: rgonzalez
  Recurring Recording URL Parameters jcole998 2 2,253 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 9,263 2019-08-15, 09:34 PM
Last Post: sub
  Unexpected result when deleting a pending recording scJohn 5 2,738 2018-05-06, 10:09 PM
Last Post: sub
  Channels List by Channel Group Name scJohn 1 2,029 2018-01-05, 10:45 PM
Last Post: mvallevand
  How to best verify success when adding a recurring recording drmargarit 1 2,233 2017-03-02, 03:13 PM
Last Post: mvallevand
  Switching Audio Channels spitefulgod 0 1,569 2016-12-15, 08:42 PM
Last Post: spitefulgod
  Change recording filename programmatically immediately before recording starts? craigrs84 5 5,005 2015-07-13, 09:28 PM
Last Post: patco444
  Recording a specific episode based on season and episode number cbgifford 26 7,350 2014-12-19, 10:28 PM
Last Post: cbgifford

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

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

Linear Mode
Threaded Mode