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

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



- guy_smiley:) - 2012-02-01 00:56

hotlobster Wrote:Hi,

I saw this was already reported a while ago, but didn't found a solution for this issue.

I'm trying to achieve this with Maraschino without success. Apache reverse proxy doesn't work because maraschino always wants to be on web root / .

It doesn't need to work on a webroot. A couple of people have managed to set it up using rewrite rules. It's not too far back, search for my posts in this thread and it should be around there.


- dannycorker - 2012-02-01 01:31

stourwalk Wrote:If there isn't a settings.py Maraschino will just exit, but if it does it slowly the script will find it running when it checks and create the pid file - hence it gets confused.

Enabling / Disabling the module should force it to write the settings file which should go into the Installation Directory (which is where it should have put Maraschino in the first place)

Try disabling the module, then re-enabling it (which will also start it) to see if that helps? What are the permissions on the installation folder set to.

This is the first time I've written a plugin file, so I'm learning as I go along Smile

I created a settings.py and all was fine....until I rebooted. Now the same has happened again, no settings.py created :/

It seems that when I first boot the server, there is no settings.py. If I stop Maraschino and then start it again however, the file is usually created.


- Lunatixz - 2012-02-01 03:55

Can't get the latest git version to connect to xbmc eden beta 2; any known issues?


- DejaVu - 2012-02-01 08:40

TeKo Wrote:Imo it would look way better if there was a little space between the scrollbar and the library entries.
Agreed, will have a play and see if it can be sorted.

N3MIS15 Wrote:Damn. still no love for firefox Sad
Always one! FF is a PiTA at the moment. Would love to get some JQuery scrollers on the go, but would then mean all modules would need changing manually to support it.


castortray Wrote:one quick question,
something was changed with Disk Space module ?
after update to 923de4c build I cannot add my network drives/paths which are mapped on windows system, only local drive is working properly Sad
but before upgrade everything was ok
Lunatixz Wrote:Can't get the latest git version to connect to xbmc eden beta 2; any known issues?
I hope not relying on your old database file to work. Still some issues with upgrading and merging databases.

Try renewing it if you havent already. I do it religiously for this reason.
PiTA, but it's the nature of the beast at the moment. MrK has already raised this as an issue and it's being looked into. Hence why some of the features are not being merged yet.


- stourwalk - 2012-02-01 11:43

dannycorker Wrote:I created a settings.py and all was fine....until I rebooted. Now the same has happened again, no settings.py created :/

It seems that when I first boot the server, there is no settings.py. If I stop Maraschino and then start it again however, the file is usually created.

Where are you installing the app too?

I've always installed to my cache drive, which is naturally persistent, so if you're installing somewhere non-persistent that might explain the issues and give me somewhere to look to resolve the problem.


- hotlobster - 2012-02-01 15:52

guy_smiley:) Wrote:It doesn't need to work on a webroot. A couple of people have managed to set it up using rewrite rules. It's not too far back, search for my posts in this thread and it should be around there.

Hi

Thanks for the tips, but this is not a proper way to do as it won't work for all case:
Quote: #Maraschino access at http://x.x.x.x:7000
Redirect /maraschino /maraschino/
Redirect / /maraschino/
ProxyPass /maraschino/ http://localhost:7000/
ProxyPassReverse /maraschino/ http://localhost:7000/

For example mine Smile

I already have another site hosted on / , so I can't redirect all / calls to /maraschino or it will break up other important stuff.

I have more than 25 sites on my webserver, so I really need to host each services in a separated folder.

By the way, I've tricked it for now by using another subdomains for maraschino and it works.


- stourwalk - 2012-02-01 16:12

Hi,

Don't know whether it goes against your style, but could I suggest that the 'coming_ep' class in the SickBeard module gets a default height - currently if it fails to get the banner for a show the default size is huge (on Chrome at least), whereas ideally it should be the 81px that the others default to (or even better just the height on the icons / title!).

Easiest way would be to fix a height onto the <img> tag really Smile

Same is true for the recent movies/tv shows.

Other thoughts - how about allowing some modules to have multiple size options (or even % height) so that they aren't fixed but could fill the screen - obviously that depends on your choice of layout but it would be nice to see more than 3 and third shows in Sickbeard or more than 7 shows/movies in the Media Library..


- hotlobster - 2012-02-01 17:24

Testing deeply marashino now. This kicks asses. Smile

