Commit Graph

180 Commits

Author SHA1 Message Date
Carsten Haitzler 52943e5ec7 subtitle mute - ensure we unmute subs is sub file used 2021-09-26 21:21:28 +01:00
Carsten Haitzler 7d7c825ecd video smart - we dont need to handle the move func - smart clipped does 2021-07-09 11:35:34 +01:00
Vincent Torri ecaccef008 mpris: do not support mpris on Windows
Summary: mpris is a Unix dbus tech, there is no such thing on Windows

Test Plan: compilation and launch rage --> no more eldbus error messages :)

Reviewers: raster

Subscribers: netstar, raster

Tags: #rage

Differential Revision: https://phab.enlightenment.org/D12255
2021-04-04 17:53:09 +01:00
Carsten Haitzler d682faf9b6 add util funcs (move from browser to be shared) and use from main too
file recursion/listing will now use the same funcs as browser.c did -
fast extn checks.
2021-03-22 17:02:35 +00:00
Carsten Haitzler 69cab3e815 video + videothumb - fix leak
fix leak on delete of obj

@fix
2021-03-18 12:12:25 +00:00
Alastair Poole 9dd7919981 main: elm_quit if no media found with recursive add.
This solves an issue whereby a user who associates a file:// uri
with rage, can open a link. A slow traversal *can* mean a long
and often unexpected delayed open of Rage.
2021-01-30 11:14:37 +00:00
Carsten Haitzler af99a9ea5c remove build warnings to get a clean build
no actual functional changes
2020-08-25 15:21:02 +01:00
Carsten Haitzler d8d4b76a69 rage dir scan - include files of no mime in case mime db is not there 2020-08-22 18:05:18 +01:00
Carsten Haitzler 6875aabc27 rage - add -lm linking when needed 2020-05-27 11:53:29 +01:00
Carsten Haitzler 11373da80b remove printf debugs... 2020-05-03 15:39:03 +01:00
Carsten Haitzler d41b44b07a n key - in music mode have it drop win size back to fit the albumart
if you press n - it'll normalize the window size given the current
media and now for audio it'l go "Square" or the size it'd use if you
launched it to begin with on a music file.
2020-04-27 13:33:07 +01:00
Carsten Haitzler c9a15ab2e8 fix somw browser badness on resize
some undeleted objects... fix
2020-04-23 18:13:02 +01:00
Carsten Haitzler cf2b383f0c fix up album art if it's in the music file itself and not fetched 2020-04-03 23:36:23 +01:00
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