GithubHelp home page GithubHelp logo

xtujser / cocomusic Goto Github PK

View Code? Open in Web Editor NEW
914.0 34.0 114.0 6.46 MB

a simple music player built by electron and vue

Home Page: https://github.com/xtuJSer/CoCoMusic/commits/v3.0

License: GNU Lesser General Public License v3.0

JavaScript 59.00% HTML 0.79% Vue 39.47% CSS 0.74%
music-player electron electron-app electron-vue vue vue-cli vue-router vuex js javascript

cocomusic's Introduction


CoCoMusic

Vue + Electron + =


CoCoMusic Next

v3 正在开发中,感谢 pid000 的贡献。

Contributor

Contributor:

Install

Linux

AppImage

chmod +x cocomusic-2.0.4-x86_64.AppImage
./cocomusic-2.0.4-x86_64.AppImage

deb

第三方deb源 Debian用户可以加源后

sudo apt install cocomusic
sudo dpkg -i cocomusic_2.0.4_amd64.deb

pacman

sudo pacman -U cocomusic-2.0.4.pacman

Build Setup

# install dependencies
npm install

# rebuild native module
./node_modules/.bin/electron-rebuild

# develop
npm run dev

# build electron application for production
npm run build:linux
npm run build:mac
npm run build:win

Preview

cocomusic's People

Contributors

fengt-t avatar i5shuyi avatar noahziheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cocomusic's Issues

可否增加下32位的支持

电脑比较老,用的是ubuntu16.04的32位版本,很希望能够用上这个软件,能否增加下32位的支持呢?谢谢啦!
我也尝试着编译安装,但是失败了,以下是报错信息:
npm ERR! Linux 4.15.0-32-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read

npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! Linux 4.15.0-32-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read

npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
WARN engine [email protected]: wanted: {"node":">=4.8"} (current: {"node":"4.2.6","npm":"3.5.2"})
npm ERR! Linux 4.15.0-32-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read

npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.

编译时dbus问题

在npm run dev这一步骤时,在electron控制台会输出这个错误.

CoCoMusic/node_modules/dbus/build/Release/dbus.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 59. This version of Node.js requires
NODE_MODULE_VERSION 54. Please try re-compiling or re-installing
the module (for instance, using npm rebuild ornpm install)

npm rebuild和npm install没用
node 54版本已经没有,dbus版本1.0 API变了,不敢升级.请问大佬这个怎么解决.

显示问题

最新版发现歌手列表就前面2行可以显示歌手圆图其他都不显示下一页也不显示
2019-01-20 17-21-26

hi ,i have a suggestion :)

Hi, my name is jose, i like your application, looks very cool
but i don't understand chinese ,and i would like see the application in English ,Spanish....

i can help to translate. ,
please add support for english

my email is [email protected]

随机播放bug

不知道随机播放不能继续的bug修好了没有,但是今天发现随机播放时最新的版本中会出现正在播放歌曲和应用中显示的歌曲不同步,有时甚至会出现完全错位。在播放一首歌曲时显示另一首歌曲的信息。

能常驻在系统任务栏吗?

非常感谢楼主的分享,终于可以在linux上听Coco音乐了。

这里有个小建议。

当前打开软件后,只能在窗口中操作,如果把窗口关闭后,程序就退出了。

希望可以在关闭窗口后,程序缩小到系统任务中,点击任务栏的图标,再显示程序窗口。

谢谢楼主了。

Windows安装包

请问一下,现在的release是都不会有windows的安装包了吗?因为我个人不会打包。

图标用这个吧

svg文件内容 ):

