Commit Graph

167 Commits

Author SHA1 Message Date
Carsten Haitzler 34ba280149 fix album art gen/fetch for vido list to update as found 2020-04-03 21:26:09 +01:00
Carsten Haitzler cddd47c9b7 clean/fix art show if same art img 2 times in a row and limit size
now ary images are limited to a 280x280 box which looks so much nicer
than it being badly scaled
2020-03-12 14:11:28 +00:00
Carsten Haitzler 65a614e5e2 remove emotion obj init as its pretty pointless these days 2020-03-03 20:21:20 +00:00
Carsten Haitzler c7bb445f1a remove noisy printfs 2020-02-28 18:46:45 +00:00
Carsten Haitzler ab549eb064 parameterize cover images and add capital start of word versions 2020-02-17 18:42:17 +00:00
Carsten Haitzler b05552c4f1 albumart search - parameterize ectension hunting to make code cleaner
also searches some more extns like all-caps versions and truncated jpe
vs jpeg. also add folder and .cover/.front/.folder images per dir.
this has been here a long while and some people didn't notice but kept
asking for it... :) they never tried it seems. :)
2020-02-17 18:25:29 +00:00
Carsten Haitzler c794cfd4ea browser - move propulate to animator and consts to defines
a bunch of magic constants in the browser - move to defines at the
top. these are for tuning the general way the browser does things so
keep them in a block at the top as defines and move the delayed
populate to an animator to keep a constant amount of per-frame actions
limited (like creates and destroys). up these to 32 creates and
destroys max per frame to keep max smoodness in scrolling around.

on reflection i could also just limit it by time as well... but... for
now this is bvery good and improved over what was there a little bit
ago...
2020-02-15 12:00:36 +00:00
Carsten Haitzler 11a55d0dea browser - limit number of browser file objects creates or destroyed
this limits how many per second we create or destroy spreading the
cost over time to keep smoothness at the cost of perhaps some delay
until you see updated content as you scroll.
2020-02-05 13:48:08 +00:00
Carsten Haitzler 89959af3eb browser - optimize to only load the file entries as they appear
so as you scroll it'll load/create and not per dir. this gets rid of
big stalls as a whole dir worth of edje and thumb/album objects are
created and packed etc. ... now it's far more smooth. i could try and
spread the entry creation over time too instead of all of them that
appear at any time which might be smoother, but pretty good right now.
it also destroys as items go out of the window
2020-02-04 23:26:48 +00:00
Carsten Haitzler da7589ede8 remove redudnant video smart cb 2020-01-24 14:07:18 +00:00
Alastair Poole b21d5d0239 video: keep track of volume setting.
Ensure we retain volume setting between audio/video.
gstreamer was resetting the volume on video change.
2020-01-24 12:41:25 +00:00
Carsten Haitzler 940e789772 video - remove debug printfs 2020-01-17 14:58:59 +00:00
Carsten Haitzler 459cd830ed browser - make it more spacey with less padding wasted 2020-01-17 14:58:27 +00:00
Carsten Haitzler fe95c8db8b rags - allow urls like rtsp://. http:// etc. streams again 2020-01-16 21:39:11 +00:00
Carsten Haitzler 466fce74f0 add volume gui controls and level indicator 2020-01-16 18:49:11 +00:00
Carsten Haitzler 6c98c37e30 dnd - handle dnd data that is not nul terminated already
fix issue where we assumed dnd data is a nul terminated string. it's
not. it's raw data. fix.
2019-08-15 00:22:42 +01:00
Carsten Haitzler b24a22ba6f video - handle null file sets nicely
makes coverity happy
2019-08-06 10:25:17 +01:00
Carsten Haitzler 95cb915557 mpris - fix title return to return real title or generated one 2019-01-24 11:44:33 +00:00
Carsten Haitzler 6a2ef684b4 brng back key controls after dnd fix with focus fix for new button 2019-01-16 11:41:35 +00:00
Carsten Haitzler 7c35c02b5b dnd - deal with efl behavior breaks and use a button not evas rect
so elm broke behavior where it would allow dnd targets to be regular
evas objects not just elm. so it needs ot be elm so use an elm button.

@fix elm break
2019-01-12 14:38:18 +00:00
Carsten Haitzler ae961da8dd handle possible buffer max-out with snprintfs as errors
no warnings now.
2018-11-16 12:35:53 +00:00
Carsten Haitzler 857db46c96 rage albumart - delay img fetch as it seems no response if too fast 2018-09-27 14:39:11 +01:00
Carsten Haitzler 268e125104 rage thumb - limit max parallel thumb fetch to 4 at a time
if you have 128 cores, running 64 of these isnt a brilliant idea.
2018-09-27 11:45:11 +01:00
Alastair Poole d7227a74d3 Fix crash: file can be NULL here. 2018-06-19 17:21:43 +01:00
Carsten Haitzler f328d97ec5 rage thumb - allow a much longer timeout for long generation efforts 2018-02-24 22:17:38 +09:00
Eduardo Lima (Etrunko) 215867863f dnd: Check for spaces after '%' character
In this case the directory name should not be escaped. I recently bumped
into this issue with the '100% Clubland 90s' album.

