Jelajahi Sumber

Prioritize personal pictures.

I really should move this priority list to the DB. But not today.
Zachary Kotlarek 12 tahun lalu
induk
melakukan
fb90e70fd6
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      scan.php

+ 1 - 0
scan.php

@@ -284,6 +284,7 @@ unset($set_hash);
 
 # Update priorities
 $priority = $dbh->prepare('UPDATE files SET priority = :priority WHERE path LIKE :path');
+$priority->execute(array(':priority' => 250,	':path' => 'Pictures/%'));
 $priority->execute(array(':priority' => 100,	':path' => 'Movies/%'));
 $priority->execute(array(':priority' => 50,	':path' => 'iTunes/%'));
 $priority->execute(array(':priority' => -50,	':path' => 'Backups/%'));