Implement image management enhancements: add functionality to relocate legacy images during startup, update image handling in show metadata, and refactor related API endpoints to utilize the new image storage system. Adjust database schema to support image references and update UI components for improved image selection and display.
This commit is contained in:
@@ -117,7 +117,7 @@ export type ShowDto = {
|
||||
metadataProvider: string | null
|
||||
metadataExternalId: string | null
|
||||
year: number | null
|
||||
hasPoster: boolean
|
||||
posterImageId: string | null
|
||||
episodes: EpisodeDto[]
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ export type PublicChannelDto = {
|
||||
name: string
|
||||
currentShowId: string | null
|
||||
currentShowName: string | null
|
||||
currentShowHasPoster: boolean
|
||||
currentShowPosterImageId: string | null
|
||||
}
|
||||
|
||||
export type PublicEpgEntryDto = {
|
||||
@@ -232,7 +232,7 @@ export type PublicEpgEntryDto = {
|
||||
endsAtUtc: string
|
||||
showId: string | null
|
||||
showName: string | null
|
||||
showHasPoster: boolean
|
||||
showPosterImageId: string | null
|
||||
episodeId: string | null
|
||||
episodeTitle: string | null
|
||||
episodeOverview: string | null
|
||||
|
||||
@@ -282,6 +282,7 @@ const resources = {
|
||||
},
|
||||
metadata: {
|
||||
title: 'Метаданные',
|
||||
pickFromGallery: 'Выбрать из галереи',
|
||||
originalName: 'Оригинальное название (eng)',
|
||||
originalNamePlaceholder: 'Например: Family Guy',
|
||||
originalNameHint: 'По нему ищутся метаданные; на экранах показывается обычное название.',
|
||||
@@ -584,6 +585,7 @@ const resources = {
|
||||
},
|
||||
metadata: {
|
||||
title: 'Metadata',
|
||||
pickFromGallery: 'Pick from gallery',
|
||||
originalName: 'Original name (eng)',
|
||||
originalNamePlaceholder: 'e.g. Family Guy',
|
||||
originalNameHint: 'Metadata is looked up by this; screens still show the regular name.',
|
||||
|
||||
Reference in New Issue
Block a user