diff --git a/src/io.h b/src/io.h index 9b5305db..4e9b4a82 100644 --- a/src/io.h +++ b/src/io.h @@ -12,6 +12,7 @@ #endif #ifndef WIN32 +# include # include # include #else diff --git a/src/mp3-scanner.c b/src/mp3-scanner.c index ee577102..3e34e07c 100644 --- a/src/mp3-scanner.c +++ b/src/mp3-scanner.c @@ -474,7 +474,7 @@ int scan_static_playlist(char *path) { return FALSE; } - if(io_open(hfile,"file://%U",path)) { + if(io_open(hfile,"file://%U?ascii=1",path)) { if(db_add_playlist(&perr,base_path,PL_STATICFILE,NULL,path, 0,&playlistid) != DB_E_SUCCESS) { DPRINTF(E_LOG,L_SCAN,"Error adding m3u %s: %s\n",path,perr);