I'm working on a scheduler for MP. But I have the same problem like Machine had:
How did you solve this. Right now I add recordings like this:
Dim recording As New MediaPortal.TV.Database.TVRecording
recording.Title = Description
recording.Channel = CapChannel
recording.Start = datetolong(StartTime)
recording.End = datetolong(EndTime)
recording.RecType = MediaPortal.TV.Database.TVRecording.RecordingType.Once
MediaPortal.TV.Database.TVDatabase.AddRecording(recording)
The thing is that the OnRecordingsChanged are not raised in MP, because I use an external plugin.
How did you solve this?[/code]
MP does not notice the changes in the database. So this whole thing does NOT work right now.
How did you solve this. Right now I add recordings like this:
Dim recording As New MediaPortal.TV.Database.TVRecording
recording.Title = Description
recording.Channel = CapChannel
recording.Start = datetolong(StartTime)
recording.End = datetolong(EndTime)
recording.RecType = MediaPortal.TV.Database.TVRecording.RecordingType.Once
MediaPortal.TV.Database.TVDatabase.AddRecording(recording)
The thing is that the OnRecordingsChanged are not raised in MP, because I use an external plugin.
How did you solve this?[/code]