NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
1 2 3 4 5 … 93 Next »
NextPVR web API for scheduling - DayMask

 
  • 0 Vote(s) - 0 Average
NextPVR web API for scheduling - DayMask
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#21
2019-06-15, 02:45 AM
A timeslot recording basically looks for a show with the same name that starts within the timeslot (which by default is +/- 90 minutes o the original start time). The intention of this time slot was basically record a show that typically airs at the same time each week, but can deal with slight variances to the time (like airing an hour late some time etc)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#22
2019-06-15, 02:59 AM
Yes that's what I thought. I think a missing piece for me in Emby is for channels like Hallmark (we don't get it here in Canada - no loss) that show made for TV moves movies every Sunday night but the name changes. To avoid confusion I just took out that option for movies in Emby because it would need to be a manual recording.

I'm not even sure how NextPVR would name these shows so I have do some testing.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#23
2019-06-19, 06:36 PM
Sub, I had a check with your v5 logs for web server episode request and notice that you care getting a token to get the art. Reading the API

Quote:Retrieving JSON index based on programID

The available image artwork index is retrieved by using the following URL:

POST https://json.schedulesdirect.org/2014120.../programs/

Token: Not Required

That would shave off a second

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#24
2019-06-19, 07:09 PM
mvallevand Wrote:Sub, I had a check with your v5 logs for web server episode request and notice that you care getting a token to get the art. Reading the API



That would shave off a second

Martin
That'll only happen on the first call. Any subsequent calls wont get the token.

I'm in the middle of some changes that'll help with artwork speed. Should have a build for you to try later.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#25
2019-06-19, 07:24 PM
Ok I see that now, but i think you can bypass the first call just by using the first 10 characters of the unique_id

Code:
2019-06-19 14:18:17.343    [DEBUG][43]    SD using existing token
2019-06-19 14:18:17.343    [DEBUG][43]    DoPOSTRequest(https://json.schedulesdirect.org/20141201/xref, 1edcd733ceb72a65cd18c9835891ffbf)
["SH017609090000"]
2019-06-19 14:18:17.344    [DEBUG][43]    token header: 1edcd733ceb72a65cd18c9835891ffbf
2019-06-19 14:18:17.771    [DEBUG][43]    DoPOSTRequest(https://json.schedulesdirect.org/20141201/metadata/programs/, 1edcd733ceb72a65cd18c9835891ffbf)
["SH01760909"]

I confirmed the token isn't required with curl

Code:
curl -tlsv1.2 --ssl-no-revoke --request  POST --data [\"SH01760909\"]  https://json.schedulesdirect.org/20141201/metadata/programs/

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#26
2019-06-19, 07:30 PM
Oops those last few posts should be in https://forums.nextpvr.com/showthread.ph...-XML-API-s

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#27
2021-05-11, 08:33 PM
Is there a specific API call to update the individual recording created by a recurring recording.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#28
2021-05-11, 09:23 PM
You should be able to treat it the same as a one-off. Just make sure you’re specifying the recurring id.

Let me know if you encounter any issues doing that though.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#29
2021-05-11, 10:07 PM
Thanks, I'll take the problem off line.

Martn
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  FM tuner support in NextPVR? Goongyae 2 1,314 2022-11-23, 01:22 PM
Last Post: mvallevand
  NextPVR 5: When is PIN Required for API Access? pkscout 3 2,629 2020-05-26, 04:45 AM
Last Post: sub
  NextPVR "Service" Backend? jcole998 5 4,728 2018-05-24, 01:17 PM
Last Post: jcole998
  NextPVR and NRecord, between releases, updates p37307 1 2,528 2016-10-29, 01:08 AM
Last Post: sub
  How does NextPVR group recordings for XBMC? spinnaker 2 2,260 2013-11-21, 01:33 AM
Last Post: spinnaker
  Is the input file for pvrx2.exe -import unique to NextPVR? spinnaker 1 1,745 2013-10-08, 02:25 AM
Last Post: sub
  Scheduling recordings mvallevand 6 3,012 2012-08-11, 06:04 PM
Last Post: mvallevand
  Recorder plugins - scheduling mvallevand 4 2,345 2012-03-26, 05:09 PM
Last Post: mvallevand
  Get NextPVR data directory from outside a plugin McBainUK 3 2,210 2012-02-11, 05:42 PM
Last Post: mvallevand
  Martin's installer for NextPVR :-) steeb 4 2,558 2011-07-15, 12:32 AM
Last Post: steeb

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

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

Linear Mode
Threaded Mode