Commit Graph

69 Commits

Author SHA1 Message Date
Carsten Haitzler 4b516ab8bb rage - borwser - remember prev selected entry and re-sel on re-show 2015-10-11 11:33:00 +09:00
Carsten Haitzler 04630ed478 rage browser - delete dir entries when deleting browser on hide 2015-10-11 11:06:50 +09:00
Carsten Haitzler c72e038237 rage - expand stop action to also use backspace and del keys 2015-10-11 10:46:50 +09:00
Carsten Haitzler e76c1c3cf1 rage - dont resize window first audio play after browser mode 2015-10-11 10:45:24 +09:00
Markus Törnqvist e5edb6748b Disable adding files that cannot be played
Summary: Dropping a directory into Rage added everything before this patch, complaining about some files and definitely not playing them. This adds `emotion_object_extension_may_play_get()` checks.

Test Plan:
Drop a non-playable file and a directory containing non-playable files.

The file(s) get(s) added (but cannot be played, obviously) before this patch and after this they're ignored.

Reviewers: raster

Projects: #rage

Differential Revision: https://phab.enlightenment.org/D3162
2015-10-10 17:02:33 +09:00
Carsten Haitzler b4b380ce1f rage - add "browser" when run with no args - index ~/Videos
this adds a video browser that indexes everything in ~/Videos
flattening subdirs into categories. It also will handle music and
fetch album art. browser can be mouse or key controlled. makes rage
almost media-centerey. not intended as a replacement tho, but just
that it's handy to throw in.
2015-10-10 16:51:49 +09:00
Carsten Haitzler 1d492a6847 rage - avoid htonl due to windows issues - makes things simpler 2015-09-23 16:48:41 +09:00
Thomas Guillem 9018a76b7b fix emotion lib leak
Summary:
Emotion lib ref count is incremented by video_add and by emotion_object_add.
This ref count should be also decremented when the object returned by video_add is
destroyed.

An other way to fix this leak is to remove emotion_init from video_add since
it's already initialised by emotion_object_add.

Projects: #rage

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-09-22 01:25:44 +02:00
Carsten Haitzler b0d6d61b24 use blank focus style for input catcher button widget 2015-08-17 10:50:05 +09:00
Daniel Zaoui 409361142d Delete Evas callbacks on win deletion
A crash happens when a movie finishes and the program terminates.
An access to the "inf" data is done, although this data has been freed
during the win deletion.
It crashes only if the mouse is not over the progress bar.

@fix
2015-08-08 00:13:55 +03:00
Eduardo Lima (Etrunko) be675a14cc Sort list of files before inserting
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2015-06-01 16:53:48 -03:00
Eduardo Lima (Etrunko) 3813ef7c45 dnd: Recurse into directories using eio
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2015-06-01 16:51:23 -03:00
Carsten Haitzler 28e354b045 rage - fix stutter due to url fetching when not needed
rage was trying to fetch albumart for videos mistakenly. i thought
this may have been an emotion mess-up. no. rage mess-up. fix by
delaying until emotion back-end has figured out the new stream. this
does point out that curl is managing to block the mainloop and perhaps
we should stuff it off into a slave thread in ecore_con. :(
2015-04-28 14:30:11 +09:00
Carsten Haitzler ca14bfa264 fix minor leak in rage on failed win creation
fixes CID 61903
2015-04-26 12:23:56 +09:00
Carsten Haitzler 027be78ac7 remove unused var assignment in dnd string parser
fixes CID 61905
2015-04-26 12:17:21 +09:00
Carsten Haitzler b78bffcf1a and for 0.1.3 - fix albumart thumbnail list 2015-04-22 12:33:40 +09:00
Carsten Haitzler abfa9d2360 rage - fix albumart fetch if file is a uri 2015-04-22 12:11:35 +09:00
Carsten Haitzler 6cd663edfc do a rage 0.1.2 to fix thumb generation due to uri encodings 2015-04-10 09:41:09 +09:00
Carsten Haitzler 92079ca855 do update of rage - fix warning 2015-04-07 12:33:42 +09:00
Davide Andreoli bfa96f2e08 Correctly handle urls wrt to url encoding
If the file is a real url (with urlencoded chars) then use
efreet_uri_decode to decode the uri and use the decoded
string in place of the raw file in window title and playlist items
2015-01-27 22:52:58 +01:00
Amitesh Singh 9bd2dfbd46 rage - add un/fullscreen on double mouse click.
Test Plan: rage -> "double mouse click"

Reviewers: etrunko, seoz, raster

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1430
2014-11-29 16:00:56 +09:00
Carsten Haitzler 27f4784033 rage - add missing include 2014-11-29 10:53:12 +09:00
Carsten Haitzler 873ed3c4b6 Keybind c to clear playlist
Summary:
It's somewhat annoying to keep restarting rage in order to manipulate the playlist. Having a keybind for clearing it
goes a long way for usability.

Test Plan: Add files. Hit c. Add more files. Skip around in the playlist. Clear. Add.

Reviewers: etrunko, raster

Projects: #rage

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

* fix mem leak of vid content
2014-11-29 10:50:03 +09:00
Carsten Haitzler 05608eec3a Delete current media from playlist
Summary:
So you have unorganized files, or pseudo-organized files, and you dump them into rage. A song or video comes up that you don't want to bother with, so you want to hit delete to not play it.

This will be more useful later with a "loop all" feature, but I implemented it now because I often bump into this situation.

Reviewers: etrunko, raster

Projects: #rage

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

* also fix mem leak in not freeing vid struct content
2014-11-29 10:48:39 +09:00
Carsten Haitzler ae23214e0e rage - unised param warning-- 2014-11-27 20:23:21 +09:00
Cedric BAIL b4e10e4c5a DnD printf() is very verbose, could we consider not having it in?
Summary:
When doing other patches, I was constantly distracted by this printf and I couldn't see a purpose for having it in there.

You may reject this patch if you want, but I think it warrants some thought :)

