Skip to content

Commit

Permalink
admin: recommend against Imaginary (#1165)
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <[email protected]>
  • Loading branch information
pulsejet committed Apr 30, 2024
1 parent e6cda5e commit caea0aa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.

- **Feature**: Allow excluding files and folders from indexing with regex pattern ([#1015](https://github.com/pulsejet/memories/pull/1015))
- **Feature**: Allow forcing software-based transpose for transcoding ([#794](https://github.com/pulsejet/memories/issues/794))
- **Note**: Using Imaginary is now discouraged for now due to multiple bugs. The admin panel will show a warning if Imaginary is enabled.

## [v7.2.0] - 2024-04-05

Expand Down
12 changes: 12 additions & 0 deletions src/components/admin/sections/FileSupport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@
: t('memories', 'Thumbnail generation may not work for videos.')
}}
</NcNoteCard>

<NcNoteCard v-if="hasProvider('OC\\Preview\\Imaginary')" type="warning">
{{
t(
'memories',
'Imaginary is enabled for preview generation. This will override other preview providers. We currently recommend against using Imaginary due to multiple bugs in handling of HEIC and GIF files.',
)
}}
</NcNoteCard>
</template>

<NcCheckboxRadioSwitch
Expand Down Expand Up @@ -111,6 +120,9 @@ export default defineComponent({
'OC\\Preview\\Movie': {
name: t('memories', 'Videos (ffmpeg)'),
},
'OC\\Preview\\Imaginary': {
name: t('memories', 'Imaginary (not recommended)'),
},
},
previewSizes: [512, 1024, 2048, 4096, 8192],
Expand Down

0 comments on commit caea0aa

Please sign in to comment.