- Moderator
- #1
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.
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.