if you have
file.mp4
then this will use
file.mp4.png
file.mp4.jpg
file.mp3.jpeg
in that order (first found wins) in the same dir instead of googling
for an image. it will also try after the abover, in order:
file.png
file.jpg
file.jpeg
.file.mp4.png
.file.mp4.jpg
.file.mp4.jpeg
.file.png
.file.jpg
.file.jpeg
.thumb/file.mp4.png
.thumb/file.mp4.jpg
.thumb/file.mp3.jpeg
.thumb/file.png
.thumb/file.jpg
.thumb/file.jpeg
first one found wins. if none of these exist, then google shall be
consulted. :)
make video hide on stop so when browser i sback there isnt a dead
video in the background
make poster mode explicit so timeline thumbs work again
add spacing between browser item and make label multi-line
...
1. guess if it's a move by aspectr ratio and lenght.
2. if it meets this - search for a file poster online instead of
generating thumbnails.
3. make thumbs now taller than wide to accomodate poster sizes
looks nicer now.
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
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.
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>
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
The winlist doesn't disappear when the mouse exits the winlist,
but when it reaches the left side of the app.
It is due to a wrong size of an Edje rectangle.
@fix
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. :(
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
%U means that rage can accept one or more urls as params
Whitout this filemanagers (nemo at least) never list rage
as a suggested default for your files and you cannot
set rage as your default player.