RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Color support for Ratings

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstatioratings
    18 Posts 6 Posters 4.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lilbudL
      lilbud @jdrassa
      last edited by

      @jdrassa I just brought it up since the topic of ratings is on the table.
      What I had in mind:

      0_1496969649787_23abdd4b-c45c-4f03-b43e-62765c568375-image.png

      A rating anywhere from 1 - 2 would be 1.png

      2 - 3 would be 2.png

      And so on and so forth, all the way to 5

      Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

      Backlog: http://backloggery.com/lilbud

      1 Reply Last reply Reply Quote 1
      • S
        Syhles
        last edited by Syhles

        This all sounds awesome. @jdrassa color support would be a welcome addition. I also like @lilbud suggestions.

        This is slightly off tangent but could we have an image for number of players?

        Will test when I get a chance.

        1 Reply Last reply Reply Quote 1
        • mattrixkM
          mattrixk @jdrassa
          last edited by

          @jdrassa That's awesome! Is this the same build that you posted to me here, or a new one?

          My ES themes: MetaPixel | Spare | Io | Indent

          J 1 Reply Last reply Reply Quote 0
          • J
            jdrassa @mattrixk
            last edited by

            @mattrixk It is different. That build was the latest in the RetroPie repository. This one is essentially the same, but with the ability to set the color for the rating component.

            Get latest build of EmulationStation for Windows here

            mattrixkM 1 Reply Last reply Reply Quote 2
            • mattrixkM
              mattrixk @jdrassa
              last edited by

              @jdrassa: I was using this build to work on the next version of the Toolkit, but I came across a problem:

              Video View lets you set <showSnapshotNoVideo>true</showSnapshotNoVideo> and <showSnapshotDelay>true</showSnapshotDelay> so that "md_image" will display for a short time before the video starts playing. However with both this build and the other one I linked to above, "md_image" doesn't display. It's just a blank space until the video starts to play.

              When I switch to Detailed View, "md_image" shows up without issue.

              Is this because of the z-index? Do you have a list somewhere of what each element is set to by default?

              My ES themes: MetaPixel | Spare | Io | Indent

              J 2 Replies Last reply Reply Quote 0
              • J
                jdrassa @mattrixk
                last edited by

                @mattrixk I am able to reproduce this. I don't think it has anything to do with the z-index changes. When using either of those options, the VideoComponent renders the image so it would be drawn at the same z-index as the video. Interestingly, for me it is working properly for showSnapshowNoVideo but not for showSnapshotDelay. I will try to track it down the issue tonight.

                Get latest build of EmulationStation for Windows here

                ruckageR 1 Reply Last reply Reply Quote 2
                • ruckageR
                  ruckage @jdrassa
                  last edited by ruckage

                  @jdrassa
                  I completely missed this topic. Another great addition that I can't wait to use.
                  There is however a small problem that @TMNTturtlguy reported. It appears that the color is defaulting to black so it will make the ratings appear black in all themes not using a <color> tag, I assume its supposed to default to white.

                  edit: I was the person complaining so I'm very happy about the addition :).

                  SNES mini/Nes mini/Famicom mini theme developer.

                  If you'd like to support my work you can donate here: Donate

                  1 Reply Last reply Reply Quote 2
                  • J
                    jdrassa @mattrixk
                    last edited by

                    @mattrixk said in Color support for Ratings:

                    @jdrassa: I was using this build to work on the next version of the Toolkit, but I came across a problem:

                    Video View lets you set <showSnapshotNoVideo>true</showSnapshotNoVideo> and <showSnapshotDelay>true</showSnapshotDelay> so that "md_image" will display for a short time before the video starts playing. However with both this build and the other one I linked to above, "md_image" doesn't display. It's just a blank space until the video starts to play.

                    @pjft It looks like the OMX change broke the <showSnapshotDelay> option. I have a fix ready, but I wanted to get you to look over the OMX side of things. I haven't tested it out on a pi yet, but I think it should work.

                    https://github.com/jrassa/EmulationStation/tree/video-snapshot-delay-fix

                    Get latest build of EmulationStation for Windows here

                    pjftP 1 Reply Last reply Reply Quote 2
                    • pjftP
                      pjft @jdrassa
                      last edited by

                      @jdrassa oh, that might certainly have been the case.

                      Let me check that. Thanks for looking into that!

                      1 Reply Last reply Reply Quote 0
                      • pjftP
                        pjft
                        last edited by

                        @jdrassa Wonderful. Tested and it does work - tested both VLC and OMXPlayer on the Pi, and they work to the best of my understanding of what it should do. I changed the theme to add a delay and that flag to true, and it now shows it for a few seconds before starting the video.

                        Thanks for putting this together.

                        Also, I'm curious if you had the chance to try out the video screensaver on Windows, and whether it works as intended using VLC (performance-wise, etc) as I don't have a Windows machine.

                        Thanks!

                        mattrixkM J 2 Replies Last reply Reply Quote 0
                        • mattrixkM
                          mattrixk @pjft
                          last edited by

                          @pjft I'm curious what the difference is between VLC and OMX player? What advantages does one have over the other? Do you recommend one over the other?

                          My ES themes: MetaPixel | Spare | Io | Indent

                          pjftP 1 Reply Last reply Reply Quote 0
                          • pjftP
                            pjft @mattrixk
                            last edited by pjft

                            @mattrixk Sure!

                            If you're not on a Pi, there is no option - only VLC.

                            If you're on the Pi, OMX Player is a native, hardware accelerated video player. Much better performance, no overheating, etc.

                            VLC will require more CPU resources, and may lead to overheating on a non-cooled Pi after prolonged video rendering. Also, it will struggle to reasonably render anything above 480x360@30fps in my experience (YMMV), whereas OMX Player will usually be able to render 720p or 1080p videos effortlessly (once again, YMMV).

                            The main drawback for OMX Player is that it doesn't support overlays to be rendered over the video area, so if you use a theme that relies on anything being rendered on top of the video, I'd use VLC.

                            But if not, I'd strongly recommend OMX Player at least for the gamelists. Video screensaver support has also been added based on OMX Player for the Pi (with the option to fall back on VLC should you want to).

                            There's a setting to enable it in "Other Settings" if I recall correctly where I put it.

                            mattrixkM 1 Reply Last reply Reply Quote 0
                            • mattrixkM
                              mattrixk @pjft
                              last edited by

                              Thanks for the info @pjft.

                              OMX Player [...] doesn't support overlays to be rendered over the video area

                              Does that include the <marquee> tag? I have the logos running slightly over the top of the videos, so with OMX, the logos would be behind the video?

                              My ES themes: MetaPixel | Spare | Io | Indent

                              pjftP 1 Reply Last reply Reply Quote 0
                              • pjftP
                                pjft @mattrixk
                                last edited by

                                @mattrixk Correct. Mind you, it's not a design choice, but rather a limitation of the hardware acceleration in that it's rendered in a separate layer to ES, so anything that comes from ES will be under the video.

                                You can try it out for yourself and see.

                                1 Reply Last reply Reply Quote 1
                                • J
                                  jdrassa @pjft
                                  last edited by

                                  @pjft Thanks for checking it out. I haven't had a chance to try out the video screensaver on Windows yet, but I will try to do it soon.

                                  Get latest build of EmulationStation for Windows here

                                  1 Reply Last reply Reply Quote 1
                                  • First post
                                    Last post

                                  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.