Skip to content

A self-hosted media server and file management system

chore: casing consistency

aminnausinb462d751b08f
diff --git a/app/Jobs/VerifyFiles.php b/app/Jobs/VerifyFiles.php
index 0e14b57f..7bfc4f1e 100755
--- a/app/Jobs/VerifyFiles.php
+++ b/app/Jobs/VerifyFiles.php
@@ -344,7 +344,7 @@ class VerifyFiles extends ManagedSubTask {
}
// If no storyboard and storyboard_scanned_at is null OR storyboard was scanned before file was last modified or file was just updated
- $needsStoryboard = $fileUpdated || (! $metadata->storyboard_scanned_at && ! $metadata->storyBoard) || $metadata->storyboard_scanned_at?->lt($metadata->file_modified_at);
+ $needsStoryboard = $fileUpdated || (! $metadata->storyboard_scanned_at && ! $metadata->storyboard) || $metadata->storyboard_scanned_at?->lt($metadata->file_modified_at);
if ($this->generateImageTasks && ! $is_audio && ($needsStoryboard)) {
$this->storyboardChain[] = new GenerateStoryboard(
filePath: $filePath,
diff --git a/app/Models/Metadata.php b/app/Models/Metadata.php
index f3f900cb..1c88ea39 100644
--- a/app/Models/Metadata.php
+++ b/app/Models/Metadata.php
@@ -166,7 +166,7 @@ class Metadata extends Model {
return $this->hasMany(Image::class, 'metadata_uuid', 'uuid')->orderBy('track_id');
}
- public function storyBoard(): HasOne {
+ public function storyboard(): HasOne {
return $this->hasOne(Storyboard::class, 'metadata_uuid', 'uuid');
}