Re: [slim] How to make SC keep out of some folders?

2008-06-26 Thread Michael Herger
 - ?? something I may have missed ??

There's an undocumented pref without UI - thus almost forgotton by most of  
us...

if ((my $ignore = $prefs-get('ignoreDirRE') || '') ne '') {
return 0 if $item =~ /$ignore/;
}

You can define a regular expression which recognizes the folders you don't  
want to scan. If you eg. add the following to server.prefs:

ignoreDirRE: '(?:backup|brothersmusic|badstuff)'

Then folders with the above words in the name will be ignored.

Michael
___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] How to make SC keep out of some folders?

2008-06-26 Thread GlenL

Could you change the security settings on the specific album
folders/directories so the account you run SqueezeCenter under is
denied access to them ?

Not sure how SqueezeCenter rescan would react to being denied access to
a specific subfolder, I assume it would just bypass it and carry on to
the next folder/directory. 

Worth a try.


-- 
GlenL

GlenL's Profile: http://forums.slimdevices.com/member.php?userid=14364
View this thread: http://forums.slimdevices.com/showthread.php?t=49255

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] How to make SC keep out of some folders?

2008-06-26 Thread JJZolx

ofey;315060 Wrote: 
 The background is that I want to join my music library with that of my
 brother, but some albums are contained in both libraries. The copy of
 my brother's music library should also serve as a desaster recovery
 backup.

If only some albums are common to both libraries then it's not much of
a backup.

 
 Possible solutions would be:
 - erase all duplicates (not an option due to the backup requirement)

Hard disk storage is cheap these days.  Clean up the library and do
regular full backups.


-- 
JJZolx

Jim

JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=49255

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] How to make SC keep out of some folders?

2008-06-26 Thread Peter

On Thu, 26 Jun 2008 01:09:14 -0700, ofey
[EMAIL PROTECTED] said:
 
 The background is that I want to join my music library with that of my
 brother, but some albums are contained in both libraries. The copy of
 my brother's music library should also serve as a desaster recovery
 backup.

Uh oh, sounds illegal to me ;)

 or a file with a specific name (e.gl .keepout) to prevent SC to scan
 the folder.

I'd like this option myself. Could also be handy if you want to keep
albums in different formats (mp3/flac) and allow SC to access only one.

Regards,
Peter
___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss