- Moderator
- #1
Hi there!
I'm doing a PROCESS plugin that is supposed to show the users recordings (without going to RecordedTV)
Now, this simple code that works in the original WINDOW plugin doesn't output anything, it is as if there were no recordings (visible to the plugin at least)?
In my world this should log my recordings to the log...the function IS run, I can check it with break statements
I know that window and process plugins does things different, but I have no problem calling resources in other process plugins I have created.
I have all the relevant "using" entries in the plugin and it compiles and runs without errors...just no output.
Any help would be appreciated!
I'm doing a PROCESS plugin that is supposed to show the users recordings (without going to RecordedTV)
Now, this simple code that works in the original WINDOW plugin doesn't output anything, it is as if there were no recordings (visible to the plugin at least)?
Code:
private void oneClickPlayRecordings()
{
List<TVRecorded> recordings = new List<TVRecorded>();
List<GUIListItem> itemlist = new List<GUIListItem>();
TVDatabase.GetRecordedTV(ref recordings);
foreach (TVRecorded rec in recordings)
{
Log.Info("PowerPlay recording found: " + rec.Title.ToString());
}
}
In my world this should log my recordings to the log...the function IS run, I can check it with break statements
I know that window and process plugins does things different, but I have no problem calling resources in other process plugins I have created.
I have all the relevant "using" entries in the plugin and it compiles and runs without errors...just no output.
Any help would be appreciated!