- case 0:
- /* Windows Folder.jpg */
- snprintf( psz_filename, MAX_PATH,
- "%sFolder.jpg", psz_path );
- break;
-
- case 1:
- /* Windows AlbumArtSmall.jpg == small version of Folder.jpg */
- snprintf( psz_filename, MAX_PATH,
- "%sAlbumArtSmall.jpg", psz_path );
- break;
-
- case 2:
- /* KDE (?) .folder.png */
- snprintf( psz_filename, MAX_PATH,
- "%s.folder.png", psz_path );
- break;
+ char *psz_userfile = config_GetPsz( p_this, "filename" );
+ if( !psz_userfile )
+ continue;
+ snprintf( psz_filename, MAX_PATH, "%s%s", psz_path, psz_userfile );
+ free( psz_userfile );