summaryrefslogtreecommitdiff
path: root/data/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-05 18:57:26 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-05 18:57:26 +0900
commite3bb0420c16fcbed46a1decf7f0a8bb1bee2a527 (patch)
tree56367763771bb9fe403d016d91e6757ac7b3f26b /data/themes
parent7cc3f1c5a0243d58a3495b106faeaad537ce9f3b (diff)
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.
Diffstat (limited to 'data/themes')
-rw-r--r--data/themes/default.edc81
1 files changed, 78 insertions, 3 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index cce94ef..070af3a 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -316,11 +316,86 @@ collections {
316 target: "novid_clip2"; 316 target: "novid_clip2";
317 } 317 }
318 318
319 part { name: "art_clip"; type: RECT; mouse_events: 0;
320 description { state: "default" 0.0;
321 max: 0 0;
322 visible: 0;
323 color: 255 255 255 0;
324 rel1.to: "base";
325 rel2.to: "base";
326 fixed: 1 1;
327 aspect: 1.0 1.0; aspect_preference: BOTH;
328 }
329 description { state: "visible" 0.0;
330 inherit: "default" 0.0;
331 max: 9999 9999;
332 visible: 1;
333 color: 255 255 255 255;
334 }
335 }
336 part { name: "art_clip2"; type: RECT; mouse_events: 0;
337 description { state: "default" 0.0;
338 visible: 0;
339 color: 255 255 255 0;
340 rel1.to: "base";
341 rel2.to: "base";
342 fixed: 1 1;
343 aspect: 1.0 1.0; aspect_preference: BOTH;
344 }
345 description { state: "visible" 0.0;
346 inherit: "default" 0.0;
347 visible: 1;
348 color: 255 255 255 255;
349 }
350 }
351 part { name: "artshadow"; mouse_events: 0;
352 clip_to: "art_clip2";
353 description { state: "default" 0.0;
354 fixed: 1 1;
355 rel1.to: "art_clip";
356 rel2.to: "art_clip";
357 image.normal: "win_shadow.png";
358 image.border: 14 14 14 14;
359 image.middle: 0;
360 rel1.offset: -7 -3;
361 rel2.offset: 6 11;
362 fill.smooth: 0;
363 }
364 }
365 part { name: "rage.art"; type: SWALLOW;
366 clip_to: "art_clip";
367 description { state: "default" 0.0;
368 rel1.to: "art_clip";
369 rel2.to: "art_clip";
370 }
371 }
372 program {
373 signal: "action,newvid"; source: "rage";
374 action: STATE_SET "default" 0.0;
375 transition: ACCELERATE 0.2;
376 target: "art_clip";
377 target: "art_clip2";
378 }
379 program {
380 signal: "state,noart"; source: "rage";
381 action: STATE_SET "default" 0.0;
382 transition: ACCELERATE 1.0;
383 target: "art_clip";
384 target: "art_clip2";
385 }
386 program {
387 signal: "state,art"; source: "rage";
388 action: STATE_SET "visible" 0.0;
389 transition: DECELERATE 1.0;
390 target: "art_clip";
391 target: "art_clip2";
392 }
393
319 part { name: "rage.content"; type: SWALLOW; 394 part { name: "rage.content"; type: SWALLOW;
320 description { state: "default" 0.0; 395 description { state: "default" 0.0;
321 } 396 }
322 } 397 }
323 398
324 part { name: "rage.list"; type: SWALLOW; 399 part { name: "rage.list"; type: SWALLOW;
325 description { state: "default" 0.0; 400 description { state: "default" 0.0;
326 align: 0.0 0.5; 401 align: 0.0 0.5;
@@ -1557,13 +1632,13 @@ collections {
1557 } 1632 }
1558 program { name: "posshow"; 1633 program { name: "posshow";
1559 action: STATE_SET "visible" 0.0; 1634 action: STATE_SET "visible" 0.0;
1560 transition: SINUSOIDAL 0.3 CURRENT; 1635 transition: SINUSOIDAL 0.3;
1561 target: "poscover"; 1636 target: "poscover";
1562 target: "posclip"; 1637 target: "posclip";
1563 } 1638 }
1564 program { name: "poshide"; 1639 program { name: "poshide";
1565 action: STATE_SET "default" 0.0; 1640 action: STATE_SET "default" 0.0;
1566 transition: SINUSOIDAL 1.0 CURRENT; 1641 transition: SINUSOIDAL 1.0;
1567 target: "poscover"; 1642 target: "poscover";
1568 target: "posclip"; 1643 target: "posclip";
1569 } 1644 }