mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 18:22:46 +00:00
Discover remote sessions
Adds a way of discovering remote sessions and in Jellyfin the UI.
This commit is contained in:
parent
b1bd15f2c1
commit
b257fe60aa
20 changed files with 1051 additions and 80 deletions
|
@ -267,7 +267,16 @@ PanelBackground {
|
|||
states: [
|
||||
State {
|
||||
name: ""
|
||||
when: manager.playbackState !== J.PlayerState.Stopped && !isFullPage && !("__hidePlaybackBar" in pageStack.currentPage)
|
||||
// Show the bar whenever:
|
||||
// 1. Either one of the following is true:
|
||||
// a. The playbackmanager is playing media
|
||||
// b. The playbackmanager is controlling a remote session
|
||||
// AND
|
||||
// 2. The playback bar isn't in the full page state
|
||||
// AND
|
||||
// 3. The topmost page on the pagestack hasn't requested to hide the page
|
||||
when: (manager.playbackState !== J.PlayerState.Stopped || !manager.controllingSessionLocal)
|
||||
&& !isFullPage && !("__hidePlaybackBar" in pageStack.currentPage)
|
||||
},
|
||||
State {
|
||||
name: "large"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue