PDA

View Full Version : Scanning - How smart?



JJZolx
2005-05-06, 14:29
A few questions regarding scanning, for those who understanding the inner workings of SlimServer...

With discussions of external scripting to modify the library contained within SlimServer's database, I'm slowly realizing that doing a "wipe cache" is not at all desirable. But the question remains - How smart is SlimServer currently, and how smart will it be in the future?

Can SlimServer remove references to deleted files from the library without doing a wipe cache? For instance, if you remove an album directory, or a single track.

When doing a rescan, does SlimServer pick up internal changes to files, such as the change of an artist tag? And does it correctly handle what it sees?

As an example, say I change the artist tag within a set of files from "Cannonball Adderley Quintet" to "Cannonball Adderley". Let's assume that the file names and directory structure stay the same. First, will SlimServer see the changes at all? How? Does it keep date/time stamps for all files, or does it actually "look inside" every file in the music directory each time it does a scan? And just as important, will all references to the removed artist also be removed from the library?
________
hot box vaporizers (http://hotboxvaporizers.com)

max.spicer
2005-05-06, 14:36
A few questions regarding scanning, for those who understanding the inner workings of SlimServer...

With discussions of external scripting to modify the library contained within SlimServer's database, I'm slowly realizing that doing a "wipe cache" is not at all desirable. But the question remains - How smart is SlimServer currently, and how smart will it be in the future?

Can SlimServer remove references to deleted files from the library without doing a wipe cache? For instance, if you remove an album directory, or a single track.

When doing a rescan, does SlimServer pick up internal changes to files, such as the change of an artist tag? And does it correctly handle what it sees?
I don't understand the inner workings of SlimServer. However, from personal experience:

Without a wipe cache, slimserver won't notice deleted files unless you browse to them. I believe work is going on in 6.1 to fix this.

Without a wipe cache, changes to tag info (genre in my case) are not picked up.

kdf
2005-05-06, 14:55
Quoting "max.spicer" <max.spicer.1omqkn (AT) no-mx (DOT) forums.slimdevices.com>:

> Without a wipe cache, slimserver won't notice deleted files unless you
> browse to them. I believe work is going on in 6.1 to fix this.

it does, but, its a lazy deletion. later on, it will be more active. I'm not
sure if 6.1 is a hard target on that.

Dan Sully
2005-05-06, 17:38
* max.spicer shaped the electrons to say...

>Without a wipe cache, changes to tag info (genre in my case) are not picked up.

I believe this is the bug you are looking for. :)

http://bugs.slimdevices.com/show_bug.cgi?id=1143

-D
--
<iNoah> my pdp goes to 11.

JJZolx
2005-05-06, 17:54
* max.spicer shaped the electrons to say...

>Without a wipe cache, changes to tag info (genre in my case) are not picked up.

I believe this is the bug you are looking for. :)

http://bugs.slimdevices.com/show_bug.cgi?id=1143

From the description, it seems this bug is limited to genre. Other tag changes should be picked up, correct? I'm really curious how a scan picks up these changes - does it examine every tag in every file each time it scans, or does it first check a date/time stamp on the file to see if the file has been updated since the last scan?

As with file deletions, what happens when a tag change causes a data item to go away? For instance, if I correct the year on a track from "1892" to "1992", or if I correct the spelling of "Mile Davis" to "Miles Davis"? Will I still have tracks listed for the year "1892" or by the artist "Mile Davis"?
________
NR750 (http://www.cyclechaos.com/wiki/Honda_NR750)