Re: Broke my APIs on Upgrade
Posted: Wed Oct 24, 2018 5:22 pm
Yes; removing the /zm part of the link worked.
Code: Select all
<div id="imageFeed"><img id="liveStream1" src="http://localhost/cgi-bin/nph-zms?etc..."/></div>
Code: Select all
<div id="imageFeed"><?php echo getStreamHTML( $monitor, array('scale'=>$scale) ); ?></div>
Code: Select all
function getStreamHTML( $monitor, $options = array() ) {
...
}
Code: Select all
return getVideoStreamHTML( 'liveStream'.$monitor->Id(), $streamSrc, $options['width'], $options['height'], ZM_MPEG_LIVE_FORMAT, $monitor->Name() );
Code: Select all
$streamSrc = $monitor->getStreamSrc( array(
Code: Select all
function getStreamSrc( $args, $querySep='&' ) {
$streamSrc = ZM_BASE_URL.ZM_PATH_ZMS;
Code: Select all
set(ZM_PATH_ZMS "/cgi-bin/nph-zms" CACHE PATH
"Web url to zms streaming server, default: /cgi-bin/nph-zms")
Code: Select all
...
Options-> Paths moved into config files under conf.d folder
...
Code: Select all
# *** DO NOT EDIT THIS FILE ***
#
# To make custom changes to the variables below, create a new configuration
# file, with an extention of .conf, under the /etc/zoneminder/conf.d
# folder, containing your desired modifications.
I just tried to read through and follow all of this, and was I failed. Is there any chance you could paste the contents of your zoneminder.conf file that finally got everything working with the LEMP install method?databoy2k wrote: ↑Sat Oct 27, 2018 3:20 am RTFM indeed; remember, us debian people think everything revolves around "sudo apt install". No compiling when we have PPAs (I say as I type this on a Win10 box).
Growing pains - ZM desperately needed an overhaul (my system also runs yahoo, although I haven't had as much luck getting that set up) and the latest update to HomeAssistant just significantly upgraded ZM interaction to use run states so between that and 1.32 I'm feeling somewhat updated. Now if we could just figure out the documentation life would be good.
I try to avoid doing the docs myself because of how noob I am, but hopefully others have followed this thread and can both a) update the docs and b) piece together what we've fixed for their own systems.