<?xml version="1.0" encoding="UTF-8"?>
<svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
    <title>cocomusic</title>
    <desc>Created with Sketch.</desc>
    <defs>
        <linearGradient x1="50.0009537%" y1="96.8736591%" x2="50.0009537%" y2="0%" id="linearGradient-1">
            <stop stop-color="#6A22EB" offset="0%"></stop>
            <stop stop-color="#5841E2" offset="100%"></stop>
        </linearGradient>
    </defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="cocomusic">
            <g id="图标" transform="translate(1.250000, 1.250000)">
                <g id="shadow">
                    <image id="Bitmap" x="-1.25" y="-0.25" width="48" height="47" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAvCAYAAAClgknJAAAABGdBTUEAA1teXP8meAAAA19JREFUaAXV2Yly2zAMBNCm993+/2/2PlM8Wquh5chSOkksYQbmIZDcBUDaoq8e3Y1cDdOk1Ozr2tc+Bkk9ZfpvXU4Xuc0EGat8XPq89EXpk6GtLzaA/h30T5U/Sn8O7ZBIWd3rJQusH3EAZRx9OSjwt50LYCS+D6odreo6uc2iseVZwN+UPl23zKLV77L4UoqMSJFVEQmow5D5T3aUp9+VPiu9D/lVk34qFZlV0ZCvSwI4r/P4h9I1Y8rsv8TcoktEZVGWwADP5n0pAtr3LdbIYSAiZ1PpHAETyfGPpfFKVR9MpCk9S2KOQO953riUwEdnSdxEAPjk/OtLIe/WlQXS6MY9MSUAPH1VKu+3Ik4/X4AnJHh6Khi/nXZuoA3TyfdOH4E+dS6Z93O+4mypZD+M0kcAAQylz1YFNhhhbRICOiiD9DWDjX3ABmPwHoHFbIupM/UhjONeiLcxsh/6PTEduJV2cMLcIqCCyB68DzOBFearREDprN2LwNqwNxbVEJaQ2QMJWGE+ikDLqT2gB7x0jADMiYT6HuSIgAY9+7t7Y6xgbbiT9xp7k4Y5BIDfE4kRawjsKX2SKQ0zAip7JXCdCOQuJuz2UDbMPQFvPHsRWEcC0ieva+Pm2DATGL1awnyUQt50EpGqblZghPUoAhphtVnkA7BkC8xjBKQRAluPQrwPazs5+5TR6XZ4y/sANhhhbdK/gQW4Pr+3t/bdABfwX0vbBq7y5BUyoC9xFwrPnMS5n8sgV+/Nto9AP9gAb/9tp/cPLlR3yesPkG+lo/dhmRIAXBSo/SESBlxSpDPgCBxdagE1JaCPtCOqStcXJrhUJHheykgdfwzGuVU9yBwBT6ckHjoSHMfjwOe/s+zR6jrIOQKMkaDspNNDREIauzbh8YA/yvvqH+UcAUZIGBzvI2Fv3BcRKQOTo3IRfNnM7gHPIj0JwC2SS7C7IpK9xlGA27AiYP6TtKm+UZYiMBpWxeT5uREi8jRn9NmF+omGukgGuPmABt6JI/fNtzhnFi/bRYltv7CUEg1R0Y9kFgWKEs8oMQ/HeQYoT9ukThsOypjMU13zElDzFqdPjInyYBQJqh3AmR+YEEoUgVePsolWdZ1kgXXWx1YZqwxgnk1df2wCLCREKnXPSMpDa+XnP33uws0vAC2OAAAAAElFTkSuQmCC"></image>
                </g>
                <g id="底板">
                    <circle id="Oval-3" fill="#FFFFFF" cx="22.75" cy="22.75" r="22"></circle>
                    <circle id="Oval-4" fill="url(#linearGradient-1)" cx="22.75" cy="22.75" r="20"></circle>
                </g>
                <g id="符号" transform="translate(8.700000, 5.893750)" fill="#FFFFFF">
                    <path d="M18.0945877,7.62327259 L18.0945877,7.62831007 L18.0945877,23.7529895 C18.0945877,26.1938909 15.5222238,28.1726324 12.349052,28.1726324 C9.17588027,28.1726324 6.99354272,26.059594 6.99354272,23.6186927 C6.99354272,21.1777913 9.56590668,19.1990498 12.7390784,19.1990498 C13.9312503,19.1990498 14.9835628,19.4973118 15.8328284,19.9991649 L15.8328284,5.49815695 L15.8328284,5.05619266 L15.8381311,5.01377146 C15.8574169,4.33866178 15.9293101,3.68985575 16.0538106,3.06735337 C16.2747927,1.96244266 18.4846141,1.07851409 18.7055963,2.07293373 C18.9265784,3.06735337 22.5727838,6.27159445 23.1252391,6.71355873 C23.6776945,7.15552302 24.1518551,7.21922011 24.7826052,7.26601409 C25.4133554,7.31280807 27.9868463,8.92338016 28.0973374,10.9122194 C28.2078284,12.9010587 27.1029177,13.4535141 26.7714445,13.5640052 C26.4399713,13.6744962 26.6609534,13.0115498 26.2189891,11.4646748 C25.7770249,9.9177998 24.2301499,9.9177998 23.1252391,9.80730873 C22.0203284,9.69681766 19.7000159,7.32125962 19.2580516,6.93454087 C18.9636425,6.6769329 18.5758212,6.90651014 18.0945877,7.62327259 Z" id="Combined-Shape" transform="translate(17.549306, 14.906422) rotate(10.000000) translate(-17.549306, -14.906422) "></path>
                    <path d="M0.692544713,24.9148414 C1.40787333,27.9351178 3.68380323,29.8516903 7.33979575,30.6133554 C7.8804717,30.7259962 8.4100896,30.3790052 8.52273042,29.8383293 C8.63537124,29.2976533 8.28838021,28.7680354 7.74770425,28.6553946 C4.80369677,28.0420597 3.16087667,26.6586322 2.63870529,24.4539086 C2.51142222,23.9164912 1.97257602,23.5840116 1.43515862,23.7112947 C0.897741213,23.8385778 0.565261643,24.377424 0.692544713,24.9148414 Z" id="Path-8" fill-rule="nonzero"></path>
                </g>
            </g>
        </g>
    </g>
