1
0
Fork 0
forked from len0rd/rockbox

Fill WPS tags from tagcache if available.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9260 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-03-26 16:37:18 +00:00
parent d1f9495c83
commit b7251261de
2 changed files with 4 additions and 3 deletions

View file

@ -50,6 +50,7 @@
#include "buffer.h" #include "buffer.h"
#include "dsp.h" #include "dsp.h"
#include "abrepeat.h" #include "abrepeat.h"
#include "tagcache.h"
#ifdef HAVE_LCD_BITMAP #ifdef HAVE_LCD_BITMAP
#include "icons.h" #include "icons.h"
#include "peakmeter.h" #include "peakmeter.h"
@ -2132,8 +2133,8 @@ struct mp3entry* audio_current_track(void)
if (!filename) if (!filename)
filename = "No file!"; filename = "No file!";
// if (tagcache_fill_tags(&temp_id3, filename)) if (tagcache_fill_tags(&temp_id3, filename))
// return &temp_id3; return &temp_id3;
p = strrchr(filename, '/'); p = strrchr(filename, '/');
if (!p) if (!p)

View file

@ -59,7 +59,6 @@ struct tagcache_search {
long result_seek; long result_seek;
}; };
bool tagcache_fill_tags(struct mp3entry *id3, const char *filename);
bool tagcache_search(struct tagcache_search *tcs, int tag); bool tagcache_search(struct tagcache_search *tcs, int tag);
bool tagcache_search_add_filter(struct tagcache_search *tcs, bool tagcache_search_add_filter(struct tagcache_search *tcs,
int tag, int seek); int tag, int seek);
@ -69,6 +68,7 @@ void tagcache_search_finish(struct tagcache_search *tcs);
int tagcache_get_progress(void); int tagcache_get_progress(void);
#ifdef HAVE_TC_RAMCACHE #ifdef HAVE_TC_RAMCACHE
bool tagcache_is_ramcache(void); bool tagcache_is_ramcache(void);
bool tagcache_fill_tags(struct mp3entry *id3, const char *filename);
#endif #endif
void tagcache_init(void); void tagcache_init(void);
void tagcache_start_scan(void); void tagcache_start_scan(void);