深度音乐--百度音乐插件来了
Tofloor
poster avatar
sumary
deepin
2013-07-24 21:25
Author
更新: 最新版本已经集成此插件

一直在用深度音乐听歌, 但是没有网络歌曲库,所以就寻思做一个,看了下接口,发现就百度音乐比较简单, 在开发者@lovesnow的帮助下,奋战好久了, 终于出来啦

好吧, 其它的不说, 上图先
1-.png
===================================================================
更新以下内容:

[list:2azkq6yx]支持百度账号登录
可以管理本地试听列表
可以管理在线歌单
支持收藏歌曲并同步
高质量音频(320kbps)[/list:u:2azkq6yx]

1. 试听列表, 可以组织想听的歌曲啦
1.png

2. 支持登录百度账号啦, 意味着大家可以收藏歌曲啦
2.png

3. 原生登录接口, 稳定,稳定!
3.png

4. 不仅有收藏列表, 还有在线歌单,整个操作是同步的(百度音乐盒, 百度音乐客户端)
4.png

5. 增加右键菜单项
5.png

6. 列表可以收缩
6.png





LinuxDeepin系统安装方法

1. 安装依赖(必须是test源啊, 如果不是看下面的安装方法)
  1. sudo apt-get install pytho*core git
Copy the Code

2. 安装百度音乐插件
  1. git clone https://github.com/sumary/dmusic-plugin-baidumusic.git
  2. cd dmusic-plugin-baidumusic
  3. cp -r baidumusic ~/.local/share/deepin-music-player/plugins/
Copy the Code

其它Linux发行版安装方法
1. 安装编译时的相关依赖包(cython libwebkitgtk-dev python-dev git), 例如:
  1. sudo apt-get install cython libwebkitgtk-dev git
Copy the Code

2. 安装*core
  1. git clone https://github.com/sumary/*core.git
  2. cd *core
  3. sudo python setup.py install
Copy the Code

3. 安装百度音乐插件
  1. git clone https://github.com/sumary/dmusic-plugin-baidumusic.git
  2. cd dmusic-plugin-baidumusic
  3. cp -r baidumusic ~/.local/share/deepin-music-player/plugins/
Copy the Code


最后运行深度音乐, 选项设置->附加组件 中启用百度音乐即可  
Reply Favorite View the author
All Replies
5 / 6
To page
hujiadfr
deepin
2013-10-17 05:55
#81
太实用了
Reply View the author
hudyge
deepin
2013-10-21 18:04
#82
很强大,支持楼主,LINUX下音乐软件好用的太太少了。

深度音乐播放器太强大了!!!!           
Reply View the author
yidianyudi
deepin
2013-10-23 04:51
#83
现在百度音乐里面有个“电台”功能,目前的插件还不支持。
Reply View the author
fcwlsy
deepin
2013-10-31 05:15
#84
强大,支持,喜欢,使用中!谢谢
Reply View the author
love19841009
deepin
2013-10-31 08:00
#85
在UBUNTU12.04LTS里安装百度音乐插件,深度音乐版本为2.0 。当安装到 sudo python setup.py install时出现了如下错误。不知道为什么? 我强行执行第3步,结果在深度音乐里可以找到百度音乐选项,但是五角星是灰色的,不能点选。请作者指导,谢谢。
LinuxDeepin系统安装方法

1. 安装依赖(必须是test源啊, 如果不是看下面的安装方法)
代码: 全选
sudo apt-get install pytho*core git


2. 安装百度音乐插件
代码: 全选
git clone https://github.com/sumary/dmusic-plugin-baidumusic.git
cd dmusic-plugin-baidumusic
cp -r baidumusic ~/.local/share/deepin-music-player/plugins/


其它Linux发行版安装方法
1. 安装编译时的相关依赖包(cython libwebkitgtk-dev python-dev git), 例如:
代码: 全选
sudo apt-get install cython libwebkitgtk-dev git


2. 安装*core
代码: 全选
git clone https://github.com/sumary/*core.git
cd *core
sudo python setup.py install


3. 安装百度音乐插件
代码: 全选
git clone https://github.com/sumary/dmusic-plugin-baidumusic.git
cd dmusic-plugin-baidumusic
cp -r baidumusic ~/.local/share/deepin-music-player/plugins/



最后运行深度音乐, 选项设置->附加组件 中启用百度音乐即可



