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:
parent
d1f9495c83
commit
b7251261de
2 changed files with 4 additions and 3 deletions
|
@ -50,6 +50,7 @@
|
|||
#include "buffer.h"
|
||||
#include "dsp.h"
|
||||
#include "abrepeat.h"
|
||||
#include "tagcache.h"
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
#include "icons.h"
|
||||
#include "peakmeter.h"
|
||||
|
@ -2132,8 +2133,8 @@ struct mp3entry* audio_current_track(void)
|
|||
if (!filename)
|
||||
filename = "No file!";
|
||||
|
||||
// if (tagcache_fill_tags(&temp_id3, filename))
|
||||
// return &temp_id3;
|
||||
if (tagcache_fill_tags(&temp_id3, filename))
|
||||
return &temp_id3;
|
||||
|
||||
p = strrchr(filename, '/');
|
||||
if (!p)
|
||||
|
|
|
@ -59,7 +59,6 @@ struct tagcache_search {
|
|||
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_add_filter(struct tagcache_search *tcs,
|
||||
int tag, int seek);
|
||||
|
@ -69,6 +68,7 @@ void tagcache_search_finish(struct tagcache_search *tcs);
|
|||
int tagcache_get_progress(void);
|
||||
#ifdef HAVE_TC_RAMCACHE
|
||||
bool tagcache_is_ramcache(void);
|
||||
bool tagcache_fill_tags(struct mp3entry *id3, const char *filename);
|
||||
#endif
|
||||
void tagcache_init(void);
|
||||
void tagcache_start_scan(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue