Unblock Cloud Music Windows Desktop Client / UWP Client.
A total rewrite to Unblock163MusicClient [https://github.com/EraserKing/Unblock163MusicClient/releases] :)
- Launch, select a port (default 3412), and start.
- Open Windows client, set proxy to IP 127.0.0.1, port 3412.
- Save and restart the desktop client.
- Enjoy!
As it's not possible to assign a proxy for a single UWP client, a PAC is required to hijack the traffic.
- Launch, select a port (default 3412), select a PAC port (default 3413), and start.
- Set your Internet Explorer proxy to
http://localhost:3413/pac/
- To test, you can access http://localhost:3413/pac/ and you should see something like this
function FindProxyForURL(url, host) { if (host == "music.163.com") return "PROXY 127.0.0.1:3412"; else return "DIRECT"; }
, and you can still access any website as usual. This is proving a tiny HTTP server providing PAC file is working. - Open the UWP client.
- Enjoy!
Notes:
-
Before first use, you must enable lookback access for the client
checknetisolation loopbackexempt -a -n=1F8B0F94.122165AE053F_j2p0p5q0044a6
(Run as administration, for current version), or download a GUI program here [https://loopback.codeplex.com/] and enables the UWP client. -
After you have set PAC properly, you may let the desktop client use Internet Explorer's proxy settings, and it should also be working fine.
-
The PAC file only redirects the traffic to cloud music servers and does not hijack any other traffic. Your credit card information and bank password is still unknown to me :)
-
If you have something other program which sets system proxy by PAC, or you need PAC set to access Internet, you should not replace the PAC settings simply.
Instead, you should edit your PAC file and try to insert if (host == "music.163.com") { return "PROXY 127.0.0.1:3412"; }
into function FindProxyForURL
.
For example, a typical PAC file:
function FindProxyForURL(url, host) {
var suffix;
var pos = host.lastIndexOf('.');
pos = host.lastIndexOf('.', pos - 1);
(omitted...)
You should modify it to
function FindProxyForURL(url, host) {
if (host == "music.163.com") { return "PROXY 127.0.0.1:3412"; }
var suffix;
var pos = host.lastIndexOf('.');
pos = host.lastIndexOf('.', pos - 1);
(omitted...)
- Port: The HTTP proxy port.
- Override playback quality: Recommended. It takes higher priority than the settings in the client and setting it here prevents some potential issues.
- Override download quality: Recommended. It takes higher priority than the settings in the client and setting it here prevents some potential issues.
- Override server IP: Enable it when you get a wrong IP address for the server. This is often happening for oversea users. Also, you can use it when you're redirected to a wrong CDN server.
- Enable PAC: Enable a tiny HTTP server to store PAC file for browsers.
- PAC port: Set the HTTP server port for PAC file.
- Proxy: Set upstream HTTP proxy. Example:
127.0.0.1:1080
See [https://github.com/EraserKing/CloudMusicGear/releases]
- Download is working, but if you just specify download quality to 320k, you may find during downloading the quality returns to 128k. This cannot be solved, but it's strongly recommended to override the download bitrate to a fixed value!
- The settings playback music quality won't take effect immediately after you change them; instead it will only be switched properly after it meets a normal song (not disabled). strongly recommended to override the playback bitrate to a fixed value!
Please report the following information according to the template.
Need the following packages:
FiddlerCore 4 [http://www.telerik.com/fiddler/fiddlercore]
Newtonsoft.Json 8.0.2 [https://github.com/JamesNK/Newtonsoft.Json]
Under Visual Studio 2015.
Thanks yanunon for his API analysis! [https://github.com/yanunon/NeteaseCloudMusic]
Thanks bin456789 for his new detail API! [https://github.com/bin456789]