MP tv recording not working (1 Viewer)

ChrisSEOhio

New Member
January 17, 2017
2
0
42
United States of America United States of America
Media portal TV recording was working a week ago and no longer works. Live TV can be watched but if I try to record live or set a timer for the future, it creates the timer but never records. When I reboot computer from Kodi, it says are you sure you want to reboot because the timer will start in 35 million minutes. The MP and Codi date and times match my computer date and time. I did go into MP TV server configuration and noticed when I click on "schedules" the screen stays on previously selected option (schedules screen does not appear). Any ideas what happened in the last week and how to correct?
 

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,220
    New Zealand New Zealand
    Country flag
    Hello and welcome Chris

    Any ideas what happened in the last week and how to correct?
    What you said about the schedules screen not appearing suggests that KODI might have managed to create a broken schedule, and that broken schedule is preventing TV Server from recording anything else. If my guess is correct (you ought to provide log files so that the guess can be confirmed), the only way to correct the situation would be to delete the broken schedule. You obviously can't do that through TV Server Configuration because the schedule screen doesn't show up. Perhaps you'll be able to do it through KODI, I don't know.

    Regards,
    mm
     

    ChrisSEOhio

    New Member
    January 17, 2017
    2
    0
    42
    United States of America United States of America
    I posted the logs. I do not think it is strictly a problem with Kodi because I opened media portal itself and tried to record a show and it also doesn't record. Thanks for the reply.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,220
    New Zealand New Zealand
    Country flag
    I posted the logs.
    Thanks (y)

    It's as I predicted. The log files show that a bad schedule has broken TV Server's ability to record:
    [collapse]
    [2017-01-20 20:56:34,477] [Log ] [scheduler thread] [INFO ] - scheduler: SchedulerWorker inner exception System.NullReferenceException: Object reference not set to an instance of an object.
    at TvService.Scheduler.IsTimeToRecordEveryTimeOnThisChannel(Schedule schedule, DateTime currentTime)
    at TvService.Scheduler.IsTimeToRecord(Schedule schedule, DateTime currentTime, RecordingDetail& newRecording)
    at TvService.Scheduler.StartAnyDueRecordings()
    at TvService.Scheduler.DoScheduleWork()
    at TvService.Scheduler.SchedulerWorker()[/collapse]

    I do not think it is strictly a problem with Kodi...
    You're right. As I tried to explain, the problem resides in TV Server (which is why it affects both MediaPortal and KODI), but KODI has created the problem by enabling you to create a broken schedule (which is not possible in MediaPortal).

    Like I said in my previous reply, the only way you're going to be able to fix this is by deleting the broken schedule. Hopefully you'll be able to do that through KODI.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,220
    New Zealand New Zealand
    Country flag
    Just to add...
    I can see KODI created the broken schedule here:
    [2017-01-11 20:53:46,291] [Log ] [4 ] [DEBUG] - TVServerKodi: Handling command: AddSchedule

    ...and that's when the problem starts:
    [collapse]
    [2017-01-11 20:53:46,493] [Log ] [scheduler thread] [INFO ] - scheduler: SchedulerWorker inner exception System.NullReferenceException: Object reference not set to an instance of an object.
    at TvService.Scheduler.IsTimeToRecordEveryTimeOnThisChannel(Schedule schedule, DateTime currentTime)
    at TvService.Scheduler.IsTimeToRecord(Schedule schedule, DateTime currentTime, RecordingDetail& newRecording)
    at TvService.Scheduler.StartAnyDueRecordings()
    at TvService.Scheduler.DoScheduleWork()
    at TvService.Scheduler.SchedulerWorker()[/collapse]

    Perhaps the date/time (almost 9PM on 11 January) help you to narrow down which schedule you need to delete.
     

    didsbury

    New Member
    July 26, 2015
    3
    0
    67
    United Kingdom United Kingdom
    Country flag
    I have this problem also. However no schedules are shown.
    System Info: PVR Service shows one upcoming recording.
    Any ideas how to solve this?
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,220
    New Zealand New Zealand
    Country flag
    @didsbury
    It's going to be difficult to help you without more information.

    However no schedules are shown.
    Where are you looking?
    In TV Server Configuration, or MediaPortal, or perhaps somewhere else...?

    System Info: PVR Service shows one upcoming recording.
    What's "PVR Service"? Never heard of that. :confused:

    Any ideas how to solve this?
    Sorry, not yet. Still trying to understand the problem. As indicated above: more information will be required. Screenshots, log files and more detail would be helpful.
     

    didsbury

    New Member
    July 26, 2015
    3
    0
    67
    United Kingdom United Kingdom
    Country flag
    Sorry about the vague request.

    I am running Kodi with MediaPortal as the back end for TV. About a month ago recordings stopped. All TV channels are viewable as before and timers appear to work, but nothing is recorded.
    The System info from Kodi (see attachment) shows there is one upcoming recording, but neither Kodi or MediaPortal show this. I cannot view schedules in TV Server Configuration.
     

    Attachments

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,220
    New Zealand New Zealand
    Country flag
    Right, so it really is the same problem reported by Chris. The KODI plugin really needs to be fixed so it won't screw up anybody else's installs by creating these invalid schedules. Please could you report this to the relevant plugin developer (margro?) on the KODI forum.

    In the meantime, as per my earlier responses to Chris: the solution to the problem is to delete the invalid schedule(s).

    You won't be able to solve the problem through TV Server Configuration because as you've seen, TV Server Configuration's schedule list screen is unable to display the schedule list when the list includes an invalid schedule. Therefore your first port of call should be to try to delete the schedule(s) through KODI. I've never used KODI, so I'm unable to tell you how (or if it's even possible) to do this. Sorry I can't be more helpful on that front.

    As a last resort, your only other option is to manually delete the schedule(s) from the TV Server database. This would be somewhat technical, but you could try the instructions here:
    TVSERVER service crashing constantly
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    B MP 1.23 First time click TV or Recorded TV fails, 2nd ... it will work General Support 5
    M MP 2.2.3 Unable to play .ts recordings and MediaPortal stops working for TV viewing General 31
    N [Finished] [MP2-789] MCE remote control Recorded TV and My Pictures buttons do not work MediaPortal 2 17
    A "upcoming episodes" arrow key set recording - Ok/rtn doesn't work General Support 9
    Wampus [MP2-752] Record-Button not working on the fly General 7
    rsbrux 1.27.0 Recorded TV Thumbnail Oddities MediaPortal 1 Talk 4
    rsbrux No recordings for several days; no errors General Support 7
    B Importing recordings and schedules from TVmosaic General 4
    P MP2 TV Recording Logs General 1
    D Free text recording TV-Server 1
    Peter PROMS MediaPortal2 V2.3.1 Crash in Recorded TV playback Newcomers Forum 13
    R HDHomeRun CONNECT QUATRO - can MP record more than 4 channels MediaPortal 1 Talk 2
    F Completed Delete recordings fail. HTPC Projects 0
    R Deadlock in TV Server if recording while importing EPG TV-Server 10
    C MP2 - V2.3 Nereus: doesn't show a recording in extended scheduling option General 5
    404 Recording problems Television (MyTV frontend and TV-Server) 6
    D wintv doesn’t stop recording on time Newcomers Forum 7
    P [solved] Blocking TV recordings on client? General 10
    1gkar [solved] LiveTV Records Causing 100% Drive Activity Television (MyTV frontend and TV-Server) 10
    toricred Recordings Change : to _ in Series Name General 0
    P Recording films that have an "intermission" General 3
    H MP2 database won't keep in synch with recordings General 8
    toricred Only Show Actual Recordings General 1
    ajs How recreate Recording thumbs TV-Server 4
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8

    Similar threads

    Top Bottom