-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Game Infolabel and GUI settings update #14720
Conversation
@@ -2118,6 +2118,15 @@ const infomap videoplayer[] = {{ "title", VIDEOPLAYER_TITLE }, | |||
/// @{ | |||
/// \table_start | |||
/// \table_h3{ Labels, Type, Description } | |||
/// \table_row3{ <b>`VideoFilter`</b>, | |||
/// \anchor RetroPlayer_VideoFilter |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
xbmc/GUIInfoManager.cpp
Outdated
/// The following values are possible: | ||
/// - nearest (Nearest-neighbor, i.e. pixellate) | ||
/// - linear (Bilinear, i.e. smooth blur) | ||
/// - <path to shader> (not supported yet) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
xbmc/GUIInfoManager.cpp
Outdated
@@ -2118,6 +2118,15 @@ const infomap videoplayer[] = {{ "title", VIDEOPLAYER_TITLE }, | |||
/// @{ | |||
/// \table_start | |||
/// \table_h3{ Labels, Type, Description } | |||
/// \table_row3{ <b>`VideoFilter`</b>, |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Doing a quick search on the new XML windows for games there are also references to Infolabels that are not documented, namely several options for xbmc/addons/skin.estuary/xml/Includes_DialogSelect.xml Lines 191 to 193 in 65f5fbb
Can you please also add those to the infolabels doxygen page like all the others: Thanks |
@enen92 pushed a fix, how's it look now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good thanks. Only the properties are missing but that can be done later.
I'll do it now, instead of duplicating list of values, how do I reference a previous infolabel? |
Not sure I understand what you mean. Listitem.Property is repeated already several times for each property. You can however define just one new table entry and simplify it like below:
|
For example, the possible values for |
Sorry for the delay. Yes you can do something like below:
|
@enen92 updated |
I'd prefer to see them grouped with all the other ListItem properties (since they refer to ListItem and not to RetroPlayer) but I guess it's a matter of taste. If you prefer to group them in the retroplayer section is fine to me too 👍 |
Grouping the listitems together would be nice, but keeping RP stuff together is less overhead for me. I'll merge when jenkins is happy. |
jenkins build this please |
@enen92 I completed the documentation in the forum thread. However, I don't think the Game.* infolabels are documented in the doxygen source. Can you please copy the forum documentation into the source? |
Sure, will do |
Game skinning in Kodi is now fully documented: https://forum.kodi.tv/showthread.php?tid=336876
While creating this, I noticed some inconsistencies. I made the following changes:
Infolabels
nearest
(Nearest-neighbor, a.k.a. pixellate)linear
(Bilinear filtering, a.k.a. smooth blur)GUI settings
Valid identifiers are:
normal
- Show the game at its correct aspect ratio4:3
- Stretch the game to 4:3 aspect ratiofullscreen
- Stretch the game to the full viewing areaoriginal
- Shrink the game to its original size (humorous with old games on 4K displays)Motivation and Context
For consistency with game documentation: https://forum.kodi.tv/showthread.php?tid=336876
How Has This Been Tested?
<stretchmode>
gui setting migration tested on OSX. Set the value to1
, applied the patch, observed the correct behavior - old value is ignored, new value is set tonormal
Types of change