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

YARMan Web (BETA)

Scheduled Pinned Locked Moved Ideas and Development
metadataeditorweb
84 Posts 15 Posters 33.8k 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
    daeks @Arcuza
    last edited by daeks 23 Feb 2017, 06:41

    @Arcuza yes, I want to copy all the functions which are currently available on the retropie/recalbox manager.
    Currently my planned feature list includes

    • System Monitoring Dashboard (mostly done already)
    • Browse and start/stop games from web frontend (design like the attract mode)
    • Rom Management (Uploading, etc.)
    • Rom Relations (find duplicates, find related games)
    • Bios Management (Uploading etc.)
    • Savegame Management
    • Scraping (currently thinking on gamesdb, screenscraper.fr and google)
    • Metadata Editor (done except automatic cleanup of gamelist/media objects)
    • (Support of no-intro DAT files)
    • Configuration Editor
    • Log Viewer (maybe also some kind of "fetch all support infos for retropie forum" automatically)
    • Raspberry / ES Management (Restart ES and reboot PI)
    • (ES Theme Support)
    • (Loading Image / Splashscreen Management)
    • Administration Panel for WebGUI (for example for adding new gamelist metadata fields manually or changing paths, etc.)
    • (Technical point: move from xml to SQLite for the webfrontend cause of performance)

    Points in brackets are more or less some "internal" points which I have in mind but not sure if I can implement how I want to have them. Anyhow, as I am currently developing alone it might take some time for all points to implement :)

    I organised all the open points on github: https://github.com/daeks/RetroPie-WebGui/projects/
    Contributions are welcome :)

    1 Reply Last reply Reply Quote 2
    • J
      Jeck11
      last edited by 23 Feb 2017, 11:26

      Omg - it would be awesone to have a "create support logs" option which also includes tge required details from the sticky.

      Great work!

      1 Reply Last reply Reply Quote 0
      • J
        J.Beau @daeks
        last edited by 23 Feb 2017, 12:23

        @daeks said in RetroPie WebGUI + Metadata Editor (BETA):

        @J.Beau said in RetroPie WebGUI + Metadata Editor (BETA):

        @daeks Tried it, but didn't work (in Safari). Am I missing something?

        I checked the bash script and it looks like that there was a small mistake inside the sed commands. Think you need to fix it manually with sudo nano /etc/apache2/envvars and change

        export APACHE_RUN_USER=$user
        export APACHE_RUN_USER_GROUP=$user

        to your userid used (default: pi). After that restart apache with sudo service apache2 restart. I already fixed that on the github version of the script.

        That worked, kinda. It shows me the Apache2 Debian Default Page. We're getting closer :)

        D 1 Reply Last reply 23 Feb 2017, 13:32 Reply Quote 0
        • P
          pjft
          last edited by 23 Feb 2017, 13:21

          Wow, this looks awesome! I do have the question, though, which is whether having Apache running in the background takes a meaningful toll on the Pi's performance and memory or not.

          But I'm keeping an eye on this. Using Sublime so far:p

          D 1 Reply Last reply 23 Feb 2017, 13:39 Reply Quote 0
          • D
            daeks @J.Beau
            last edited by 23 Feb 2017, 13:32

            @J.Beau great :) how does the content of /var/www/html/ look like? maybe you should rerun the script after update. The content from the repro should be locatated at /var/www/html/(assuming you are using a PI3)

            J 1 Reply Last reply 23 Feb 2017, 14:52 Reply Quote 0
            • D
              daeks @pjft
              last edited by daeks 23 Feb 2017, 13:39

              @pjft said in RetroPie WebGUI + Metadata Editor (BETA):

              Wow, this looks awesome! I do have the question, though, which is whether having Apache running in the background takes a meaningful toll on the Pi's performance and memory or not.

              @BuZz already suggested to switch to the php integrated webserver, but I am no bash guru :). Starting the process in the background, pushing output somewhere, etc...

              as far as I figured out it could be started with

              php -S "$(hostname -I):8001" -t "/var/www/html" > /dev/null 2>&1 &

              1 Reply Last reply Reply Quote 1
              • J
                J.Beau @daeks
                last edited by 23 Feb 2017, 14:52

                @daeks said in RetroPie WebGUI + Metadata Editor (BETA):

                @J.Beau great :) how does the content of /var/www/html/ look like? maybe you should rerun the script after update. The content from the repro should be locatated at /var/www/html/(assuming you are using a PI3)

                After some tinkering, I removed everything and followed the instructions again. It's working great in Safari now :) Thanks!

                1 Reply Last reply Reply Quote 0
                • D
                  daeks @BuZz
                  last edited by daeks 23 Feb 2017, 16:12

                  @BuZz said in RetroPie WebGUI + Metadata Editor (BETA):

                  How about just using something like the built in php webserver? - primarily for development and shouldn't be used for any public site - but it should be enough for this, and you can avoid messing around with installing a full webserver etc. eg

                  What do you think on that approach? https://github.com/daeks/RetroPie-WebGui/blob/master/scriptmodules/supplementary/webgui_default.sh

                  B 1 Reply Last reply 23 Feb 2017, 16:22 Reply Quote 0
                  • B
                    BuZz administrators @daeks
                    last edited by BuZz 23 Feb 2017, 16:22

                    @daeks the install function seems to be copying from md_inst to md_build (the wrong direction ?).

                    I would checkout directly to "$md_inst" - in fact you can just have a single install_bin_webgui function which does the git clone - keeps it simple.

                    it will need a remove function that removes it from /etc/rc.local - there are some bash things that I would change too, but looks much better and simpler without the apache stuff.

                    Cheers.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    D 1 Reply Last reply 23 Feb 2017, 17:45 Reply Quote 0
                    • D
                      daeks @BuZz
                      last edited by 23 Feb 2017, 17:45

                      @BuZz Have changed it again. Hopefully everything is now fine :)

                      B 1 Reply Last reply 23 Feb 2017, 17:49 Reply Quote 0
                      • B
                        BuZz administrators @daeks
                        last edited by BuZz 23 Feb 2017, 17:49

                        @daeks almost :) - the configure and remove need a few changes - if you submit it as a PR once you are ready I will advise - easier then as I can reference code lines.

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 0
                        • D
                          daeks
                          last edited by 25 Feb 2017, 07:51

                          Just as a note here: I have rebranded the whole app with a more individual untaken name to avoid naming conflicts with other "web guis".

                          The name will be "YARMan Web (Yet Another RetroPie Manager)"

                          P 1 Reply Last reply 25 Feb 2017, 08:04 Reply Quote 1
                          • P
                            pjft @daeks
                            last edited by 25 Feb 2017, 08:04

                            @daeks I love it. :)

                            1 Reply Last reply Reply Quote 0
                            • H
                              herb_fargus administrators
                              last edited by 25 Feb 2017, 08:06

                              Looks brilliant. I'll have to find time test the latest changes though I'll defer to Jools for the setup script integration.

                              If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                              Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                              D 1 Reply Last reply 25 Feb 2017, 08:12 Reply Quote 0
                              • D
                                daeks @herb_fargus
                                last edited by daeks 25 Feb 2017, 08:12

                                @herb_fargus said in Rebranded: YARMan Web (former RetroPie WebGUI) + Metadata Editor (BETA):

                                Looks brilliant. I'll have to find time test the latest changes though I'll defer to Jools for the setup script integration.

                                Great :) - As a side note: Currently on each save in the metadata module, a backup copy will be done for the gamelist.

                                General Questions:

                                • What would be the location for videos / marquees? For the time being I am uploading everything to the emulationstation/downloaded_images location.

                                • Whats the purpose of the thumbnail tag in the gamelist?

                                H 1 Reply Last reply 25 Feb 2017, 08:25 Reply Quote 0
                                • H
                                  herb_fargus administrators @daeks
                                  last edited by herb_fargus 25 Feb 2017, 08:25

                                  @daeks

                                  1. Seems like some people put them in diff folders /videos and /marquees but I think people use screenscraper to generate the gamelists on a PC, I'm not sure if we have defined a standard for retropie

                                  If you note the scraper module they can be put in the default location or in the ROM folder (which I'm more partial to as it means I only have to scrape once and they are in my backups with the ROMs) so it may be worth considering a setting for which folders/paths it saves?

                                  1. I don't know I thought it was to scrape a lower res image faster for the pi as it doesn't have the specs of a PC and full res images can slow it down?

                                  If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                  Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                                  P 1 Reply Last reply 25 Feb 2017, 08:55 Reply Quote 0
                                  • P
                                    pjft @herb_fargus
                                    last edited by 25 Feb 2017, 08:55

                                    I'll second that.

                                    I certainly have the videos and marquees in a completely separate folder, for organization's sake. Also, as I load things from a USB, I don't want to store them in the SD card - which is the where the default scraper folder stores things.

                                    I know it's yet another small thing, but I would not object to having the user set the folders in a preferences tab. My structure currently is:

                                    /home/pi/RetroPie/roms/%SYSTEM_NAME%
                                    /home/pi/RetroPie/videos/%SYSTEM_NAME%
                                    /home/pi/RetroPie/marquees/%SYSTEM_NAME%
                                    /home/pi/RetroPie/roms/%SYSTEM_NAME%/images (as this was how it was by default, and I'm too lazy to redo all the gamelists by hand).

                                    I suppose I left the images folder insider the systems, but this way it's easier to manage. If I want, at any point in time, to have a lighter setup I can just ignore the videos folder, for instance.

                                    D 2 Replies Last reply 25 Feb 2017, 09:06 Reply Quote 0
                                    • D
                                      daeks @pjft
                                      last edited by daeks 25 Feb 2017, 09:06

                                      @pjft As I am not fixed on that as well, I will revert the path to be a common config parameter. I will move that to the fields definition itself on the next change with default pointing to emulationstation/downloaded_images.

                                      Then its up to the installation later on which path will be used for uploading new media objects (common name I used for that).
                                      Currently it is "static" in the defaults/config.json for all media objects (later on for each field with type "upload" in defaults/fields.json).

                                      1 Reply Last reply Reply Quote 1
                                      • D
                                        daeks @pjft
                                        last edited by 25 Feb 2017, 09:43

                                        @pjft That would be my proposal for it: PR #21 Commit Diff

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          daeks
                                          last edited by 25 Feb 2017, 09:49

                                          Anyhow, as the project progresses, I have applied some "standards" to it. The master branch is now protected and changes can only be applied by pull request if they are reviewed and checked against a modified version of the PSR2 coding standard.

                                          Beside contributors, I think it would be nice to have some persons in place for testing changes and reviewing pull requests beside me before merging them.

                                          1 Reply Last reply Reply Quote 0
                                          39 out of 84
                                          • First post
                                            39/84
                                            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