Unexpected Behavior When Moving Files within Subdirectories via Web Interface #7048
Labels
bug
A part of the software's functionality doesn't work as expected.
in progress
A workaround, temporary or permanent fix is in progress
rolling-release
Indicating that the installation experiencing the issue is using the rolling-release version.
Installation Method
Docker Installation
AzuraCast Release Channel
Rolling Release Channel
Current AzuraCast Version
v0.19.5 Stable • Docker • PHP 8.3
What happened?
Description:
There seems to be an unexpected behaviour when using the web interface to move files, particularly those within subdirectories, while having the filter "special:duplicates" set. When moving files located within subdirectories to another directory, the subdirectories themselves are inadvertently moved along with the files, resulting in unexpected directory structures in the destination folder.
Steps to Reproduce:
Access the web interface/media.
Navigate to a "Duplicate Songs".
Select files within (e.g., track1.mp3 and track2.mp3).
Move the selected files to a new folder (e.g., /media/destination/).
Expected Behavior:
After moving the files, the contents of the destination folder (/media/destination/) should only contain the selected files without replicating the subdirectory structure. All files should be directly within the destination folder.
Actual Behavior:
Upon inspection of the destination folder (/web/media/destination/), it's noticed that along with the selected files, the directory structure from the original location is also replicated within the destination folder. This leads to unexpected subdirectories within the destination folder, such as /media/destination/FOLDER/track1.mp3 and /media/destination/FOLDER/track2.mp3.
Additional Information:
This behavior could potentially confuse users, as it deviates from the expected behavior and complicates file organization within the destination folder. To enhance user experience, it would be helpful to either maintain the original directory structure or provide an option to exclude subdirectories when moving files via the web interface.
Please let me know if you need further clarification or additional details to address this issue effectively.
Unbenannt.mp4
The text was updated successfully, but these errors were encountered: