2b42e01cd0
Queue owns ordered tracks, current index, skip-fwd/back, and auto-advance via the player's TrackEnded hook; binds through Attach (no ctor growth, no service-locator). Player-bar skip controls; empty-queue play unchanged. Adds QueueService unit tests.
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
@namespace DeepDrftPublic.Client.Controls.AudioPlayerBar
|
|
|
|
<MudStack Row="false" AlignItems="AlignItems.Center" Spacing="1" Class="@Class">
|
|
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1">
|
|
<PlayerControls IsLoaded="IsLoaded"
|
|
CanPlay="CanPlay"
|
|
Fixed="Fixed"
|
|
TogglePlayPause="TogglePlayPause"
|
|
Stop="Stop"
|
|
HasNext="HasNext"
|
|
HasPrevious="HasPrevious"
|
|
SkipNext="SkipNext"
|
|
SkipPrevious="SkipPrevious"/>
|
|
@if (IsLoading && !IsStreaming)
|
|
{
|
|
<MudProgressCircular Color="Color.Tertiary"
|
|
Size="Size.Small"
|
|
Max="1D"
|
|
Value="@LoadProgress"
|
|
Indeterminate="@(LoadProgress == 0)"/>
|
|
}
|
|
</MudStack>
|
|
<TimestampLabel CurrentTime="DisplayTime" Duration="@Duration"/>
|
|
</MudStack>
|