Reviewers: etrunko, raster

Projects: #rage

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-25 17:33:55 +02:00
Carsten Haitzler e1184dbf66 rage main - sety up localedir if nls etc. set.
no nls yet - but std setup
2014-09-20 23:04:44 +09:00
Eduardo Lima (Etrunko) 7c80b9a131 dnd: Recurse into directories
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2014-09-08 16:25:05 -03:00
Carsten Haitzler 1aeb90440b rage - no need for elm shutdown anymore 2014-09-01 15:30:26 +09:00
Carsten Haitzler 7969915fa1 rage thumb tool - use preferred engine not explicit engine 2014-08-26 17:45:58 +09:00
Carsten Haitzler 1acc6309e7 fix rage_thumb execution if not in /usr/local 2014-08-26 12:24:41 +09:00
Carsten Haitzler f15ebcae4c rage - add sub option help to -h 2014-08-23 19:33:45 +09:00
Carsten Haitzler c2472804f9 add subtitle support into rage on cmdline as well as automatic 2014-08-23 19:29:10 +09:00
Carsten Haitzler 4bbc18d17a rage - fix preferred sizing for audio 2014-08-17 16:38:59 +09:00
Carsten Haitzler 3b2e8bb3a5 fix comma key bind 2014-08-15 20:24:48 +09:00
Carsten Haitzler a77abd4f74 instead fo blank black boxes in video list for music files use art
use albumart if already cached/found for video list thumbs for known
music files... at least until a video frame is decoded.
2014-08-15 19:35:38 +09:00
Carsten Haitzler 5f473687dd fix focus and key events in rage to have dummy button always 2014-08-15 15:19:36 +09:00
Carsten Haitzler 47df468a46 make ui even nicer... especially for music 2014-08-11 22:07:57 +09:00
Carsten Haitzler b084603c7c albumart - remove square restriction as it works better it seems 2014-08-10 11:47:27 +09:00
Mike Blumenkrantz 25ffdc470c improve build system to use only one makefile 2014-08-09 11:57:40 -04:00
Carsten Haitzler f045398c0f rage - gesture layer - move below dragbar and such controls 2014-08-09 14:49:14 +09:00
Carsten Haitzler 271711e2b4 sue proper vid obj 2014-08-07 19:39:32 +09:00
Tom Hacohen e695940240 Fix some emotion calls to be called on the emotion object.
They were being called on the wrong object (the video smart instead of the emotion object),
now all the functions get called on the emotion object as they should.
2014-08-07 10:18:13 +01:00
Carsten Haitzler 07b8fcffdc rage - if win isnt created - exit 2014-08-06 14:56:38 +09:00
Carsten Haitzler e3bb0420c1 rage - add album art fetching for audio only stuff.
if the track is audio only, it'll look in a cache of albumart, if not,
request the big google in the sky for an image with some search terms
guessed from id3/metadata/filename and then use that. tak'es the first
thing found. not very smart, but pretty damned good most of the time.
2014-08-05 18:57:26 +09:00
Carsten Haitzler 706e4948d7 add video thumbnails on timeline/dragable/seeker at the bottom
these thumbnails are generated in the bg by rage_thumb and will appear
once generated (or already found cached). it'll generate new thumbs if
modified dates are equal or newer on tthe src vs the thumbnail cache.
the caches store 160xN thumbs (keep aspect) with 70% lossy jpeg
quality in an eet file with one thumb per 10 second interval. so it
has limited accuracy.
2014-08-04 17:15:30 +09:00
Carsten Haitzler 848b3af260 rage - add thumbnailer core - intended for use with timeline 2014-08-03 21:36:45 +09:00
Carsten Haitzler 5537b118e7 rage - fix dnd to work again 2014-08-01 07:50:40 +09:00
Carsten Haitzler ee19bdb485 hide mouse on mouse idle on fullscreen mode in rage 2014-07-21 13:13:33 +09:00
Carsten Haitzler f35241a154 rage - add (un)/fullscreen button/status gadget and close in fs mode 2014-07-20 23:38:02 +09:00