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-20 23:17

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

Originally Posted by xes (Post 1433458)
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?)...

That sounds doable (although I'm nervous about cut & paste on the phone, I've never been able to use it very well myself). I'm kind of more concerned about how I display this collection to the user; I guess it would have to be a list of some sort, with a name (and maybe some user-defined description?) for each collection. Hmm. I'll see what I can come up with...

Quote:

Concerning the widget behavior while without internet connection, there is still something wrong but i think to recall that it was just partially fixed.
This would not be a surprise. :) I'm sure there are plenty more bugs yet to be fixed. It wouldn't be as much fun if it was perfect from the very start. :)

rotoflex 2014-07-21 06:00

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

Originally Posted by Copernicus (Post 1433413)
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?

http://www.intellicast.com/National/...1&animate=true

By the way, you may know this but the Fettucine "Webcam Info" screen cuts off the display of long URL's - I had to open the URL in MicroB & then read it from there.

Copernicus 2014-07-21 23:11

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

Originally Posted by rotoflex (Post 1433480)

Hmm. When I try to load the gif file associated with that page,

http://images.intellicast.com/WxImag..._None_anim.gif

it comes up almost instantly. I also tried feeding the web page's own URL to Fettuccine, but it fails to load (which is what should happen). I'm not sure what's going on here...

Quote:

By the way, you may know this but the Fettucine "Webcam Info" screen cuts off the display of long URL's - I had to open the URL in MicroB & then read it from there.
Hmm. I've got the "word wrap" option set on those labels, but apparently that's not working with links. :( I'll try changing from a QLabel to a QTextView, maybe that'll work better...

marxian 2014-07-21 23:17

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

Originally Posted by Copernicus (Post 1433560)
I've got the "word wrap" option set on those labels, but apparently that's not working with links. :( I'll try changing from a QLabel to a QTextView, maybe that'll work better...

Word wrap only wraps where there is a word boundary, so it doesn't generally work with URLs, unless there is unencoded whitespace.

EDIT: QTextEdit has more fine-grained wrapping options, so that might be the best option. Setting the stylesheet to "background: transparent" should be enough to obtain a QLabel-like appearance.

Copernicus 2014-07-21 23:29

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

Originally Posted by marxian (Post 1433561)
EDIT: QTextEdit has more fine-grained wrapping options, so that might be the best option. Setting the stylesheet to "background: transparent" should be enough to obtain a QLabel-like appearance.

Yup, just tried it out, and it works much better. I'm not sure I really need to make it look like a QLabel, either; I suppose I really should put a little more effort into both what the info screen should contain as well as how it should look. :) Thanks!

sixwheeledbeast 2014-07-28 22:24

Re: [Announce] Fettuccine - A webcam aggregator app
 
1 Attachment(s)
Possible bug?
Seems on startup I get "Textlabel" instead of the text.

I am slowly compiling a list of UK traffic motorway cameras I currently only have Lancashire but I hope to release a finished full categorised UK XML file in the future.

Maybe XML files could be plugin based like multimote?

Copernicus 2014-07-28 23:10

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

Originally Posted by sixwheeledbeast (Post 1434145)
Possible bug?
Seems on startup I get "Textlabel" instead of the text.

Yes, definitely a bug. :) I'm not initializing the label correctly on startup. (I should have fixed it already, but I've been spending way too much time playing around with Linguine...)

Quote:

I am slowly compiling a list of UK traffic motorway cameras I currently only have Lancashire but I hope to release a finished full categorised UK XML file in the future.

Maybe XML files could be plugin based like multimote?
Sounds like a good idea, let me take a look! :)

xes 2014-07-30 16:32

Re: [Announce] Fettuccine - A webcam aggregator app
 
Since i'm almost unsatisfied of many meteo services... I have found that the only way to know if there is a REAL storm arriving over my head (or car) is:

http://blitzortung.net/Images/image_b_eu.png
http://blitzortung.net/Images/image_b_fr.png
http://blitzortung.net/Images/image_b_de.png
http://blitzortung.net/Images/image_b_uk.png
http://blitzortung.net/Images/image_b_pl.png
http://blitzortung.net/Images/image_b_sk.png
http://blitzortung.net/Images/image_b_gr.png
http://blitzortung.net/Images/image_b_as.png
http://blitzortung.net/Images/image_b_us.png
http://blitzortung.net/Images/image_b_sa.png
http://blitzortung.net/Images/image_b_oc.png

(updated once a minute)

or a gif:
http://www.wetter-rosstal.de/blitzor...hp?animation=2

Maybe someone else could find this useful.

@Copernicus
for one of the next releases, if you need some idea to add a function... some kind of image crop would be useful.

Copernicus 2014-07-30 17:07

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

Originally Posted by xes (Post 1434324)
for one of the next releases, if you need some idea to add a function... some kind of image crop would be useful.

Ah, interesting idea! I'll take a look... :)

xes 2014-07-30 17:21

Re: [Announce] Fettuccine - A webcam aggregator app
 
..or even expose to an external command line tweak ;)

wget http://blitzortung.net/Images/image_b_fr.png -O- 2>/dev/null | convert - -fill Black -fuzz 35% -opaque Green output.png

wget http://blitzortung.net/Images/image_b_pl.png -O- 2>/dev/null | convert - -fill Black -fuzz 35% -opaque Green - | convert - -crop 500x500+200+200 output.png


All times are GMT. The time now is 15:14.

vBulletin® Version 3.8.8