audio streaming app plyr.fm
38
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(audio-replace): show useful context in current label (#1313)

"current: m4a" alone is too terse — the user has no sense of where the
audio lives or whether it was transcoded. swap to:

current: m4a · stored on your PDS
current: mp3 (transcoded from flac) · stored on plyr.fm

we don't have the original filename to show (it's content-hashed away
at upload), so format + storage location is the most useful signal.

Co-authored-by: Claude Opus 4 (1M context) <noreply@anthropic.com>

authored by

nate nowack
Claude Opus 4 (1M context)
and committed by
GitHub
57c4d10e 3b0352e2

+4 -2
+3 -1
frontend/src/routes/portal/+page.svelte
··· 1099 1099 </button> 1100 1100 {:else} 1101 1101 <div class="audio-current"> 1102 - <span class="audio-current-label">current: {track.file_type}</span> 1102 + <span class="audio-current-label"> 1103 + current: {track.file_type}{track.original_file_type && track.original_file_type !== track.file_type ? ` (transcoded from ${track.original_file_type})` : ''}{track.audio_storage === 'both' || track.audio_storage === 'pds' ? ' · stored on your PDS' : ' · stored on plyr.fm'} 1104 + </span> 1103 1105 </div> 1104 1106 <label class="audio-upload-btn"> 1105 1107 <input
+1 -1
loq.toml
··· 156 156 157 157 [[rules]] 158 158 path = "frontend/src/routes/portal/+page.svelte" 159 - max_lines = 3716 159 + max_lines = 3718 160 160 161 161 [[rules]] 162 162 path = "frontend/src/routes/settings/+page.svelte"