Here is a brief test from earlier:
Payload:
{
"Name": "Manual Recording",
"Time": 1621106100,
"Duration": 300,
"Channels": ["2.2"],
"Airing": {
"Source": "manual",
"Channel": "2.2",
"Time": 1621106100,
"Duration": 300,
"Title": "Manual Recording",
"Summary": "Manual recording",
"SeriesID": "MANUAL",
"ProgramID": "MAN1621106006",
"Image": "https://tmsimg.fancybits.co/assets/p9467679_st_h6_aa.jpg"
}
}
Response:
{
"ID": "1621106100-ch2.2",
"Name": "Manual Recording",
"Time": 1621106100,
"Duration": 300,
"Channels": [
"2.2"
],
"Channel": "",
"DeviceID": "",
"RuleID": "",
"Serial": 0,
"FileID": "",
"Skipped": false,
"Failed": false,
"Error": "",
"Airing": {
"Source": "manual",
"Channel": "2.2",
"OriginalDate": "",
"Time": 1621106100,
"Duration": 300,
"Title": "Manual Recording",
"Summary": "Manual recording",
"Image": "https://tmsimg.fancybits.co/assets/p9467679_st_h6_aa.jpg",
"Categories": null,
"Genres": null,
"Tags": null,
"SeriesID": "MANUAL",
"ProgramID": "MAN1621106006",
"TeamIDs": null,
"SeasonNumber": 0,
"EpisodeNumber": 0,
"Directors": null,
"Cast": null,
"Raw": null
},
"UpdatedAt": 1621106006464
}
/dvr/jobs
{
"ID": "1621106100-ch2.2",
"Name": "Manual Recording",
"Time": 1621106100,
"Duration": 300,
"Channels": [
"2.2"
],
"Channel": "2.2",
"DeviceID": "LOCAST-803",
"RuleID": "",
"Serial": 0,
"FileID": "7971",
"Skipped": false,
"Failed": false,
"Error": "",
"Airing": {
"Source": "manual",
"Channel": "2.2",
"OriginalDate": "",
"Time": 1621106100,
"Duration": 300,
"Title": "Manual Recording",
"Summary": "Manual recording",
"Image": "https://tmsimg.fancybits.co/assets/p9467679_st_h6_aa.jpg",
"Categories": null,
"Genres": null,
"Tags": null,
"SeriesID": "MANUAL",
"ProgramID": "MAN1621106006",
"TeamIDs": null,
"SeasonNumber": 0,
"EpisodeNumber": 0,
"Directors": null,
"Cast": null,
"Raw": null
},
"UpdatedAt": 1621106100979
}
/dvr/files
{
"ID": "7971",
"JobID": "1621106100-ch2.2",
"RuleID": "",
"GroupID": "MANUAL",
"Path": "TV/Manual Recording/Manual Recording 2021-05-15-1215.mpg",
"Checksum": "",
"CreatedAt": 1621106100,
"Watched": false,
"Deleted": false,
"PlaybackTime": 0,
"Duration": 330.058667,
"Commercials": null,
"Delayed": false,
"Corrupted": false,
"Cancelled": false,
"Completed": true,
"Processed": true,
"Favorited": false,
"Locked": false,
"Airing": {
"Source": "manual",
"Channel": "2.2",
"OriginalDate": "",
"Time": 1621106100,
"Duration": 300,
"Title": "Manual Recording",
"Summary": "Manual recording",
"Image": "https://tmsimg.fancybits.co/assets/p9467679_st_h6_aa.jpg",
"Categories": null,
"Genres": null,
"Tags": null,
"SeriesID": "MANUAL",
"ProgramID": "MAN1621106006",
"TeamIDs": null,
"SeasonNumber": 0,
"EpisodeNumber": 0,
"Directors": null,
"Cast": null,
"Raw": null
},
"ChannelNumber": "2.2",
"DeviceID": "LOCAST-803",
"PlayedAt": 0,
"UpdatedAt": 1621106400386,
"DeletedAt": 0,
"FavoritedAt": 0,
"DeletedReason": "",
"DeleteNow": false,
"JobTime": 1621106100,
"JobDuration": 300,
"HighestPTS": 29769000,
"SignalStats": null,
"CommercialsAligned": false,
"CommercialsEdited": false,
"CommercialsVerified": false,
"CommercialDetectSource": "",
"CloudComskip": {
"Successful": false
},
"ImportPath": "",
"ImportQuery": "",
"ImportGroup": "",
"ImportedAt": 0,
"StreamLinks": null
}
To test this, I removed the Raw
string from the payload, and it indeed schedules and records fine without it.