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

WebtroPie

Scheduled Pinned Locked Moved Projects and Themes
retropieweb interfacewebtropie
157 Posts 27 Posters 62.3k 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.
  • D
    darknior @kixut
    last edited by 21 Nov 2017, 13:04

    @kixut said in WebtroPie WIP:

    @darknior nice video although I will have a look at hiding that scrollbar, I think it only happens on Windows, was that with Chrome or IE ?, I have a few more uncommited changes to do with the NES MINI theme to get the carousel feature working properly with it and to better position its fonts. I think it's turned into a bit of an acid test for WebtroPie :)

    • Yes it's on Windows with Chrome, and i forgot to telle you to hide the scrollbar. On PI there isn't :p
    • If you can make NES mini working fine on Webtropie it will be excellent. Bugs are little different with SNES Mini. PSX Mini is almost working fine, it has the best code, but it is less interesting for your code challenge lol

    For my part i stand more for editing features, because it is the real purpose of this application.
    I have many stuff to manage, it will do a great test for your Webtropie ... and on 4, 5 different computers.

    Life is game, just play it !

    1 Reply Last reply Reply Quote 0
    • D
      darknior
      last edited by 22 Nov 2017, 09:27

      News updates yesterday ...
      WOAW, NES and SNES Mini are really working better now :)

      Life is game, just play it !

      1 Reply Last reply Reply Quote 0
      • D
        darknior
        last edited by 30 Nov 2017, 01:14

        Hi, any news about your project please ? :)
        Can you first correct the description saving?
        I know you don't have so many free time, but if you can, it will save me many time on game editing for many gameslist.xml i must work on :p
        I understand it will be take more time to fix image upload :(

        Life is game, just play it !

        K 1 Reply Last reply 30 Nov 2017, 13:02 Reply Quote 0
        • M
          madmodder123 @kixut
          last edited by 30 Nov 2017, 06:25

          @kixut THIS IS AWESOME

          1 Reply Last reply Reply Quote 0
          • K
            kixut @darknior
            last edited by 30 Nov 2017, 13:02

            @darknior hi, I will get on that problem next, sorry I've been quiet this last week and I only saw the github issues a few days ago.

            I've a few commits that I haven't pushed yet (carousel vertical-wheel for SpaceOddity theme, a speedup, ... I can't remember what else) so I will push them with the github fixes. It was a good idea to move the issues to github I think and was about to suggest it.

            @madmodder123 thanks :)

            D 1 Reply Last reply 30 Nov 2017, 14:37 Reply Quote 1
            • D
              darknior @kixut
              last edited by 30 Nov 2017, 14:37

              @kixut said in WebtroPie WIP:

              a speedup

              What do you speed up ?
              The big thing slower than on PI, is the HOME MENU, it take more time to jump from a system to an other one.

              Life is game, just play it !

              K 1 Reply Last reply 30 Nov 2017, 20:47 Reply Quote 0
              • K
                kixut @darknior
                last edited by kixut 30 Nov 2017, 20:47

                @darknior if some system lists have several thousand games or so it can take a few seconds to parse, check sizes, paths, media etc and encode the result, so I added a few lines of php code to store the result and if the cache is newer than the gamelists to just send back the cached result from last time to the client instead, it will probably still take a second as it is still a large file to transfer over the network but worth it I think, I've made it an option so it can be compared on or off but I've a feeling it will always be more efficient on.

                I've just got in so haven't looked yet but was thinking about the saving problem, I have a little code which prevents updates from clients not on the 192.168 network, I put it there so that if someone served their site to the outside world they wouldn't want to give write access to the world, .... are you editing from 192.168.?.? on your local network ?

                D 1 Reply Last reply 30 Nov 2017, 21:56 Reply Quote 0
                • D
                  darknior @kixut
                  last edited by 30 Nov 2017, 21:56

                  @kixut said in WebtroPie WIP:

                  cache is newer than the gamelists to just send back the cached result from last time

                  Excellent idea :)
                  To be fastest you can also use the BROWSER CACHE :)
                  I use it some time a go and it is instant :)

                  are you editing from 192.168.?.? on your local network

                  Yes i'm am, not problem with that. And all other informations saving fine, only description is not saved :(

                  updates from clients not on the 192.168 network,

                  Why not, it can be cool to work with friends too, can we remove this option in settings too ?

                  Life is game, just play it !

                  K 1 Reply Last reply 30 Nov 2017, 23:39 Reply Quote 0
                  • K
                    kixut @darknior
                    last edited by kixut 12 Jan 2017, 00:13 30 Nov 2017, 23:39

                    @darknior see my reply on GitHub. Yes, I will add that as an option, good idea. ta

                    Edit: The problem with browser cache is that I want it to expire when the gamelist changes, I could give the php script an expiry date but if the gamelist changes before then the user would see old data. Having said that, it gives me an idea, initially I load the configuration file from the server, I could include in this the file dates of the gamelists this gets sent to the client, then, if I request each game list with that as a parameter then it should cache correctly client side without the need to cache server side. I'll have a go for next time.

                    1 Reply Last reply Reply Quote 1
                    • D
                      darknior
                      last edited by 1 Dec 2017, 08:59

                      • It's ok for Description saving.
                      • I know why the home menu is slow, i think it's because you stand to COUNT GAMES, and show GAME COUNT with an translation ANIMATION, before moving to the next system. And it take time ... Maybe is it possible to stand a little to start the animation to let us fastest move to the next system?

                      Life is game, just play it !

                      1 Reply Last reply Reply Quote 0
                      • L
                        LinuxArcadeGuy
                        last edited by LinuxArcadeGuy 25 Dec 2017, 20:51

                        @darknior just to let you know... after installing and initializing the apache web server it goes to the success page when you load http://retropienamehere so in var/www/html you need to wipe the index.html and add this:

                        <!DOCTYPE HTML>
                        <html lang="en-US">
                        <head>
                        <meta charset="UTF-8">
                        <meta http-equiv="refresh" content="0; url=./http://127.0.0.1/app/">
                        <script type="text/javascript">
                        window.location.href = "./app"
                        </script>
                        <title>Page Redirection</title>
                        </head>
                        <body>
                        If you are not redirected automatically, <a href='./app'>click here</a>.
                        </body>
                        </html>

                        this will automatically redirect you to the symbolic link of "/home/pi/WebtroPie/app"

                        you may want to have a script auto generate this...

                        Thanks for a great add-on!

                        K 1 Reply Last reply 26 Dec 2017, 09:45 Reply Quote 1
                        • K
                          kixut @LinuxArcadeGuy
                          last edited by 26 Dec 2017, 09:45

                          @linuxarcadeguy hey thanks good idea, I have added a REDIRECT_WEBROOT.sh script to install your file.

                          I'm planning to spend a little time setting up the wiki so I will include an explanation of this there.

                          1 Reply Last reply Reply Quote 1
                          • D
                            darknior
                            last edited by 26 Dec 2017, 13:55

                            Yes thanks it works fine for me too :)

                            Life is game, just play it !

                            1 Reply Last reply Reply Quote 1
                            • L
                              LinuxArcadeGuy
                              last edited by 26 Dec 2017, 14:13

                              also.... launch isnt working for me... not that its real handy, just wanted to see it work... :)

                              K 1 Reply Last reply 28 Dec 2017, 01:15 Reply Quote 0
                              • K
                                kixut @LinuxArcadeGuy
                                last edited by kixut 28 Dec 2017, 01:15

                                @linuxarcadeguy thanks for the feedback, I've fixed the launch issue now, please note that you may have to run INSTALL.sh again.

                                While I mention it the INSTALL.sh has considerably changed and you are given the choice of running the app either under apache or stand alone using php web server (no changes are made to apache/php), more information regarding this is shown during the install.

                                The INSTALL.sh changes also fixes a big issue with the app not having the correct permissions leading to many problems.

                                thanks

                                1 Reply Last reply Reply Quote 1
                                • L
                                  LinuxArcadeGuy
                                  last edited by LinuxArcadeGuy 1 Jan 2018, 16:13 1 Jan 2018, 16:00

                                  this needs a pin to top for people to easily find install instructions, pin with demo video pls..

                                  git clone https://github.com/gazpan/WebtroPie
                                  cd WebtroPie
                                  sudo ./INSTALL.sh
                                  optionally
                                  sudo ./ENABLE_LAUNCH.sh

                                  please also note chmod must be performed on install.sh and enable_launch.sh

                                  redirect doesnt work, you have to replace index.html in var/www/html with the redirect file index.html

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    LinuxArcadeGuy
                                    last edited by 1 Jan 2018, 16:19

                                    also... new installation doesnt work... maybe work up exact installation instructions of how its supposed to be installed, since you have many manual steps versus an automated scripting process

                                    K 1 Reply Last reply 2 Jan 2018, 00:37 Reply Quote 0
                                    • K
                                      kixut @LinuxArcadeGuy
                                      last edited by 2 Jan 2018, 00:37

                                      @linuxarcadeguy hi, weirdly I didn't see this because I've been updating the Wiki

                                      Only those first 3 lines are needed now since the install now prompts for apache vs stand alone.

                                      Could you tell me how it is failing to work, how far it gets and what you can see.

                                      Maybe the wiki could answer the problem but I really like to make sure the install step is good as it can be.

                                      thanks

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jwcbronski
                                        last edited by 4 Jan 2018, 20:50

                                        @kixut I really like WebtroPie but unfortunately images and videos are not displayed on the details screen. My images and videos are in the

                                        /home/pi/.emulationstation/downloaded_images/

                                        folder. When I copy the video-url it looks like that:

                                        http://192.168.2.107/app/svr/home_.emulationstation/downloaded_images/amiga/Amiga Karate-video.mp4?1508266606

                                        Is there a way to fix that?

                                        K 1 Reply Last reply 5 Jan 2018, 19:18 Reply Quote 0
                                        • K
                                          kixut @jwcbronski
                                          last edited by 5 Jan 2018, 19:18

                                          @jwcbronski thanks... sorry about the bug, can you update and refresh you browser please?

                                          1 Reply Last reply Reply Quote 0
                                          • 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.

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