I have some comments about sickbeard plugin.
Content is well serverd by maraschino ( process is maraschino grab info from sickbird and serve them. )
But pictures from sickbeard are not proxyfied by maraschino like the text content, but are served directly from sickbeard http. ( you can see it if you check url from the picture, it's sickbird url not maraschino one ).

So as sickbeard is protected by a password, each time maraschino want to display a sickbird picture, it ask a pasword too.
This is not a problem if you have the same password for sickbeard and maraschino, because then your browser sends directly the current used password, but if your sickbeard pass is different , then it ask the pass at each display try ( so for 5 pictures, 5 password window ).

Other problem of this process, this forces you to have your sickbeard accessible from outside or it won't display pictures too.

There was the same problm in Mediafrontpage, perhaps there's some common code.

But would it be possible to have Maraschino grab the pictures on it's side and then serve them from it's own port/virtualhost ?

ps: for the moment i've tricked it by adding sickbird user password in Maraschino hostname paramter: ( user: pass@sickbeardurl ), but that's not really secure, as your password is displayed by your browser when rolling over the picture.


- mrkipling - 2012-02-01 18:09

hotlobster Wrote:Testing deeply marashino now. This kicks asses. Smile

I have some comments about sickbeard plugin.
Content is well serverd by maraschino ( process is maraschino grab info from sickbird and serve them. )
But pictures from sickbeard are not proxyfied by maraschino like the text content, but are served directly from sickbeard http. ( you can see it if you check url from the picture, it's sickbird url not maraschino one ).

So as sickbeard is protected by a password, each time maraschino want to display a sickbird picture, it ask a pasword too.
This is not a problem if you have the same password for sickbeard and maraschino, because then your browser sends directly the current used password, but if your sickbeard pass is different , then it ask the pass at each display try ( so for 5 pictures, 5 password window ).

Other problem of this process, this forces you to have your sickbeard accessible from outside or it won't display pictures too.

There was the same problm in Mediafrontpage, perhaps there's some common code.

But would it be possible to have Maraschino grab the pictures on it's side and then serve them from it's own port/virtualhost ?

ps: for the moment i've tricked it by adding sickbird user password in Maraschino hostname paramter: ( user: pass@sickbeardurl ), but that's not really secure, as your password is displayed by your browser when rolling over the picture.

If you set AUTH in your settings.py file (there's an example already in there, commented out) then Maraschino will add your Sickbeard username and password to the image URL for you. I agree that doing so isn't secure, which is why you have to have AUTH defined (which hides Maraschino behind basic HTTP basic authentication).

HTTP basic auth isn't exactly secure either, but for something like this (a frontend to your HTPC) it's probably good enough.


- Lunatixz - 2012-02-01 21:59

DejaVu Wrote:I hope not relying on your old database file to work. Still some issues with upgrading and merging databases.

I noticed my xbmc settings aren't saving in maraschino's server settings... I'm Using git version is there anyway to manual configure file?


- DejaVu - 2012-02-01 22:39

Lunatixz Wrote:I noticed my xbmc settings aren't saving in maraschino's server settings... I'm Using git version is there anyway to manual configure file?
Reclone and clear your browsers cache, this was a known issue and has recently been addressed.
Although this should not be happening on MrK's Master at all...


- hotlobster - 2012-02-02 11:56

mrkipling Wrote:If you set AUTH in your settings.py file (there's an example already in there, commented out) then Maraschino will add your Sickbeard username and password to the image URL for you. I agree that doing so isn't secure, which is why you have to have AUTH defined (which hides Maraschino behind basic HTTP basic authentication).

HTTP basic auth isn't exactly secure either, but for something like this (a frontend to your HTPC) it's probably good enough.

That's the problem. If you add AUTH in settings.py it gives the same result as adding login pass to sickbird url field.
Then when people roll over a tv show link in the sickbeard plugin, they can see the sickbeard login pass. And this still force you to let sickbeard open from outside and not on your internal network only.

Not good if you want to give some guest access to maraschino only with a different login/pass and keep your sickbeard password confidential.

What's the point off not using maraschino to grab the pictures from Sickbeard directly on server side, and not on client side ? There's probably a good reason but I don't see it.


- gugahoi - 2012-02-02 12:00

hotlobster Wrote:That's the problem. If you add AUTH in settings.py it gives the same result as adding login pass to sickbird url field.
Then when people roll over a tv show link in the sickbeard plugin, they can see the sickbeard login pass. And this still force you to let sickbeard open from outside and not on your internal network only.

Not good if you want to give some guest access to maraschino only with a different login/pass and keep your sickbeard password confidential.

What's the point off not using maraschino to grab the pictures from Sickbeard directly on server side, and not on client side ? There's probably a good reason but I don't see it.

This was done a few weeks ago. I made the module fetch images from SB's API but apparently not all SB versions (namely the Windows binaries) were up to date with the git source and the SB developers advised against making the switch so I reverted to the way it is now.


- hotlobster - 2012-02-02 12:53

Ah great. Do you have a patch somewhere ?

Cheers.


- gugahoi - 2012-02-02 12:57

Unfortunately no. I will change this when I know such a feature has been implemented in all SB installations... If you really want to change you can look in the /module/sickbeard.py code history and see what has changed. I'm pretty sure I left the functions in so it should be just a matter of directing the img src parameter to "/sickbeard/get_banner/<tvdbid>".