summaryrefslogtreecommitdiff
path: root/cgme.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-09 18:05:53 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-09 18:05:53 +0200
commitb8d8c455dfeaac3e932473e235322c8305e1bd5d (patch)
treeb743a300c9340f3726a04a56065afe8c5a89f5f7 /cgme.c
parent00352140d7359235a1f9763aca7dad0e2f2bc460 (diff)
fixed unfortunate typo in playlist conventions (ps_ -> pl_)
fixed id3v2 reader to support unsync flag fixed seeking
Diffstat (limited to 'cgme.c')
-rw-r--r--cgme.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/cgme.c b/cgme.c
index b116a3fb..e0fc8eb8 100644
--- a/cgme.c
+++ b/cgme.c
@@ -124,16 +124,16 @@ cgme_insert (playItem_t *after, const char *fname) {
it->tracknum = i;
// add metadata
- ps_add_meta (it, "system", inf.system);
- ps_add_meta (it, "album", inf.game);
- ps_add_meta (it, "title", inf.song);
- ps_add_meta (it, "artist", inf.author);
- ps_add_meta (it, "copyright", inf.copyright);
- ps_add_meta (it, "comment", inf.comment);
- ps_add_meta (it, "dumper", inf.dumper);
+ pl_add_meta (it, "system", inf.system);
+ pl_add_meta (it, "album", inf.game);
+ pl_add_meta (it, "title", inf.song);
+ pl_add_meta (it, "artist", inf.author);
+ pl_add_meta (it, "copyright", inf.copyright);
+ pl_add_meta (it, "comment", inf.comment);
+ pl_add_meta (it, "dumper", inf.dumper);
char trk[10];
snprintf (trk, 10, "%d", i+1);
- ps_add_meta (it, "track", trk);
+ pl_add_meta (it, "track", trk);
if (inf.length == -1) {
it->duration = 300;
}
@@ -141,7 +141,7 @@ cgme_insert (playItem_t *after, const char *fname) {
it->duration = (float)inf.length/1000.f;
}
it->filetype = "GME";
- after = ps_insert_item (after, it);
+ after = pl_insert_item (after, it);
}
else {
printf ("gme error: %s\n", ret);