maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Fettuccine - A webcam aggregator app (https://talk.maemo.org/showthread.php?t=93403)

Copernicus 2014-07-09 15:37

Re: [Announce] Fettuccine - A webcam aggregator app
 
Quote:

Originally Posted by xes (Post 1432259)
it would be nice to have support for ipcameras into fettuccine.
Since you love xml... ;) .... here you can find a lot of url patterns for many ipcameras:
https://ispyconnect.googlecode.com/s...ML/Sources.xml

Hmm. It isn't really Fettuccine's job to generate a URL by itself (at least, given the way I've designed it); the Fettuccine XML file should already contain the full URL for a particular webcam source. The only thing stopping Fettuccine from displaying a particular camera (such as Foscam) is that I don't yet have it supporting streaming video.

Actually, if I'm reading that file right, you could use the "snapshot" support on the Foscam devices; for example, if you're connecting to a FI8910W camera, you'd just need to give Fettuccine the following URL:

Code:

http://[LINK.TO.CAMERA]/snapshot.cgi?user=[USERNAME]&pwd=[PASSWORD]&count=0
That should pull up the most recent image on the device. You'd just need to fill in the LINK.TO.CAMERA, USERNAME, and PASSWORD yourself.

I'm not sure just how much Fettuccine could automate this process for you...

Quote:

Do you think you could add a tag into the widget saying date and time of last successful update and an on-click action?
Actually, I could! :) Yeah, I left the widget pretty bare, with just the image alone. That did make it quick and easy to implement, but it shouldn't be too much more effort to actually create a user interface on top of it. Let me take a look...

Copernicus 2014-07-10 03:43

Re: [Announce] Fettuccine - A webcam aggregator app
 
Alright, version 0.9.2 of Fettuccine is now moving up to extras-devel. This version features limited support for authentication; Fettuccine will now pop up a dialog box with fields for a username and a password for servers that require them. I have done some minimal testing with it, and have been able to log in to a server that was using basic access authentication.

Quote:

Originally Posted by petur (Post 1432234)
I have a webcam at home that is accessible via https on a non-standard port and with a self-signed certificate, and protected via .htaccess username/password

I'm not sure whether Fettuccine can handle self-signed certificates yet; everything else should hopefully be working now, though. :) I'll take a look at certificate issues next...

Copernicus 2014-07-19 18:02

Re: [Announce] Fettuccine - A webcam aggregator app
 
1 Attachment(s)
Version 0.9.3 of Fettuccine is now moving into extras-devel; with this one, I've put together a minimal user interface for operation as a widget. There are overlay controls to navigate forwards and backwards through the list of webcams, as well as a label at the bottom of the widget with the name of the webcam. These controls can be switched on or off via the webcam options dialog box.

Also in this update, the default list of webcams has been improved (and you can reset the app to this default list now from the "Import Webcam List" menu option). And, a bit more work on authentication has been added; you should now have the option to continue loading a webcam image, even when SSL errors occur.

I'll append a screenshot of a widget with the new overlay controls:

rotoflex 2014-07-20 06:46

Re: [Announce] Fettuccine - A webcam aggregator app
 
I'm getting a lot of use from this app; thanks for creating it!

I wonder if in a future update the app could remember the last filter that was used, & when started, start with that filter active. I suppose a new filter choice of "none" would have to be added so that all cams could be viewed then.

Also, I was wondering what causes the delay when Fettucine starts up. Does it download the images for *all* the cams before displaying the first cam?

Copernicus 2014-07-20 11:09

Re: [Announce] Fettuccine - A webcam aggregator app
 
Quote:

Originally Posted by rotoflex (Post 1433393)
I wonder if in a future update the app could remember the last filter that was used, & when started, start with that filter active. I suppose a new filter choice of "none" would have to be added so that all cams could be viewed then.

Ah, that would be a good idea. :) Let me take a look...

Quote:

Also, I was wondering what causes the delay when Fettucine starts up. Does it download the images for *all* the cams before displaying the first cam?
Hmm. No, it should only try to load the webcam that was most recently viewed when it was shut down. If it takes a while for that webcam to load, though, that could be a problem...

Right now, it seems to take my N900 about a second to reach the "Loading Webcam" screen when launching the app. The widget seems to take a little longer, about two seconds. Can you tell me how long it is taking for yours to reach that point, and then how long it takes to finally show the image? (And is the delay only when starting up, or also when switching between webcams?) Thanks!

rotoflex 2014-07-20 12:49

Re: [Announce] Fettuccine - A webcam aggregator app
 
Quote:

Originally Posted by Copernicus (Post 1433405)
Right now, it seems to take my N900 about a second to reach the "Loading Webcam" screen when launching the app. The widget seems to take a little longer, about two seconds. Can you tell me how long it is taking for yours to reach that point, and then how long it takes to finally show the image? (And is the delay only when starting up, or also when switching between webcams?) Thanks!

Loading the app, it takes 2 seconds to get the "Loading Webcam" screen, then 62 seconds before the first image is shown.

It then takes about 6 seconds to show the next cam.

Copernicus 2014-07-20 12:53

Re: [Announce] Fettuccine - A webcam aggregator app
 
Quote:

Originally Posted by rotoflex (Post 1433412)
Loading the app, it takes 2 seconds to get the "Loading Webcam" screen, then 62 seconds before the first image is shown.

Wow, that is a long wait! I've not seen that long of a load before. Can you tell me the webcam it is trying to load?

xes 2014-07-20 13:54

Re: [Announce] Fettuccine - A webcam aggregator app
 
Nice update. Thank you!
One little issue.. it seems that every webcam import resets the webcam list removing all the previous entries.

Copernicus 2014-07-20 14:22

Re: [Announce] Fettuccine - A webcam aggregator app
 
Quote:

Originally Posted by xes (Post 1433419)
One little issue.. it seems that every webcam import resets the webcam list removing all the previous entries.

That's not a bug, that's a feature! ;) Ok, well, yeah, only supporting a single list of webcams at a time is pretty restricting. However, it'll take me a bit more effort to come up with a good system for managing multiple collections of webcams. It wouldn't be too hard to maintain such a collection internally in Fettuccine, but I'm not sure how to create a decent user interface over it... I'll work on it. :)

xes 2014-07-20 21:23

Re: [Announce] Fettuccine - A webcam aggregator app
 
Probably the default behavior i would expect is an "add entry" form ready for a cut&paste or in second chance the xml import wizard to add an entire set of resources (maybe also an export to backup?)...
Concerning the widget behavior while without internet connection, there is still something wrong but i think to recall that it was just partially fixed.
Anyway, this app is another jewel of yours, ready to make shine or N900!


All times are GMT. The time now is 00:26.

vBulletin® Version 3.8.8