Also, a tiny thing & not important but is it possible to do away with the 2 seconds delay when auto logging in UI2 or is it a necessary delay.
Thanks again for your great work, I will look but is there a donation option for this development.
Stupid me, found my own answer, simply have a copy of the files in another directory with the .jar & config and point that,
Great!
<windowTitle>BlueIrisViewer</windowTitle>
@patja, after you double check the server address is correct if it is still a problem let me know and I will try to reproduce in case it actually is a bug in my code
Looks like a wonderful app for viewing cams locally on the internal network from other machines than just the one that has BlueIris installed.
However, I am not able to log in from any of the other machines I am testing from. I get only "Unrecognized server!" as the error message.
Logfile is enabled but I do not get any prints to the logfile. I do see in the logfile that I am disabling/enabling the error logging.
If I take the ip address and port number from BlueIris Viewer and enter that into my web browser I am able to login just fine.
I can ping my BlueIris server ip and get reply back.
I am on BlueIris Viewer 2.6 and my BlueIris server is running latest version 4.2.9.1.
Accessing the BlueIris server via my Android phone and the BlueIris app for Android works perfectly fine.
EDIT:
I installed on a 3rd computer but still the same error. Now I get the following log errors:
============
2016/02/14 16:01:59 An exception has occurred in class org.brian.blueirisviewer.util.Utilities:
http://127.0.0.1:80/json
Additional Info:
URL: http://127.0.0.1:80/json
java.io.FileNotFoundException: http://127.0.0.1:80/json
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at org.brian.blueirisviewer.util.Utilities.getViaHttpConnection(Utilities.java:157)
at org.brian.blueirisviewer.util.Utilities.getViaHttpConnection(Utilities.java:59)
at org.brian.blueirisviewer.util.Utilities.getStringViaHttpConnection(Utilities.java:240)
at org.brian.blueirisviewer.images.Images$1.run(Images.java:158)
at java.lang.Thread.run(Unknown Source)
2016/02/14 16:01:59 An exception has occurred in class org.brian.blueirisviewer.images.Images$1:
Exception message was null
Unexpected token END OF FILE at position 0.
at org.json.simple.parser.JSONParser.parse(JSONParser.java:257)
at org.json.simple.parser.JSONParser.parse(JSONParser.java:81)
at org.json.simple.parser.JSONParser.parse(JSONParser.java:75)
at org.brian.blueirisviewer.images.Images$1.run(Images.java:162)
at java.lang.Thread.run(Unknown Source)
=============
Note that the URL is still the local address which is wrong.
I have changed in the GUI and I can also see in the config file that it indeed has the new and proper IP address and port.
I tested now with running the BlueIris Viewer locally on the same machine where I have BlueIris installed. Same error.
I do have verified that my custom port setting for BlueIris is properly stated in the URL since when I paste the URL into a web browser I am connected directly without any problems.
<org.brian.blueirisviewer.BIVSettings>
<serverURL>http://192.168.10.6:8181/</serverURL>
<loadStartPositionAndSizeUponAppStart>true</loadStartPositionAndSizeUponAppStart>
<disableWindowDragging>false</disableWindowDragging>
<overrideGridLayoutX>0</overrideGridLayoutX>
<overrideGridLayoutY>0</overrideGridLayoutY>
<startPositionX>320</startPositionX>
<startPositionY>180</startPositionY>
<startSizeW>1280</startSizeW>
<startSizeH>720</startSizeH>
<borderless>false</borderless>
<restartBorderlessToggle>false</restartBorderlessToggle>
<imageRefreshDelayMS>450</imageRefreshDelayMS>
<bOverrideGridLayout>false</bOverrideGridLayout>
<imageFillMode>0</imageFillMode>
<modalUI>true</modalUI>
<username>XXXXXXX</username>
<password>XXXXXX</password>
<imageResolutionMode>2</imageResolutionMode>
<overrideJpegQuality>false</overrideJpegQuality>
<jpegQuality>60</jpegQuality>
<instantReplayEnabled>false</instantReplayEnabled>
<instantReplayHistoryLengthMinutes>5</instantReplayHistoryLengthMinutes>
<hiddenCams/>
<logErrorsToDisk>true</logErrorsToDisk>
<windowTitle>BlueIrisViewer</windowTitle>
<useLibjpegTurbo>true</useLibjpegTurbo>
<useMjpegStream>false</useMjpegStream>
<nightModeEnabled>false</nightModeEnabled>
<nightModeStartTime>20:00</nightModeStartTime>
<nightModeEndTime>8:00</nightModeEndTime>
<setDayModeBrightness>false</setDayModeBrightness>
<setNightModeBrightness>false</setNightModeBrightness>
<dayModeBrightness>100</dayModeBrightness>
<nightModeBrightness>10</nightModeBrightness>
<pixelManipulationDayMode>0</pixelManipulationDayMode>
<pixelManipulationNightMode>3</pixelManipulationNightMode>
</org.brian.blueirisviewer.BIVSettings>
Code:<org.brian.blueirisviewer.BIVSettings> <serverURL>http://192.168.10.6:8181/</serverURL> </org.brian.blueirisviewer.BIVSettings>
and here is the screenshot of my BlueIris webserver settings
View attachment 8306
If I change the password or username then I get the error message invalid username so BlueIris Viewer must be getting connection with the BlueIris server.
Screenshot example:
View attachment 8308
Is it possible to rearrange or resize the cameras, as it appears in the second screenshot of the first post? Or was that a screenshot of multiple instances of the viewer?