summaryrefslogtreecommitdiff
path: root/apps/metadata.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-05-28 23:18:31 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-05-28 23:18:31 +0000
commit6579818b4346a9b455734fb5a067e8d3ab2f09b4 (patch)
treedc234157ee00e026a7110502c5c8379c88721166 /apps/metadata.c
parent1bae792e5c2ef6f624c7038ce83cd48aeabf636f (diff)
downloadrockbox-6579818b4346a9b455734fb5a067e8d3ab2f09b4.tar.gz
rockbox-6579818b4346a9b455734fb5a067e8d3ab2f09b4.zip
Add the possibility to store cuesheets in /.rockbox/cue. The code will look for a cuesheet there in case there wasn't one in the same folder as the audio file. This is to reduce the clutter created by one cuesheet per audio file in some places.
Also some duplicate code was replaced by a function call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13508 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata.c')
-rw-r--r--apps/metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index 54bb40413e..430bd3cbe5 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -2369,7 +2369,7 @@ bool get_metadata(struct track_info* track, int fd, const char* trackname,
2369 /* We have successfully read the metadata from the file */ 2369 /* We have successfully read the metadata from the file */
2370 2370
2371#ifndef __PCTOOL__ 2371#ifndef __PCTOOL__
2372 if (cuesheet_is_enabled() && look_for_cuesheet_file(trackname)) 2372 if (cuesheet_is_enabled() && look_for_cuesheet_file(trackname, NULL))
2373 { 2373 {
2374 track->id3.cuesheet_type = 1; 2374 track->id3.cuesheet_type = 1;
2375 } 2375 }