Signed-off-by: Eduardo Lima (Etrunko) <eblima@gmail.com>
2018-01-04 12:28:00 -02:00
Carsten Haitzler f7e69b9412 mpris - handle when window is gone 2017-12-26 16:41:07 +09:00
Carsten Haitzler d615cd3c11 mpris - dont use gcc extn's of { 0 } to dclare element entirely 0
clang is unhappy with these.
2017-12-19 11:10:00 +09:00
Carsten Haitzler 8d07759869 implement metadata for mpris so evene thumbs work for non-thumbed files
this allows us to port to artfiles always too... this way
music-control displays the albumart. music-control is a bit broken in
that it doesnt keep aspect ratio etc. of these. need to fix that over
there.... but... it's coming together.
2017-11-28 14:32:59 +09:00
Carsten Haitzler de57f6735c mpris support - tidy up
make sure XXX's are for things to do still, list all the mime types
fully that i can find (well ok - should get from emotion but it doesnt
expose this), and dont expose functions that don't work in the dbus
api and note what is imcomplete at the top

this should dot i's and cross t's on the mpris support for now.
2017-11-18 12:23:16 +09:00
Carsten Haitzler f655898d2f add mpris2 dbus api support to rage 2017-11-17 22:45:31 +09:00
Carsten Haitzler 62bbf25fd2 browser - work around focus restore errors by explicitly focusing win
browser hides and rage relied on elm auto-focusing what was left after
hiding/deletion of the browser input button... but this broke ... work
around it and be explicit in focusing win content again.
2017-10-16 08:40:11 +09:00
Carsten Haitzler d82c1877ec fix warning about use after free - wasnt but coverity didn't know better
silence CID 165236
2017-09-28 10:49:40 +09:00
Carsten Haitzler 9663ce71b4 rage - recursion - do it in addition to the list not either-or 2017-09-28 10:48:40 +09:00
Al Poole 6e2b560ed4 thumb: fix optimization conversion, move and free.
Summary:
fix image save (needs extension). use same extension (saves conversion).
fix free before use.

Reviewers: raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D5071
2017-08-06 19:04:24 +09:00
Carsten Haitzler b3cb2d20a7 improve formatting of patch from netstar and warnings removed 2017-08-06 10:59:57 +09:00
Al Poole 82a163cbae Add support for "Open with (folder)" as well as directories passed via the command line.
Reviewers: raster

Tags: #rage

Differential Revision: https://phab.enlightenment.org/D4820
2017-08-05 23:11:32 +09:00
Carsten Haitzler 8dfcdf2435 browser mode - clean up and dot some i's and corss some t's
hide control bar/pos when in browse mode, disable lots of key controls
and pause/unpause click and a bunch more. much cleaner now
2017-08-05 23:09:32 +09:00
Carsten Haitzler 712d88dbf0 rage browser mode thumbs - imrpove handling of child thum processes
dont overload the machin and leave thumb procs around and handle their
death better with tmp files+ atomic rename etc.
2017-07-29 00:54:12 +09:00
Carsten Haitzler a6e000b2e8 fix help for rotation option 2017-07-28 22:27:06 +09:00
Carsten Haitzler af4f8b4b1c remove custom icon... as efl will find the right one anyway.
also remove the install of the extra icon - not needed
2017-07-24 18:46:30 +09:00
Carsten Haitzler 350d6afb47 remove automake files not needed anymore 2017-07-22 13:37:51 +09:00
Carsten Haitzler 9afbe8483e remove some noisy printfs and clean up the error ones 2017-07-21 11:12:00 +09:00
Carsten Haitzler 9125400e97 dont touch img2 in vdieo thumbs if they are not there 2017-07-21 11:12:00 +09:00
Carsten Haitzler 8726c95e2b replace autofoo with meson...
learning how meson works. may not be the cleanest or nicest... but
it's not too bad. it does work. ninja dist works.

build times improved. for a full autogen.sh, make etc. -> 5.205s to 0.759s
2017-07-21 11:11:54 +09:00
Carsten Haitzler 57faf3b21e use sempahore for the lock-step to browsing/scanning thread
fixes T5688
2017-07-09 11:27:08 +09:00
Carsten Haitzler a74ff71242 rage browser mode - make it come up every time properly...
remove race conditions and stop mainloopfrom being too flodded.
2017-06-30 19:42:52 +09:00
Carsten Haitzler 4f0461cf39 winlist - hide if mouse exits window 2017-06-04 11:15:10 +09:00
Carsten Haitzler 370446a303 rage - fix warning for unused params 2017-04-21 16:52:58 +09:00
Carsten Haitzler b56d506602 add cmdline option to rotate window for playback 2017-03-03 21:09:51 +09:00