Skip to content
Draft
Changes from all commits
Commits
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
9 changes: 6 additions & 3 deletions src/app/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@ export default function HomeScreen() {
// Only update if we're not playing an archive
if (!archiveState.isPlayingArchive) {
await TrackPlayer.updateMetadataForTrack(0, {
title: DEFAULT_NAME,
artist: currentShow || 'Live Radio',
title: currentShow || DEFAULT_NAME,
artist: showInfo
? `${showInfo?.currentArtist} - ${showInfo.currentSong}`
: 'Live Radio',
artwork: require('../../../assets/cover.png'),
});

Expand All @@ -171,7 +173,8 @@ export default function HomeScreen() {
currentShow,
archiveState.isPlayingArchive,
isPlayerInitialized,
playbackState?.state,
playbackState.state,
showInfo,
]);

const togglePlayback = useCallback(async () => {
Expand Down
Loading