Commit Graph

140 Commits

Author SHA1 Message Date
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
Carsten Haitzler 94f181f3b4 silence title change printfs that are noise 2017-02-22 21:55:12 +09:00
Carsten Haitzler ca0b1e5fa5 browser - have a nicer view layout that doesnt expand items fully
so resize rage up and down and well... kind of undesireable things
happen to browser items in windowed mode. you want more of a swatch of
things to select from that don't get sily big (or way to horizontally
or vertically squashed) - similarly for fullscreen mode but be a
little different and don't enforce a max size then... it just works
better now... resizing around... try and enjoy. now back to work...
2017-01-17 12:52:52 +09:00
Carsten Haitzler 0722dd5884 thumb binary - just straight exit everywhere. 2017-01-16 17:08:00 +09:00
Al Poole 47b39cc227 Add support for video thumbnails...
Reviewers: raster

Reviewed By: raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D4565
2017-01-16 17:05:54 +09:00
Carsten Haitzler 6eaa248ab1 rage browse mode - move checking of videos dir to mainloop 2017-01-16 15:41:58 +09:00
Al Poole 2340469f42 add support for video thumbnails from meta data and album artwork for audio files.
Summary:
Generally these images are better quality than those
from the Interwebz and local so let's use em!

For now using emotion_object_meta_preview_get()
as Apple stores them in this tag.

emotion_object_meta_image_get() is also available
and I've heard also it is used similarly, but
am yet to find a file that does that.

Reviewers: raster

Differential Revision: https://phab.enlightenment.org/D4555

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-01-12 14:37:39 -08:00
Carsten Haitzler d66c83a547 rage videothumb - use new skip header feature to avoid stutters 2017-01-09 16:18:07 +09:00
Carsten Haitzler f7875643dd rage artfile debug - remove printf. noisy 2016-11-04 19:51:05 +09:00
Carsten Haitzler 313dda5f2d albumart - fix albumart display if paths are uri's
@fix
2016-10-02 00:34:52 +09:00
Carsten Haitzler 253c1bbcdc fix album thumb fetch as search content changed
This fixes T4500 for rage adapting to new search output for grabbing
some kind of thumbnails/images for music.
2016-09-24 19:37:28 +09:00
Carsten Haitzler f30092f35d rage thumb - use titles for movies - it seems some have titles metadata 2016-08-22 23:07:40 +09:00
Carsten Haitzler 00a46790b7 rage videothumb - do not spawn multiple thumbnailers for the same file
so if you slide up and down the seek bar without an existing thumb
file (al my videos had thumb fils because i've been using the browser
which generates the thumb files for me mostly), then rage may spawn
several thumbnailersfor the same file. this is not a good thing. so
avoid it and only have 1 thumbnailer per file
2016-08-22 11:28:56 +09:00
Carsten Haitzler 9e8752a7d9 browser videos dir - if efreet reports a silly dir for videos... handle
so if someone is sily and sets their videos dir to be $HOME ... don't
use it as frankly that makes the video browser useless. it is not
meant for such a mess of dirs. it's meant for a special subdirectory
system which is primarly just media files and nothing else ... not $HOME
2016-08-22 11:27:32 +09:00
Carsten Haitzler b51376f255 rage browser - nuke silly chars from labels 2016-08-20 12:36:53 +09:00
Carsten Haitzler 2bdf8ddf5a rage thumbs - up the qwuality to 320x320 as we use them in browser 2016-08-20 12:25:02 +09:00
Carsten Haitzler b5d428d9c1 adjust a little what rage thinks is a movie for thumbnailing 2016-08-20 12:13:56 +09:00
Carsten Haitzler d328e836a6 video browser - use efreet to get videos dir as opposed to hardcoding 2016-08-20 12:01:51 +09:00
Carsten Haitzler 94cc3073f8 rage thumb - handle silly sized video thumb images sanely 2016-08-16 16:04:27 +09:00
Carsten Haitzler acde989c0a rage video thumb - solve bsd not liking shell redirections
fixes T4360
2016-08-15 07:55:50 +09:00
Carsten Haitzler d0732ec3f1 rage browser mode and ui - slicken between desktop and fullscreen mode
so now sizing and count and spacing of items change, header
sizes/style change and more when switching to/from fullscreen mode.
fullscreen == "i want to be a media cener now on a big screen tv" vs
"i'm a video collection browser in a window on your desktop". far
nicer now. i think this is getting close to another release. maybe
after 1.18
2016-08-06 13:37:54 +09:00
Carsten Haitzler 4780a4b07a rage videothubm - use sh explicitly for thumbnailer tool
fixes problems for peolpe with bizarre shells... like fish.
@fix
2016-06-03 19:43:34 +09:00
Carsten Haitzler 06065de127 rage - be paranoid about timers still going off after deletion
it seems either the ecore timer changes or eodel/unref changes have
caused something bad. timers even tho deleted by ecore_timer_del still
go ticking. this seems to happen in range with the thumb objects. the
smart del deletes the timer - explicitly then LATER the callback is
called still. bad bad bad. for now - don't segv... but eo complaints
about invalid obj id's are due to eo/efl changes.

-> cedric
-> tasn

:S
2016-05-27 12:48:14 +09:00
Carsten Haitzler 43d1998c5f Revert "improve build system to use only one makefile"
This reverts commit 25ffdc470c.

go back to good 'old subdir build. it's just too much of a pain having
to always build from a toplevel dir. see all the issues with efl doing
this.
2016-05-27 12:31:57 +09:00
Carsten Haitzler 88677dfb11 fix subtitle auto-load for when filenames have 2 dots (or more) in file
this fixes T3660
2016-05-27 12:24:42 +09:00
Carsten Haitzler 24ac54b72b fix CID 120179 2016-05-15 22:00:29 +09:00
Carsten Haitzler c22a4950e3 fix CID 120180 2016-05-15 21:58:56 +09:00
Eduardo Lima (Etrunko) 48d9936f9c albumart: avoid crash if substring is not found
Test case: https://soundcloud.com/audiotonic/audio_tonic_mr_mr_radio_1_2702

Signed-off-by: Eduardo Lima (Etrunko) <eblima@gmail.com>
2016-03-11 10:07:52 -03:00