Code Monkey home page Code Monkey logo

Comments (2)

wwfra avatar wwfra commented on July 18, 2024 5

这个BUG经常出现,但是同一首歌,有时候重启客户端就能完整听,有时候切到下一首再切回来也可以,解析到的音乐链接是完整音乐,是不是客户端内有时候会检测我不是vip,然后强硬给我限制时长了???有什么解决办法吗

from server.

wwfra avatar wwfra commented on July 18, 2024

配置如下:
const Service = require('node-windows').Service;

const svc = new Service({
name: 'unblock-netease-cloud-music',
description: '点亮网易云音乐灰色歌曲',
script: './app.js', // 入口文件路径
// scriptOptions:'-p 52100:52101', // 可选参数示例: 自定义端口并开启HTTPS
scriptOptions: '-o kugou pyncmd', // 可选参数
wait: '1', // 程序崩溃后重启时间间隔
grow: '0.25', // 重启等待时间成长值,第一次1秒,第二次1.25秒。。。
maxRestarts: '30', // 60秒内最大重启次数
env: [
{
name: 'ENABLE_FLAC',
value: 'true',
},
{
name: 'ENABLE_LOCAL_VIP',
value: 'svip',
},
{
name: 'JSON_LOG',
value: 'true',
},
{
name: 'NETEASE_COOKIE',
value: 'xxxxxxxx',
},
{
name: 'QQ_COOKIE',
value: 'uin=8435xxx; qm_keyst=xxxxxxx',
},
],
});

// 监听
svc.on('install', () => {
svc.start();
console.log('Installation completed.');
});
svc.on('uninstall', () => console.log('Uninstallation completed.'));

// 卸载
if (svc.exists) return svc.uninstall();

// 安装
svc.install();

from server.

Related Issues (20)

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.