summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-12-09 18:48:02 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-12-09 18:48:02 +0000
commit90ce8269033dd1f06a5054392f35e45e45a5c560 (patch)
tree0583f4c56c2b8d73078f2112cc851862b859385d /apps/plugin.c
parent19f487b451b026833a6d9aaeabcec756c9e9f2b7 (diff)
downloadrockbox-90ce8269033dd1f06a5054392f35e45e45a5c560.tar.gz
rockbox-90ce8269033dd1f06a5054392f35e45e45a5c560.zip
Initial commit of the PictureFlow plugin, a nice visualization for album covers.
Original code by Ariya Hidayat. Rockbox port by Jonas Hurrelmann and a few tweaks by me. On the first startup the database is scanned and album art is searched for each album. This process will take some time (dircache enabled and/or database in RAM speed it up, and it is possible to abort by pressing MENU), but the results are cached and the next startups will be very quick. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15900 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 9067097591..10391f9f35 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -532,6 +532,38 @@ static const struct plugin_api rockbox_api = {
532 remote_backlight_set_timeout_plugged, 532 remote_backlight_set_timeout_plugged,
533#endif 533#endif
534#endif /* HAVE_REMOTE_LCD */ 534#endif /* HAVE_REMOTE_LCD */
535
536#if (CONFIG_CODEC == SWCODEC)
537 bufopen,
538 bufalloc,
539 bufclose,
540 bufseek,
541 bufadvance,
542 bufread,
543 bufgetdata,
544 bufgettail,
545 bufcuttail,
546
547 buf_get_offset,
548 buf_handle_offset,
549 buf_request_buffer_handle,
550 buf_set_base_handle,
551 buf_used,
552#endif
553
554#ifdef HAVE_TAGCACHE
555 tagcache_search,
556 tagcache_search_set_uniqbuf,
557 tagcache_search_add_filter,
558 tagcache_get_next,
559 tagcache_retrieve,
560 tagcache_search_finish,
561#endif
562
563#ifdef HAVE_ALBUMART
564 find_albumart,
565 search_albumart_files,
566#endif
535}; 567};
536 568
537int plugin_load(const char* plugin, void* parameter) 569int plugin_load(const char* plugin, void* parameter)