-
Notifications
You must be signed in to change notification settings - Fork 600
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
Headphones no longer honoring libraryscan and libraryscan_interval settings #2002
Comments
Can you confirm if you restart Headphones after saving? |
It's even more insidious. Library scan appears to be running on an infinite loop. I saved the configuration and restarted - no change. Along with other recent bugs, it seems like the latest push wasn't quite ready for prime time. |
I'm working on a fix. The other bugs were very specific and I have already committed some fixes :-) |
Just wondering, could it be that you have symlinks pointing to a path in the library scan folder? |
Nope - no symlinks in the library scan folder. |
I just committed ee3ccfa in the If you have the time, please test the Interval changes will reschedule the background tasks. It should yield logging like this (I clicked save multiple times in the log below):
Potential (infinite) recursion due to symlinks is logged like this:
The library scan task should start with:
and end with:
Any loop should that I could identify should repeat the Please let me know if you can identify the problem with this. Thanks! |
I think I have been sleeping, but the original problem was as expected, since the code would allow one to schedule a library scan every 0 minutes :-P It seems this was always the case, even in < v0.5. However, I modified the code to allow one to disable all tasks by setting the interval to zero. I think this should give more control. See commit 2601de5 for more information. |
I've been on master for over two years and it hasn't been a problem until the latest master update. I made sure that a libraryscan = 0 config value disabled library scanning back in #1259. Agree that interval values of zero should mean 'disable' across the board. Thanks for the fix! |
Looks good to me in the latest master. Closing. |
Great work @basilfx getting the (minor!) issues resolved |
This seems to be a new bug introduced very recently.
With libraryscan = 0 and libraryscan_interval = 0 in the GUI and config.ini, it appears that library scan is happening automatically on startup and (apparently) every 24 hours.
I only perform library scans manually, so this results in a lot of unwanted CPU cycles.
The text was updated successfully, but these errors were encountered: