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="samuel337" data-source="post: 94429" data-attributes="member: 10347"><p>You have to specify a skin file and a Windows ID in your class that implements GUITVGuideBase, not in GUITVGuideBase itself.</p><p></p><p></p><p></p><p>I'm confused here. If main.cs inherits from GUITVGuideBase.cs, what's the point of GUITVGuideBase_EPG.cs? and does GUITVGuideBase_EPG inherit from GUITVGuideBase?</p><p></p><p>In any case, you might be interested to know that GUITVGuideBase actually puts all the values of the currently selected program in the PropertyManager class. So to access info about the currently selected program, use this code:</p><p></p><p>GUIPropertyManager.GetProperty(<tag string>);</p><p></p><p>Valid <tag string> values are (they're pretty self-explanatory):</p><p>#TV.Guide.Title</p><p>#TV.Guide.Time</p><p>#TV.Guide.Description</p><p>#TV.Guide.Genre</p><p>#TV.Guide.Duration</p><p>#TV.Guide.TimeFromNow</p><p>#TV.Guide.EpisodeName</p><p>#TV.Guide.SeriesNumber</p><p>#TV.Guide.EpisodeNumber</p><p>#TV.Guide.EpisodePart</p><p>#TV.Guide.Date</p><p>#TV.Guide.StarRating</p><p>#TV.Guide.Classification</p><p>#TV.Guide.EpisodeDetail</p><p>#TV.Guide.thumb</p><p></p><p>If you want to know when a the selected program has changed, listen in on eithe the Actions or Messages sent.</p><p></p><p>Sam</p></blockquote><p></p>
[QUOTE="samuel337, post: 94429, member: 10347"] You have to specify a skin file and a Windows ID in your class that implements GUITVGuideBase, not in GUITVGuideBase itself. I'm confused here. If main.cs inherits from GUITVGuideBase.cs, what's the point of GUITVGuideBase_EPG.cs? and does GUITVGuideBase_EPG inherit from GUITVGuideBase? In any case, you might be interested to know that GUITVGuideBase actually puts all the values of the currently selected program in the PropertyManager class. So to access info about the currently selected program, use this code: GUIPropertyManager.GetProperty(<tag string>); Valid <tag string> values are (they're pretty self-explanatory): #TV.Guide.Title #TV.Guide.Time #TV.Guide.Description #TV.Guide.Genre #TV.Guide.Duration #TV.Guide.TimeFromNow #TV.Guide.EpisodeName #TV.Guide.SeriesNumber #TV.Guide.EpisodeNumber #TV.Guide.EpisodePart #TV.Guide.Date #TV.Guide.StarRating #TV.Guide.Classification #TV.Guide.EpisodeDetail #TV.Guide.thumb If you want to know when a the selected program has changed, listen in on eithe the Actions or Messages sent. Sam [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Get current program
Contact us
RSS
Top
Bottom