音乐电台

v1.0.0 soundplayer 社区投稿 Community submission

PC 右栏嵌入播放器,支持音乐曲目与直播电台,4 个 Tab 页(设置 / 曲目 / 电台 / 导入导出) 网易云导入:输入歌曲 ID,自动获取歌名 / 歌手 / 专辑封面 配置导入导出:JSON 格式备份与恢复

Author flinthub Verified developer
Downloads4
Min core version1.1.2
Updated2026-10-09 15:38
Log in to download Log in to download the package directly — for servers that cannot install plugins online.
After downloading, upload the zip in your own site admin: Plugin Store → Upload & Install. If your server has outbound access, prefer the online install — it can auto-update.

Screenshots 1

Changelog

  • 右侧栏播放卡片:PC 右栏嵌入播放器,支持音乐曲目与直播电台
  • 后台管理面板:4 个 Tab 页(设置 / 曲目 / 电台 / 导入导出)
  • 曲目管理:增删改、批量删除、拖拽排序
  • 电台管理:增删改、批量删除、清理重复、拖拽排序
  • 网易云导入:输入歌曲 ID,自动获取歌名 / 歌手 / 专辑封面
  • 配置导入导出:JSON 格式备份与恢复
  • 播放特性:顺序 / 单曲循环 / 随机播放,HLS 直播流支持
  • 切换页面行为(⚠️ 不是无缝续播):核心无全局 htmx boost,页面导航是整页跳转 → audio 元素(document.createElement('audio'),游离于 DOM)随 JS 上下文一并销毁 → 播放必然中断;靠 sessionStorage(soundplayer_live_v1)记录 {url, position}, 新页面重建 audio 后 seek 续播。中间存在「重建 + 重连 + 重缓冲」的短暂空白期。

Files 22 245.7 KB

  • plugins 22 files · 245.7 KB
    • soundplayer 22 files · 245.7 KB
      • assets 3 files · 66.6 KB
        • uploads 1 files · 145 B
          • .htaccess 145 B
        • script.js 41.2 KB
        • style.css 25.3 KB
      • data 4 files · 28.8 KB
        • .htaccess 490 B
        • schema.ok 1 B
        • soundplayer.sqlite 28 KB
        • web.config 281 B
      • hook 5 files · 4.3 KB
        • admin_route_register.php 540 B
        • init_after.php 2.2 KB
        • layout_head_end.php 983 B
        • route_register.php 267 B
        • sidebar_card.php 408 B
      • lang 3 files · 32.6 KB
        • en.php 10.9 KB
        • zh.php 10.9 KB
        • zh_tw.php 10.8 KB
      • views 2 files · 37.3 KB
        • admin.php 36.4 KB
        • index.php 960 B
      • AdminController.php 24.7 KB
      • FrontController.php 454 B
      • Plugin.php 19.4 KB
      • plugin.json 680 B
      • 说明.md 30.9 KB

Discussion 0

No discussion yet. Be the first to share your thoughts.
Please sign in to join the discussion.