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
Popular Plugins
My Emulators
(Old) My Emulators
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="ajp8164" data-source="post: 339823" data-attributes="member: 64375"><p><strong>Spruced up MyEmulators a bit...</strong></p><p></p><p>Hi Chreekar (and all),</p><p></p><p>I have made the following changes to the MyEmulators plugin (v2.5 source taken from this thread immediately preceeding the version that corrects the games thumbs location). I don't know exactly what needs to be done to contribute these changes (if ya'll want them!) via svn so I am attaching the source code here as well.</p><p></p><p>Feature/changes:</p><p></p><p>1.) List, small thumbs, and large thumb views all display game information including description, company, year, genre, and rating. I did not make any changes for film strip view though that may only require that the skin xml file be changed. To enable this capability the plugin now exposes the following MP GUI properties which are then consumed by the skin xml file.</p><p></p><p>#game_description</p><p>#game_company</p><p>#game_yearmade</p><p>#game_genre</p><p></p><p>Using these properties avoids having to use the IDs 40-43 to display this information.</p><p></p><p>To get the ratings to display at two different locations in the same window (in different views) I duplicated the ratings images and there is now a second set with IDs 111-120 (original IDs are 101-110). Had to do this because you can use an ID only once in a given MP window (my experience tells me this rather than any explicit instruction). I'm open if there is a better way to implement this without duplicate IDs.</p><p></p><p>2.) For the StreamedMP skin I added the page title ribbon (not sure what it's really called); reads "My Games". Getting this to work requires that the MP language file contain the following entry (and of course you can make the title text anything you like):</p><p></p><p><String id="102497" prefix="My ">Games</String></p><p></p><p></p><p>3.) To the StreamedMP skin I added the page count overlay to the lower right corner. Creates a more consistent user experience.</p><p></p><p>I wanted to also implement an overlay in the thumbs panel for displaying a heart icon on those games that are marked as a favorite. There would have to be a change to the GUIThumbnailPanel MP class for this to work well; for example; add the capability to overlay the game image with another image (transparent with a heart in a corner for example). The only way to implement this without changing MP classes would be to implement the same transparent overlay image but to have the plugin programmatically merge the game thumb and overlay (a cache can avoid performance problems but it's not a straight forward solution and certainly not scalable for others that may want to decorate thumbnail grids - except if the capability were factored into its own, separate plug in ;-)</p><p></p><p>See the attached thumbs for StreamedMP skin implementation of these features (attached MyEmulators.xml is for StreamedMP skin).</p><p></p><p>Chreekar - if you like/agree with these features, please integrate them into your source base (shouldn't take you too long ;-)</p><p></p><p>ps. I don't have a genre set for the game selected in the screenshots.</p><p></p><p>Thanks for a great plugin!!</p><p></p><p>-Andy</p></blockquote><p></p>
[QUOTE="ajp8164, post: 339823, member: 64375"] [b]Spruced up MyEmulators a bit...[/b] Hi Chreekar (and all), I have made the following changes to the MyEmulators plugin (v2.5 source taken from this thread immediately preceeding the version that corrects the games thumbs location). I don't know exactly what needs to be done to contribute these changes (if ya'll want them!) via svn so I am attaching the source code here as well. Feature/changes: 1.) List, small thumbs, and large thumb views all display game information including description, company, year, genre, and rating. I did not make any changes for film strip view though that may only require that the skin xml file be changed. To enable this capability the plugin now exposes the following MP GUI properties which are then consumed by the skin xml file. #game_description #game_company #game_yearmade #game_genre Using these properties avoids having to use the IDs 40-43 to display this information. To get the ratings to display at two different locations in the same window (in different views) I duplicated the ratings images and there is now a second set with IDs 111-120 (original IDs are 101-110). Had to do this because you can use an ID only once in a given MP window (my experience tells me this rather than any explicit instruction). I'm open if there is a better way to implement this without duplicate IDs. 2.) For the StreamedMP skin I added the page title ribbon (not sure what it's really called); reads "My Games". Getting this to work requires that the MP language file contain the following entry (and of course you can make the title text anything you like): <String id="102497" prefix="My ">Games</String> 3.) To the StreamedMP skin I added the page count overlay to the lower right corner. Creates a more consistent user experience. I wanted to also implement an overlay in the thumbs panel for displaying a heart icon on those games that are marked as a favorite. There would have to be a change to the GUIThumbnailPanel MP class for this to work well; for example; add the capability to overlay the game image with another image (transparent with a heart in a corner for example). The only way to implement this without changing MP classes would be to implement the same transparent overlay image but to have the plugin programmatically merge the game thumb and overlay (a cache can avoid performance problems but it's not a straight forward solution and certainly not scalable for others that may want to decorate thumbnail grids - except if the capability were factored into its own, separate plug in ;-) See the attached thumbs for StreamedMP skin implementation of these features (attached MyEmulators.xml is for StreamedMP skin). Chreekar - if you like/agree with these features, please integrate them into your source base (shouldn't take you too long ;-) ps. I don't have a genre set for the game selected in the screenshots. Thanks for a great plugin!! -Andy [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Emulators
(Old) My Emulators
Contact us
RSS
Top
Bottom