2018-12-13, 12:40 PM
I'm currently going through a process of converting from WMC to an Emby/NextPVR set-up and have found the latter much more flexible. I have come across one challenge that I was able to create/follow a work-around for but it seems like something that was addressed for Guide population in NextPVR but not for setting up recording entries. I haven't been able to find any relevant prior entries in the forum for this.
The problem first manifested itself to me as the Emby/NextPVR plug-in not being able to import any Pending Recording (Schedule in Emby terms) data from NextPVR though this seems to be a side-effect of the set-up of the Pending Recording entry itself in NextPVR. Checking the Emby logs it seems NextPVR just returns an error that halts the Schedule import process in Emby and no Schedule entries are imported. The NextPVR web log, as attached, indicates it encounters an invalid hexadecimal value while processing the Pending Recording entry to send to Emby. The Guide import into Emby worked fine. This situation also seems to be reflected in how the NextPVR GUI does, or doesn't, display the information - screenshots also attached.
To work around this I edited the XML column in the SCHEDULED_RECORDING row for the program in the npvr.db3 database to remove the area where the invalid characters seemed to be and everything started working fully again - the Pending Recording entry in the NextPVR GUI now showed a description/etc. and Emby was able to get a full import for its Schedule. Guides in both applications continued to display information as expected. As I have my guide acquisition set to 8 days this started a week before the program was due to show and I had to perform the work-around each time NextPVR refreshed its EPG data (scheduled once a day via OTA). As this Pending Recording entry was being generated by a Keyword-based Recurring Recording entry I tried alternatives such as using a "Record Once" set up and also a "Record All Episodes..." set up but the same symptoms emerged for both the NextPVR GUI and the Emby Schedule import.
I appreciate that any similar problem for Guide import into Emby may have been resolved by an update to the NextPVR plug-in for Emby and, if so, will raise this issue there but thought that as there is also an upstream impact with NextPVR itself that this may be the most appropriate place to start.
Many thanks for any consideration.
The problem first manifested itself to me as the Emby/NextPVR plug-in not being able to import any Pending Recording (Schedule in Emby terms) data from NextPVR though this seems to be a side-effect of the set-up of the Pending Recording entry itself in NextPVR. Checking the Emby logs it seems NextPVR just returns an error that halts the Schedule import process in Emby and no Schedule entries are imported. The NextPVR web log, as attached, indicates it encounters an invalid hexadecimal value while processing the Pending Recording entry to send to Emby. The Guide import into Emby worked fine. This situation also seems to be reflected in how the NextPVR GUI does, or doesn't, display the information - screenshots also attached.
To work around this I edited the XML column in the SCHEDULED_RECORDING row for the program in the npvr.db3 database to remove the area where the invalid characters seemed to be and everything started working fully again - the Pending Recording entry in the NextPVR GUI now showed a description/etc. and Emby was able to get a full import for its Schedule. Guides in both applications continued to display information as expected. As I have my guide acquisition set to 8 days this started a week before the program was due to show and I had to perform the work-around each time NextPVR refreshed its EPG data (scheduled once a day via OTA). As this Pending Recording entry was being generated by a Keyword-based Recurring Recording entry I tried alternatives such as using a "Record Once" set up and also a "Record All Episodes..." set up but the same symptoms emerged for both the NextPVR GUI and the Emby Schedule import.
I appreciate that any similar problem for Guide import into Emby may have been resolved by an update to the NextPVR plug-in for Emby and, if so, will raise this issue there but thought that as there is also an upstream impact with NextPVR itself that this may be the most appropriate place to start.
Many thanks for any consideration.