Kodi Community Forum

Full Version: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This program is just great. The only issue I've run into has been SSL with sickrage and couch potato. It was mentioned earlier in this thread that there was not interest in implementing it but the current version has the option and the log from sickrage says the ping failed but when I paste the URL into my browser it says success in the result field. Is this a quick fix or am I doing something wrong. In the code, there is a debug line right before saying "trying to connect to sickbeard" but I do not see that in the logs under debug. The last commit was 11 months ago so it should be in the current version or if I'm using the synology package am I getting something different.

Also, a "remeber me" option for username and password would be outstanding.
There is no Sickrage module so I assume your using the sickbeard module?

There lastst commit was 3 days ago where are import bug was fixed, your should update asap.

I agree remember me would be nice ^^
I do have the new update but SSL on couch potato and sickrage (using the sickbeard module) will not pass when I test the module in settings.
Ok. Is it just the test button that fails or loading the modules? If you still have issues you should make a issue on GitHub
Does anyone have a working nginx setup handling reverse proxy into HTPC Manager? I've configured HTPC Manager with a webdir of /htpc, like the documentation says, but cannot get the proxy_pass part of nginx to work. When accessing my domain name, I just get the Welcome to Nginx.

I think it has something to do with how the HTPC Manager's URI is read, and being referred to /auth/login. When I go to http://domain.com I get the Welcome to Nginx page, but if I manually type http://domain.com/htpc it works and resolves to http://domain.com/htpc/auth/login.

Code:
location /htpc {

    proxy_set_header        Host $host;

    proxy_set_header        X-Real-IP $remote_addr;

    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;

    proxy_set_header        X-Forwarded-Proto $scheme;


       #here is the HTPC Manager VM I want to reverse proxy to
        proxy_pass http://192.168.1.17:8085;
      #have also tried http://192.168.1.17:8085/htpc, but no worky

        proxy_read_timeout 90;



    }
Its your config. Its working as intended.

Do you want to access to htpc manager at mydomain.com?

Check this guide http://www.htpcguides.com/configure-htpc...x-windows/
Hi everyone!! Running OSX (Yosemite)

I am getting errors when using Computer Stats. Disk shows up fine, but when i go to Process nothing loads. This whats shows up in the log.
any help is appreciated.

I pasted the Start, clicking on process under computer stats, and then shutdown.

PHP Code:
:HTPC-Manager-master Markpython htpc.py
2015
-06-22 21:52:12 :: root :: INFO :: Welcome to HTPC-Manager!
2015-06-22 21:52:12 :: root :: INFO :: Loglevel set to info
2015
-06-22 21:52:12 :: htpc.updater :: WARNING :: fatalNot a git repository (or any of the parent directories): .git

