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
Improvement Suggestions
Extend g_player with title, description, etc
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="Shukuyen" data-source="post: 507125" data-attributes="member: 74313"><p>Hi,</p><p></p><p>almost all the plugins I plan to develop or started to develop would like to get some more information about a file played by g_player.</p><p></p><p>My thought was to extend g_player with a pretty title, description, file type (video, movie, episode, music, ...) and a thumbnail. Maybe the plugin name which started the player, too. A plugin or Mediaportal component would then supply those properties with the start method and g_player would make the skin properties available. This way all the "wait x seconds then update the skin" hack most plugins use would not be neccessary.</p><p></p><p>While looking at the code I noticed that there already are properties vor _title and _description in the g_player class, but they aren't used anywhere.</p><p></p><p>Does it make sense to code what I described above? Is it not possible for some reason? (I admit that I don't really know what's going on in the Mediaportal internals). If it makes sense, do you have any hints which places I have to touch?</p><p></p><p>Thanks for all your input,</p><p>Shukuyen.</p></blockquote><p></p>
[QUOTE="Shukuyen, post: 507125, member: 74313"] Hi, almost all the plugins I plan to develop or started to develop would like to get some more information about a file played by g_player. My thought was to extend g_player with a pretty title, description, file type (video, movie, episode, music, ...) and a thumbnail. Maybe the plugin name which started the player, too. A plugin or Mediaportal component would then supply those properties with the start method and g_player would make the skin properties available. This way all the "wait x seconds then update the skin" hack most plugins use would not be neccessary. While looking at the code I noticed that there already are properties vor _title and _description in the g_player class, but they aren't used anywhere. Does it make sense to code what I described above? Is it not possible for some reason? (I admit that I don't really know what's going on in the Mediaportal internals). If it makes sense, do you have any hints which places I have to touch? Thanks for all your input, Shukuyen. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Extend g_player with title, description, etc
Contact us
RSS
Top
Bottom