comparison src/madplug/plugin.c @ 1485:4e612b01f303

- make use of tuple_formatter_make_title_string(). now madplug can show file name if metadata is not available. - temporal fix for the bug which prevented from playing remote file. - some cleanups.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Mon, 13 Aug 2007 19:57:03 +0900
parents 3127da6ae5da
children f6f5603a0954 d158ce84fda7
comparison
equal deleted inserted replaced
1483:e8330e6bd0ba 1485:4e612b01f303
704 return tuple; 704 return tuple;
705 } 705 }
706 #ifdef DEBUG 706 #ifdef DEBUG
707 g_message("get_song_tuple: remote: NULL"); 707 g_message("get_song_tuple: remote: NULL");
708 #endif 708 #endif
709 return NULL; 709 // return NULL;
710 } /* info.remote */ 710 } /* info.remote */
711 711
712 // if !fd, pre-open the file with vfs_fopen() and reuse fd. 712 // if !fd, pre-open the file with vfs_fopen() and reuse fd.
713 if(!fd) { 713 if(!fd) {
714 fd = vfs_fopen(filename, "rb"); 714 fd = vfs_fopen(filename, "rb");