--- Pages.pm.old 2004-07-23 04:29:00.000000000 -0700 +++ Pages.pm 2004-07-23 10:21:09.000000000 -0700 @@ -204,7 +204,7 @@ sub browser { $::d_http && msg("renaming $fulldir to $newfullname\n"); - if ($newfullname ne $fulldir && !-e Slim::Utils::Misc::pathFromFileURL($newfullname) && rename(Slim::Utils::Misc::pathFromFileURL($fulldir), Slim::Utils::Misc::pathFromFileURL($newfullname))) { + if ($newfullname ne $fulldir && (!-e Slim::Utils::Misc::pathFromFileURL($newfullname) || $params->{'overwrite'}) && rename(Slim::Utils::Misc::pathFromFileURL($fulldir), Slim::Utils::Misc::pathFromFileURL($newfullname))) { Slim::Music::Info::clearCache($container); Slim::Music::Info::clearCache($fulldir); --- browse_playlist.html.old 2004-07-22 21:20:00.000000000 -0700 +++ browse_playlist.html 2004-07-23 10:18:17.000000000 -0700 @@ -7,12 +7,13 @@ [% IF warn %]
[% "NOTE" | string %] [% "SCAN_WARNING" | string %] [% IF not itunes %][% "SCAN_CLICK" | string %] [% "HERE" | string %].[% END %]
[% END %] [% IF RENAME_WARNING %]

[% "NOTE" | string %] [% "RENAME_WARNING" | string %]

[% END %] - [% IF titled %]
- [% END %] +
+
[% IF playlistname %]
[% savebuttonname %] [% "THIS_PLAYLIST_AS" | string %] + [% IF RENAME_WARNING %][% "CONFIRM" | string %][% END %]
[% END %] [% IF titled %] @@ -20,8 +21,8 @@ [% "DELETE_THIS_PLAYLIST" | string %]      [% "EDIT_PLAYLIST" | string %] - -
[% END %] + [% END %] +

[% IF song_count %][% "LIBRARY_CONTAINS" | string %] [% song_count %] [% "BY" | string %] [% artist_count %][% END %]

[% "SAVED_PLAYLISTS" | string %]