Kodi Community Forum
Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC (/showthread.php?tid=113136)



- dannycorker - 2012-01-17

Anyone have a suggestion for what to add to the unRAID Go script to make Maraschino run on its own at startup?


- N3MIS15 - 2012-01-17

dannycorker Wrote:Anyone have a suggestion for what to add to the unRAID Go script to make Maraschino run on its own at startup?

Sorry, i was meaning to give you this the first time you asked.. ive been away on holidays....

Code:
echo "python /mnt/disk1/maraschino/maraschino-cherrypy.py" | at now + 1 minute

that works for me, just change it to your setup. if you are installing sabdependencies in your go script then add it after that line.

This will start maraschino 1 minute after boot.


- mrkipling - 2012-01-17

DejaVu Wrote:Made some Keyboard icons that suit the look of Maraschino.
Put in a Pull request too. Wink

http://www.youtube.com/watch?v=_Zf80ZQDm9A

What do you think?

Looks great! Smile


- dannycorker - 2012-01-17

N3MIS15 Wrote:Sorry, i was meaning to give you this the first time you asked.. ive been away on holidays....

Code:
echo "python /mnt/disk1/maraschino/maraschino-cherrypy.py" | at now + 1 minute

that works for me, just change it to your setup. if you are installing sabdependencies in your go script then add it after that line.

This will start maraschino 1 minute after boot.

I have SAB installed through unMENU, should I be adding some dependencies in the Go script as well? I thought they were all auto reinstalled at reboot!

And thank you for the line to put in the script Smile


- N3MIS15 - 2012-01-17

dannycorker Wrote:I have SAB installed through unMENU, should I be adding some dependencies in the Go script as well? I thought they were all auto reinstalled at reboot!

And thank you for the line to put in the script Smile

Nah, they only need to be installed once. Doesn't matter how you install them.


- matbor - 2012-01-18

guy_smiley:) Wrote:This is because Maraschino doesn't have a web_root or similar like SickBeard, SABnzbD, CouchPotato etc. As far as I'm aware, you will need a re-write rule like the one I have for XBMC in my httpd.conf.

[HTML]ProxyPass /maraschino http://localhost:7000/
ProxyHTMLURLMap http://localhost:7000/ /maraschino
<Location /maraschino>
ProxyPassReverse http://localhost:7000/
SetOutputFilter proxy-html
ProxyHTMLURLMap / /maraschino/
ProxyHTMLURLMap /maraschino/ /maraschino/
</Location>[/HTML]

Hi all, have been trying to setup up the reverse proxy on my apache and I have tired the example above but I don't get any of the background images etc loading, missing something!

Also the apache log mentions this,
Code:
File does not exist: /var/www/maraschinostatic

Clearly I have missed a step somewhere!

Anyone got a similar setup and can point me in the right direction.

Thx
Matt.


- flipped cracker - 2012-01-18

Slight issue with SABnzbd+ reporting. If the first item in the queue is paused, but something else is being downloaded, it shows that paused item as the "currently downloading". Any way to have it show what is actually being downloaded?


- guy_smiley:) - 2012-01-18

matbor Wrote:Hi all, have been trying to setup up the reverse proxy on my apache and I have tired the example above but I don't get any of the background images etc loading, missing something!

Also the apache log mentions this,
Code:
File does not exist: /var/www/maraschinostatic

Clearly I have missed a step somewhere!

Anyone got a similar setup and can point me in the right direction.

Thx
Matt.

It would help with a bit of background information. OS? Are you running via cherrypy or Apache?


- matbor - 2012-01-18

guy_smiley:) Wrote:It would help with a bit of background information. OS? Are you running via cherrypy or Apache?

Sorry, currently testing it on Ubuntu server 11 via Cherrypy, along with the usual suspects, Sab/Sickbeard/Couch which are all setup and can be accessed fine via apache2 reverseproxies.

Just playing atm with the above setup as I'm not as good on Linux yet as I am with windows NoRofl


- gugahoi - 2012-01-18

flipped cracker Wrote:Slight issue with SABnzbd+ reporting. If the first item in the queue is paused, but something else is being downloaded, it shows that paused item as the "currently downloading". Any way to have it show what is actually being downloaded?

matbor Wrote:Sorry, currently testing it on Ubuntu server 11 via Cherrypy, along with the usual suspects, Sab/Sickbeard/Couch which are all setup and can be accessed fine via apache2 reverseproxies.

Just playing atm with the above setup as I'm not as good on Linux yet as I am with windows NoRofl

Seem like there is a '/' missing. The path should be /var/www/maraschino/static so might be worth trying:

Code:
ProxyHTMLURLMap http://localhost:7000/ /maraschino[b]/[/b]

Just an idea as I am not running reverse proxies at all...


- matbor - 2012-01-18

gugahoi Wrote:Seem like there is a '/' missing. The path should be /var/www/maraschino/static so might be worth trying:

Code:
ProxyHTMLURLMap http://localhost:7000/ /maraschino[b]/[/b]

Just an idea as I am not running reverse proxies at all...

Thx, think I tired that one while back Huh, keep getting all these error's in the apache log,

Code:
[Wed Jan 18 14:38:58 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:02 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:02 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed



- gugahoi - 2012-01-18

matbor Wrote:Thx, think I tired that one while back Huh, keep getting all these error's in the apache log,

Code:
[Wed Jan 18 14:38:58 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:02 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:02 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/xhr, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed Jan 18 14:39:03 2012] [error] [client 10.1.1.61] File does not exist: /var/www/static, referer: http://200.200.200.202/maraschino/
[Wed

I see, it seems to be skipping the maraschino directory now. All those references should be from the maraschino folder. Are you trying to mount on the root of the server ('/') or on the maraschino subdir ('/maraschino')? I assume it's the second...

Any chance you could post your other reverse proxy rules so that I could possibly compare?


- matbor - 2012-01-18

gugahoi Wrote:I see, it seems to be skipping the maraschino directory now. All those references should be from the maraschino folder. Are you trying to mount on the root of the server ('/') or on the maraschino subdir ('/maraschino')? I assume it's the second...

Any chance you could post your other reverse proxy rules so that I could possibly compare?

Have just copied and pasted the rules from this post; http://forum.xbmc.org/showpost.php?p=966926&postcount=748

but here is my apache2/sites-available/default file;

http://pastebin.com/VZCBRH0t

Matt.


- guy_smiley:) - 2012-01-19

matbor Wrote:Have just copied and pasted the rules from this post; http://forum.xbmc.org/showpost.php?p=966926&postcount=748

but here is my apache2/sites-available/default file;

http://pastebin.com/VZCBRH0t

Matt.

Do the same as this:
Code:
#Maraschino access at http://x.x.x.x:7000
Redirect /maraschino /maraschino/
Redirect / /maraschino/
ProxyPass /maraschino/ http://localhost:7000/maraschino/
ProxyPassReverse /maraschino/ http://maraschino:7000/maraschino/

Otherwise, double check that maraschino is running on port 7000 in your setup.py (can't remember if this is the correct file)


- matbor - 2012-01-19

guy_smiley:) Wrote:Do the same as this:
Code:
#Maraschino access at http://x.x.x.x:7000
Redirect /maraschino /maraschino/
Redirect / /maraschino/
ProxyPass /maraschino/ http://localhost:7000/maraschino/
ProxyPassReverse /maraschino/ http://maraschino:7000/maraschino/

Otherwise, double check that maraschino is running on port 7000 in your setup.py (can't remember if this is the correct file)

Nope that didn't work, but I had another play around and this does work.... Thx for the help...

Code:
#Maraschino access at http://x.x.x.x:7000
        Redirect /maraschino /maraschino/
        Redirect / /maraschino/
        ProxyPass /maraschino/ http://localhost:7000/
        ProxyPassReverse /maraschino/ http://localhost:7000/