mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 20:16:15 -08:00
refactor(external-playback): update styles
Entire-Checkpoint: c6e522b4276c
This commit is contained in:
1 parent
ce7ae1a251
commit
4bc733d9c2
6 files changed
+122
-48
No files matched your search
+17
@@ -720,6 +720,23 @@ export class WorkspaceShellFacade {
|
||||
);
|
||||
}
|
||||
|
||||
openActiveExternalSessionTarget(): void {
|
||||
const playlistId = this.externalPlaybackSession()?.contentInfo
|
||||
?.playlistId;
|
||||
if (!playlistId) return;
|
||||
|
||||
const playlist = this.playlists().find((p) => p._id === playlistId);
|
||||
if (!playlist) return;
|
||||
|
||||
if (playlist.serverUrl) {
|
||||
void this.router.navigate(['/workspace', 'xtreams', playlistId]);
|
||||
} else if (playlist.macAddress) {
|
||||
void this.router.navigate(['/workspace', 'stalker', playlistId]);
|
||||
} else {
|
||||
void this.router.navigate(['/workspace', 'playlists', playlistId]);
|
||||
}
|
||||
}
|
||||
|
||||
onSearchInput(value: string): void {
|
||||
this.searchQuery.set(value);
|
||||
this.scheduleSearchApply(value);
|
||||
|
||||
@@ -135,6 +135,9 @@
|
||||
<app-external-playback-dock
|
||||
[session]="session"
|
||||
(closeClicked)="facade.closeActiveExternalSession()"
|
||||
(artworkClicked)="
|
||||
facade.openActiveExternalSessionTarget()
|
||||
"
|
||||
/>
|
||||
</footer>
|
||||
}
|
||||
|
||||
@@ -52,6 +52,8 @@ app-workspace-shell-context-sidebar {
|
||||
.workspace-now-playing {
|
||||
grid-column: 2;
|
||||
grid-row: 3;
|
||||
padding: 0;
|
||||
background: var(--app-content-bg, var(--mat-sys-surface));
|
||||
}
|
||||
|
||||
.workspace-content {
|
||||
|
||||
Reference in new issue
Block a user