Release Kaleido Desktop 0.1.0-beta.16
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m27s
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m27s
This commit is contained in:
parent
82c0a8e758
commit
c7dcdffc30
9 changed files with 83 additions and 31 deletions
|
|
@ -188,27 +188,38 @@ export function AppSettings({ tab }: { tab: string }) {
|
|||
<Switch checked={s.hdrPassthrough} onChange={(v) => set('hdrPassthrough', v)} />
|
||||
</Pref>
|
||||
</SettingsSection>
|
||||
<SettingsSection title="Episodes and markers" description="Intro and credits markers come from your Plex server’s analysis.">
|
||||
<Pref label="Skip intros">
|
||||
<Select value={s.skipIntro} onChange={(v) => set('skipIntro', v)} options={skipOptions} />
|
||||
</Pref>
|
||||
<Pref label="Skip credits" description="For episodes, opens Up Next while the credits keep playing. Show button lets you choose when; Skip automatically opens it as credits begin.">
|
||||
<Select value={s.skipCredits} onChange={(v) => set('skipCredits', v)} options={skipOptions} />
|
||||
</Pref>
|
||||
<Pref label="Automatic skip delay" description="Delay for intros and movie credits. Episode credits use the single Up Next countdown below. Pause, seek or press any key to cancel a skip.">
|
||||
<SettingsSection title="Playback behavior">
|
||||
<div className="marker-preference">
|
||||
<Pref label="Intros and credits" description="Uses Plex markers. Episode credits open Up Next; the skip delay applies to intros and movie credits.">
|
||||
<div className="marker-controls" role="group" aria-label="Intros and credits">
|
||||
<div className="marker-control">
|
||||
<span>Intros</span>
|
||||
<Select label="Skip intros" value={s.skipIntro} onChange={(v) => set('skipIntro', v)} options={skipOptions} />
|
||||
</div>
|
||||
<div className="marker-control">
|
||||
<span>Credits</span>
|
||||
<Select label="Skip credits" value={s.skipCredits} onChange={(v) => set('skipCredits', v)} options={skipOptions} />
|
||||
</div>
|
||||
{(s.skipIntro === 'auto' || s.skipCredits === 'auto') && (
|
||||
<div className="marker-control">
|
||||
<span>Skip delay</span>
|
||||
<Select label="Automatic skip delay" value={s.autoSkipDelay} onChange={(v) => set('autoSkipDelay', v)} options={[0, 3, 5, 10].map((v) => ({ value: v, label: v ? `${v} seconds` : 'Immediately' }))} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</Pref>
|
||||
</div>
|
||||
<Pref label="Autoplay next episode" description="Click, scroll or press any key in Up Next to cancel.">
|
||||
<Select
|
||||
value={s.autoSkipDelay}
|
||||
disabled={s.skipIntro !== 'auto' && s.skipCredits !== 'auto'}
|
||||
onChange={(v) => set('autoSkipDelay', v)}
|
||||
options={[0, 3, 5, 10].map((v) => ({ value: v, label: v ? `${v} seconds` : 'Skip straight away' }))}
|
||||
label="Autoplay next episode"
|
||||
value={s.autoplayNext ? s.countdownSeconds : 0}
|
||||
onChange={(seconds) => {
|
||||
set('autoplayNext', seconds > 0);
|
||||
if (seconds > 0) set('countdownSeconds', seconds);
|
||||
}}
|
||||
options={[{ value: 0, label: 'Off' }, ...[5, 8, 10, 15, 20, 30].map((v) => ({ value: v, label: `After ${v} seconds` }))]}
|
||||
/>
|
||||
</Pref>
|
||||
<Pref label="Play the next episode automatically">
|
||||
<Switch checked={s.autoplayNext} onChange={(v) => set('autoplayNext', v)} />
|
||||
</Pref>
|
||||
<Pref label="Countdown" description="Seconds before Up Next plays the next episode. Click, scroll or press any key to cancel. Pauses while Kaleido is in the background.">
|
||||
<Select value={s.countdownSeconds} disabled={!s.autoplayNext} onChange={(v) => set('countdownSeconds', v)} options={[5, 8, 10, 15, 20, 30].map((v) => ({ value: v, label: `${v} seconds` }))} />
|
||||
</Pref>
|
||||
<Pref label="Arrow-key seek">
|
||||
<Select value={s.seekStep} onChange={(v) => set('seekStep', v)} options={[5, 10, 15, 30].map((v) => ({ value: v, label: `${v} seconds` }))} />
|
||||
</Pref>
|
||||
|
|
|
|||
|
|
@ -717,6 +717,16 @@ only the rows scroll. */
|
|||
background: var(--bg);
|
||||
pointer-events: none;
|
||||
}
|
||||
/* Up Next places copy on the right as well as the left. Keep every part of
|
||||
the artwork dark enough for text, including with the colour wash enabled.
|
||||
This layer shares the scene's video cutout, so it never dims the credits. */
|
||||
.up-next-scene::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 1;
|
||||
background: linear-gradient(180deg, rgba(9, 10, 12, 0.76), rgba(9, 10, 12, 0.9));
|
||||
}
|
||||
.up-next.placed .up-next-scene {
|
||||
-webkit-mask-image: linear-gradient(#000 0 0), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Crect width='160' height='90' rx='3'/%3E%3C/svg%3E");
|
||||
-webkit-mask-size: 100% 100%, var(--up-video-w) var(--up-video-h);
|
||||
|
|
@ -748,7 +758,7 @@ html.os-macos:not(.window-fullscreen) .up-next-toolbar {
|
|||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 13px;
|
||||
color: #b6bdbf;
|
||||
color: #d6dcde;
|
||||
padding: 8px 0;
|
||||
}
|
||||
.up-next-back:hover, .up-next-cancel:hover {
|
||||
|
|
@ -796,7 +806,7 @@ html.os-macos:not(.window-fullscreen) .up-next-toolbar {
|
|||
gap: 12px;
|
||||
margin: 14px 0 8px;
|
||||
font-size: 12px;
|
||||
color: #b8bfc1;
|
||||
color: #cbd2d4;
|
||||
}
|
||||
.up-next-caption > span {
|
||||
overflow: hidden;
|
||||
|
|
@ -825,7 +835,10 @@ html.os-macos:not(.window-fullscreen) .up-next-toolbar {
|
|||
.up-next-details .micro {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
color: #a5adaf;
|
||||
color: #c3cbcd;
|
||||
}
|
||||
.up-next-details .facts {
|
||||
color: #d0d6d8;
|
||||
}
|
||||
.up-next-details .title-art {
|
||||
margin-bottom: 10px;
|
||||
|
|
@ -837,8 +850,8 @@ html.os-macos:not(.window-fullscreen) .up-next-toolbar {
|
|||
letter-spacing: -.025em;
|
||||
}
|
||||
.up-next-summary {
|
||||
color: #b6bdbf;
|
||||
font-size: 13px;
|
||||
color: #d6dcde;
|
||||
font-size: 14px;
|
||||
line-height: 1.65;
|
||||
margin: 12px 0 18px;
|
||||
display: -webkit-box;
|
||||
|
|
@ -879,8 +892,8 @@ html.os-macos:not(.window-fullscreen) .up-next-toolbar {
|
|||
box-shadow: 0 0 0 2px #ffffff40;
|
||||
}
|
||||
.up-next-hint {
|
||||
font-size: 11px;
|
||||
color: #90999c;
|
||||
font-size: 12px;
|
||||
color: #bdc7ca;
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
.up-next-rows {
|
||||
|
|
|
|||
|
|
@ -1152,6 +1152,29 @@ button.chip:hover {
|
|||
gap: 8px;
|
||||
flex: none;
|
||||
}
|
||||
.marker-preference .pref {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 14px;
|
||||
}
|
||||
.marker-preference .pref-control {
|
||||
width: 100%;
|
||||
}
|
||||
.marker-controls {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px 20px;
|
||||
}
|
||||
.marker-control {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 6px;
|
||||
}
|
||||
.marker-control > span {
|
||||
font-size: 11.5px;
|
||||
color: var(--muted);
|
||||
}
|
||||
.pref-input {
|
||||
width: 240px;
|
||||
min-height: 34px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue