Schedules in TV Server Setup Blank (1 Viewer)

SusieQT

Portal Member
December 16, 2011
10
1
United States of America United States of America
I'm getting some odd results when trying to look over my schedule. When I go into the TV Server Setup, that tab doesn't load. I see this in the log file:

Code:
[2013-10-02 11:33:33,320] [Log    ] [SetupTv  ] [ERROR] - Exception  :System.NullReferenceException: Object reference not set to an instance of an object.
  at SetupTv.Sections.TvSchedules.LoadSchedules()
  at SetupTv.Sections.TvSchedules.OnSectionActivated()
  at SetupTv.SetupTvSettingsForm.ActivateSection(SectionSettings section)
Additionally when I go to scheduled in the gui, only 4 series show up. When I take it off the series setting, and search for a show, one of the ones I've set to record on a schedule is there.

Images and log file are included.

11-49-32.png 11-50-32.png tv-setup.jpg

Not sure if this is related, but trying to export all settings never completes. It's been sitting for a few minutes on tv channels for 10+ minutes. No file gets created...
 

SusieQT

Portal Member
December 16, 2011
10
1
United States of America United States of America
OK I just used sql and deleted all items in the schedule table. Had to re-add them manually. But that seems to fix the issue.
 

astrapowerrr

Portal Pro
May 21, 2008
180
13
43
ijsselstein
Netherlands Netherlands
I have the same problem here.
Did your fix work?

As I understand correctly you delete with SQL al the time tables

The schedules tab re enters when adding a new advanced recording?
 

AlexanderAC

New Member
October 10, 2016
1
0
Australia Australia
This method worked for this problem however you don't have to get rid of all the schedules, just the bad one(s). You will need to download an SQLite browser so the C:\ProgramData\Team MediaPortal\MP2-Server\Database\MP2TVE_3.s3db file can be opened and edited.

The problem I had was an invalid schedule was added (I use Kodi as the front end) and in the idChannel column one schedule had a '-1' in it which can't be right (all channels have a positive number).

So I just removed that row and all was good again. Keep in mind the the TV Server service should be stopped first and re-started after editing (and make a backup of the DB first too, just in case).

I think better data validation before the schedule is inserted into the DB is needed.
 

Users who are viewing this thread

Similar threads
OP Title Forum Replies Date
F EPG/Scheduler case sensitive Feature Requests 12
B Importing recordings and schedules from TVmosaic General 4
D Problem getting Schedules Direct EPG to load data Installation, configuration support 4
C MP2 - V2.3 Nereus: doesn't show a recording in extended scheduling option General 5
P Scheduling conflicts General 2
D Does Schedules Direct work with mp 1.24? General Support 3
D Trying to get mp 1.24 to recognise Schedules Direct. General Support 4
P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 6
G Q about scheduling weekly series when epg lists duplicate back to back episodes each week General Support 2
T TV Recording Schedule General 2
J Understanding what EPG shows about schedules General 8
D Please help with getting Schedules Direct to work Newcomers Forum 10
D How to switch versions of Schedules Direct Newcomers Forum 2
D I just installed MP 1.23. Which version of Schedules Direct should I use, where do I obtain it from Newcomers Forum 6
M Guide mapping schedules direct, tvguide, epg buddy How to get correct entry to the correct channel? Electronic Program Guide 0
P EPG Schedule hours off TV-Server 0
L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
D Media Portal wake schedule General Support 29
joecrow Scheduled Recordings Failed (MP 1.22) General Support 12
Lehmden Manual schedule: Possibility to enter a show name Feature Requests 1
Lehmden [fixed] [MP2-810] Manual schedules recordings not shown in schedule list 2.2 Archive 11
N [Finished] MP2-803 - Delete full series doesn't work when viewing a program in the extended schedule screen MediaPortal 2 12
Jean R. How to schedule a recording based on date/time instead of EPG Newcomers Forum 2
G How to access Scheduled Recordings without going through TV Home screen General Support 3
R [fixed] [MP2-799] New Manual Schedule issue. 2.2 Archive 8

Similar threads

Top Bottom