2015
-06-22 21:52:12 :: htpc.updater :: INFO :: Using SourceUpdater engine
2015
-06-22 21:52:13 :: modules.xbmc :: INFO :: Selecting XBMC server3
2015
-06-22 21:52:13 :: htpc.server :: INFO :: Starting up webserver
******************************************************
Starting HTPC Manager on port 8085.
Start your browser 
and go to http://localhost:8085
******************************************************
2015-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Listening for SIGHUP.
2015-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Listening for SIGTERM.
2015-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Listening for SIGUSR1.
2015-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Bus STARTING
2015
-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Started monitor thread '_TimeoutMonitor'.
2015-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Serving on 0.0.0.0:8085
2015
-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Bus STARTED
2015
-06-22 21:52:17 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:17ENGINE Started monitor thread 'Session cleanup'.
2015-06-22 21:52:23 :: modules.stats :: ERROR :: Pulling logged in info 'module' object has no attribute 'get_users'
2015-06-22 21:52:26 :: cherrypy.error.4314735248 :: ERROR :: [22/Jun/2015:21:52:26HTTP Traceback (most recent call last):
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cprequest.py"line 656in respond
    response
.body self.handler()
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/lib/encoding.py"line 188in __call__
    self
.body self.oldhandler(*args, **kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cpdispatch.py"line 34in __call__
    
return self.callable(*self.args, **self.kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/modules/stats.py"line 144in processes
    
'get_cpu_percent''name''status''pid''get_memory_info'])
  
File "/Library/Python/2.7/site-packages/psutil/__init__.py"line 442in as_dict
    attr 
getattr(selfname)
AttributeError'Process' object has no attribute 'get_memory_info'

2015-06-22 21:52:33 :: cherrypy.error.4314735248 :: ERROR :: [22/Jun/2015:21:52:33HTTP Traceback (most recent call last):
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cprequest.py"line 656in respond
    response
.body self.handler()
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/lib/encoding.py"line 188in __call__
    self
.body self.oldhandler(*args, **kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cpdispatch.py"line 34in __call__
    
return self.callable(*self.args, **self.kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/modules/stats.py"line 144in processes
    
'get_cpu_percent''name''status''pid''get_memory_info'])
  
File "/Library/Python/2.7/site-packages/psutil/__init__.py"line 442in as_dict
    attr 
getattr(selfname)
AttributeError'Process' object has no attribute 'get_memory_info'

2015-06-22 21:52:33 :: modules.stats :: ERROR :: Pulling logged in info 'module' object has no attribute 'get_users'
2015-06-22 21:52:43 :: cherrypy.error.4314735248 :: ERROR :: [22/Jun/2015:21:52:43HTTP Traceback (most recent call last):
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cprequest.py"line 656in respond
    response
.body self.handler()
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/lib/encoding.py"line 188in __call__
    self
.body self.oldhandler(*args, **kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cpdispatch.py"line 34in __call__
    
return self.callable(*self.args, **self.kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/modules/stats.py"line 144in processes
    
'get_cpu_percent''name''status''pid''get_memory_info'])
  
File "/Library/Python/2.7/site-packages/psutil/__init__.py"line 442in as_dict
    attr 
getattr(selfname)
AttributeError'Process' object has no attribute 'get_memory_info'

2015-06-22 21:52:43 :: modules.stats :: ERROR :: Pulling logged in info 'module' object has no attribute 'get_users'
^C2015-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Keyboard Interruptshutting down bus
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Bus STOPPING
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0'8085)) shut down
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Stopped thread 'Session cleanup'.
2015-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Stopped thread '_TimeoutMonitor'.
2015-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Bus STOPPED
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Bus EXITING
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Bus EXITED
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Waiting for child threads to terminate... 
(2015-06-23, 06:57)madvtak Wrote: [ -> ]Hi everyone!! Running OSX (Yosemite)

I am getting errors when using Computer Stats. Disk shows up fine, but when i go to Process nothing loads. This whats shows up in the log.
any help is appreciated.

I pasted the Start, clicking on process under computer stats, and then shutdown.

PHP Code:
:HTPC-Manager-master Markpython htpc.py
2015
-06-22 21:52:12 :: root :: INFO :: Welcome to HTPC-Manager!
2015-06-22 21:52:12 :: root :: INFO :: Loglevel set to info
2015
-06-22 21:52:12 :: htpc.updater :: WARNING :: fatalNot a git repository (or any of the parent directories): .git

2015
-06-22 21:52:12 :: htpc.updater :: INFO :: Using SourceUpdater engine
2015
-06-22 21:52:13 :: modules.xbmc :: INFO :: Selecting XBMC server3
2015
-06-22 21:52:13 :: htpc.server :: INFO :: Starting up webserver
******************************************************
Starting HTPC Manager on port 8085.
Start your browser 
and go to http://localhost:8085
******************************************************
2015-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Listening for SIGHUP.
2015-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Listening for SIGTERM.
2015-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Listening for SIGUSR1.
2015-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Bus STARTING
2015
-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Started monitor thread '_TimeoutMonitor'.
2015-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Serving on 0.0.0.0:8085
2015
-06-22 21:52:13 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:13ENGINE Bus STARTED
2015
-06-22 21:52:17 :: cherrypy.error :: INFO :: [22/Jun/2015:21:52:17ENGINE Started monitor thread 'Session cleanup'.
2015-06-22 21:52:23 :: modules.stats :: ERROR :: Pulling logged in info 'module' object has no attribute 'get_users'
2015-06-22 21:52:26 :: cherrypy.error.4314735248 :: ERROR :: [22/Jun/2015:21:52:26HTTP Traceback (most recent call last):
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cprequest.py"line 656in respond
    response
.body self.handler()
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/lib/encoding.py"line 188in __call__
    self
.body self.oldhandler(*args, **kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cpdispatch.py"line 34in __call__
    
return self.callable(*self.args, **self.kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/modules/stats.py"line 144in processes
    
'get_cpu_percent''name''status''pid''get_memory_info'])
  
File "/Library/Python/2.7/site-packages/psutil/__init__.py"line 442in as_dict
    attr 
getattr(selfname)
AttributeError'Process' object has no attribute 'get_memory_info'

2015-06-22 21:52:33 :: cherrypy.error.4314735248 :: ERROR :: [22/Jun/2015:21:52:33HTTP Traceback (most recent call last):
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cprequest.py"line 656in respond
    response
.body self.handler()
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/lib/encoding.py"line 188in __call__
    self
.body self.oldhandler(*args, **kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cpdispatch.py"line 34in __call__
    
return self.callable(*self.args, **self.kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/modules/stats.py"line 144in processes
    
'get_cpu_percent''name''status''pid''get_memory_info'])
  
File "/Library/Python/2.7/site-packages/psutil/__init__.py"line 442in as_dict
    attr 
getattr(selfname)
AttributeError'Process' object has no attribute 'get_memory_info'

2015-06-22 21:52:33 :: modules.stats :: ERROR :: Pulling logged in info 'module' object has no attribute 'get_users'
2015-06-22 21:52:43 :: cherrypy.error.4314735248 :: ERROR :: [22/Jun/2015:21:52:43HTTP Traceback (most recent call last):
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cprequest.py"line 656in respond
    response
.body self.handler()
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/lib/encoding.py"line 188in __call__
    self
.body self.oldhandler(*args, **kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/libs/cherrypy/_cpdispatch.py"line 34in __call__
    
return self.callable(*self.args, **self.kwargs)
  
File "/Users/Mark/Documents/software/HTPC-Manager-master/modules/stats.py"line 144in processes
    
'get_cpu_percent''name''status''pid''get_memory_info'])
  
File "/Library/Python/2.7/site-packages/psutil/__init__.py"line 442in as_dict
    attr 
getattr(selfname)
AttributeError'Process' object has no attribute 'get_memory_info'

2015-06-22 21:52:43 :: modules.stats :: ERROR :: Pulling logged in info 'module' object has no attribute 'get_users'
^C2015-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Keyboard Interruptshutting down bus
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Bus STOPPING
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0'8085)) shut down
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Stopped thread 'Session cleanup'.
2015-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Stopped thread '_TimeoutMonitor'.
2015-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Bus STOPPED
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Bus EXITING
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Bus EXITED
2015
-06-22 21:53:26 :: cherrypy.error :: INFO :: [22/Jun/2015:21:53:26ENGINE Waiting for child threads to terminate... 

Downgrade psutil to latest in the 2.x.x. They have deprecated some Apis we use.
and we have process, thank you!
Np
I guess i should also ask, why is there a non functioning search bar?
It's not non functional. What it does depends on what module your on. In the kodi tab it will search your library. In others it will search for a newznab site. (You have to enable that, set a URL to which indexer and apikey)
(2015-06-23, 09:20)hellow Wrote: [ -> ]It's not non functional. What it does depends on what module your on. In the kodi tab it will search your library. In others it will search for a newznab site. (You have to enable that, set a URL to which indexer and apikey)

i tried under couchpotato and searched a movie, nothing happens. I'd rather just have it disabled so it doesn't take up space
That isn't possible Smile, where is no search in cp except for when you add a movie
love this app, but trying to config the headphones section and enter my ip, port, api key and it fails when test is clicked....as far as i understand it shouldn't need a base path

can anyone shed some light?

thanks!

edit: saved the settings anyway and it appears to work even though it says the test failed, will update if this is not the case