ES Video within the grid view
-
@jdrassa My ES crashes when I try to enable Grid View with the test themes on the latest github release.
-
@duiz Are you sure that you're using the latest version? The download link has changed to: https://github.com/jrassa/EmulationStation/releases/
It should say V2.8.0RP-DEV (MAY 22 2018 - 23:22:10) when you hit the start button. It works for me. -
@ruckage said in ES Video within the grid view:
You have to remember though that the image will be displayed at fullscreen regardless of resolution (which is why I scaled up that image to show a direct comparison - 1 pixel on a 540x960 display is twice as wide and twice as tall as 1 pixel on a 1930x1080p screen). And it completely breaks the look of my theme at different resolutions. The only way around this is for me to create different 9patch images for each supported resolution to maintain a consistent look which is what I'll end up doing.
On Android they create different versions of images to support a very large pool of screen size and resolutions, this could also be a solution here, to have 3 or 4 different images for different set of resolutions (low res, mid res, hd, ultra hd ...)
To create a consistent look using the grid view currently on my theme will require 10 different versions of the 9 patch images at various sizes for both default and unselected so thats 20 images total, also the padding would have to be changed for each resolution as well as that's also defined in pixels.
As I said previously I don't think you need 10 different versions, 3 or 4 should be enough.
I agree the padding may be changed, if I remember right, I set it in pixel because the ninepatch also use pixels, so if you want the tile content to match exactly the ninepatch center part you can just set the same size for the ninepatch corner and the padding.
-
@a12c4 said in ES Video within the grid view:
On Android they create different versions of images to support a very large pool of screen size and resolutions, this could also be a solution here, to have 3 or 4 different images for different set of resolutions (low res, mid res, hd, ultra hd ...)
As I said previously I don't think you need 10 different versions, 3 or 4 should be enough.
Hi @A12C4 , thanks for the reply. Certainly 4 or 5 different version would be fine for many themes but as mine is a pixel art theme I've tried very hard to maintain a consistent pixel size throughout the theme as much as possible so ideally I would have to make a different 9 patch for each supported resolution which is currently 10 different resolutions.
Have you considered offering the option of just using a standard image as the tile background? You could still keep 9 patch as an option as well but that way the choice is down to the theme developer over which one better suits their needs . I can appreciate 9 patch has it's advantages but it isn't necessarily the best option for all themes.
Edit: p.s I hope I don't seem like I'm being picky or ungrateful, I'm enjoying the gridview very much and just want to provide feedback as a theme developer.
-
@ruckage I can't try it right now and I'm not sure it will work, but have you considered to set the corner size of the ninepatch to 0 0 ? That way it should act like a normal image.
-
@a12c4 said in ES Video within the grid view:
@ruckage I can't try it right now and I'm not sure it will work, but have you considered to set the corner size of the ninepatch to 0 0 ? That way it should act like a normal image.
Thanks for that suggestion, I Just tried it and it seems to work perfectly so that basically solves my problem - if the padding could be defined as normalised pairs it would completely solve it.
edit: I'm guessing this works because setting the corner size to 0 effectively makes the image just the central portion of the 9 patch and so it's stretched to fill the tile area. Clever idea. :D
-
@ectoone Yep, that's the one I have going.
-
@duiz Off hand my initial suggestion would be to make sure that copied over the resources directory from the new build. There were some new resources added as part of the grid implementation and if they are not found that would likely lead to a crash.
-
@jdrassa Yeah I did a clean install to see if it would work but no dice. Basically, when I select grid and click the Back button to activate the changes in the UI Settings menu, it freezes there for a minute or so and crash exits.
My log file also shows this:
lvl1: OptionListComponent too narrow!
lvl1: OptionListComponent too narrow!
lvl1: OptionListComponent too narrow!
lvl1: OptionListComponent too narrow!
lvl1: OptionListComponent too narrow! -
@duiz I'm not sure but I think that indicates an issue with the theme not emulationstation. What theme are you trying to use?
Edit: I just did a quick test with theme that has no grid view specified and got the same error but ES didn't crash.
-
@ectoone I'm using the Carbon theme that was linked further up in this thread
-
@duiz Weird, I just tried it and it works fine. I'm not even getting the
lvl1: OptionListComponent too narrow!
error.
I'm only gettinglvl1: NinePatchComponent missing texture!
and I don't know where it comes from, I tried multiple themes and some have it and some not, but they all work. At least I can't see something broken. -
@duiz Sorry for the late reply but are you still experiencing issues enabling the grid view ?
-
@a12c4 yeah I gave up for now and will try again when it's been tested and established a bit more
-
@duiz Can you write down in this topic what is your system config, what you tried to do exactly, step by step, and what happened, don't be afraid to be as detailed as possible. Sorry for the inconveniance, I'm trying to gather inputs from different people, to track down this bugs as I wasn't able to reproduce them.
-
Hey @A12C4 any new news on further production of grid view?
-
@paffley Not really, haven't touched to my pi since months, just enjoying summer.
-
@A12C4 that's cool, yeh we've had a great summer aint we up to now! loving it!
One little question for ya.
In the current grid view, is there an option to keep it centered at all times or has that not applied as yet, I know you was talking about it previously. I was hoping to have the grid single horizontal and the selected item stays in the middle.I was needing it as: horizontal - 5 items - 3rd item always in middle (apart from the start and end obviously)
I know @EctoOne created a theme where it stays centered but I believe his only had 3 items so not sure if possible (math) to use 5 items across. -
@paffley it doesn't stay centered on my theme. it may look so, but when you start it, the top tile will be selected then it will stay in the middle until it reaches the end.
-
@ectoone said in ES Video within the grid view:
@paffley it doesn't stay centered on my theme. it may look so, but when you start it, the top tile will be selected then it will stay in the middle until it reaches the end.
Hi @EctoOne yeh that was the approach I was wanting, is it possible to have it horizontal across the screen with 5 items and it stays in the center when scrolling (after the first 2 goes from left to right)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.