FAQ  •  Register  •  Login

1.6 console

<<

mpi

Serviio lover

Posts: 66

Joined: Fri Nov 18, 2011 9:15 pm

Post Tue Jan 26, 2016 1:38 pm

Re: 1.6 console

ok, looked at that a bit more closely.
It seems the new version gets registered, but the old one remains too.
For some reason, on launch the older launch code gets invoked instead of the newer one

I did try to unregister the app by issuing:
  Code:
`find /System/Library/Frameworks -name lsregister` -u /Applications/Serviio-Console.app
...and voilà!
The app is then launched correctly from the Finder.
Indeed the registration database removed the reference to the old version.

You may want to look further into that direction: the magical command to include in install script may not be too far from that one!

(BTW not assuming the app sits in /Application may be a good thing, as Mac users may have tendency of moving things around. another find command may help get the proper path for the app)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 26, 2016 3:42 pm

Re: 1.6 console

great, thanks
<<

mpi

Serviio lover

Posts: 66

Joined: Fri Nov 18, 2011 9:15 pm

Post Tue Jan 26, 2016 4:00 pm

Re: 1.6 console

Happy if it can help.
Now, with the console available as a web page, I'm wondering if it wouldn't be simpler have the console app just being a compiled AppleScript with that one statement:
  Code:
open location "http://localhost:23423/console"
opening the default system's web browser on the console page...
Attaching as a sample.

Was also thinking about sth similar for a start/stop Server toggle.
Attachments
Launch-Serviio-console.app.zip
Sample AppleScript Console launcher
(50.97 KiB) Downloaded 278 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 26, 2016 4:51 pm

Re: 1.6 console

I wanted to do something like this originally, didn't think it was easily possible ;-)
<<

mpi

Serviio lover

Posts: 66

Joined: Fri Nov 18, 2011 9:15 pm

Post Thu Jan 28, 2016 4:56 pm

Re: 1.6 console

See... MacOS is not that weird! ;)

While at it, I made an improved one that I attach below.
Feel free to reuse/modify/improve/dump, etc...
I borrowed the icon, hope it is ok.

Best.


Description:
This tiny application toggles Serviio server daemon ON/OFF, and if ON, launches the web console in System’s default browser.
Enjoy!



[EDIT] I removed the app. Please refer to this thread for a more complete solution.
Last edited by mpi on Wed Feb 24, 2016 8:30 am, edited 1 time in total.
<<

RaNd

Serviio newbie

Posts: 9

Joined: Tue Feb 02, 2016 2:44 pm

Post Tue Feb 02, 2016 4:09 pm

Re: 1.6 console

leandrodeassis wrote:
zip wrote:
leandrodeassis wrote:there's a way to put password to access the web console?

No, but you can close port 23423 in your firewall so no one from outside your PC can access it.

It's closed, I just wanna open this port to access from outside.

Anyway, thanks for the update. This web console is so great.

Sent from my Moto MAXX using Tapatalk



You can use a apache web server to expose it with access control/password authentication

viewtopic.php?f=5&t=21444&p=106762#p106762
<<

brekkies

Serviio newbie

Posts: 1

Joined: Tue Apr 09, 2013 2:39 pm

Post Sun Feb 07, 2016 8:50 pm

Re: 1.6 console

zip wrote:
leandrodeassis wrote:there's a way to put password to access the web console?

No, but you can close port 23423 in your firewall so no one from outside your PC can access it.



Great answer! And the mediabrowser function is closed too. :cry:
How can I deactivate the Web console? That is a huge security risk. Everyone can use my Web console.
The possibility to set a password for the Web console would be the best.

Cheers, brekkies
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 08, 2016 12:35 am

Re: 1.6 console

MediaBrowser uses 23424...
<<

Diggity

Serviio newbie

Posts: 1

Joined: Wed Feb 17, 2016 5:04 am

Post Wed Feb 17, 2016 5:56 am

Re: 1.6 console

You can use a apache web server to expose it with access control/password authentication

viewtopic.php?f=5&t=21444&p=106762#p106762[/quote]


Do you know how this could be done in IIS?
How to password protect and how to proxy "access to the 1.6 console" with URL rewrite in IIS?
Previous

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 85 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.