![]() |
|
Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for XBMC (/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 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 |
- mybrain87 - 2011-11-03 18:25 UndisclosedP Wrote:@mybrain87 The application has bound to your local IP 127.0.0.1 so wont be accessible from your other ips. Either modify the python file to serve on your own IP or use gunicorn to do the serving Thanks that did the trick. Im seeing the site now. But my recently added episodes are all called: Season, Episode "" Why? How do i disable the sabnzbd+ module. Shouldn't there be happening something when i click on one of my movies or tv shows in the Media library...i just get a spinning icon next to it with nothing happening. Im not seeing the currrently playing module, do i have to activate that one somewhere? How do I enable the trakt module. I have the api in the settings.py file but am not seeing the module. - mrkipling - 2011-11-03 18:35 mybrain87 Wrote:Thanks that did the trick. Im seeing the site now. To remove a module (such as the sabnzbd module) just remove it from MODULES in settings.py Regarding the problems with the other modules - are you using a recent nightly build of XBMC? The "Season, Episode" problem in particular makes me think that you're using Dharma (or other non-recent build of XBMC) which is not supported due its out of date and soon-to-be-deprecated API (I mentioned this in the original post and on the project home). - mrkipling - 2011-11-03 18:44 DejaVu Wrote:This project is awesome and highly customisable. I love how easy it is to change things. Looking good - nice customisation, and glad to see that you've got it up and running! Be careful about pulling updated versions from the repository, though (as I'm adding new stuff quite frequently) - you might lose these changes. Although you could probably do "git stash" and "git stash pop" before pulling and hope for the best ![]() DejaVu Wrote:As you can see - still struggling with the Trakt widget. All details are in, my profile is not private, yet it's still a no show. Hmm, well that's odd. Just to clear up a few things about the Trakt widget so that people know what to expect: * The trakt module never appears if you aren't watching anything, as it wouldn't have any information to display. * At the very least you need to enter your API key as TRAKT_API_KEY in settings.py. If you have done this then the trakt module will only show shouts, and it will only appear if what you are watching already has shouts associated with it. * If you enter your username (TRAKT_USERNAME) and password (TRAKT_PASSWORD) then you gain the ability to add shouts about what you're watching. Also, the trakt module will now always be displayed as long as you're watching something (so that you can add a shout). Entering your username and password will also be needed in the future for the planned trakt recommendations widget. Does anything here strike you as an obvious reason why the trakt module isn't displaying for you? If not, then does the console display any info? And are you able to look at what the request to "/xhr/trakt" returns using Firebug or similar? Would help a great deal in figuring this out. - DejaVu - 2011-11-03 18:53 HarryRosen Wrote:How did you add the iconsEasy. Download each of these images to /htpc-frontend/static/images/programs/ (Make a new folder). ![]() ![]() ![]() ![]() ![]() ![]() More available from my Github. Open settings.py. Change each program like this - Code: {/htpc-frontend/templates/applications.html to Code: <div id="applications" class="module" data-module="applications">UndisclosedP Wrote:@DejaVU You need to wrap your API key with single quotes like so:Tried that - still no go. mrkipling Wrote:* The trakt module never appears if you aren't watching anything, as it wouldn't have any information to display.You know that feeling you get when you feel like a complete tool... No? Just me then! PMSL! All is well, guess I was expecting the "Last watched" info to appear. Doh. While I'm waffling - is there a way, instead of the links making the program vanish - perhaps a modal box for the 'Programs' to load in would be a nice touch? I shall attempt it myself, but dont hold your breathe! - mrkipling - 2011-11-03 18:59 DejaVu Wrote:You know that feeling you get when you feel like a complete tool... No? Just me then! PMSL! Heh ![]() It's all good - I only started development on this project 2 weeks ago, and it started out as a personal project for my own use, so I haven't really documented everything as well I could have. All in good time! - HarryRosen - 2011-11-03 19:24 Sweet thanks, going to try it when i get home, can't play with this anymore from work, not getting anything done lol - DejaVu - 2011-11-03 20:18 I spent an hour looking at the code for this and it is so easy to understand. Great work mrkipling. Not much documentation required IMO. Decided to have a little play to show how easy it is and knocked this up. All it really needs now is a script to actually get the percentages - making them is easy, coding them - not so much. ![]()
- HarryRosen - 2011-11-03 20:35 How did you get the trat.tv working did you have to play something? - snoopy1492 - 2011-11-03 20:48 @HarryRosen : Yes you have to play something (I just discovered that... I feel damn stupid after all those hours trying to make it work... ^^)Great work mrkipling, everything is working except the TV show library. I can browse until the season number but it won't show the episodes The movie library is working!I will try this weekend to understand how it works and if possible create a couchpotato widget. yay! - mrkipling - 2011-11-03 21:39 snoopy1492 Wrote:@HarryRosen : Yes you have to play something Are you using a recent / the latest build of XBMC? Just a guess, but the API is changing quite a lot, so the first thing that I'd do is update XBMC to the latest nightly. If not then does the console show any errors (assuming that you're running the Flask dev server)? snoopy1492 Wrote:I will try this weekend to understand how it works and if possible create a couchpotato widget. yay! Excellent. If you do then be sure to open a pull request on GitHub so that I can add it to the main release! Word of advice to get you started: I've implemented a framework of sorts which loads in modules, and all existing modules use it. It makes adding new modules a lot easier as most of the work is done for you. All you need to do is focus on writing the actual code to get the data that you want - the JS to poll the module (and expose this setting to the user), decide when to show/hide it, etc. already exists. Take a look at "static/js/index.js" and go from there
|