7 hours ago
I have traced the behavior of the NextPVR Kodi addon when initiating a series recording from the Kodi EPG.
In Kodi, this is done from the EPG screen with an episode highlighted, and pressing the "t" key on the keyboard or initiating ActionID "ShowTimerRule".
In Kodi Omega, this is the dialog that appears with the listed settings pre-selected.
At these default settings, the pvr.nextpvr addon creates a recurring_type=3 entry which corresponds to "Record Series (Daily, this timeslot)" in NextPVR.
Changing the "Prevent duplicate episodes" option from All to New when Type=Recording: Repeating (guide) as shown does not affect the recording type that gets created in NextPVR.
Changing the Channel from the specified one to "All" changes the recording type to "Advanced by Keyword"
However, after playing around with the various options circled, I did observe the following resulting behavior.
1. Changing the Type to "Recording: Repeating (all episodes)" has an effect. Alone, it changes the passed recording_type=2 and causes "Record Series (All Episodes)" in NextPVR.
(Too bad this isn't the default option in the dialog).
2. With the Type set to "Recording: Repeating (all episodes)", now the "Prevent duplicate episodes" option works as expected. Changing it as well from all to "New Only" changes the passed recording_type=1 and causes "Record Series (NEW Episodes)" in NextPVR.
3. With the Type set to "Recording: Repeating (all episodes)", if the Channel is also changed to "ALL", no recording is possible and a Kodi error is thrown.
I also noticed in the Kodi logs, that when the ShowTimerRule is initiated it appears that the system is trying to load defaults from somewhere, but I don't know where that is.
See:
If anybody has any insights on how to set the defaults, and whether this is coming from the Kodi code or from within the pvr.nextpvr code, I would appreciate it.
Ideally the goal is to press record on the remote and get a Series recording from the guide without having to fuss changing options in the dialog.
In Kodi, this is done from the EPG screen with an episode highlighted, and pressing the "t" key on the keyboard or initiating ActionID "ShowTimerRule".
In Kodi Omega, this is the dialog that appears with the listed settings pre-selected.
At these default settings, the pvr.nextpvr addon creates a recurring_type=3 entry which corresponds to "Record Series (Daily, this timeslot)" in NextPVR.
Changing the "Prevent duplicate episodes" option from All to New when Type=Recording: Repeating (guide) as shown does not affect the recording type that gets created in NextPVR.
Changing the Channel from the specified one to "All" changes the recording type to "Advanced by Keyword"
However, after playing around with the various options circled, I did observe the following resulting behavior.
1. Changing the Type to "Recording: Repeating (all episodes)" has an effect. Alone, it changes the passed recording_type=2 and causes "Record Series (All Episodes)" in NextPVR.
(Too bad this isn't the default option in the dialog).
2. With the Type set to "Recording: Repeating (all episodes)", now the "Prevent duplicate episodes" option works as expected. Changing it as well from all to "New Only" changes the passed recording_type=1 and causes "Record Series (NEW Episodes)" in NextPVR.
3. With the Type set to "Recording: Repeating (all episodes)", if the Channel is also changed to "ALL", no recording is possible and a Kodi error is thrown.
I also noticed in the Kodi logs, that when the ShowTimerRule is initiated it appears that the system is trying to load defaults from somewhere, but I don't know where that is.
See:
Code:
2025-10-15 12:12:15.168 T:5456 debug <general>: CInputManager::HandleKey: t (0xf054) pressed, window 10702, action is ShowTimerRule
2025-10-15 12:12:15.168 T:5456 debug <general>: ------ Window Init (DialogSettings.xml) ------
2025-10-15 12:12:15.168 T:5456 info <general>: Loading skin file: DialogSettings.xml, load type: LOAD_EVERY_TIME
2025-10-15 12:12:15.172 T:5456 debug <CSettingsManager>: requested setting (timer.type) was not found.
2025-10-15 12:12:15.172 T:5456 debug <CSettingsManager>: requested setting (timer.active) was not found.
2025-10-15 12:12:15.172 T:5456 debug <CSettingsManager>: requested setting (timer.name) was not found.
2025-10-15 12:12:15.172 T:5456 debug <CSettingsManager>: requested setting (timer.epgsearch) was not found.
2025-10-15 12:12:15.172 T:5456 debug <CSettingsManager>: requested setting (timer.fulltext) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.channel) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.weekdays) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.startanytime) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.startday) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.begin) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.endanytime) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.endday) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.end) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.firstday) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.newepisodes) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.startmargin) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.endmargin) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.priority) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.lifetime) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.maxrecordings) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.directory) was not found.
2025-10-15 12:12:15.173 T:5456 debug <CSettingsManager>: requested setting (timer.recgroup) was not found.
If anybody has any insights on how to set the defaults, and whether this is coming from the Kodi code or from within the pvr.nextpvr code, I would appreciate it.
Ideally the goal is to press record on the remote and get a Series recording from the guide without having to fuss changing options in the dialog.