Replies: 4 comments 2 replies
-
| I'm not sure I presently know a heuristic for all of the choices listed above. How does one distinguish a music video, for instance? | 
Beta Was this translation helpful? Give feedback.
-
| My suggestion was not about the heuristic to detect witch layout to use. But on a setting that will user specify what layout to use based on the heuristic result, Lets take the exemple of an user that want a specific layout for TV show and the defaut layout for all other case. With my suggestion he still  will need to create a TV layout and default layout (normal) and then specify in the  It could also allow for user custom name for each layout (eg a user could create a 'TV' layout to be used for PVR and liveTV sections) Heuristic for addon and music video could be implemented, but it is an other subject. (I will open a discusion on that) | 
Beta Was this translation helpful? Give feedback.
-
| I should note that, with recent changes to how auto-selection goes about checking the AUTOSELECT heuristic, a user only has to define the layouts that they wish to use.  For instance, one could have just  With v1.22, I modified  The next step is to move that heuristic if-elif tree to a separate function, invoked through a variable. The variable then provides a hook by which external code could replace the if-elif logic completely. | 
Beta Was this translation helpful? Give feedback.
-
| kodi_panel v1.24 moves the video-mode selection to a standalone function that gets passed the full video InfoLabel dictionary. The invoking script can override the variable that points to that function, permitting for full customization of the heuristic. I also copied this framework to apply to the audio-side of things. So, should someone arrive at a means for deciding that there are distinct forms of audio file, that can guide audio layout selection. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Based on https://discourse.coreelec.org/t/graphical-front-panel-display/12932/192
one could end up with many layouts that are not needed, one solution could be to add a table in the
setup.tomlfile that specify which layout to useIt will avoid creating identical layout.
Eg in my case:
Of course all the used layout would have to be checked to make sure they exists
Beta Was this translation helpful? Give feedback.
All reactions