RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Emulationstation video previews on Raspberry Pi 5

    Scheduled Pinned Locked Moved Help and Support
    video previewslagskraperemulationstaton
    26 Posts 7 Posters 3.0k 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.
    • DTEAMD
      DTEAM @RapidEdwin08
      last edited by DTEAM

      @RapidEdwin08

      I did this but it won't run. My .sh file is in /home/pi/

      pi@retropie:~ $ chmod a+x /home/pi/esdowngrade.sh
      pi@retropie:~ $ /home/pi/esdowngrade.sh
      /usr/bin/env: ‘bash\r’: No such file or directory
      /usr/bin/env: use -[v]S to pass options in shebang lines
      
      

      or

      
      pi@retropie:~ $ sh /home/pi/esdowngrade.sh
      : not founddowngrade.sh: 2:
      : not founddowngrade.sh: 5:
      /home/pi/esdowngrade.sh: 6: Syntax error: "(" unexpected
      
      

      any idea why

      RapidEdwin08R LolonoisL 2 Replies Last reply Reply Quote 0
      • RapidEdwin08R
        RapidEdwin08 @DTEAM
        last edited by

        @DTEAM said in Emulationstation video previews on Raspberry Pi 5:

        @RapidEdwin08

        I did this but it won't run. My .sh file is in /home/pi/

        pi@retropie:~ $ chmod a+x /home/pi/esdowngrade.sh
        pi@retropie:~ $ /home/pi/esdowngrade.sh
        /usr/bin/env: ‘bash\r’: No such file or directory
        /usr/bin/env: use -[v]S to pass options in shebang lines
        
        

        any idea why

        Not sure, something wrong with the 1st line, maybe strange character in the copy/paste?...

        I added vlc-downgrade script to GIT for the time being, so you can try this:

        wget https://raw.githubusercontent.com/RapidEdwin08/RetroPie-Setup/master/vlc-downgrade.sh -P ~/
        chmod 755 ~/vlc-downgrade.sh
        ~/vlc-downgrade.sh
        

        Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

        DTEAMD 2 Replies Last reply Reply Quote 1
        • DTEAMD
          DTEAM @RapidEdwin08
          last edited by DTEAM

          @RapidEdwin08 said in Emulationstation video previews on Raspberry Pi 5:

          ~/vlc-downgrade.sh

          It works !!! thanks !!!

          1 Reply Last reply Reply Quote 0
          • LolonoisL
            Lolonois @DTEAM
            last edited by Lolonois

            @DTEAM said in Emulationstation video previews on Raspberry Pi 5:

            /usr/bin/env: ‘bash\r’: No such file or directory

            A file newline issue sneaked in (Windows \r\n, Linux \n). Most likely happened by transferring the script to the Pi.

            To be on the safe side next time: dos2unix <scriptfile> (sudo apt install dos2unix) is your friend.

            1 Reply Last reply Reply Quote 1
            • LolonoisL
              Lolonois @Lolonois
              last edited by Lolonois

              @Lolonois said in Emulationstation video previews on Raspberry Pi 5:

              I detected another issue, when PowerSaving is set to INSTANT ...

              Simply: Don't! Do not set Power Saver Mode to INSTANT in Main Menu -> Other Settings to instant when you have VideoGamelists or use the Random VIdeo Screensaver. It will make your videos hang as I outlined in my cited post.

              1 Reply Last reply Reply Quote 1
              • ExarKunIvE ExarKunIv referenced this topic on
              • DTEAMD DTEAM referenced this topic on
              • DTEAMD
                DTEAM @RapidEdwin08
                last edited by DTEAM

                @RapidEdwin08 said in Emulationstation video previews on Raspberry Pi 5:

                wget https://raw.githubusercontent.com/RapidEdwin08/RetroPie-Setup/master/vlc-downgrade.sh -P ~/
                chmod 755 ~/vlc-downgrade.sh
                ~/vlc-downgrade.sh

                Hi @RapidEdwin08 ,
                I'm trying to go back to the old VLC version but it doesn't' work. It works in the past, but now it stop working. you can see my log here

                https://pastebin.com/xmmUjQkr

                It stop to work when I tried to install the older version of Dolphin.

                Any Idea to fix that?

                NEW EDIT: Solve with this - https://forums.linuxmint.com/viewtopic.php?t=373298

                1 Reply Last reply Reply Quote 0
                • DTEAMD DTEAM referenced this topic on
                • 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.