Fix: Radio search results empty + texture quality
- Search API: read title/subtitle/url from _source.page (nested) - Channel click: extract correct ID from URL (last segment) - Replace earth texture with higher-res 4096x2048 original Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a1a49f0ec3
commit
e0635b30ef
3 changed files with 11 additions and 8 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 776 KiB After Width: | Height: | Size: 698 KiB |
|
|
@ -332,7 +332,7 @@ export default function RadioTab({ data }: { data: any }) {
|
|||
setSearchResults([]);
|
||||
|
||||
if (hit.type === 'channel') {
|
||||
const channelId = hit.url.match(/\/listen\/([^/]+)/)?.[1];
|
||||
const channelId = hit.url.match(/\/listen\/[^/]+\/([^/]+)/)?.[1];
|
||||
if (channelId) {
|
||||
handlePlay(channelId, hit.title, hit.subtitle, '');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue