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
MediaPortal 1 Plugins
Get current program
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="hbrotan" data-source="post: 94346" data-attributes="member: 27090"><p>Thanks again for replying.</p><p></p><p>You're right about the UpdateCurrentProgram() method and the _currentProgram variable. Unfortunately, they're both private, so I can't access them.</p><p>I tried to use the TVDatabase for public methods, but noone seemed to return the last TVProgram object.</p><p></p><p>Concerning the GUITvGuideBase.cs. You say I have to specify a new windowID and a skin file, but I can't find that GUITvGuideBase uses a skin file. It does use GetID, but it is not set anywhere. The way I perceive it, is that GUITvGuideBase uses the same skin and id as GUITvGuide..</p><p></p><p>My situation now is that I have:</p><p>- main.cs (based on GUITvGuide.cs) </p><p>- GUITvGuideBase_EPG.cs (based on GUITvGuideBase). </p><p>main.cs inherits GUITvGuideBase.cs. </p><p>They're in the same namespace. </p><p></p><p>In MediaPortal, when I click on myplugin, I go back to the main screen.</p><p>If I change main.cs to inherit the original GUITvGuideBase, enter MediaPortal and click on myplugin, the customized EPG window appears. </p><p></p><p>I would be very happy if you could explain to me what I have to change in GUITvGuideBase_EPG.cs to make it work <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="hbrotan, post: 94346, member: 27090"] Thanks again for replying. You're right about the UpdateCurrentProgram() method and the _currentProgram variable. Unfortunately, they're both private, so I can't access them. I tried to use the TVDatabase for public methods, but noone seemed to return the last TVProgram object. Concerning the GUITvGuideBase.cs. You say I have to specify a new windowID and a skin file, but I can't find that GUITvGuideBase uses a skin file. It does use GetID, but it is not set anywhere. The way I perceive it, is that GUITvGuideBase uses the same skin and id as GUITvGuide.. My situation now is that I have: - main.cs (based on GUITvGuide.cs) - GUITvGuideBase_EPG.cs (based on GUITvGuideBase). main.cs inherits GUITvGuideBase.cs. They're in the same namespace. In MediaPortal, when I click on myplugin, I go back to the main screen. If I change main.cs to inherit the original GUITvGuideBase, enter MediaPortal and click on myplugin, the customized EPG window appears. I would be very happy if you could explain to me what I have to change in GUITvGuideBase_EPG.cs to make it work :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Get current program
Contact us
RSS
Top
Bottom