Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: NextPVR web API for scheduling - DayMask

  1. #21
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,952
    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)

  2. #22
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,169
    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

  3. #23
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,169
    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

    Retrieving JSON index based on programID

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

    POST https://json.schedulesdirect.org/201...data/programs/

    Token: Not Required
    That would shave off a second

    Martin

  4. #24
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,952
    Quote Originally Posted by mvallevand View Post
    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.

  5. #25
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,169
    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

  6. #26
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,169
    Oops those last few posts should be in https://forums.nextpvr.com/showthrea...tPVR-XML-API-s

    Martin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •