NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 … 19 20 21 22 23 … 39 Next »
unexpected error - when schedulling a recording (sometimes)

 
  • 0 Vote(s) - 0 Average
unexpected error - when schedulling a recording (sometimes)
Ashjg
Offline

Junior Member

Posts: 19
Threads: 5
Joined: Dec 2015
#1
2016-01-27, 01:33 PM (This post was last modified: 2016-01-27, 01:50 PM by Ashjg.)
Hi,

i occasionally get an "unexpected error" Kodi popup when trying to record a programme either via the EPG or the OSD. i have 5 tuners in total, a quad DVB -s PCIe and that has the majority of my channels and a USB DVB t that has one or 2 channels.

I can watch live TV fine on all 4 tuners e.g i have run 4 kodi instances at the same time on different channels (& Multiplexes) an i can see that each tuner is being used by viewing the nextPVR status in the toolbar. Trying to record from one of the clients (that doesn't have the backend on it) still doesn't work, although no error message is produced (RPI open Elec 6), my main HTPC runs windows and the NEXTPVR and KODI RC1

This doesn't happen all the time, in fact I've only seen this happen 2 or 3 times in the last 2 months, mostly after i have rebooted the backend, i've included both NextPVR logs and Kodi

from kodi log-
Code:
12:19:34 T:6484   ERROR: XFILE::CDirectory::GetDirectory - Error getting include
12:19:50 T:3844   ERROR: Previous line repeats 1 times.
12:19:50 T:3844   ERROR: PVR - PVR::CPVRClient::AddTimer - addon '127.0.0.1:connected' returned an error: the command failed
12:19:50 T:3844   ERROR: PVR - PVR::CPVRClients::AddTimer - cannot add timer to client '800': the command failed
12:19:56 T:3844   ERROR: PVR - PVR::CPVRClient::AddTimer - addon '127.0.0.1:connected' returned an error: the command failed
12:19:56 T:3844   ERROR: PVR - PVR::CPVRClients::AddTimer - cannot add timer to client '800': the command failed
12:20:02 T:3844   ERROR: Unable to activate the previous window
12:20:17 T:5668   ERROR: CAESinkDirectSound::UpdateCacheStatus: GetCurrentPosition failed. Unable to determine buffer status. HRESULT = 0x88780096
12:20:17 T:5668   ERROR: CActiveAESink::OutputSamples - sink returned error

restarting the recording service, doesnt work either, However i can record using the NextPVR client, hope someone can help!

thanks

Ash
Ashjg
Offline

Junior Member

Posts: 19
Threads: 5
Joined: Dec 2015
#2
2016-01-29, 09:06 AM
Anyone, any clues what's causing this? Happened again last night, I tried to schedule a recording for Sunday, got the same error.. I waited half an hour and tried again and it worked fine....
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 101,303
Threads: 726
Joined: Nov 2003
#3
2016-01-29, 05:46 PM
I know you can get a error scheduling a recording if Kodi loaded it's EPG, then at some later point NextPVR did it's EPG update (which deletes all the old data and inserts new data), then later Kodi schedules the recording of a show id, but that show id no longer exists in the database. I think that might be what happened in your logs.
Ashjg
Offline

Junior Member

Posts: 19
Threads: 5
Joined: Dec 2015
#4
2016-01-30, 07:57 AM
Thanks sub for the response, would this be the case even if I press record from my remote control or the OSD e.g not the EPG? I guess it still uses the Show ID to tell nextpvr what to record hey? NextPvr schedules the EPG at 05:00 every morning, whereas Kodi updates its guide every 700 mins (my logic here is that the NPVR data is only changing once every 24 hours, why not just update Kodi once/twice every 24hours)

I guess to prove this theory, next time this happens if I reset the Kodi PVR database this will force a full refresh and it should clear the issue...

Thanks

Ash
Ashjg
Offline

Junior Member

Posts: 19
Threads: 5
Joined: Dec 2015
#5
2016-02-01, 10:01 AM
Ok just to close this off, I managed to replicate subs theory, by running the NextPVR EPG job and then starting Kodi, I think Kodi caches the data so it must become stale on start up... Having looked at my settings in Kodi further, The EPG was only updateing once a day. By "resetting the data" in Kodi's setting this solved the issue - I have now changed the Kodi to load the EPG more regularly- hopefully this will sort it!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 101,303
Threads: 726
Joined: Nov 2003
#6
2016-02-01, 04:35 PM
A once a day update from Kodi would be ok, as long as it's soon after NextPVR's update. It's the gap in between those two events that are a problem.
Ashjg
Offline

Junior Member

Posts: 19
Threads: 5
Joined: Dec 2015
#7
2016-02-03, 02:48 PM
Thanks Sub, i think the problem is that you cant set the timer for the EPG to update in Kodi, the only thing you can do is define the amount of minutes between each update. Presumably the timer counts down when Kodi starts up, so setting the timer to say 1440 minutes (24 hrs) wouldn’t necessarily mean it would get updated straight after Next PVR updates.....

I've set it to update every 3 hours (it wont update if Live TV is being viewed) and i haven’t seen the issue since (famous last words!)

thanks for your support on this!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 42,956
Threads: 841
Joined: May 2006
#8
2016-02-03, 11:16 PM
margro has indicated that Kodi PVR refreshing is broken (again) http://forum.kodi.tv/showthread.php?tid=...pid2223578 It just doesn't seem stable enough to move to Jarvis IMO.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Playback of LiveTV Recording that is still recording behaviour RealTeej 19 462 2022-04-17, 02:54 PM
Last Post: mvallevand
  Direct remote access to the three new recording screens ElihuRozen 4 416 2022-01-22, 12:25 AM
Last Post: mvallevand
  Watching in-progress recording goes past end of recording cncb 74 5,180 2021-12-24, 06:08 PM
Last Post: mvallevand
  Set one time manual recording from Kodi. biggoronjon 10 604 2021-08-17, 07:40 PM
Last Post: mvallevand
  Recording Groups (Duplicating/Multiplying) aritafari 7 533 2021-08-17, 05:39 PM
Last Post: mvallevand
  Changing Name Field on Manual Recording ElihuRozen 0 317 2021-05-17, 04:31 AM
Last Post: ElihuRozen
  Recording Directory in Kodi muzicman0 12 1,239 2021-04-30, 09:50 PM
Last Post: sub
  Adding recording rule with accent : Kodi doesn't find show; NextPVR do nonob 22 4,182 2021-04-24, 10:12 PM
Last Post: mvallevand
  Kodi Crash while watching recording emeaux 1 415 2021-02-15, 05:05 PM
Last Post: mvallevand
  Kodi stops playing recording VCR58 7 969 2021-02-15, 04:14 PM
Last Post: Graham

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode