WebtroPie
-
@flightrisk thanks very much
I guess below is about as small as it can be but requires you to know what the latest release version is, I haven't tested it but I think it should work
wget -nc https://github.com/gazpan/WebtroPie/archive/0.9.1.tar.gz | tar xvz cd WebtroPie-0.9.1 sudo ./INSTALL.sh
@jwcbronski by the way, I have posted changes regarding the carousel but am unsure if it has resolved the issue above as I have not been able to reproduce the error or confirm the fix yet.
Edit. I agree though, I think I'll update the wiki https://github.com/gazpan/WebtroPie/wiki/Installation-and-Files-altered#install as above
-
@kixut The update didn't solve my problem. I noticed that all games are marked as "new:" when I use the "SCAN NEW GAMES AT START SETTING". So it looks like the roms are found but the gamelists are not read.
-
@jwcbronski , sorry, can you try again please?
thanks -
@kixut Now it's working again. Thanks.
-
@kixut I still got an issue: roms are only found when there is just the filename in the gamelists <path> tag. When there is a full path like "/home/pi/RetroPie/roms/c64/" the rom is not found and show as NEW:
-
Note: For stretch users, since PHP 5 is obsolete on stretch I've changed the INSTALL.sh to use PHP 7, ... this should be working now.
-
@kixut When I try to install WebtroPie on stretch under apache I get the following errors:
cp: cannot stat '/var/www/html/index.html': No such file or directory
cp: cannot create regular file '/var/www/html/index.html': No such file or directoryLooks like the apache server is not installed.
-
Just a quick question, is the fixed
<thumbnail>
tag supported? That's the one where you can specify an image that will appear before a video is played (if the theme has a set delay and the option active). If no thumbnail is specified it will use the normal<image>
. -
@kixut this is awesome. WebtroPie was only pointed out to me yesterday by mitu and I love it.
I am however having an issue. I am able to log on and see all the things I should see, but I am unable to save any changes. After making a change and clicking on the save button, it appears to be all good. When I then refresh the web page, all the changes have been reverted to the original.
I am also not able to add a picture. selecting it does nothing and drag and drop gives me a X icon as a picture. I tried manually closing ES on the Pi and then trying again, but I have the issue.Is it also possible to hide the missing roms from the list? The ones highlighted in red? I know they are missing and that's because I don't want them. It would be nice to be able to toggle this feature on and off. Thanks.
-
Hi,
I have installed WebtroPie following the steps which appear in the Wiki. The issue that I have is when I broswe from Chrome to http://192.168.1.XX/app/#!/ I only have a black screen. Any help?
I'm running RetroPie 4.4 and my roms are stored in an external USB. I have simbolic links from /retropie/roms to my external USB unit.
Thanks in advance for your help.
Regards
morenr1 -
Your wiki says the user will be run as "pi", but I'm running RetroPie via RetroSMC installation on OSMC so I have KODI with RetroPIe not RetroPie with KODI as a lot do
My user is OSMC, can the user be changed to support OSMC as the user instead of the default "pi"
I have no issues changing any scripts or PHP editing to change the default 'pi' user, just which one to change
Thanks
Looks a very very good web interface as there isn't anything that REALLY lets you edit what you want. Plenty of auto scrapers but they all have 'issues' in one way or another
-
Your wiki says the user will be run as "pi", but I'm running RetroPie via RetroSMC installation on OSMC so I have KODI with RetroPIe not RetroPie with KODI as a lot do
My user is OSMC, can the user be changed to support OSMC as the user instead of the default "pi"
I have no issues changing any scripts or PHP editing to change the default 'pi' user, just which one to change
Thanks
Looks a very very good web interface as there isn't anything that REALLY lets you edit what you want. Plenty of auto scrapers but they all have 'issues' in one way or another
Answered my own question after looking through the INSTALL.sh script. Simply changed the 'pi' to 'omsc' through the script and tried again. Worked almost straight away as I had a couple of things to install and NOT use root
Had to install PHP, which wasn't that difficult as I'm using the 'stretch' install of OSMC so just simply used :
sudo apt-get update
sudo apt-get install -t stretch php7.0then verified it had installed, as trying the command previously proved I didn't have PHP installed as it came back with an error
php -v
Then ran the interface via putty once I had started WebtroPie as a standalone web interface using the commands 'cd WebtroPie' then '.STANDALONE.sh', and called it for my PI using 192.168.0.3:1982 on my browser. Worked straight away and looks great
I found out why my images and videos has suddenly disappeared using the metaeditor on WebtroPie. For some reason the 'gamelist.xml' had been updated but wiped the paths that had correctly been created using ScreenScraper UXMS. Possibly as I had been trying to create the Daphne screenshots that were missing using sseelphscraper from within RetroPie. Not sure, but its all corrected now thanks to WebtroPie showing me exactly what had gone wrong
-
This post is deleted! -
Hi,
I have installed WebtroPie following the steps which appear in the Wiki. The issue that I have is when I broswe from Chrome to http://192.168.1.XX/app/#!/ I only have a black screen. Any help?
I'm running RetroPie 4.4 and my roms are stored in an external USB. I have simbolic links from /retropie/roms to my external USB unit.
Thanks in advance for your help.
Regards
morenr1Answered myseft and with the help of @steptoe I had to install PHP after run INSTALL.sh script.
sudo apt-get update
sudo apt-get install -t stretch php7.0and the system starts to work.
Amazing work!!
Regards
morenr1 -
Hi,
I just installed Webtropie on an up to date Retropie 4.4, chose not to use Apache, and got some error messages:
Install to Apache? [y/n]: n Reading package lists... Done Building dependency tree Reading state information... Done Package php5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package php5-gd is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php5' has no installation candidate E: Package 'php5-gd' has no installation candidate 2018-09-29 17:51:57 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular.min.js [169374] -> "angular.min.js" [1] 2018-09-29 17:51:58 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular.min.js.map [452339] -> "angular.min.js.map" [1] 2018-09-29 17:51:58 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular-route.min.js [5611] -> "angular-route.min.js" [1] 2018-09-29 17:51:59 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular-route.min.js.map [14451] -> "angular-route.min.js.map" [1] 2018-09-29 17:51:59 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular-animate.min.js [25733] -> "angular-animate.min.js" [1] 2018-09-29 17:51:59 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular-animate.min.js.map [70648] -> "angular-animate.min.js.map" [1] sed: can't read /etc/php5/apache2/php.ini: No such file or directory to run WebtroPie type :- ./STANDALONE.sh Ready
As expected, running
STANDALONE.sh
doesn't work:------------------------------------------------ WebtroPie serving by php from :1982 Cntrl-C to stop, ./STANDALONE.sh to restart ------------------------------------------------ ./STANDALONE.sh: line 15: php: command not found
Seem like
php5
doesn't exist in Debian Stretch anymore. What should I install instead?edit: Both of the packages
php
andphp7.0
would also install Apache2, which I would like to avoid for just testing Webtropie for the first time. -
@clyde
You need a php server(I think RetroPie gots already one?)So you can use nginx or lighttpd instead of apacheIMHO: You can force install php by manipulating apt caches.
-
@cyperghost I may have found a less forceful (haha) solution on the web.
Using
apt-cache depends
, you can look at the dependencies ofphp7.0
:$ apt-cache depends php7.0 php7.0 |Depends: libapache2-mod-php7.0 |Depends: php7.0-fpm Depends: php7.0-cgi Depends: php7.0-common
That means that
libapache2-mod-php7.0
will only be installed along withphp7.0
if none of the three packages below it aren't installed. So, installing it together withphp7.0-fpm
will avoid Apache. 😄$ sudo apt install php7.0-fpm php The following NEW packages will be installed: php php-common{a} php7.0{a} php7.0-cli{a} php7.0-common{a} php7.0-fpm php7.0-json{a} php7.0-opcache{a} php7.0-readline{a}
php
is a dependency package pointing to the default PHP version, so you could replace it withphp7.0
instead.Webtropie seems to run with PHP 7, I will begin to test it now.
-
@clyde Yes I did take the wrong track at first. AFAIK RetroPie gots a server running, therefore you just need the PHP packages. Usually you install Apache or NGINX or LIGHTTPD and then you install PHP alongside them.
But as I said, you can manipulate the apt-cache and force the installation. Or use dpkg commands, this also works. But be carefull with such things ... they can break things ;)
-
@cyperghost I'm happy with my way, it seems to be less intrusive by far. :)
That said, Webtropie doesn't seem to work. :( Connecting to http://ip.of.my.retropie:1982 only results in an empty black page, and Webtropie's console output contains this error:
/svr/config_ini.php?get=255 - Uncaught Error: Class 'SimpleXMLElement' not found in /home/pi/git/WebtroPie-0.9.1/app/svr/xml_util.php:132 Stack trace: #0 /home/pi/git/WebtroPie-0.9.1/app/svr/xml_util.php(195): simplexml_load_file_wrapped('../config/setti...', 'tag') #1 /home/pi/git/WebtroPie-0.9.1/app/svr/config.php(51): load_file_xml_as_array('../config/setti...', true) #2 /home/pi/git/WebtroPie-0.9.1/app/svr/config_ini.php(4): getConfig('255') #3 {main} thrown in /home/pi/git/WebtroPie-0.9.1/app/svr/xml_util.php on line 132
-
@clyde Argh... you may need a server for that. But I would avoid Apache, too.
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.