</svg>

请问你是怎么打包Mac的

是这样的,我的系统是Windows,然后 我electron-builder 打包Mac 的,却总是失败,所以特来请教,麻烦大神指点指点

npm install 报错

npm install 报错说 Package require os(!win32) not compatible with your platform(win32) ,请问大神如何解决?

请问能否增加一个登陆操作?

现在只有本地的收藏,换机子了就没得了OvO

比如可以搞个啥github登陆啥的(口胡.jpg),登陆以后收藏可以跟着走这种。。。

BUG:Ubuntu Budgie 18.04无法播放

系统环境:Ubuntu Budgie 18.04 64位
其实我也不是很清楚是不是BUG
因为我之前在ubuntu18.04 64位原版下是成功运行了的
目前情况是能打开页面,一切正常,能搜歌,甚至能点开。。。
但是点开了只是显示了封面,并不会播放,进度条一直处在中间的位置不动,也没有歌曲播放。。。
QvQ

下载的2.0.1的deb打包安装后显示为2.0.0

我的是deepin的64位版本但是在安装了2.0.1的deb版本后再设置界面依旧显示为2.0.0 。检查更新按钮点击后依旧能检查到更新版本。
这是怎么回事?有人出现同样问题的吗?

马飞是谁

能告诉我么,马飞能缓解你的苦痛么?

播放长时间后显示会有问题

在长时间顺序列表循环播放后,会出现信息栏与歌曲不符合的情况,这次是Windows平台,自己打包的,印象中deepin也有同样的问题。
image
放的是白羊,但是歌曲信息不匹配,点开歌词之后也不匹配。

issue模板测试

bug详情描述
bug详情描述内容

如何重现bug呢
步骤

截图
如果有截图就更好了

桌面信息:

  • 操作系统: [e.g. deepin or manjaro kde or Ubuntu]
  • 版本号 [e.g. 2.0.4]

linux 下使用需要sudo才可以联网

chmod +x cocomusic-1.0.0-x86_64.AppImage
./cocomusic-1.0.0-x86_64.AppImage

后台
Unknown options: caption, y, e, s, n, o.
执行这两个命令的话只会打开应用,但是点歌却不能播放,一直没反应
sudo ./cocomusic-1.0.0-x86_64.AppImage 才可以联网
这时候后台是
`QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Unknown options: caption, y, e, s, n, o.

(cocomusic:22606): GLib-GIO-CRITICAL **: 23:35:04.462: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
`
系统64位lubuntu

启动界面卡3分钟左右才进去

bug详情描述
启动界面卡3分钟左右才能进去播放

如何重现bug呢
打开即可重新

截图
卡在这个界面3分钟左右才能进去播放界面
cc36

桌面信息:

  • 操作系统: deepin 15.9.1
  • 版本号 2.0.4

windows环境下报错

Uncaught ReferenceError: require is not defined
at localhost/:1
localhost/:1 Uncaught ReferenceError: process is not defined
at localhost/:1
renderer.js:1 Uncaught ReferenceError: module is not defined
at renderer.js:1

发布版本和时间的问题

是已经决定不发布Windows版本了,是吗?
Linux的运行文件什么时候可以正式发布?
MAC系统下的版本开发吗?

发布版本和时间的问题

是已经决定不发布Windows版本了,是吗?
Linux的运行文件什么时候可以正式发布?
MAC系统下的版本开发吗?

能不能增加多的歌单

能不能加强一下本地收藏的功能,只有一个喜欢,能不能做成那种能自己添加的。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.