• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 146
Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC
#76
HarryRosen Wrote:I get this for the thumbnail as the link

http://localhost:8080/vfs/special://mast...ba92a4.tbn

my images are not stored on the same box as the xbmc.

i wonder if it's because I am using my VPN to my house thats why it's not showing, because the trak.tv is not showing and the now playing isn't as well

another side note is it possible to have a recently added for movies as well

From this, it looks as if you've set SERVER incorrectly - it should contain details of the machine that XBMC is installed on, and you appear to have set it to localhost:8080. Setting this should solve all of the problems that you've mentioned. From the documentation:

Code:
SERVER is quite important - this is where you enter the details of your XBMC
installation. Without this the app cannot access the XBMC API and won't be
able to tell what's playing, what has been recently added, etc.

Re: recently added movies: not currently, but that would make sense. I'll probably add tabs or something to the recently added episodes widget.
Reply
#77
Ok That fixed that, Thanks, everything looks like it's working now, just gotta look at the trak.tv and the now playing.

I was able to add my applications and that works properly.

Also if possible to add a list of common commands like update library and update music would be nice

I gotta learn how to write code Smile
Reply
#78
This project is awesome and highly customisable. I love how easy it is to change things.

Image

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.
Changing things on the fly is also happening really well running as a Python script.

EDIT-
Programs icons added to mine. Wink
Image
Image
Maraschino - Web based HTPC Organiser. Keep track of all your web based programs all in one place.
Home Page - Repo - Bug Tracker - Support Forum.
Reply
#79
How did you add the icons
Reply
#80
@DejaVu You need to wrap your API key with single quotes like so:

Code:
# required for module 'trakt'
TRAKT_API_KEY = 'ad4a6a9fdb31430ea22961748695678'

@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 Smile
Reply
#81
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 Smile

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.
Reply
#82
mybrain87 Wrote: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.

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).
Reply
#83
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 Smile

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.
Reply
#84
HarryRosen Wrote:How did you add the icons
Easy.

Download each of these images to /htpc-frontend/static/images/programs/ (Make a new folder).

ImageImageImageImageImageImage
More available from my Github.

Open settings.py.
Change each program like this -
Code:
{
    'image':'/static/images/programs/XBMC.png',
        'name': 'XBMC',
        'url': 'http://192.168.0.4:8082/',
        'description': 'Library view'
    },
Change
/htpc-frontend/templates/applications.html
to
Code:
<div id="applications" class="module" data-module="applications">
  <h2>Applications</h2>
  {% if applications %}
    <ul>
      {% for application in applications %}
        <li>
          <a href="{{ application.url }}" class="clearfix"><span class="name"><img src="{{ application.image }}" height="20" width="20">  {{ application.name }}</span>
          <span class="description">{{ application.description }}</span>
          </a>
        </li>
        {% endfor %}
    </ul>
  {% endif %}
</div>
Refresh.


UndisclosedP Wrote:@DejaVu You need to wrap your API key with single quotes like so:

Code:
# required for module 'trakt'
TRAKT_API_KEY = 'ad4a6a9fdb31430ea22961748695678'
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!
Image
Maraschino - Web based HTPC Organiser. Keep track of all your web based programs all in one place.
Home Page - Repo - Bug Tracker - Support Forum.
Reply
#85
DejaVu Wrote:You know that feeling you get when you feel like a complete tool... No? Just me then! PMSL!
All is well.

Heh Smile

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!
Reply
#86
Sweet thanks, going to try it when i get home, can't play with this anymore from work, not getting anything done lol
Reply
#87
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. Smile

Image
Image
Maraschino - Web based HTPC Organiser. Keep track of all your web based programs all in one place.
Home Page - Repo - Bug Tracker - Support Forum.
Reply
#88
How did you get the trat.tv working did you have to play something?
Reply
#89
@HarryRosen : Yes you have to play something Wink (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 Smile The movie library is working!

I will try this weekend to understand how it works and if possible create a couchpotato widget. yay!
Reply
#90
snoopy1492 Wrote:@HarryRosen : Yes you have to play something Wink (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 Smile The movie library is working!

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 Smile
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 146

Logout Mark Read Team Forum Stats Members Help
Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC4