X-Git-Url: http://royale.zerezo.com/git/?p=FAPG;a=blobdiff_plain;f=fapg.c;h=745e6ae3387ac42c944c1fee7d2ce19125463de0;hp=0c72af8f2d1518b186b02a76084ce645f8846c01;hb=c921eac7a8659c4994abb0f7b6cb07a0ae168139;hpb=cc992acaa43d2c9ae44783d1479845edd67ec404 diff --git a/fapg.c b/fapg.c index 0c72af8..745e6ae 100644 --- a/fapg.c +++ b/fapg.c @@ -1335,12 +1335,10 @@ void parse_file(unsigned char *newpath, unsigned char * original_path) counter++; switch (format) { case FORMAT_M3U: - if(duration != -1) { - printf("#EXTINF:%d,", duration); - if(strlen(artist) != 0) - printf("%s - ", artist); - printf("%s%s", title, eol); - } + printf("#EXTINF:%d,", duration); + if(strlen(artist) != 0) + printf("%s - ", artist); + printf("%s%s", title, eol); print_path(newpath); printf("%s", eol); break;