MediaPortal Version: RC2
MediaPortal Skin: Blue wide
Windows Version: Windows 7 Ultimate x86
CPU Type:
HDD:
Memory: 4GB
Motherboard:
Video Card: Nvidia 9300, 7300GT
Video Card Driver: 197
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: FireDtv
1. TV Card Type: DVB-C, DVB-S or DVB-T
1. TV Card Driver: 4.8
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: MS-Codec
MPEG2 Audio Codec:
h.264 Video Codec: ffdshow
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection: DVI
Hi
Today I have try to modify a tv schedule. But it does not work
Steps to reproduce:
1.- Go to My Tv
2.- go to Scheduled
3.- Select a Serie schedule
4.- On the popup window, select Settings
Nothing happens
On the error log:
2010-04-28 00:33:53.965781 [ERROR][MPMain(1)]: OnMessage exceptionystem.NullReferenceException: Object reference not set to an instance of an object.
at TvPlugin.TVProgramInfo.set_CurrentProgram(Program value)
at TvPlugin.TVProgramInfo.set_CurrentRecording(Schedule value)
at TvPlugin.TvScheduler.OnShowContextMenu(Int32 iItem, Boolean clicked)
at TvPlugin.TvScheduler.OnClicked(Int32 controlId, GUIControl control, ActionType actionType)
at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
Logs attached
Thanks Iosu
More info:
I think I have found the problem on
TVProgramInfo.cs
on line 316 I have remove the line "CurrentProgram = null;" and now I can modify the schedule..
The problem is that because you set null to the property CurrentProgram and in the line 304 there is an exception because CurrentProgram is null
set
{
lock (fieldLock)
{
currentProgram = value;
if (initialProgram == null)
{
initialProgram = currentProgram;
--->>>>> LINE 304 exception!! currentSchedule = Schedule.RetrieveSeries(currentProgram.ReferencedChannel().IdChannel, currentProgram.StartTime,
currentProgram.EndTime);
Another thing:
On TVScheduler looks that there is another error on line 876
TVProgramInfo.CurrentRecording = item.MusicTag as Schedule;
I think it should be item.TVtag instead of Item.MusicTag
TVProgramInfo.CurrentRecording = item.TVTag as Schedule;
I will test more
Iosu
MediaPortal Skin: Blue wide
Windows Version: Windows 7 Ultimate x86
CPU Type:
HDD:
Memory: 4GB
Motherboard:
Video Card: Nvidia 9300, 7300GT
Video Card Driver: 197
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: FireDtv
1. TV Card Type: DVB-C, DVB-S or DVB-T
1. TV Card Driver: 4.8
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: MS-Codec
MPEG2 Audio Codec:
h.264 Video Codec: ffdshow
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection: DVI
Hi
Today I have try to modify a tv schedule. But it does not work
Steps to reproduce:
1.- Go to My Tv
2.- go to Scheduled
3.- Select a Serie schedule
4.- On the popup window, select Settings
Nothing happens
On the error log:
2010-04-28 00:33:53.965781 [ERROR][MPMain(1)]: OnMessage exceptionystem.NullReferenceException: Object reference not set to an instance of an object.
at TvPlugin.TVProgramInfo.set_CurrentProgram(Program value)
at TvPlugin.TVProgramInfo.set_CurrentRecording(Schedule value)
at TvPlugin.TvScheduler.OnShowContextMenu(Int32 iItem, Boolean clicked)
at TvPlugin.TvScheduler.OnClicked(Int32 controlId, GUIControl control, ActionType actionType)
at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
Logs attached
Thanks Iosu
More info:
I think I have found the problem on
TVProgramInfo.cs
on line 316 I have remove the line "CurrentProgram = null;" and now I can modify the schedule..
The problem is that because you set null to the property CurrentProgram and in the line 304 there is an exception because CurrentProgram is null
set
{
lock (fieldLock)
{
currentProgram = value;
if (initialProgram == null)
{
initialProgram = currentProgram;
--->>>>> LINE 304 exception!! currentSchedule = Schedule.RetrieveSeries(currentProgram.ReferencedChannel().IdChannel, currentProgram.StartTime,
currentProgram.EndTime);
Another thing:
On TVScheduler looks that there is another error on line 876
TVProgramInfo.CurrentRecording = item.MusicTag as Schedule;
I think it should be item.TVtag instead of Item.MusicTag
TVProgramInfo.CurrentRecording = item.TVTag as Schedule;
I will test more
Iosu