Opened 17 years ago
Closed 17 years ago
#3713 closed enhancement (fixed)
rename feature for mythgallery files and folder
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythgallery | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
New submenu item "rename" under "file...", let rename the selected image filename or folder.
Attachments (1)
Change History (4)
Changed 17 years ago by
Attachment: | mythgallery-rename.diff added |
---|
comment:1 Changed 17 years ago by
Owner: | changed from Isaac Richards to paulh |
---|
comment:2 Changed 17 years ago by
Guido
You really need to fixup the metadata in the database after renaming a file or directory. As it stands the images all loose their metadata after the rename and there is stale entries left in the database that don't belong to any images.
Take a look at GalleryUtil::Copy(), GalleryUtil::Move(), GalleryUtil::CopyDirectory?() to see how it's done.
comment:3 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [14208]) Add rename feature for MythGallery files and directories.
Based on the original patch by Guido Grazioli.
Changes by me to ensure the metadata in the database is updated properly and renames any associated directory and file thumbnails so we don't leave stale thumb images behind. Tell the user if the rename failed and I also tweaked the default theme file a little to make room for the new menu item.
Closes #3713.
patch