0.16.1-6 Detection Fix
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "ripster-frontend",
|
||||
"version": "0.16.1-5",
|
||||
"version": "0.16.1-6",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "ripster-frontend",
|
||||
"version": "0.16.1-5",
|
||||
"version": "0.16.1-6",
|
||||
"dependencies": {
|
||||
"primeicons": "^7.0.0",
|
||||
"primereact": "^10.9.2",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ripster-frontend",
|
||||
"version": "0.16.1-5",
|
||||
"version": "0.16.1-6",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
@@ -2527,6 +2527,7 @@ export default function MediaInfoReviewPanel({
|
||||
<p>Keine Titel analysiert.</p>
|
||||
) : displayTitles.map((title) => {
|
||||
const normalizedTitleId = normalizeTitleId(title.id);
|
||||
const displayTitleId = normalizeTitleId(title?.handBrakeTitleId) || normalizedTitleId;
|
||||
const titleChecked = allowTitleSelection
|
||||
? (selectedTitleIdSet.size > 0
|
||||
? selectedTitleIdSet.has(String(normalizedTitleId))
|
||||
@@ -2634,7 +2635,7 @@ export default function MediaInfoReviewPanel({
|
||||
disabled={!allowTitleSelection}
|
||||
/>
|
||||
<span>
|
||||
#{title.id} | {title.fileName} | {formatDuration(title.durationMinutes)}
|
||||
#{displayTitleId ?? '-'} | {title.fileName} | {formatDuration(title.durationMinutes)}
|
||||
{audioCount > 0 ? ` | Audio: ${audioCount}` : ''}
|
||||
{subtitleCount > 0 ? ` | Untertitel: ${subtitleCount}` : ''}
|
||||
{title.encodeInput ? ' | Encode-Input' : ''}
|
||||
@@ -2692,7 +2693,7 @@ export default function MediaInfoReviewPanel({
|
||||
<summary>Tonspuren und Untertitel</summary>
|
||||
<div className="media-track-grid">
|
||||
<TrackList
|
||||
title={`Tonspuren (Titel #${title.id})`}
|
||||
title={`Tonspuren (Titel #${displayTitleId ?? '-'})`}
|
||||
tracks={title.audioTracks || []}
|
||||
type="audio"
|
||||
allowSelection={allowTrackSelectionForTitle}
|
||||
@@ -2706,7 +2707,7 @@ export default function MediaInfoReviewPanel({
|
||||
}}
|
||||
/>
|
||||
<TrackList
|
||||
title={`Subtitles (Titel #${title.id})`}
|
||||
title={`Subtitles (Titel #${displayTitleId ?? '-'})`}
|
||||
tracks={allowTrackSelectionForTitle
|
||||
? subtitleTracks.filter((track) => !isBurnedSubtitleTrack(track))
|
||||
: subtitleTracks}
|
||||
@@ -2727,7 +2728,7 @@ export default function MediaInfoReviewPanel({
|
||||
) : (!compactTitleSelection ? (
|
||||
<div className="media-track-grid">
|
||||
<TrackList
|
||||
title={`Tonspuren (Titel #${title.id})`}
|
||||
title={`Tonspuren (Titel #${displayTitleId ?? '-'})`}
|
||||
tracks={title.audioTracks || []}
|
||||
type="audio"
|
||||
allowSelection={allowTrackSelectionForTitle}
|
||||
@@ -2741,7 +2742,7 @@ export default function MediaInfoReviewPanel({
|
||||
}}
|
||||
/>
|
||||
<TrackList
|
||||
title={`Subtitles (Titel #${title.id})`}
|
||||
title={`Subtitles (Titel #${displayTitleId ?? '-'})`}
|
||||
tracks={allowTrackSelectionForTitle
|
||||
? subtitleTracks.filter((track) => !isBurnedSubtitleTrack(track))
|
||||
: subtitleTracks}
|
||||
@@ -2817,6 +2818,7 @@ export default function MediaInfoReviewPanel({
|
||||
<small>Keine Titel in der Referenz-Disc gefunden.</small>
|
||||
) : comparisonTitles.map((title) => {
|
||||
const normalizedTitleId = normalizeTitleId(title?.id);
|
||||
const displayTitleId = normalizeTitleId(title?.handBrakeTitleId) || normalizedTitleId;
|
||||
const titleChecked = normalizedTitleId !== null
|
||||
&& comparisonSelectedTitleSet.has(String(normalizedTitleId));
|
||||
const titleIsPrimary = normalizedTitleId !== null
|
||||
@@ -2839,7 +2841,7 @@ export default function MediaInfoReviewPanel({
|
||||
disabled
|
||||
/>
|
||||
<span>
|
||||
#{title.id} | {title.fileName} | {formatDuration(title.durationMinutes)}
|
||||
#{displayTitleId ?? '-'} | {title.fileName} | {formatDuration(title.durationMinutes)}
|
||||
{audioCount > 0 ? ` | Audio: ${audioCount}` : ''}
|
||||
{subtitleCount > 0 ? ` | Untertitel: ${subtitleCount}` : ''}
|
||||
{title.encodeInput ? ' | Encode-Input' : ''}
|
||||
@@ -2872,13 +2874,13 @@ export default function MediaInfoReviewPanel({
|
||||
|
||||
<div className="media-track-grid">
|
||||
<TrackList
|
||||
title={`Tonspuren (Titel #${title.id})`}
|
||||
title={`Tonspuren (Titel #${displayTitleId ?? '-'})`}
|
||||
tracks={title.audioTracks || []}
|
||||
type="audio"
|
||||
allowSelection={false}
|
||||
/>
|
||||
<TrackList
|
||||
title={`Subtitles (Titel #${title.id})`}
|
||||
title={`Subtitles (Titel #${displayTitleId ?? '-'})`}
|
||||
tracks={subtitleTracks}
|
||||
type="subtitle"
|
||||
allowSelection={false}
|
||||
|
||||
Reference in New Issue
Block a user