(2014-07-12, 12:36)bertybassett Wrote: [ -> ]on a synology how do I change the default web page port from 8087 to something like 2230 as that is what is allowed through my VPN?
I've tried the general page and nothing works on there? any ideas?
I dont think you can. The portNr is included in the packages make file and config. A workaround would be to install HTPC-Manager from source, but for Synology i would not recommend it.
Best to just add port 8087 to your firewall or vpn settings.
crap I cannot add the port as my VPN provider can only issue limited ports. Wonder if I can change the port in the source then make it myself? I've complied from the community repo before so that should be easy just need to know where to change the ports in the source code.
(2014-07-16, 23:10)hellow Wrote: [ -> ] (2014-07-16, 22:42)bertybassett Wrote: [ -> ]any ideas Styxit?
Line 146 in Htpc.py
You could remove the lines that set the port from the command line and force it to always use your port, but you could never update HTPC-Manager due to code conflicts.
If you would like to compile the Synology package yourself, you obviously need the package source. Which can be found here:
https://github.com/SynoCommunity/spksrc.
The default port Synology uses for HTPC-Manager is defined in the following files:
- spk/htpcmanager/Makefile
- spk/htpcmanager/src/htpcmanager.sc
- spk/htpcmanager/src/dsm-control.sh
- spk/htpcmanager/src/app/config
I did not compile the package myself so i can't really tell you what to do from this point.
I still think it might be easier just to run HTPC-Manager from source or git, without a synology package if you want to modify the port settings.
thanks for the help and I think you are correct, running from source does appear to be easiest solution. Never though about updating the code.
Guess it is off too the synology forums for some help with running from git.
Wonder why the author of the package locked down the port number when the user interface allows you to change the URL?
Thanks Tom
it turned out to be dead easy to fix! no idea why the package builder would do this but he was hard coding the port into the line that was starting the application. Why would he do that? no idea.
Anyhows I ssh'ed into the NAS ran
vi /var/packages/htpcmanager/scripts/start-stop-status
changed the line
su - ${USER} -c "PATH=${PATH} ${PYTHON} ${HTPCMANAGER} --datadir ${DATA_DIR} --pid ${PID_FILE} --daemon --port 8087"
to
su - ${USER} -c "PATH=${PATH} ${PYTHON} ${HTPCMANAGER} --datadir ${DATA_DIR} --pid ${PID_FILE} --daemon
press ESC and entered :wq to save
From NAS interface stopped the package and restarted and it worked fine.
removing the --port 8087 stopped hard coding the port number and by magic I could change the port in the user interface again and because the package is only updated via a git command it is safe to update whenever I like.
Can somebody tell me how I can run HTPC Manager with ssl, include creating a certificate.
(2014-07-19, 19:59)Svenvg93 Wrote: [ -> ]Can somebody tell me how I can run HTPC Manager with ssl, include creating a certificate.
You might wanna tell about your setup like os? Nas? Etc
I run it on ubuntu server 14.04.
I would like to know how to create a certificate and setup https.
Does the sickbeard api allow to change de status of the show. In example when you paused a show and want to change the status to active again.
I made this for pytunes, but i've seen some requests regarding stuff like this so i thought id make a upstream pr.
Users does not have access to to kill processes, use the commandline in stat module, shutdown server and the settings page. Clicks on restricted links will be redirected to the login page. Ajax calls are simply ignored. It might be other things that is restricted, but thats what i can remember from the top of my head.
Login page
Module
Logout
You can find the pr here;
PR
Hi,
Just to say I find your app looking for a living project in replacement of mediafrontpage and that can be placed behind reverse proxy.
I try HTPC Manager and it's simple amazing. The management of Squeezebox is just the "make it perfect" function
Ok, so, I package your app for Yunohost :
https://github.com/lunarok/htpc_ynh
More about Yunohost (self hosting distribution) :
https://yunohost.org/#/
I set HTPC Manager to need a username/password. Now i have forgotton what details i set...Where is the info stored on localy so i can go reset it?