WebtroPie
-
@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.
-
- 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?
-
@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!
-
@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.
-
Yes thanks it works fine for me too :)
-
also.... launch isnt working for me... not that its real handy, just wanted to see it work... :)
-
@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
-
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.shplease 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
-
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
-
@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
-
@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:
Is there a way to fix that?
-
@jwcbronski thanks... sorry about the bug, can you update and refresh you browser please?
-
@kixut Thanks a lot. Now it works.
Another question: Is it possible to automatically add an -image or -video suffix to the filenames when uploading media in WebtroPie? -
Since i'm planning on reinstalling my Pi (again) when i get a bigger USB stick, i just installed a bunch of extras to try out.
And i also took a look at this, even though I probably have not that much use for it.
There are some things I would like to see.- Have an Option to run the STANDALONE.sh from the RetroPie Menu within ES
- If that option was available, it should probably kill ES beforehand to avoid conflicts
- If ES was killed in that process, it should be possible to either restart ES or reboot the system from WebtroPie
-
@jwcbronski at the moment no but this would be simple to add, there's two options I think
- add a field in the upload config menu for 'suffix' which is appended to the upload filename
- have an upload format mask which could contain: prefix, suffix, and variables $(romName} or ${imageFilename}
- which has the advantage of giving the choice of whether to use the rom name as default or to keep the original filename and to have optional suffix and/or prefix
- but the disadvantage that it's more complicated and wouldn't make sense without the user reads about it.
I think maybe just a suffix field, what do you think ?
@EctoOne thanks for trying it out, yes, it probably needs a few more useful features all to come in time :).
- I was planning on looking at how to make this an installable ES package near to a version release so I'll look at how to do you request above about then
--
I'm sure I could write a dirty script to change the menu but I vaguely remember seeing a config file that is used to generate the menu so that when retropie is updated the menu change wouldn't get overwritten - but maybe this was for systems, I will research
-- - yes, for either way of running it I'm planning on adding the usual warning "ES is running - your changes may be overwritten" popup on first page load of the app and an optional "stop ES" button
--
The non stand alone (apache) install could be used by users who may need to stop ES or may just be looking and not editing and may wish to keep ES running while browsing.
--
But yes, if you choose to run standalone then then killing ES would avoid the issue but given that I have to add the above warnings anyway I'm wondering if it would always be the case that running standalone would always mean that the user wants ES to be stopped ? - yes, perhaps a current status + start / stop ES option in a new menu somewhere too.
Note: If you run standalone and have recently updated please re-run the install, (it needs a new index file to include a couple of new js scripts)
-
@kixut I always use the romname plus the suffix. So the easy suffix solution would work for me.
-
@jwcbronski said in WebtroPie WIP:
have an upload format mask which could contain: prefix, suffix, and variables $(romName} or ${imageFilename}
which has the advantage of giving the choice of whether to use the rom name as default or to keep the original filename and to have optional suffix and/or prefix
but the disadvantage that it's more complicated and wouldn't make sense without the user reads about it.It is the best way for me because i don't use prefix / suffix, using different directories is really better to work.
So many games and media you have ... better directory is !
But if we want to have a flexible use of this feature, maybe for some ES future update and feature ... i prefer this one.I was planning on looking at how to make this an installable ES package
I think the best way to install your Webtropie is to use Retropie-Setup. And it let also update ressource.
Or you can begin with the Retropie-Extra where i add some games myself ;)planning on adding the usual warning "ES is running - your changes may be overwritten"
It is the best way for me because many time i only browse the MEDIA and change nothing, it's juste because it is easier and faster to do it on my computer.
If i make some change, i uncheck save on exit ES option and restart it.
WARNING message is fine. Adding a restart button for ES without saving gamelist.xml from computer will help too :)
But killing ES is not a good solution for me :(yes, perhaps a current status + start / stop ES option in a new menu somewhere too.
Yes that's it, adding a new ES-MENU on the BOTTOM-HELP-MENU to RESTART / STOP / LAUNCH (without saving change).
-
Today RELEASE of the first stable version of Webtropie v0.9 :D
Le grand départ : https://github.com/gazpan/WebtroPie/releases/tag/0.9.0
Include all basic core functionality ... you can now use it perfectly.
The v1.0 will come with some more little updates.
And later other versions will come with major update like adding a Scraper.
For all questions the WIKI is now very helpful : https://github.com/gazpan/WebtroPie/wikiHow to install and add it to Retropie : https://github.com/gazpan/WebtroPie/wiki/Installation-and-Files-altered
The auto-install with Retropie-setup or Retropie-Extra will come with version 1.0WHAT IS IT ?
- Auto detect if ES is running on your PI, and his configuration to close it if it can erase your work.
- Auto detect all your systems
- List your games
- Edit all your games metadata
- Upload Media (Image, Marquee, Video) with file explorer or Drag'n drop. You must configure your 3 path.
- Auto resize your uploaded images (you can configure the two size)
- Possible to Zoom the 3 MEDIA (to verify quality)
- Scan your new games ROM (NEW:)
- Show games in gamelist but without ROM (MISSING)
- Scan if you have MEDIA with same ROM name to link them
- Permit to delete games on gamelist and (or not) the ROM on hard drive
- Permit to try your Skins faster than on PI, and help to make one by seeing what you do near real time.
- Permit to filter games by METADATA and file MODIFIED date.
- Permit to a friend to (restricted) access your Webtropie from web and help you to complete games informations.
- And more ...
- And many more in a few time ;)
SEARCH FOR :
I have translate all Webtropie in French and it is really excellent to use for me and my friends.
We search guys to translate it to Spanish, Deutsche, Italian, Portuguese, and other langage you know :)
I'm here to explain you how to do it, only one XML file to edit, and to explain you if you don't know how works an option. Important to translate it fine. -
V0.9.1 https://github.com/gazpan/WebtroPie/releases/tag/0.9.1
- New game save description fix
- Delete game without deleting rom fix
-
Thanks for the update. Do you still plan to include a suffix function for media upload?
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.