• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.1k 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.
  • J
    jdrassa
    last edited by 8 Jun 2017, 23:31

    A while back someone complained that the ratings component didn't have the ability to set a color like you can for normal images. Well now it does.

    For anyone who would like to test this out be for I submit it, links are below.

    Github Repository:
    https://github.com/jrassa/EmulationStation/tree/rating-color

    Windows Build:
    https://ci.appveyor.com/api/buildjobs/d66xolshsck99iaw/artifacts/EmulationStation-Win32.zip

    Get latest build of EmulationStation for Windows here

    M 1 Reply Last reply 9 Jun 2017, 05:52 Reply Quote 6
    • L
      lilbud
      last edited by 8 Jun 2017, 23:56

      Could ratings be shown by a single icon? Rather than 5 of them

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

      Backlog: http://backloggery.com/lilbud

      J 1 Reply Last reply 9 Jun 2017, 00:48 Reply Quote 2
      • J
        jdrassa @lilbud
        last edited by 9 Jun 2017, 00:48

        @lilbud Its certainly possible, although it would be a much bigger change than this, since we would need to support both styles. Would you have to specify 5 different images? Would partial ratings just be ignored?

        Get latest build of EmulationStation for Windows here

        L 1 Reply Last reply 9 Jun 2017, 00:55 Reply Quote 1
        • L
          lilbud @jdrassa
          last edited by 9 Jun 2017, 00:55

          @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 6 Sept 2017, 04:47 9 Jun 2017, 03:40

            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
            • M
              mattrixk @jdrassa
              last edited by 9 Jun 2017, 05:52

              @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 9 Jun 2017, 22:05 Reply Quote 0
              • J
                jdrassa @mattrixk
                last edited by 9 Jun 2017, 22:05

                @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

                M 1 Reply Last reply 11 Jun 2017, 07:24 Reply Quote 2
                • M
                  mattrixk @jdrassa
                  last edited by 11 Jun 2017, 07:24

                  @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 11 Jun 2017, 14:11 Reply Quote 0
                  • J
                    jdrassa @mattrixk
                    last edited by 11 Jun 2017, 14:11

                    @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

                    R 1 Reply Last reply 13 Jun 2017, 18:01 Reply Quote 2
                    • R
                      ruckage @jdrassa
                      last edited by ruckage 13 Jun 2017, 18:01

                      @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 14 Jun 2017, 02:32

                        @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

                        P 1 Reply Last reply 14 Jun 2017, 04:49 Reply Quote 2
                        • P
                          pjft @jdrassa
                          last edited by 14 Jun 2017, 04:49

                          @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
                          • P
                            pjft
                            last edited by 14 Jun 2017, 09:08

                            @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!

                            M J 2 Replies Last reply 14 Jun 2017, 09:48 Reply Quote 0
                            • M
                              mattrixk @pjft
                              last edited by 14 Jun 2017, 09:48

                              @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

                              P 1 Reply Last reply 14 Jun 2017, 09:59 Reply Quote 0
                              • P
                                pjft @mattrixk
                                last edited by pjft 14 Jun 2017, 09:59

                                @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.

                                M 1 Reply Last reply 14 Jun 2017, 10:03 Reply Quote 0
                                • M
                                  mattrixk @pjft
                                  last edited by 14 Jun 2017, 10:03

                                  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

                                  P 1 Reply Last reply 14 Jun 2017, 10:07 Reply Quote 0
                                  • P
                                    pjft @mattrixk
                                    last edited by 14 Jun 2017, 10:07

                                    @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 16 Jun 2017, 01:38

                                      @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
                                      18 out of 18
                                      • First post
                                        18/18
                                        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.

                                        This community forum collects and processes your personal information.
                                        consent.not_received