Skip to content

Commit

Permalink
Revert "release: v4.8.0"
Browse files Browse the repository at this point in the history
This reverts commit d81887b.
  • Loading branch information
pulsejet committed Nov 22, 2022
1 parent d81887b commit 6a9c95a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Memories is a *batteries-included* photo management solution for Nextcloud with
1. Run `php ./occ memories:index` to generate metadata indices for existing photos.
1. Open the 📷 Memories app in Nextcloud and set the directory containing your photos.
]]></description>
<version>4.8.0</version>
<version>4.7.2</version>
<licence>agpl</licence>
<author mail="[email protected]" >Varun Patil</author>
<namespace>Memories</namespace>
Expand Down
14 changes: 2 additions & 12 deletions lib/Command/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,6 @@ private function parseFolder(Folder &$folder, bool &$refresh, int $progress_i, i
return;
}

// check path contains IMDB then skip
if (false !== strpos($folderPath, 'IMDB')) {
return;
}

$nodes = $folder->getDirectoryListing();

foreach ($nodes as $i => &$node) {
Expand All @@ -292,21 +287,16 @@ private function parseFolder(Folder &$folder, bool &$refresh, int $progress_i, i
}
}

private function parseFile(File &$file, bool &$refresh): bool
private function parseFile(File &$file, bool &$refresh): void
{
// Process the file
$res = $this->timelineWrite->processFile($file, $refresh);
if (2 === $res) {
++$this->nProcessed;

return true;
}
if (1 === $res) {
} elseif (1 === $res) {
++$this->nSkipped;
} else {
++$this->nInvalid;
}

return false;
}
}

0 comments on commit 6a9c95a

Please sign in to comment.