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) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
- mrkipling - 2011-11-07 Okay, I've just pushed some pretty hefty changes to the master branch. It's the in-app-config stuff that I mentioned previously. If you're already using Maraschino and wish to use this new version then it's going to require a few changes, and you're going to lose any customisation that you've already entered. Bigger picture though - it'll be worth it I've updated maraschinoproject.com with new instructions, but I've written some instructions (below) for people who are upgrading from the old version. First, do a "git pull" to update your copy of the repository. Next, install the new dependency - "easy_install Flask-SQLAlchemy" Now delete your settings.py file. That's right, delete it! Copy the new settings_example.py over to settings.py and open it in your editor. You'll notice that there is now only one setting: DATABASE. Make it point to where you would like the database file saved, e.g.: Code: DATABASE = '/var/www/maraschino/maraschino.db' Make sure that the web server has write access to this directory. Now, run the setup file (this example assumes that you're in the Maraschino directory): Code: python setup.py If you see "Database successfully initialised" then you're good to go. If you get an error then running this command as a superuser (e.g. "sudo python setup.py") might help. htpcfrontend.py has been renamed to maraschino.py, so you're going to need to update your WSGI file to look something like this: Code: import sys If you're using Apache, make sure that www-data is the owner of the directory/files: Code: cd /var/www Finally, restart Apache and open Maraschino in your browser. If things looks weird then clear your browser's cache and reload the page as the CSS has changed quite a bit. It should be fairly self-explanatory how to add, remove, configure and organise modules, but I'm here if you have any questions. Also, there may be bugs. They're an inevitable part of an early-stage project like this. Please let me know if you find any and I'll do what I can to fix them! - DejaVu - 2011-11-07 Initialising the Database - Code: xbmc@XBMCLive:/var/www/maraschino$ sudo easy_install Flask-SQLAlchemy - mrkipling - 2011-11-07 DejaVu Wrote:Initialising the Database - Looks like you don't have write access to the database file. Try running the command as superuser ("sudo python setup.py"). Edit: I added another step to the instructions above (better safe than sorry): if you're using Apache, make sure that www-data is the owner of the directory/files: Code: cd /var/www - DejaVu - 2011-11-07 Forget this - Totally my thought. Typo in Settings.py! - DejaVu - 2011-11-07 This project went from great to OMFG THIS IS SO F&%KING AWSEOME!! MrK, my hat is off to you, with percula's config infos and you at the helm, this thing is going to be immense. The settings thing you knocked up in just a few days is impressive!! - mrkipling - 2011-11-07 DejaVu Wrote:This project went from great to OMFG THIS IS SO F&%KING AWSEOME!! Glad you like it! I wasn't too crazy about adding another dependency but I think that the ability to configure stuff from within the app is worth it in the long run - HarryRosen - 2011-11-07 I still can't get the wsgi file part to work so still using your method dejavu, but so much nicer with the modules. Time to start getting new ones, if you guys can point me in the right direction I can give writing a couple of modules a shot,never tried writing code before. would love a recently added movies and maybe add a couple more options to the now playing and maybe an update library for music and videos. Also don't know if its possible to control more that 1 xbmc, would love one interface to control them all - DejaVu - 2011-11-07 I got it working using percula's instructions for installing to Ubuntu. It's all there, just make sure the WSGI file is updated with the the new maraschino file name. (htpcfrontend.py is now maraschino.py). - Zenshi - 2011-11-07 How do we get the images to show? I tried using Code: /static/images/programs/XBMC.png Code: /var/www/maraschino/static/images/programs/XBMC.png Also, would it be possible in the near future to use this in a location rather then the root, as I asked a few posts before? Keep up the good work MrK, Zenshi. - mrkipling - 2011-11-07 Zenshi Wrote:How do we get the images to show? I've hard-coded the images directory to be "/static/images/applications", so you just need to enter "XBMC.png". If you want to add any more icons then just drop them in that folder. Sorry, I didn't really document this. DejaVu has added a whole bunch of new icons (and a snazzy favicon) - I'll merge these into the main branch real soon. - Zenshi - 2011-11-07 mrkipling Wrote:I've hard-coded the images directory to be "/static/images/applications", so you just need to enter "XBMC.png". If you want to add any more icons then just drop them in that folder. Sorry, I didn't really document this. No problem, just remember to add it to the docs so that other people know about it. What about my other question? Cheers, Zenshi. - mrkipling - 2011-11-07 Zenshi Wrote:No problem, just remember to add it to the docs so that other people know about it. Serving from a location other than root? I'm not entirely sure, but it should be possible to do now, I think? Although I haven't tried to do so myself. - drdextro - 2011-11-07 Hi there, I really love youre work so far. I got it to work on a win7 machine and OSX atm. Also I commited a little add for the Sabnzbd module. Keep up the good work! - m3g4tr0n - 2011-11-08 drdextro Wrote:Hi there, is it working from Apache? - DejaVu - 2011-11-08 I've been looking at trying to get the Application links to open in 90% x 90% iFrames using the modal box that's already in place (when Adding Modules) - as per example on Fancybox.net (75% Iframe link). It's a shame that visiting the outside programs closes Maraschino completely. Can this be added relatively easy? |