sudo python setup.py install
[sudo] password for love19541009:
running install
running build
running build_ext
skipping*core.c' Cython extension (up-to-date)
building*core' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -*core.c -o build/temp.linux-i686-2.7*core.o -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/webkitgtk-1.0
In file included fro*core.c:237:0:
/usr/include/webkitgtk-1.0*Core/JSContextRef.h:51:1: 警告: 函数声明不是一个原型 [-Wstrict-prototypes]
*core.c: 在函数‘__pyx_f_14javascriptcore_wrapJSObject’中:
*core.c:1274:3: 警告: passing argument 2 of ‘JSObjectIsFunction’ discards ‘const’ qualifier from pointer target type [默认启用]
/usr/include/webkitgtk-1.0*Core/JSObjectRef.h:605:16: 附注: 需要类型‘JSObjectRef’,但实参的类型为‘JSValueRef’
*core.c:1284:5: 警告: passing argument 2 of ‘__pyx_f_14javascriptcore_makeJSFunction’ discards ‘const’ qualifier from pointer target type [默认启用]
*core.c:845:18: 附注: 需要类型‘JSObjectRef’,但实参的类型为‘JSValueRef’
*core.c:1299:5: 警告: passing argument 2 of ‘__pyx_f_14javascriptcore_makeJSObject’ discards ‘const’ qualifier from pointer target type [默认启用]
*core.c:844:18: 附注: 需要类型‘JSObjectRef’,但实参的类型为‘JSValueRef’
*core.c: 在函数‘__pyx_f_14javascriptcore_jsToPython’中:
*core.c:1583:7: 警告: 传递‘PyUnicodeUCS4_DecodeUTF16’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/usr/include/python2.7/unicodeobject.h:872:23: 附注: 需要类型‘const char *’,但实参的类型为‘Py_UNICODE *’
*core.c:1649:5: 警告: passing argument 1 of ‘JSObjectGetPrivate’ discards ‘const’ qualifier from pointer target type [默认启用]
/usr/include/webkitgtk-1.0*Core/JSObjectRef.h:586:17: 附注: 需要类型‘JSObjectRef’,但实参的类型为‘JSValueRef’
*core.c: 在函数‘__pyx_f_14javascriptcore_pyStringFromJS’中:
*core.c:2072:3: 警告: 传递‘PyUnicodeUCS4_DecodeUTF16’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/usr/include/python2.7/unicodeobject.h:872:23: 附注: 需要类型‘const char *’,但实参的类型为‘Py_UNICODE *’
*core.c: 在函数‘__pyx_f_14javascriptcore_13_JSBaseObject_setup’中:
*core.c:2602:3: 警告: passing argument 1 of ‘JSGlobalContextRetain’ discards ‘const’ qualifier from pointer target type [默认启用]
/usr/include/webkitgtk-1.0*Core/JSContextRef.h:103:30: 附注: 需要类型‘JSGlobalContextRef’,但实参的类型为‘JSContextRef’
*core.c: 在函数‘__pyx_pf_14javascriptcore_13_JSBaseObject_1__dealloc__’中:
*core.c:2657:35: 警告: passing argument 1 of ‘JSGlobalContextRelease’ discards ‘const’ qualifier from pointer target type [默认启用]
/usr/include/webkitgtk-1.0*Core/JSContextRef.h:110:16: 附注: 需要类型‘JSGlobalContextRef’,但实参的类型为‘JSContextRef’
*core.c: 在函数‘__pyx_pf_14javascriptcore_11_JSSequence___contains__’中:
*core.c:3233:7: 警告: passing argument 1 of ‘JSObjectGetPrivate’ discards ‘const’ qualifier from pointer target type [默认启用]
/usr/include/webkitgtk-1.0*Core/JSObjectRef.h:586:17: 附注: 需要类型‘JSObjectRef’,但实参的类型为‘JSValueRef’
*core.c: 在函数‘__pyx_pf_14javascriptcore_9_JSObject_1__getattr__’中:
*core.c:5329:49: 警告: passing argument 2 of ‘JSObjectIsFunction’ discards ‘const’ qualifier from pointer target type [默认启用]
/usr/include/webkitgtk-1.0*Core/JSObjectRef.h:605:16: 附注: 需要类型‘JSObjectRef’,但实参的类型为‘JSValueRef’
*core.c:5356:170: 警告: passing argument 2 of ‘__pyx_f_14javascriptcore_makeJSBoundMethod’ discards ‘const’ qualifier from pointer target type [默认启用]
*core.c:846:18: 附注: 需要类型‘JSObjectRef’,但实参的类型为‘JSValueRef’
*core.c: 在函数‘__pyx_pf_14javascriptcore_9JSContext___cinit__’中:
*core.c:7669:36: 警告: passing argument 1 of ‘JSGlobalContextRetain’ discards ‘const’ qualifier from pointer target type [默认启用]
/usr/include/webkitgtk-1.0*Core/JSContextRef.h:103:30: 附注: 需要类型‘JSGlobalContextRef’,但实参的类型为‘JSContextRef’
*core.c: 在函数‘__pyx_pf_14javascriptcore_9JSContext_1__init__’中:
*core.c:7701:13: 警告: 变量‘__pyx_v_pyCtxExtern’被设定但未被使用 [-Wunused-but-set-variable]
*core.c: 在函数‘__pyx_pf_14javascriptcore_9JSContext_2evaluateScript’中:
*core.c:7817:13: 警告: 变量‘__pyx_v_sourceURL’被设定但未被使用 [-Wunused-but-set-variable]
*core.c:7816:13: 警告: 变量‘__pyx_v_thisObject’被设定但未被使用 [-Wunused-but-set-variable]
*core.c: 在函数‘__pyx_pf_14javascriptcore_9JSContext_4__dealloc__’中:
*core.c:8081:35: 警告: passing argument 1 of ‘JSGlobalContextRelease’ discards ‘const’ qualifier from pointer target type [默认启用]
/usr/include/webkitgtk-1.0*Core/JSContextRef.h:110:16: 附注: 需要类型‘JSGlobalContextRef’,但实参的类型为‘JSContextRef’
*core.c: 在函数‘in*core’中:
*core.c:13406:57: 警告: 从不兼容的指针类型赋值 [默认启用]
*core.c:13415:60: 警告: 从不兼容的指针类型赋值 [默认启用]
*core.c:13424:60: 警告: 从不兼容的指针类型赋值 [默认启用]
*core.c:13469:62: 警告: 从不兼容的指针类型赋值 [默认启用]
*core.c:13559:54: 警告: 从不兼容的指针类型赋值 [默认启用]
*core.c:13577:54: 警告: 从不兼容的指针类型赋值 [默认启用]
*core.c:13586:57: 警告: 从不兼容的指针类型赋值 [默认启用]
*core.c:13640:54: 警告: 从不兼容的指针类型赋值 [默认启用]
*core.c:13649:57: 警告: 从不兼容的指针类型赋值 [默认启用]
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-i686-2.7*core.o -o build/lib.linux-i686-2.7*core.so -lwebkitgtk-1.0 -lgtk-x11-2.0 -lsoup-2.4 *coregtk-1.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgio-2.0 -lgobject-2.0 -lglib-2.0
/usr/bin/ld: cannot find -lgcc_s
collect2: ld 返回 1
error: command 'gcc' failed with exit status 1
Reply View the author
gomind
deepin
2013-11-05 20:05
#86
好诶,大爱楼主!继续更新呀,期待。。。
Reply View the author
hanxi
deepin
2013-11-07 01:51
#87
关注你好久了。。。却是不错。。。希望把随机播放和电台功能加上去。。。
Reply View the author
LoveBebeyond
deepin
2013-11-10 01:15
#88
很好用的插件,支持!
Reply View the author
gongzonglian
deepin
2013-11-16 20:07
#89
啥时候整个快播的插件吧
Reply View the author
cracker134
deepin
2013-11-30 04:48
#90
这个很实在,方便多了。
Reply View the author
hudyge
deepin
2013-12-02 21:45
#91
很强啊。
深度音乐越来越叼了。
Reply View the author
sirenxinzhi
deepin
2013-12-05 17:04
#92
很给力。已经在深度音乐里面用上了。
Reply View the author
sage2008
deepin
2013-12-08 19:18
#93
强烈支持!
太好了,正是我想要的!
不过太麻烦也太复杂了,看得偶头都大了!
要是能集成到系统里就好了!
Reply View the author
BingoLove
deepin
2013-12-08 19:21
#94
强烈支持!
太好了,正是我想要的!
不过太麻烦也太复杂了,看得偶头都大了!
要是能集成到系统里就好了!

现在深度音乐已经自带这插件了,只要到插件中去启用就可以了
Reply View the author
hj1996
deepin
2013-12-19 04:59
#95
要是能在百度音乐里面听电台就更好了
Reply View the author
ypsjd
deepin
2013-12-26 21:44
#96
请教下,这个插件的百度音乐的电台怎么播放不了呢,点击电台上面的播放按钮没反应
Reply View the author
tyh2020
deepin
2013-12-28 03:33
#97
按照帖子里的方法安装了,弹不出来界面。是64位系统
Reply View the author
fredy4212
deepin
2013-12-28 07:44
#98
按照帖子里的方法安装了,弹不出来界面。是64位系统
要把它展開
Reply View the author
tyh2020
deepin
2013-12-28 17:10
#99
可以了。。。
这里我倒是想提个意见,这些图标是不是太小了?就是你红圈圈的,还有平常窗口的最小化最大化按钮。我在13寸笔记本里面觉得太小,没想到到了22寸屏幕上,还是很小。
Reply View the author
BingoLove
deepin
2013-12-28 19:43
#100
[quote]按照帖子里的方法安装了,弹不出来界面。是64位系统
要把它展開[/quote]
你这屏幕好小
Reply View the author
5 / 6
To page