惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
Attack and Defense Labs
Attack and Defense Labs
V2EX - 技术
V2EX - 技术
O
OpenAI News
S
Secure Thoughts
H
Heimdal Security Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Schneier on Security
Schneier on Security
H
Hacker News: Front Page
S
Security Affairs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
The Register - Security
The Register - Security
GbyAI
GbyAI
Cloudbric
Cloudbric
MongoDB | Blog
MongoDB | Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
K
Kaspersky official blog
Forbes - Security
Forbes - Security
Y
Y Combinator Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
Scott Helme
Scott Helme
Hacker News - Newest:
Hacker News - Newest: "LLM"
The Cloudflare Blog
Recorded Future
Recorded Future
人人都是产品经理
人人都是产品经理
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
Webroot Blog
Webroot Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LangChain Blog
T
Tor Project blog
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
Hacker News: Ask HN
Hacker News: Ask HN
Blog — PlanetScale
Blog — PlanetScale
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog RSS Feed
N
News and Events Feed by Topic
阮一峰的网络日志
阮一峰的网络日志
I
Intezer
V
V2EX
T
Tailwind CSS Blog
SecWiki News
SecWiki News
NISL@THU
NISL@THU
C
Check Point Blog

Rat's Blog - Music

MKOnlineMusicPlayer:一款开源的基于Meting的在线音乐播放器 - Rat's Blog
分享一款多个音乐网站合一的音乐搜索播放器 - Rat's Blog
博主: Rat's · 2018-03-02 · via Rat's Blog - Music

分享一款多个音乐网站合一的音乐搜索播放器

  •  发布时间:
  •  14970 次浏览
  •   6 条评论
  •  1340 字数
  • 分类: 网络资源
  1.  首页
  2. 正文  
  3. 分享到:

说明:之前分享过一款很漂亮的音乐播放器源码,查看:MKOnlineMusicPlayer:一款开源的基于Meting的在线音乐播放器,现在再分享个,支持的音乐网站更广,就是界面没前者好看,有兴趣的可以用用。

简介

麦葱特制多站合一音乐搜索解决方案,支持搜索试听以下网站音乐:

网易云音乐 QQ音乐 酷狗音乐 酷我音乐 虾米音乐 百度音乐 一听音乐 咪咕音乐 荔枝FM 蜻蜓FM 喜马拉雅FM 全民K歌 5sing原创 5sing翻唱

数据调用的是各网站的API接口,有的接口并不是开放的,随时可能失效,本项目相关代码仅供参考。

相关链接

在线演示:http://music.2333.me/
GitHub地址:https://github.com/maicong/music
下载地址:开发版稳定版
更新日志:CHANGELOG.md

界面截图

请输入图片描述
请输入图片描述

常见问题

1、提示数据获取失败

#方案1
修改index.php文件里的MC_PROXY为您的代理地址。
将core/music.php里需要代理的URL 'proxy'=>false改为'proxy' => true。

#方案2
在core/music.php里查找setTimeout,将其后面的数值20改为更大。
在static/js/music.js里查找timeout,将其数值30000改为更大。

#方案3
服务器要支持curl。
更换服务器,选择延迟更低的服务器。

2、播放器显示Error happens

#音乐链接为空
1、音乐需要付费才能收听。
2、版权限制,外站无法获取。
3、服务器IP所在地不在源站允许的区域。
4、音乐下架了,链接被去除。

#音乐链接不为空
1、当前IP所在地因版权限制而无法播放。
2、音乐格式浏览器无法正常解析。

版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/525/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。