NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 83 84 85 86 87 … 106 Next »
Manual Recording

 
  • 0 Vote(s) - 0 Average
Manual Recording
jcole998
Offline

Posting Freak

New York, USA
Posts: 867
Threads: 186
Joined: Jun 2015
#1
2020-07-25, 07:05 PM
I am trying to schedule a V5 manual recording using the API with the following command:

http://localhost:8867/services/service?m...8ab77b7bce
&name=Alien Superstar with Henry Winkler - Lin Oliver&channel=914&time_t=1595800800&duration=3600&pre_padding=0&post_padding=0

No luck. The tail-end of the attached nrecord.log near 2020-07-25 14:49:47.043 shows:

<rsp stat="fail">
  <err code="11" msg="Object reference not set to an instance of an object." />
</rsp>

Is there a problem with this API call?


Attached Files
.zip   logs-20200725-1451.zip (Size: 149.39 KB / Downloads: 1)
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: ASRock Z790 PG SONIC 32GB - Intel Core i7-12700K
Graphics: - NVIDIA GeForce RTX 3050 6GB
Software: Win 11 Pro (x64) Build 26100.6584 (24H2) - NextPVR
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 54,105
Threads: 967
Joined: May 2006
#2
2020-07-25, 07:25 PM
I don't understand why you continue to NOT use the developer forum plus I almost didn't reply because this is related to the YouTube extra.

This call is a probably confusing because the channel is the oid and not the channel number. You should be using 8303

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 867
Threads: 186
Joined: Jun 2015
#3
2020-07-25, 08:20 PM
You're right. This should have been posted to the developer's forum. My apologies.

Thanks for the info.

Oh, and what does the YouTube extra have to do with my request?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,181
Threads: 773
Joined: Nov 2003
#4
2020-07-25, 08:27 PM
I suggest opening the web app in your browser viewing the Scheduler page, open the browser developer tools, then use the '+' button to schedule your recording. After this, look at the Network tab of your developer tools. You should see listed the method=recording.save call, along with the parameters it used.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 54,105
Threads: 967
Joined: May 2006
#5
2020-07-25, 08:38 PM
Sub the API is just channel= and it is not clear if it is number or oid.

@jcole998 the example with with the YouTube extra, and you are probably trying to create a manual recording of a You Tube channel because there is no guide info. Anyway I was just trying to show how support doesn't often stop with one post.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,181
Threads: 773
Joined: Nov 2003
#6
2020-07-25, 08:41 PM
(2020-07-25, 08:38 PM)mvallevand Wrote: Sub the API is just channel= and it is not clear if it is number or oid.
For the most part, anything taking a channel parameter in the api is referring to the channel oid. The notable exception is the the http://192.168.1.25:8866/live?channel=123 url, because I wanted an easy way for users to be able to manually create a stream url, without having to know complicated stuff like database oids etc.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,181
Threads: 773
Joined: Nov 2003
#7
2020-07-25, 08:42 PM
I don't have the code in front of me, so can't check if it accepted a channel number.
jcole998
Offline

Posting Freak

New York, USA
Posts: 867
Threads: 186
Joined: Jun 2015
#8
2020-07-26, 01:40 PM
Thank you, sub. I rarely use F12 and I'm not familiar with its capabilities. I tried your suggestion and easily found the calls.

@Martin...In my attempt to break down my project in smaller bites, I was unaware of your support philosophy. Message received. Thanks for your help.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Issue with screen readers trying to schedule a recording Stavros 10 116 1 hour ago
Last Post: Stavros
  Manual recordings Joram 7 390 2025-10-08, 04:33 AM
Last Post: Joram
  No LiveTV or Recording on one channel only cher 2 250 2025-10-07, 10:21 AM
Last Post: cher
  NextPVR can't update EPG while recording a program cc58 4 350 2025-10-02, 03:50 PM
Last Post: cc58
  Show not recording when title contains \t tab character scoobyjam 5 453 2025-10-02, 02:06 AM
Last Post: mvallevand
  Recording stuck in loop Gmjh 17 1,430 2025-08-31, 09:25 PM
Last Post: Gmjh
  Externally generated SRT subtitles for DVB recording not displayed hmc 12 1,378 2025-08-17, 09:03 AM
Last Post: hmc
  Recording Glitches - Debug Advice? andrewj 7 978 2025-06-23, 08:19 PM
Last Post: mvallevand
  Advanced Recording Scheduling question Bobins 7 841 2025-06-17, 12:56 AM
Last Post: mvallevand
  "Recording interrupted" problem started happening sharkbite 8 1,433 2025-06-02, 08:08 AM
Last Post: sharkbite

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

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

Linear Mode
Threaded Mode