DVR_STREAMING & MooTools

Support and queries relating to all previous versions of ZoneMinder
Locked
mudputty
Posts: 16
Joined: Thu May 22, 2008 5:31 pm

DVR_STREAMING & MooTools

Post by mudputty »

OK, I have Mootools installed (very easy to do just copy it to the ZM web directory and rename it to mootools.js), and the DVR controls are working. I have one issue though. All the past recorded videos are no longer listed!? Kinda odd. Is there something else that needs to be done to see the recorded videos for the "Monitors"

If I dissable "ZM_WEB_DVR_STREAMING" then all the previous recordings are then again listed for view.
timcraig
Posts: 195
Joined: Mon Dec 10, 2007 5:53 pm
Location: San Jose, CA

Post by timcraig »

I had this same problem when I upgraded to 1.23.3. The reason the events were not showing on in my browser was because of a javascript error killed the event list creation. The error was something about 'console' not found. I found in zm_html_view_eventX.php and zm_html_view_watchX.php calls to 'console.log'. I commented all those calls out and the event list appeared again.
mudputty
Posts: 16
Joined: Thu May 22, 2008 5:31 pm

Post by mudputty »

I'm not finding any errors on the page. Do you recall how you found the error and what exactly you commented out in the files? I'm not a php buff :) I see a number of refrences to "console.log". It sounds like you commented all of them out?
timcraig
Posts: 195
Joined: Mon Dec 10, 2007 5:53 pm
Location: San Jose, CA

Post by timcraig »

I used the Firefox Error Console (under Tools->Error Console). I opened the Error Console. Then I Pressed the 'Clear' button to delete older error message. Then clicked in opened a monitor feed in zoneminder and saw the javascript error.

If you don't see that error message in the Firefox Error Console after following those steps, then your problem might be different than the one I had.
mudputty
Posts: 16
Joined: Thu May 22, 2008 5:31 pm

Post by mudputty »

Ahhhh, yup "console is not defined" is the error I recieve. So, you just removed all references to "console.log"? I will try it.
mudputty
Posts: 16
Joined: Thu May 22, 2008 5:31 pm

Post by mudputty »

"Well, slap my behind and call my momma!" That did it. I went into those two files and everywhere there was a "console.log" without "//" in front of it I added it to comment it out.

Now it works just great except for one thing...how do I check on videos that are not currently being displayed? I have recordings from yesterday that I can't seem to get to.
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

I was wondering why my events weren't showing up on my new 8.0.4 Ubuntu/1.23.3 zm install. My workaround was to click on the # of events instead of the monitor name, but I'm going to try this.
mudputty
Posts: 16
Joined: Thu May 22, 2008 5:31 pm

Post by mudputty »

OHHHhhhhhh, ok...I just need to click on the Event number to see the list of events. Haha, I had no idea you could do that. Is there a way to do the same thing from within the actual monitor (once you have clicked on the monitor's link can you view things just like clicking on the "events" link?)
timcraig
Posts: 195
Joined: Mon Dec 10, 2007 5:53 pm
Location: San Jose, CA

Post by timcraig »

When I saw no else not mentioning seeing events in the monitor feed I thought I was the only one experiencing this problem. I thought the console object was part of some kind of "must have" firefox extension that I did not have or there was an issue with my firefox browser.
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

So is this on a bug list somewhere? Apparently we're all experiencing it.

Meanwhile, didn't feel like starting a new thread, but the previous button (far left) on the DVR interface just brings you to the beginning of the event you're currently viewing. It would be nice if it brought you to the previous event.
haus
Posts: 213
Joined: Thu Oct 11, 2007 5:10 am

Post by haus »

Should be on a bug list - hopefully this thread will count as such. I experienced it too, and didn't mention it because I read somewhere the DVR functionality was highly experimental, so I turned it off and figured I'd wait for further instructions. :) Guess I found 'em!
Locked