-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library downloadfolder not updated when files moved #162
Comments
The downloads folder would be updated only if the entire downloads folder is shared and monitored. Right-click on the folder and select "configure" then make sure monitoring by the OS is enabled (unless the folder is on a network drive). If you cannot right-click means the folder isn't shared and only individual files in it are shared. |
It has no "configure" option. The folder itself is greyed out. Even new subfolders in it are greyed out. The files in the subfolders are not greyed. |
Correct, by default the downloads folder is not monitored for changes. There are several reasons for that, some of which are less relevant given recent changes. So if you want to enable monitoring of that folder you need to explicitly share it via the "Share" button or via drag-and-drop. |
..yes I found that later by myself. Thank you. |
...and still does not work. I tried the update intervall and this does also not work. moved files are still show. Selecting this files and right click unshare does not work they are still listed in the library tree. update: Restarted muwire and disable the the option for sharing files in download folder and the share it manually. Now it works. |
Is the downloads folder on a network drive? If yes then monitoring with the OS will not work and you need to set manual monitoring. Other than that there is nothing special about that folder; it is treated the same as all other folders. Can you enable logging with these two lines in
Then try moving a file out of that folder and watch for a log entry like
Or any other log entries that appear around the time you move the file. |
Also, does this happen only with files you have downloaded or with all shared files in the downloads folder? |
No network drive, it only happens in the downloadfolder. Other folders are updated always when files changed in this folders I will report later what happens.... |
It still works. Enabled the option in cofigure-settings too, unshared the folder reshare, moved files. Works as expected.
I remember in earlier version I or another person had this problem too, but on any folder, and also happens not all the time. This bug (if it is one) seem to happens not any time. Maybe there were updates in other folders an the auto hashing was running while channging at the same time files in the download folder. I do some further test on this maybe I can track it down and reproduce it for 100% and respond maybe tomorrow. |
I see another roblem with this - if the downloads folder is monitored by the OS then the downloaded fi-le will apear twice. That will be difficult to fix and is one of the reasons that folder is not watched by default. |
Seems that this bug appears only when a file is moved there by muwire when a download is complete.
After this I have in the library file tree two entries in "downloads" for "a_new_downloaded_file.extension". When I move this file to another unshared folder, one entry disappears in the library, with one zombie entry that stays forever until I restart. |
If I disable "share dowloaded files" this "bug" does not appear. So its more a misconfiguration when this happens. |
This looks very wrong and I will try to look deeper into it. It's too soon to say if the exception is the cause or the symptom of the file being shared twice. At the moment I'm leaning towards the easiest solution which is to forbid sharing of the downloads and incomplete folders. Maybe there are better approaches but my finger needs to heal first :( Let's leave this issue open for the time being... |
Activate "share downloaded files" then the downloadfolder appears in Library in the file tree.
Now move some downloaded files from the download folder anywhere else.
Bug: The download folder in the tree is not updated, the moved files are still listed until you restart muwire.
Version: 0.8.13b4
The text was updated successfully, but these errors were encountered: