diff options
author | waker <wakeroid@gmail.com> | 2009-08-08 12:22:34 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-08 12:22:34 +0200 |
commit | b776dc9abccb3a2d8c4520668e87d455ae0c97bb (patch) | |
tree | 452b29e663622499db91af498045dda9879fe038 /cdumb.c | |
parent | e3cf51534e013ad251eed8e7b501fb14f63325a2 (diff) |
fixed empty title for dumb modules
Diffstat (limited to 'cdumb.c')
-rw-r--r-- | cdumb.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -756,10 +756,12 @@ cdumb_insert (playItem_t *after, const char *fname) { it->timestart = 0; it->timeend = 0; DUMB_IT_SIGDATA * itsd = duh_get_it_sigdata(duh); - if (itsd->name[0]) - { + if (itsd->name[0]) { ps_add_meta (it, "title", convstr ((char*)&itsd->name, sizeof(itsd->name))); } + else { + ps_add_meta (it, "title", NULL); + } dumb_it_do_initial_runthrough (duh); it->duration = duh_get_length (duh)/65536.0f; it->filetype = ftype; |