File tree Expand file tree Collapse file tree
src/layouts/default/PlayerOSD Expand file tree Collapse file tree Original file line number Diff line number Diff line change 121121 store.curQueueItem?.streamdetails?.stream_title
122122 "
123123 >
124- <h4 class =" fullscreen-track-info-subtitle" >
124+ <!-- radio live metadata -->
125+ <h4
126+ v-if ="
127+ store.curQueueItem.streamdetails.stream_title.includes(' - ')
128+ "
129+ class =" fullscreen-track-info-subtitle"
130+ style =" cursor : pointer "
131+ @click ="
132+ radioTitleClick(store.curQueueItem.streamdetails.stream_title)
133+ "
134+ >
135+ {{ store.curQueueItem.streamdetails.stream_title }}
136+ </h4 >
137+ <h4 v-else class =" fullscreen-track-info-subtitle" >
125138 {{ store.curQueueItem.streamdetails.stream_title }}
126139 </h4 >
127140 </div >
@@ -489,6 +502,13 @@ const radioNameClick = function (item: Radio | ItemMapping) {
489502 store .showFullscreenPlayer = false ;
490503};
491504
505+ const radioTitleClick = function (streamTitle : string ) {
506+ // radio station title clicked
507+ store .globalSearchTerm = streamTitle ;
508+ router .push ({ name: ' search' });
509+ store .showFullscreenPlayer = false ;
510+ };
511+
492512// watchers
493513watch (
494514 () => store .curQueueItem ,
You can’t perform that action at this time.
0 commit comments