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)



- steve1977 - 2012-01-14

gugahoi Wrote:They are all valid requests but we are all either busy or working on a few other things at the moment so if you (or anyone else) want to jump in and make the modifications yourself we'd be happy with the help, otherwise it may take a while for those to get into master.

Don't think it makes a lot of sense to "touch" the smaller requests as they used to be either in master branch before (like sabnzbd and app handling) or are rather minor changes, which may be easiest for the creator of the widget.

Having said this, the 2 larger requests (ipad / iphone / android app and sub sonic widget) make me tempted to start to learn programming. Ths sub sonic widget is probably the easier of the 2? What programming language would it take and what would be a good starting point to learn? Requires accessing the subsonic API, so may be a bit more than just the basics...

Last question - is the remote already properly implemented into master? I tried to use it, but it gives me an error ("cannot reach Maraschino").


- DejaVu - 2012-01-14

steve1977 Wrote:Last question - is the remote already properly implemented into master? I tried to use it, but it gives me an error ("cannot reach Maraschino").

Allow control on other systems on?


Install guides Maraschino // how to - hellow - 2012-01-14

Windows 7 guide with setup
http://htpc.blogg.no/1326500190_maraschino_the_cherry.html

Ubuntu (dutch)
http://mar2zz.tweakblogs.net/blog/7494/maraschino.html

Ubuntu with apache (might be utdated)
http://forum.xbmc.org/showpost.php?p=929856&postcount=149

CentOS 6 (might be outdated)
http://forum.xbmc.org/showpost.php?p=929745&postcount=146

unRaid script
http://forum.xbmc.org/showpost.php?p=985806&postcount=1034


- Mar2zz - 2012-01-14

hellow Wrote:I wrote a quick post on how to install and setup maraschino on windows 7, might be helpfull for newcomers.

http://htpc.blogg.no/1326500190_maraschino_the_cherry.html

These are steps that are not needed:
Quote:Open cmd and write: cd %SystemDrive%\Python27\Scripts (will only work if you installed python on default location)

Enter the commands below, one line at the time:

easy_install Flask

easy_install Flask-SQLAlchemy

easy_install cherrypy

easy_install jsonrpclib

Ow, and here is a dutch blog about maraschino setup @ ubuntu:
http://mar2zz.tweakblogs.net/blog/7494/maraschino.html


- paavoris - 2012-01-14

DejaVu Wrote:OMFG!

I have just realised I can now use my Laptop keyboard to operate my ATV2 with the fantastic Keyboard add-on gugahoi has created.

Yep! This feature is absolutely fantastic! Laugh This feature alone could be the killer feature of Maraschino - at least it is for me.

I have tried several other things to do this, including some Microsoft unofficial programs (captures keyboard and sends them to another computer) and stuff like that, but this is so simple and this doesn't require any additional programs. I don't need to send keyboard to any other programs than XBMC.

Now I can (almost) ditch my loyal Rii Mini wireless keyboard. Big Grin

(My setup: Maraschino/Apache installed in VM running Ubuntu server, XBMC running under W2008R2)

Edit: A quick question though: Is it technically possible to Maraschino detect ALT+key and CTRL+key combinations? I'm using ALT+"arrow keys" and CTRL+"arrow keys" all the time to adjust subtitles, audio, vertical video position, etc. I think that this is not possible, since browsers might capture those keys, but you might have a better understanding about this.


- hellow - 2012-01-15

Awesome, i just wrote down how i didt it the first time i install it. Ill update the post Smile

Mar2zz Wrote:These are steps that are not needed:


Ow, and here is a dutch blog about maraschino setup @ ubuntu:
http://mar2zz.tweakblogs.net/blog/7494/maraschino.html



- gugahoi - 2012-01-15

paavor Wrote:Yep! This feature is absolutely fantastic! Laugh This feature alone could be the killer feature of Maraschino - at least it is for me.

I have tried several other things to do this, including some Microsoft unofficial programs (captures keyboard and sends them to another computer) and stuff like that, but this is so simple and this doesn't require any additional programs. I don't need to send keyboard to any other programs than XBMC.

Now I can (almost) ditch my loyal Rii Mini wireless keyboard. Big Grin

(My setup: Maraschino/Apache installed in VM running Ubuntu server, XBMC running under W2008R2)

Edit: A quick question though: Is it technically possible to Maraschino detect ALT+key and CTRL+key combinations? I'm using ALT+"arrow keys" and CTRL+"arrow keys" all the time to adjust subtitles, audio, vertical video position, etc. I think that this is not possible, since browsers might capture those keys, but you might have a better understanding about this.

Glad you guys like it! I also use it for my aTV as I always lose the stupid annoying remote. I'm 99% sure it's possible to detect a combination of keys but I did not code for them as I did not know of those shortcuts, good you just informed me! I will see what I can do, wanna post all the usable keyboard shortcuts so I don't miss any?


- paavoris - 2012-01-15

gugahoi Wrote:I will see what I can do, wanna post all the usable keyboard shortcuts so I don't miss any?

This is what I have in my keymap.xml -file. Note that ctrl-up and ctrl-down are by default mapped to "subtitle positioning" since XBMC v11. (If I remeber this correctly)

Code:
<left mod="ctrl">subtitledelayminus</left>
<right mod="ctrl">subtitledelayplus</right>
<left mod="alt">audiodelayminus</left>
<right mod="alt">audiodelayplus</right>
<down mod="alt">verticalshiftdown</down>
<up mod="alt">verticalshiftup</up>
<h mod="ctrl">SendClick(14)</h>

(The last one is to hide/show watched items in library)

But.. there are all those shift+[a-z] keys to quick navigation in library view. For example, pressing shift-s scrolls to first movie that starts with a letter s.

So if it is possible, there should be mapping to every combination of...
  • alt+[a-z][0-9][arrow keys]
  • ctrl+[a-z][0-9][arrow keys]
  • shift+[a-z][0-9][arrow keys]

You never know what users (like me) have mapped to their "keyboard.xml"... :rolleyes2: And there are combinations of those too (I don't use them, but someone might), like ctrl-alt-[something].

Am I asking for too much? Never. :cool2: Big Grin


- DejaVu - 2012-01-15

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?


- castortray - 2012-01-15

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?

Thats cool ! And definitelly in maraschino style Smile


- RaNaMaster - 2012-01-16

gugahoi Wrote:Glad you guys like it! I also use it for my aTV as I always lose the stupid annoying remote. I'm 99% sure it's possible to detect a combination of keys but I did not code for them as I did not know of those shortcuts, good you just informed me! I will see what I can do, wanna post all the usable keyboard shortcuts so I don't miss any?

hey gugahoi can you please post all the keys you add as i dont know any of the keys sense i didnt use a keyboard if its not so much to ask ones you are done please post the all the keys and what they do think you


- steve1977 - 2012-01-16

DejaVu Wrote:Allow control on other systems on?

Sorry, what do you mean?


- DejaVu - 2012-01-16

steve1977 Wrote:Sorry, what do you mean?

I think it's in
System > Network > Allow Control from Other systems.


- paavoris - 2012-01-16

How to turn Maraschino web pages into an application (Linux/Windows)

Well.. almost an application .. Big Grin. This is just a stupid Google Chrome tip that probably most of you geeks already know, but still.. I'm also assuming that your Maraschino installation is already working. This tip won't work (currently) under Mac according to Googles documentation. Sad

I always had a problem running Maraschino in my browser. I was constantly closing that tab where Maraschino was or browser crashed or something. I started to think that it would be cool, if Maraschinos end-user part was just a stand alone program, accessing only that web page and nothing else. No browser UI, just Maraschino. I found out that Chrome is just the right poison for that purpose.

(Note: I'm not advertising Chrome. I'm a loyal Opera user myself, but this works really well with Chrome.)

This first step (changing icon) is completely optional and cosmetic, but you should do this before "creating Maraschino Application".
  • You'll probably want cleaner icon for your "Maraschino Application". Current icon (Maraschinos favicon) is too small for our purposes so it won't scale well.
Next step - do the magic
  • Download and install Chrome (if you don't already have it). You don't have to use it as a default browser or even touch it after we set it up.
  • Disable that annoying automatic translation feature
    • Click the wrench icon on the browser toolbar.
    • Select Options (Preferences on Mac and Linux; Settings on Chrome OS).
    • Click the Under the Hood tab.
    • Use the "Offer to translate pages that aren't in a language I read" checkbox to adjust this feature.
  • Type your Maraschino url to the address bar
  • Check that everything works as expected and convert that page into an application
    • Click the wrench icon on the browser toolbar.
    • Select Tools.
    • Select Create application shortcuts.
    • In the dialog that appears, choose where you'd like the shortcuts to be placed on your computer.
    • Click Create.
Note: Chrome spesific steps are copied from Google's documentation. I don't know how version dependant they are.

Here is what it looks like. Screenshot from my laptop: http://i40.tinypic.com/2u8caol.jpg Note the cleaner application icon, lack of UI and of course, my choice of movie for this screenshot. Big Grin (And Sabnzb module is working just fine, I just cencored what I'm downloading.)

WAF/SAF guaranteed. This scales really nicely and hides the browser UI completely - you don't even realize that you are using a browser.

(I know. This is not actually Maraschino spesific thing but I think that this kind of trickery fits so well to Maraschino that I just had to share this. :p )


- DejaVu - 2012-01-16

I like that idea a lot.
I've sorted mine to open Maximised and use the Original Maraschino ICO.

Image

Cheers for the heads up.

More of a Chrome related feature (that I was unaware of) though.