Results 1 to 3 of 3

Thread: Recurring Recording URL Parameters

  1. #1
    Join Date
    Jun 2015
    Location
    Dutchess County, NY USA
    Posts
    434

    Recurring Recording URL Parameters

    I've had good luck with using the URL web interface to schedule single events. I wish to expand my capability by scheduling a recurring event.

    The GitHub code shows:

    case TIMER_REPEATING_EPG:
    XBMC->Log(LOG_DEBUG, "TIMER_REPEATING_EPG");
    // build recurring recording request
    snprintf(request, sizeof(request), "/service?method=recording.recurring.save&recurring_ id=%d&event_id=%d&keep=%d&pre_padding=%d&post_padd ing=%d&day_mask=%s&directory_id=%s&only_new=%s",
    timerinfo.iClientIndex,
    timerinfo.iEpgUid,
    (int)timerinfo.iMaxRecordings,
    (int)timerinfo.iMarginStart,
    (int)timerinfo.iMarginEnd,
    days.c_str(),
    m_recordingDirectories[timerinfo.iRecordingGroup].c_str(),
    preventDuplicates
    );
    break;

    This is straight forward but I don't know where to get "timerinfo.iClientIndex." I see it used as the &recurring_id parameter but where does the number come from? It seems to have been already established somewhere, but where? Can I get to it?

    Thanks in advance.
    Later...JohnC

    System Status: Humming
    Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
    Software: Win 10 Pro(Build 1803) - NextPVR - WinTV8
    Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2

  2. #2
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,209
    That code is being used to either create a new recurring recording, or update an existing one. ie, if recurring_id=0, or the parameter not specified at all, then it'll create a new recurring recording. If it's recurring_id=x, then it'll update recurring recording x.

  3. #3
    Join Date
    Jun 2015
    Location
    Dutchess County, NY USA
    Posts
    434
    Thank you, sub.
    Later...JohnC

    System Status: Humming
    Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
    Software: Win 10 Pro(Build 1803) - NextPVR - WinTV8
    Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2

Posting Permissions

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