2014-01-03, 09:08 AM
im having a couple of issues with recording.recurring.save web call. probably something silly im doing
that gives me a result of "Invalid args".
looking at the logs, the error is quite obvious
however I dont have an event oid since im updating a "Recurring Recording", which might not have any events in the currently available epg, and if im updating one that has "Any Channel, Any Time", there is no start/stop. can this be updated so if a recurringid is passed, that is accepted?
also whenever i call it passing in an event_id for a new recurrence, eg:
it always returns the very first recurring recording as a result and not the newly created one. not sure if im just doing something wrong on this one or not...
Code:
http://batman:8866/service?method=recording.recurring.save&recurring_id=113&directory_id=%5BJohn%5D&day_mask=255×lot=true&only_new=false&keep=4&pre_padding=6&post_padding=9&sid=91e8facf2665418b8efd7d4577c3c96b
looking at the logs, the error is quite obvious
Code:
method=recording.recurring.save&recurring_id=113&directory_id=%5BJohn%5D&day_mask=255×lot=true&only_new=false&keep=4&pre_padding=6&post_padding=9&sid=91e8facf2665418b8efd7d4577c3c96b
2014-01-03 22:03:12.083 [DEBUG][30] method=recording.recurring.save
2014-01-03 22:03:12.083 [DEBUG][30] parameters:
2014-01-03 22:03:12.083 [DEBUG][30] method: recording.recurring.save
2014-01-03 22:03:12.083 [DEBUG][30] recurring_id: 113
2014-01-03 22:03:12.083 [DEBUG][30] directory_id: %5BJohn%5D
2014-01-03 22:03:12.083 [DEBUG][30] day_mask: 255
2014-01-03 22:03:12.083 [DEBUG][30] timeslot: true
2014-01-03 22:03:12.083 [DEBUG][30] only_new: false
2014-01-03 22:03:12.083 [DEBUG][30] keep: 4
2014-01-03 22:03:12.083 [DEBUG][30] pre_padding: 6
2014-01-03 22:03:12.083 [DEBUG][30] post_padding: 9
2014-01-03 22:03:12.083 [DEBUG][30] sid: 91e8facf2665418b8efd7d4577c3c96b
2014-01-03 22:03:12.083 [DEBUG][30] client_ip: 192.168.1.23
2014-01-03 22:03:12.083 [DEBUG][30] host_callback: batman:8866
2014-01-03 22:03:12.083 [DEBUG][30] physical_path: C:\Users\Public\NPVR\web\
2014-01-03 22:03:12.083 [DEBUG][30] user_agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
2014-01-03 22:03:12.083 [DEBUG][30] range:
2014-01-03 22:03:12.083 [DEBUG][30] requested_path: /service
2014-01-03 22:03:12.083 [DEBUG][30] verb: GET
2014-01-03 22:03:12.084 [ERROR][30] neither event_id or start_time/end_time specified
also whenever i call it passing in an event_id for a new recurrence, eg:
Code:
http://batman:8866/service?method=recording.recurring.save&event_id=1737902&day_mask=255×lot=false&only_new=true&keep=0&pre_padding=2&post_padding=4&sid=7b92c163f82940b7b7be90397309fd58