2 lines
5.2 KiB
JavaScript
2 lines
5.2 KiB
JavaScript
![]() |
import{_ as t,c as e,a0 as i,o}from"./chunks/framework.p2VkXzrt.js";const p=JSON.parse('{"title":"如何添加m3u格式文件的电台","description":"","frontmatter":{"title":"如何添加m3u格式文件的电台"},"headers":[],"relativePath":"issues/88.md","filePath":"issues/88.md","lastUpdated":null}'),r={name:"issues/88.md"};function s(h,a,l,u,m,n){return o(),e("div",null,a[0]||(a[0]=[i('<h1 id="如何添加m3u格式文件的电台" tabindex="-1">如何添加m3u格式文件的电台 <a class="header-anchor" href="#如何添加m3u格式文件的电台" aria-label="Permalink to "如何添加m3u格式文件的电台"" target="_self"></a></h1><p>比如可以找到这样的 m3u 电台文件: <a href="https://github.com/YueChan/Live/blob/main/Radio.m3u" target="_self">https://github.com/YueChan/Live/blob/main/Radio.m3u</a></p><ol><li>复制文件内容,粘贴到 m3u 转换工具里,点击转换为 json 格式:</li></ol><p><img src="https://github.com/hanxi/xiaomusic/assets/1185757/bb812a47-17c5-4483-9234-4cf33367b181" alt="Screenshot_2024-06-29-11-28-58-904_com android chrome"></p><ol start="2"><li>然后复制 json 内容,粘贴到歌单内容里,点击保存,再返回首页:</li></ol><p><img src="https://github.com/hanxi/xiaomusic/assets/1185757/2fb4ca44-6b79-4438-9bc6-cfbd01272f20" alt="Screenshot_2024-06-29-11-29-22-248_com android chrome"></p><ol start="3"><li>在首页点击刷新列表,选择所有电台,再点击播放列表歌曲:</li></ol><p><img src="https://github.com/hanxi/xiaomusic/assets/1185757/c94e4667-f83e-4cd5-9662-e680316cb5b4" alt="Screenshot_2024-06-29-11-29-55-621_com android chrome"></p><ol start="4"><li>也可以用口令播放电台: <code>播放列表所有电台</code> ,或者口令: <code>播放歌曲北京城市广播</code></li></ol><h2 id="评论" tabindex="-1">评论 <a class="header-anchor" href="#评论" aria-label="Permalink to "评论"" target="_self"></a></h2><h3 id="评论-1-guoxiangke" tabindex="-1">评论 1 - guoxiangke <a class="header-anchor" href="#评论-1-guoxiangke" aria-label="Permalink to "评论 1 - guoxiangke"" target="_self"></a></h3><p>转换m3u链接: <a href="http://127.0.0.1:8090/static/m3u.html" target="_self">http://127.0.0.1:8090/static/m3u.html</a></p><hr><h3 id="评论-2-guoxiangke" tabindex="-1">评论 2 - guoxiangke <a class="header-anchor" href="#评论-2-guoxiangke" aria-label="Permalink to "评论 2 - guoxiangke"" target="_self"></a></h3><p><a href="http://127.0.0.1:8090/playurl?did=mydid&url=https://a.com/test.m3u" target="_self">http://127.0.0.1:8090/playurl?did=mydid&url=https://a.com/test.m3u</a> 如果能支持 这么播放m3u 就太完美了 希望能够支持,谢谢作者。</p><hr><h3 id="评论-3-hanxi" tabindex="-1">评论 3 - hanxi <a class="header-anchor" href="#评论-3-hanxi" aria-label="Permalink to "评论 3 - hanxi"" target="_self"></a></h3><blockquote><p><a href="http://127.0.0.1:8090/playurl?did=mydid&url=https://a.com/test.m3u" target="_self">http://127.0.0.1:8090/playurl?did=mydid&url=https://a.com/test.m3u</a> 如果能支持 这么播放m3u 就太完美了 希望能够支持,谢谢作者。</p></blockquote><p>不想破坏现有接口,可以考虑用插件的方式来实现。</p><hr><h3 id="评论-4-lazybabyz" tabindex="-1">评论 4 - lazybabyz <a class="header-anchor" href="#评论-4-lazybabyz" aria-label="Permalink to "评论 4 - lazybabyz"" target="_self"></a></h3><p>potplayer 测试 <a href="https://raw.githubusercontent.com/YueChan/Live/refs/heads/main/Radio.m3u" target="_self">https://raw.githubusercontent.com/YueChan/Live/refs/heads/main/Radio.m3u</a> 部分可以听 xiaomusic测试 <a href="https://github.com/YueChan/Live/blob/main/Radio.m3u" target="_self">https://github.com/YueChan/Live/blob/main/Radio.m3u</a> 复制raw文件转换 全部失败不停转台</p><p>以下potplayer测试 可以听,xiaomusic测试 复制raw文件转换 全部失败不停转台</p><p><a href="https://raw.githubusercontent.com/kai
|