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)



RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - rflores2323 - 2012-03-21

(2012-03-21, 04:53)ZestyChicken Wrote: Does anyone have a problem where the thumbnails don't appear on the "recently added" modules? If I copy the url for the thumbails and open them in a separate window, it asks for my xbmc pswd and login. If I enter it, the thumbnail loads. Then if I go back and refresh the maraschino page, all the thumbnails load. I just don't know why my xbmc password and login aren't being passed from the server information in the first place.

I'm running marachino using cherrypy on a unRAID server.

Same problem here


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - N3MIS15 - 2012-03-21

(2012-03-21, 04:53)ZestyChicken Wrote: Does anyone have a problem where the thumbnails don't appear on the "recently added" modules? If I copy the url for the thumbails and open them in a separate window, it asks for my xbmc pswd and login. If I enter it, the thumbnail loads. Then if I go back and refresh the maraschino page, all the thumbnails load. I just don't know why my xbmc password and login aren't being passed from the server information in the first place.

I'm running marachino using cherrypy on a unRAID server.

Just a guess, but try checking your saved passwords for the browser. If there is a saved password for maraschino URL try removing it and refreshing the page


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - ZestyChicken - 2012-03-21

(2012-03-21, 05:49)N3MIS15 Wrote: Just a guess, but try checking your saved passwords for the browser. If there is a saved password for maraschino URL try removing it and refreshing the page

Sadly - not the issue.


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - mrkipling - 2012-03-21

(2012-03-21, 04:53)ZestyChicken Wrote: Does anyone have a problem where the thumbnails don't appear on the "recently added" modules? If I copy the url for the thumbails and open them in a separate window, it asks for my xbmc pswd and login. If I enter it, the thumbnail loads. Then if I go back and refresh the maraschino page, all the thumbnails load. I just don't know why my xbmc password and login aren't being passed from the server information in the first place.

I'm running marachino using cherrypy on a unRAID server.

This is one of my number one annoyances with Maraschino at the moment. I implemented a hack to get around this problem (put username/password in the URL if using basic authentication) but it is inconsistent at best.

The next thing that I'm working on is support for multiple XBMC installations, but I think that I'm going to tackle this afterwards (or at least attempt to) as it would make the Maraschino experience a lot nicer.

EDIT: to clarify the issue: the images are being linked directly from your XBMC server (i.e. not on the same web server as Maraschino). If you add AUTH to your settings.py file to put Maraschino behind basic HTTP authentication (which must be noted, should not be relied upon for security, as basic HTTP auth isn't great) then the username and password for your XBMC installation will be added to the image URLs. Sometimes the images display properly, sometimes they don't, it seems to vary from browser to browser with me. A better solution would be to cache the images and serve them using Maraschino's web server.

TL;DR: it's kinda broken, but I'm going to try to fix it.


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - ZestyChicken - 2012-03-21

(2012-03-21, 11:22)mrkipling Wrote: TL;DR: it's kinda broken, but I'm going to try to fix it.

Glad to hear it! On the odd side, I don't remember this being a problem in the past. This seems like a relatively new issue. I think...


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - _Mikie_ - 2012-03-22

The auto updater I have been working on is about 80% done.

Must I make it custom for each branch (branch and repo are variables) or can I hard code the values in?
Do you want it to check for updates every x hours or must the user manually check?
Must the x hours above be custom or hard coded, if hard coded how long?

Should the current install be backed up before the newer version is written over it?

Will keep everyone updated.
Cheers


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - Headcase_Fargon - 2012-03-22

What device is everyone currently using Maraschino on? Desktop/laptop browsers or mobile devices like phones and tablets?


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - oneadvent - 2012-03-22

nvrmnd, fixed it, for others:

Code:
from Maraschino import app as application

Still have css issues though.


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - oneadvent - 2012-03-22

Sorry I am getting this now:

Code:
oneadvent@oneadvent-desktop:/opt/maraschino$ (git::all_mergedtail /var/log/apache2/error.log
[Thu Mar 22 13:26:16 2012] [error] [client 192.168.1.191] File does not exist: /opt/maraschino/images, referer: http://192.168.1.191/
[Thu Mar 22 13:26:16 2012] [error] [client 192.168.1.191] File does not exist: /opt/maraschino/images, referer: http://192.168.1.191/
[Thu Mar 22 13:26:16 2012] [error] [client 192.168.1.191] File does not exist: /opt/maraschino/images, referer: http://192.168.1.191/
[Thu Mar 22 13:26:16 2012] [error] [client 192.168.1.191] File does not exist: /opt/maraschino/images, referer: http://192.168.1.191/
[Thu Mar 22 13:26:16 2012] [error] [client 192.168.1.191] File does not exist: /opt/maraschino/images, referer: http://192.168.1.191/
[Thu Mar 22 13:26:16 2012] [error] [client 192.168.1.191] File does not exist: /opt/maraschino/images, referer: http://192.168.1.191/
[Thu Mar 22 13:26:16 2012] [error] [client 192.168.1.191] File does not exist: /opt/maraschino/images, referer: http://192.168.1.191/
[Thu Mar 22 13:26:16 2012] [error] [client 192.168.1.191] File does not exist: /opt/maraschino/images, referer: http://192.168.1.191/
[Thu Mar 22 13:26:16 2012] [error] [client 192.168.1.191] File does not exist: /opt/maraschino/images, referer: http://192.168.1.191/
[Thu Mar 22 13:26:16 2012] [error] [client 192.168.1.191] File does not exist: /opt/maraschino/images, referer: http://192.168.1.191/

Important files:
Code:
oneadvent@oneadvent-desktop:/opt/maraschino$ (git::all_merged) cat maraschino.wsgi
import sys
sys.path.insert(0, "/opt/maraschino")
from Maraschino import app as application
oneadvent@oneadvent-desktop:/opt/maraschino$ (git::all_merged) cat /etc/apache2/sites-available/default
<VirtualHost *>
    WSGIDaemonProcess maraschino user=oneadvent group=oneadvent threads=5
    WSGIScriptAlias / /opt/maraschino/maraschino.wsgi

    <Directory /opt/maraschino>
        WSGIProcessGroup maraschino
        WSGIApplicationGroup %{GLOBAL}
        Order deny,allow
        Allow from all
    </Directory>
</VirtualHost>

and ofc maraschino is installed at /opt/maraschino.

Any insight would be great



RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - mrkipling - 2012-03-22

Just merged in a few pull requests:

* you can now view artist info in the music library for artists that have info available (N3MIS15)
* movie posters are no longer cut off in the recently added movies module (midgetspy)
* the disk space module now displays nicer unit information, such as TB (midgetspy)


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - Livin - 2012-03-22

again fishing to see if there is interest in getting this working on Synology NASes?


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - oneadvent - 2012-03-22

Sorry not to be a bother but I think I got the above fixed only to get:

Code:
oneadvent@oneadvent-desktop:/opt/maraschino$ (git::all_merged) tail /var/log/apache2/error.log
[Thu Mar 22 14:31:22 2012] [warn] proxy: No protocol handler was valid for the URL /xhr/currently_playing. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Thu Mar 22 14:31:27 2012] [warn] proxy: No protocol handler was valid for the URL /xhr/currently_playing. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Thu Mar 22 14:31:32 2012] [warn] proxy: No protocol handler was valid for the URL /xhr/transmission/. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Thu Mar 22 14:31:32 2012] [warn] proxy: No protocol handler was valid for the URL /xhr/sabnzbd/. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Thu Mar 22 14:31:32 2012] [warn] proxy: No protocol handler was valid for the URL /xhr/currently_playing. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Thu Mar 22 14:31:37 2012] [warn] proxy: No protocol handler was valid for the URL /xhr/currently_playing. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Thu Mar 22 14:31:42 2012] [warn] proxy: No protocol handler was valid for the URL /xhr/sabnzbd/. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Thu Mar 22 14:31:42 2012] [warn] proxy: No protocol handler was valid for the URL /xhr/transmission/. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Thu Mar 22 14:31:42 2012] [warn] proxy: No protocol handler was valid for the URL /xhr/currently_playing. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Thu Mar 22 14:31:47 2012] [warn] proxy: No protocol handler was valid for the URL /xhr/currently_playing. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

I think it is something with this:
Code:
Include sites-enabled/
Alias /static/ "/opt/maraschino/static/"
ProxyPass /maraschino http://localhost:7000/
ProxyPassReverse /maraschino http://localhost:7000/
ProxyPass /xhr http://localhost:7000/xhr
ProxyPassReverse /xhr http://localhost:7000/xhr



RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - ClayM - 2012-03-23

Just got this up and running and am loving it.

A couple questions -

It doesn't seem to work against my old xbmc install (very definitely pre-eden) but does run against my bleeding edge Eden install. I'm confused Smile What I did notice is that it would try to load screenshots from the episode in the "latest episodes" list but it couldn't load them because it required a username/password. Images for the latest Movie list worked fine however.

Also, is there any way to make the sickbeard "upcoming" list bigger than it currently is? It only shows about 2.5 entries.

This looks great though.

Thanks!


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - mrkipling - 2012-03-23

(2012-03-23, 04:27)ClayM Wrote: It doesn't seem to work against my old xbmc install (very definitely pre-eden) but does run against my bleeding edge Eden install. I'm confused Smile

Maraschino should be working with Eden-pre, although we've been developing it alongside the latest Eden releases, so I guess Eden-pre might not work anymore. Perhaps I should update the docs to say Eden beta / RC, or something.

(2012-03-23, 04:27)ClayM Wrote: What I did notice is that it would try to load screenshots from the episode in the "latest episodes" list but it couldn't load them because it required a username/password. Images for the latest Movie list worked fine however.

We're working on a fix for this as we speak. Should be merging it into the master in the next couple of days after a little more testing.

(2012-03-23, 04:27)ClayM Wrote: Also, is there any way to make the sickbeard "upcoming" list bigger than it currently is? It only shows about 2.5 entries.

Not currently, I'm afraid.

(2012-03-23, 04:27)ClayM Wrote: This looks great though.

Thanks! Smile


RE: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - ICDeadPpl - 2012-03-23

(2012-03-22, 20:58)Livin Wrote: again fishing to see if there is interest in getting this working on Synology NASes?

I'd love that! Big Grin