mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-20 04:24:20 -04:00
Fix for win32 playlist dissapearing issue
This commit is contained in:
parent
29c4e25425
commit
360c7f945e
@ -691,7 +691,7 @@ int db_sql_add_playlist(char **pe, char *name, int type, char *clause, char *pat
|
|||||||
result = db_sql_exec_fn(pe,E_LOG,"insert into playlists "
|
result = db_sql_exec_fn(pe,E_LOG,"insert into playlists "
|
||||||
"(title,type,items,query,db_timestamp,path,idx) "
|
"(title,type,items,query,db_timestamp,path,idx) "
|
||||||
"values ('%q',%d,0,NULL,%d,'%q',%d)",
|
"values ('%q',%d,0,NULL,%d,'%q',%d)",
|
||||||
name,type,time(NULL),correct_path,index);
|
name,type,(int)time(NULL),correct_path,index);
|
||||||
free(correct_path);
|
free(correct_path);
|
||||||
break;
|
break;
|
||||||
case PL_STATICWEB: /* static, maintained in web interface */
|
case PL_STATICWEB: /* static, maintained in web interface */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user