Ticket #2 (assigned defect)
Make sure the directory monitoring is updated if the music folder is changed
| Reported by: | stuarth | Owned by: | stuarth |
|---|---|---|---|
| Priority: | major | Milestone: | Release v1.0 |
| Component: | Plugin | Version: | |
| Keywords: | Cc: |
Description (last modified by stuarth) (diff)
If the folder is changed we need to make sure we remove existing monitors and add new ones (having first forgotten about any pending modifications that might have caused us to rescan one of the old folders).
We need to make sure that we don't do that until after any main SqueezeCenter rescan is finished.
Change History
Note: See
TracTickets for help on using
tickets.

Strategy:
If the music folder has changed then all the existing monitors should be removed (the event un-registered and the hash cleared), then added from scratch for the new folder as happens on plugin startup at the moment.