mirror of
https://github.com/pvrzz/atmosphere.git
synced 2026-11-29 05:22:26 +00:00
Music videos: keep video and audio, switch between them at the same moment
- Save as Video can also keep a matching audio file (on by default, recommended), copied losslessly from the video where possible - Songs with a video beside them get a video badge; video-only files play as songs - Video button (V) shows the music video in TV mode, kept in sync with the song, so switching between the cover and the video never interrupts playback
This commit is contained in:
@@ -1170,3 +1170,16 @@ body.mini-mode > *:not(#mini):not(.toasts):not(.modal-wrap):not(script) { displa
|
||||
.move-paths { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--s2); align-items: center; }
|
||||
.move-paths code { font-size: 12px; padding: 6px 8px; border-radius: 8px; background: var(--surface-2, var(--surface)); border: 1px solid var(--hairline); overflow-wrap: anywhere; }
|
||||
.move-paths .i { color: var(--text-3); }
|
||||
|
||||
/* music videos */
|
||||
.tv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 0; }
|
||||
.tv.video .tv-stage { background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0)); }
|
||||
.tv.video .tv-now .tv-cover { display: none; }
|
||||
.tv-video-btn { position: absolute; top: 18px; right: 64px; z-index: 3; background: rgba(10, 12, 18, 0.55); color: #fff; border-color: rgba(255, 255, 255, 0.18); }
|
||||
.tv-video-btn.on { background: rgba(255, 255, 255, 0.16); }
|
||||
.badge-video { display: inline-grid; place-items: center; margin-left: 6px; vertical-align: -2px; color: var(--text-3); }
|
||||
.badge-video .i svg { width: 14px; height: 14px; }
|
||||
#videoBtn[aria-pressed="true"] { color: var(--accent); }
|
||||
.keep-audio { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: start; margin-top: var(--s3); cursor: pointer; }
|
||||
.keep-audio span { display: grid; gap: 2px; }
|
||||
.keep-audio small { color: var(--text-3); font-size: 11.5px; line-height: 1.4; }
|
||||
|
||||
Reference in New Issue
Block a user