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!)
g_player help
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="gemx" data-source="post: 541165" data-attributes="member: 26324"><p>At first there is an IPlayer interface which all players wether internal or external must implement.</p><p>g_player is a singleton (only one instance throughout the whole app) which utilizes the needed "real" player and uses it's functions via the IPlayer interface.</p><p>g_player itself also implements the IPlayer interface.</p><p></p><p>So - yes - all you need to do is using the g_player class and you can control any media with it.</p><p>g_player is responsible to route a certain IPlayer interface call to the correct underlying player.</p></blockquote><p></p>
[QUOTE="gemx, post: 541165, member: 26324"] At first there is an IPlayer interface which all players wether internal or external must implement. g_player is a singleton (only one instance throughout the whole app) which utilizes the needed "real" player and uses it's functions via the IPlayer interface. g_player itself also implements the IPlayer interface. So - yes - all you need to do is using the g_player class and you can control any media with it. g_player is responsible to route a certain IPlayer interface call to the correct underlying player. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
g_player help
Contact us
RSS
Top
Bottom