home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
TVDatabase.GetRecordedTV question
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="pilehave" data-source="post: 471695" data-attributes="member: 71550"><p>Hi there!</p><p></p><p>I'm doing a PROCESS plugin that is supposed to show the users recordings (without going to RecordedTV)</p><p></p><p>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)?</p><p></p><p>[CODE] private void oneClickPlayRecordings()</p><p> {</p><p> List<TVRecorded> recordings = new List<TVRecorded>();</p><p> List<GUIListItem> itemlist = new List<GUIListItem>();</p><p> TVDatabase.GetRecordedTV(ref recordings);</p><p> </p><p> foreach (TVRecorded rec in recordings)</p><p> {</p><p> Log.Info("PowerPlay recording found: " + rec.Title.ToString());</p><p> }</p><p></p><p> }[/CODE]</p><p></p><p>In my world this should log my recordings to the log...the function IS run, I can check it with break statements <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /></p><p></p><p>I know that window and process plugins does things different, but I have no problem calling resources in other process plugins I have created.</p><p></p><p>I have all the relevant "using" entries in the plugin and it compiles and runs without errors...just no output.</p><p></p><p>Any help would be appreciated!</p></blockquote><p></p>
[QUOTE="pilehave, post: 471695, member: 71550"] 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)? [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()); } }[/CODE] In my world this should log my recordings to the log...the function IS run, I can check it with break statements :S 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! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
TVDatabase.GetRecordedTV question
Contact us
RSS
Top
Bottom