* Update client cache if the client type changes on a given IP.

* Default .avi files to MIME type video/x-msvideo for better backward compatibility.
This commit is contained in:
Justin Maggard
2009-05-01 01:39:55 +00:00
parent f35e0831d1
commit ff046503bd
4 changed files with 40 additions and 18 deletions

View File

@ -926,6 +926,19 @@ shutdown:
free(sql);
sqlite3_close(db);
struct media_dir_s * media_path = media_dirs;
while( media_path )
{
free(media_path->path);
media_path = media_path->next;
}
struct album_art_name_s * art_names = album_art_names;
while( art_names )
{
free(art_names->name);
art_names = art_names->next;
}
if(unlink(pidfilename) < 0)
{
DPRINTF(E_ERROR, L_GENERAL, "Failed to remove pidfile %s: %s\n", pidfilename, strerror(errno));