XBMC Community Forum
[WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - 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: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app (/showthread.php?tid=126297)

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


RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - mbw2001 - 2012-08-07 19:39

Latest commit now has support for setting datadir, pid and port through commandline parameters.


RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - Aenima99x - 2012-08-07 19:46

Thanks for keeping this going mbw2001.
Not sure if you saw the JSON-RPC changes - http://forum.xbmc.org/showthread.php?tid=98551&pid=1163498#pid1163498


RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - mbw2001 - 2012-08-08 13:48

Are you using the latest commit? I don't see any changes that should have impact.

I tried the latest windows version and it seems to work fine.


RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - Aenima99x - 2012-08-08 17:10

Yes, using the latest commit. The Recently Added Music disappeared for me.


RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - tylertech - 2012-08-13 20:29

(2012-07-28 23:41)Hjord Wrote:  Looks awesome.
Any chance for adding Headphones to it?

I 2nd this. Seems like Headphones would be a nice addition and one many people would like to see.
Big Grin


RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - mbw2001 - 2012-08-15 11:02

(2012-08-08 17:10)Aenima99x Wrote:  Yes, using the latest commit. The Recently Added Music disappeared for me.
Recently added music should be working again.

(2012-08-13 20:29)tylertech Wrote:  
(2012-07-28 23:41)Hjord Wrote:  Looks awesome.
Any chance for adding Headphones to it?

I 2nd this. Seems like Headphones would be a nice addition and one many people would like to see.
Big Grin

I have plenty of work extending the current functionality and with the Squeezebox functionality atm. Since I don't use headphones I wont be adding it any time soon.

But i have done a lot of work trying to make the interface as easy as possible to extend. So if anyone feels like writing a Headphones module I would be more than happy to add it to my repo.


RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - jcalton88 - 2012-08-23 23:51

(2012-08-07 19:39)mbw2001 Wrote:  Latest commit now has support for setting datadir, pid and port through commandline parameters.

Thanks! This'll make a lot of users over on the unraid forums happy, they've been anxiously awaiting the htpc_manager plugin for their servers, with these settings it will be easier to implement. I'll get right on that, Big Grin

EDIT: Not sure if you'll be able to help me, but when starting the app from the command line directly, it works fine. If I try to start the app passing the command from the plug-in, it starts, but Cherrypy throws an error:

Code:
Traceback (most recent call last):
  File "/usr/local/htpcmanager/libs/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/usr/local/htpcmanager/libs/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/htpcmanager/libs/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/local/htpcmanager/htpc/index.py", line 7, in index
    return template('dash.html')
  File "/usr/local/htpcmanager/htpc/tools.py", line 7, in template
    return lookup.get_template(template).render()
  File "/usr/local/htpcmanager/libs/mako/lookup.py", line 243, in get_template
    "Cant locate template for uri %r" % uri)
TopLevelLookupException: Cant locate template for uri 'dash.html'

EDIT 2: Ok, if the command is called from another directory it won't work, I had to cd into the install directory and then give the start command ( sudo -u nobody python /usr/local/htpcmanager/Htpc.py --daemon ) for it to work...is this a limitation of Mako or a possible bug?


RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - schumi2004 - 2012-08-31 11:44

Anyone got it running on Linux? It won't launch here using ./Htpc.py --deamon. Well it launches but can't connect to it.

Trying to make package as requested here https://github.com/SynoCommunity/spksrc/issues/222


RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - mbw2001 - 2012-08-31 12:27

Try starting with "python Htpc.py --debug" and see post the result.


RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - schumi2004 - 2012-09-03 20:34

(2012-08-31 12:27)mbw2001 Wrote:  Try starting with "python Htpc.py --debug" and see post the result.

Thanks and almost got the package ready except for 1 minor detail and that is pid argument. When i use --pid i'm getting the following error:

Code:
08:32:18 (master) ~/HTPCManager$ ./Htpc.py --datadir /home/openelec/HTPCManager/userdata/ --debug --pid /home/openelec/HTPCManager/userdata/htpcmanager.pid
Traceback (most recent call last):
  File "./Htpc.py", line 89, in <module>
    main()
  File "./Htpc.py", line 86, in main
    start()
  File "/home/openelec/HTPCManager/htpc/server.py", line 24, in start
    PIDFile(cherrypy.engine, args.pid).subscribe()
NameError: global name 'args' is not defined

Any ideas?