Commit Graph

12 Commits

Author SHA1 Message Date
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
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
Carsten Haitzler bdeeb9e284 rage - also support cover+front images for albums 2015-11-22 10:51:22 +09:00
Carsten Haitzler 1f6f9b084b rage albumart - use image files in saame dir as media file if there
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. :)
2015-11-21 18:16:41 +09:00
Carsten Haitzler f9c47fb521 rage - finish off improving browser 2015-11-14 00:02:22 +09:00
Carsten Haitzler 622cba151e rage browser - improve looksa and layout to use file posters if possible
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.
2015-11-12 22:23:21 +09:00
Carsten Haitzler 25a21888bc rage - fix coverity issues. 2015-10-11 14:44:26 +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 abfa9d2360 rage - fix albumart fetch if file is a uri 2015-04-22 12:11:35 +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 b084603c7c albumart - remove square restriction as it works better it seems 2014-08-10 11:47:27 +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