Bugzilla – Bug 15274
Auto-scan doesn't pick up content added to renamed folders
Last modified: 2010-04-08 17:26:21 UTC
r8202, using the network sharing of the Touch, in this case with an SD card for the library. If I drag a folder into one that the Touch is aware of, then it picks it up and begins scanning the music files within the folder almost immediately. But if I create a folder on the SD card by hand from within Windows Explorer (right-click > New > Folder, then rename it) and then copy into that folder, TinySC on the Touch never picks it up.
I guess it's the renaming of the folder that confuses it. Here's another test... Folder structure is: artists/ ../albums/ ../../tracks If I rename an existing artist folder, TinySC picks up the change quickly and I can still use My Music > Artist to browse the artist and his albums and play music. But if I then drag a new album into that same renamed folder it fails to see it.
While debugging another issue I've noticed that in BigSC the tracks table entries of content_type=dir are only added by Browse Music Folder, not during a scan. Could that have any effect on the behavior of this bug?
The TinySC scanner does find directories now, maybe it should also create content-type=dir entries to keep things consistent. I still need to review more of the BMF code, too.
== Auto-comment from SVN commit #30136 to the repo by agrundman == == https://svn.slimdevices.com/?view=revision&revision=30136 == Fixed bug 15274, improvements to inotify watcher, it wasn't properly handling watching of new or renamed directories. Also changed the way shutdown/restart of watching works to avoid recreating possibly thousands of watchers each time
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release. If you are still seeing this issue, please let us know!