Komet / MediaElch

Media Manager for Kodi
https://mediaelch.github.io/mediaelch-doc/about.html
GNU Lesser General Public License v3.0
829 stars 93 forks source link

Renamer somehow follows Symlinks #1683

Open mihawk90 opened 9 months ago

mihawk90 commented 9 months ago

Describe the bug So this is a weird one that I just stumbled on while testing something else. Basically, it seems that when the Renamer encounters a symlink, it gets the path of the original file and therefore when the rename happens it moves the file to the original location.

To Reproduce

  1. Create symlinks to some real files in a different location
  2. Scrape, Save, Rename
  3. Check the Symlink location, hopefully(?) find nothing
  4. Check location of original file

Expected behavior ME should keep the location of the files

Screenshots It's hard to convey in screenshots so... 2023-12-04_01-17-04

MediaElch Version: 2.10.6 (stable)

Operating System: Linux (distribution: Fedora 38)

bugwelle commented 9 months ago

Thanks for reporting. Do you mean a single file is symlinked or the whole folder/directory?

Edit:// Ah, the video / gif took a while to load. Thanks for the screencast! That should be enough for me to reproduce. If not, I'll get back to you.