Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
91bbe0a
fix(playback): avoid proxying OAuth-style signed stream credentials
hoangsvit Nov 20, 2026
ab629bb
test(playback): guard OAuth-style stream URL parameters
hoangsvit Nov 20, 2026
40c33f6
Merge pull request #541 from ePlus-DEV/fix/proxy-sensitive-query-cred…
hoangsvit Nov 20, 2026
ae30bc8
fix(playback): avoid re-proxying canonical-equivalent proxy URLs
hoangsvit Nov 21, 2026
82e7faf
test(playback): cover proxy URL canonicalization regression
hoangsvit Nov 21, 2026
e330dbd
fix(search): track successful empty index loads
hoangsvit Nov 21, 2026
0f6f260
fix(search): avoid repeated loading state for cached empty index
hoangsvit Nov 21, 2026
53234c7
test(search): cover successful empty index and retry state
hoangsvit Nov 21, 2026
8ca4251
fix(player): restore audible volume when unmuting from zero
hoangsvit Nov 21, 2026
dacc0d2
test(player): cover mute transitions at zero and system volume
hoangsvit Nov 21, 2026
b386393
build(deps): bump the npm-version-nonbreaking group with 3 updates
dependabot[bot] Nov 23, 2026
80d2c81
fix(player): attach native HLS readiness listener before load
hoangsvit Nov 23, 2026
c21eb55
test(player): guard native HLS loadedmetadata registration order
hoangsvit Nov 23, 2026
5a68251
test(deps): allow compatible Nuxt UI updates in security policy regre…
hoangsvit Nov 23, 2026
50cea54
test(deps): correct Nuxt UI semver assertion regex
hoangsvit Nov 23, 2026
5aa439a
test(deps): use stable Nuxt UI major-version assertion
hoangsvit Nov 23, 2026
5c62143
Merge pull request #542 from ePlus-DEV/fix/proxy-self-recursion-canon…
hoangsvit Nov 23, 2026
b13f55d
Merge branch 'staging' into fix/search-empty-index-loading-20261122
hoangsvit Nov 23, 2026
712e7f6
Merge pull request #543 from ePlus-DEV/fix/search-empty-index-loading…
hoangsvit Nov 23, 2026
5d4a504
Merge branch 'staging' into fix/volume-zero-unmute-20261122
hoangsvit Nov 23, 2026
68a99fe
Merge pull request #544 from ePlus-DEV/fix/volume-zero-unmute-20261122
hoangsvit Nov 23, 2026
865818f
Merge branch 'staging' into dependabot/npm_and_yarn/staging/npm-versi…
hoangsvit Nov 23, 2026
d188f22
Merge pull request #545 from ePlus-DEV/dependabot/npm_and_yarn/stagin…
hoangsvit Nov 23, 2026
969ad64
Merge branch 'staging' into fix/native-hls-metadata-listener-order-20…
hoangsvit Nov 23, 2026
ff71eec
Merge pull request #546 from ePlus-DEV/fix/native-hls-metadata-listen…
hoangsvit Nov 23, 2026
5cb3997
Merge branch 'main' into staging
hoangsvit Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions components/player/Player.vue
Original file line number Diff line number Diff line change
Expand Up @@ -831,10 +831,9 @@ const configureHlsSource = async (

media.src = source.src;
attachNativeHlsSongMetadata(media, version);
media.load();

if (autoplay && !userPaused.value) {
startFallbackProbe();
// Register before load(): cached/native manifests can become ready immediately.
media.addEventListener(
"loadedmetadata",
() => {
Expand All @@ -843,7 +842,9 @@ const configureHlsSource = async (
},
{ once: true },
);
startFallbackProbe();
}
media.load();
return;
}

Expand Down Expand Up @@ -1230,7 +1231,14 @@ const radioMediaSession = createRadioMediaSession({
const toggleMute = (): void => {
const media = mediaElement.value;
if (!media) return;
media.muted = !media.muted;
// A zero-volume element stays silent even after clearing its muted flag.
// Restore an audible level only for browsers with writable media volume.
if (media.muted || media.volume === 0) {
if (media.volume === 0 && !systemVolumeOnly.value) media.volume = 1;
media.muted = false;
} else {
media.muted = true;
}
};

const onVolumeInput = (event: Event): void => {
Expand Down
6 changes: 4 additions & 2 deletions composables/useStationSearchIndex.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { createCachedLoader } from '~/utils/cached-loader.mjs';
import { createSearchIndexLoadState } from '~/utils/search-index-load-state.mjs';

export interface StationSearchItem {
objectID: string;
Expand Down Expand Up @@ -36,19 +37,20 @@ export function useStationSearchIndex() {
const index = shallowRef<StationSearchItem[]>([]);
const loading = ref(false);
const error = ref(false);
const loadState = createSearchIndexLoadState();
let disposed = false;
let requested: Promise<void> | undefined;

// Never fetch a multi-station catalog simply because the global header mounts.
// Load on search focus/open; the cached loader deduplicates across mobile
// modal and desktop header, and failed requests remain retryable.
const load = (): Promise<void> => {
if (index.value.length) return Promise.resolve();
if (loadState.isLoaded()) return Promise.resolve();
if (requested) return requested;
loading.value = true;
error.value = false;
requested = loaderFor(searchUrl)()
.then(items => { if (!disposed) index.value = items; })
.then(items => { if (!disposed) { index.value = items; loadState.markLoaded(); } })
.catch(() => { if (!disposed) error.value = true; })
.finally(() => {
requested = undefined;
Expand Down
Loading
Loading