[
  {
    "path": ".gitattributes",
    "content": "###############################################################################\n# Set default behavior to automatically normalize line endings.\n###############################################################################\n* text=auto\n\n###############################################################################\n# Set default behavior for command prompt diff.\n#\n# This is need for earlier builds of msysgit that does not have it on by\n# default for csharp files.\n# Note: This is only used by command line\n###############################################################################\n#*.cs     diff=csharp\n\n###############################################################################\n# Set the merge driver for project and solution files\n#\n# Merging from the command prompt will add diff markers to the files if there\n# are conflicts (Merging from VS is not affected by the settings below, in VS\n# the diff markers are never inserted). Diff markers may cause the following \n# file extensions to fail to load in VS. An alternative would be to treat\n# these files as binary and thus will always conflict and require user\n# intervention with every merge. To do so, just uncomment the entries below\n###############################################################################\n#*.sln       merge=binary\n#*.csproj    merge=binary\n#*.vbproj    merge=binary\n#*.vcxproj   merge=binary\n#*.vcproj    merge=binary\n#*.dbproj    merge=binary\n#*.fsproj    merge=binary\n#*.lsproj    merge=binary\n#*.wixproj   merge=binary\n#*.modelproj merge=binary\n#*.sqlproj   merge=binary\n#*.wwaproj   merge=binary\n\n###############################################################################\n# behavior for image files\n#\n# image files are treated as binary by default.\n###############################################################################\n#*.jpg   binary\n#*.png   binary\n#*.gif   binary\n\n###############################################################################\n# diff behavior for common document formats\n# \n# Convert binary document formats to text before diffing them. This feature\n# is only available from the command line. Turn it on by uncommenting the \n# entries below.\n###############################################################################\n#*.doc   diff=astextplain\n#*.DOC   diff=astextplain\n#*.docx  diff=astextplain\n#*.DOCX  diff=astextplain\n#*.dot   diff=astextplain\n#*.DOT   diff=astextplain\n#*.pdf   diff=astextplain\n#*.PDF   diff=astextplain\n#*.rtf   diff=astextplain\n#*.RTF   diff=astextplain\n"
  },
  {
    "path": ".gitignore",
    "content": "## Ignore Visual Studio temporary files, build results, and\n## files generated by popular Visual Studio add-ons.\n\n# User-specific files\n*.suo\n*.user\n*.userosscache\n*.sln.docstates\n\n# User-specific files (MonoDevelop/Xamarin Studio)\n*.userprefs\n\n# Build results\n[Dd]ebug/\n[Dd]ebugPublic/\n[Rr]elease/\n[Rr]eleases/\nx64/\nx86/\nbuild/\nbld/\n[Bb]in/\n[Oo]bj/\n\n# Visual Studio 2015 cache/options directory\n.vs/\n\n# MSTest test Results\n[Tt]est[Rr]esult*/\n[Bb]uild[Ll]og.*\n\n# NUNIT\n*.VisualState.xml\nTestResult.xml\n\n# Build Results of an ATL Project\n[Dd]ebugPS/\n[Rr]eleasePS/\ndlldata.c\n\n# DNX\nproject.lock.json\nartifacts/\n\n*_i.c\n*_p.c\n*_i.h\n*.ilk\n*.meta\n*.obj\n*.pch\n*.pdb\n*.pgc\n*.pgd\n*.rsp\n*.sbr\n*.tlb\n*.tli\n*.tlh\n*.tmp\n*.tmp_proj\n*.log\n*.vspscc\n*.vssscc\n.builds\n*.pidb\n*.svclog\n*.scc\n\n# Chutzpah Test files\n_Chutzpah*\n\n# Visual C++ cache files\nipch/\n*.aps\n*.ncb\n*.opensdf\n*.sdf\n*.cachefile\n\n# Visual Studio profiler\n*.psess\n*.vsp\n*.vspx\n\n# TFS 2012 Local Workspace\n$tf/\n\n# Guidance Automation Toolkit\n*.gpState\n\n# ReSharper is a .NET coding add-in\n_ReSharper*/\n*.[Rr]e[Ss]harper\n*.DotSettings.user\n\n# JustCode is a .NET coding add-in\n.JustCode\n\n# TeamCity is a build add-in\n_TeamCity*\n\n# DotCover is a Code Coverage Tool\n*.dotCover\n\n# NCrunch\n_NCrunch_*\n.*crunch*.local.xml\n\n# MightyMoose\n*.mm.*\nAutoTest.Net/\n\n# Web workbench (sass)\n.sass-cache/\n\n# Installshield output folder\n[Ee]xpress/\n\n# DocProject is a documentation generator add-in\nDocProject/buildhelp/\nDocProject/Help/*.HxT\nDocProject/Help/*.HxC\nDocProject/Help/*.hhc\nDocProject/Help/*.hhk\nDocProject/Help/*.hhp\nDocProject/Help/Html2\nDocProject/Help/html\n\n# Click-Once directory\npublish/\n\n# Publish Web Output\n*.[Pp]ublish.xml\n*.azurePubxml\n## TODO: Comment the next line if you want to checkin your\n## web deploy settings but do note that will include unencrypted\n## passwords\n#*.pubxml\n\n*.publishproj\n\n# NuGet Packages\n*.nupkg\n# The packages folder can be ignored because of Package Restore\n**/packages/*\n# except build/, which is used as an MSBuild target.\n!**/packages/build/\n# Uncomment if necessary however generally it will be regenerated when needed\n#!**/packages/repositories.config\n\n# Windows Azure Build Output\ncsx/\n*.build.csdef\n\n# Windows Store app package directory\nAppPackages/\n\n# Visual Studio cache files\n# files ending in .cache can be ignored\n*.[Cc]ache\n# but keep track of directories ending in .cache\n!*.[Cc]ache/\n\n# Others\nClientBin/\n[Ss]tyle[Cc]op.*\n~$*\n*~\n*.dbmdl\n*.dbproj.schemaview\n*.pfx\n*.publishsettings\nnode_modules/\norleans.codegen.cs\n\n# RIA/Silverlight projects\nGenerated_Code/\n\n# Backup & report files from converting an old project file\n# to a newer Visual Studio version. Backup files are not needed,\n# because we have git ;-)\n_UpgradeReport_Files/\nBackup*/\nUpgradeLog*.XML\nUpgradeLog*.htm\n\n# SQL Server files\n*.mdf\n*.ldf\n\n# Business Intelligence projects\n*.rdl.data\n*.bim.layout\n*.bim_*.settings\n\n# Microsoft Fakes\nFakesAssemblies/\n\n# Node.js Tools for Visual Studio\n.ntvs_analysis.dat\n\n# Visual Studio 6 build log\n*.plg\n\n# Visual Studio 6 workspace options file\n*.opt\n\n# LightSwitch generated files\nGeneratedArtifacts/\n_Pvt_Extensions/\nModelManifest.xml\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 2, June 1991\n\n Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>\n 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The licenses for most software are designed to take away your\nfreedom to share and change it.  By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users.  This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it.  (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.)  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\n  To protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have.  You must make sure that they, too, receive or can get the\nsource code.  And you must show them these terms so they know their\nrights.\n\n  We protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\n  Also, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware.  If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\n  Finally, any free program is threatened constantly by software\npatents.  We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary.  To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                    GNU GENERAL PUBLIC LICENSE\n   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n  0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License.  The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage.  (Hereinafter, translation is included without limitation in\nthe term \"modification\".)  Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope.  The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n  1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n  2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n    a) You must cause the modified files to carry prominent notices\n    stating that you changed the files and the date of any change.\n\n    b) You must cause any work that you distribute or publish, that in\n    whole or in part contains or is derived from the Program or any\n    part thereof, to be licensed as a whole at no charge to all third\n    parties under the terms of this License.\n\n    c) If the modified program normally reads commands interactively\n    when run, you must cause it, when started running for such\n    interactive use in the most ordinary way, to print or display an\n    announcement including an appropriate copyright notice and a\n    notice that there is no warranty (or else, saying that you provide\n    a warranty) and that users may redistribute the program under\n    these conditions, and telling the user how to view a copy of this\n    License.  (Exception: if the Program itself is interactive but\n    does not normally print such an announcement, your work based on\n    the Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole.  If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works.  But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n  3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\n    a) Accompany it with the complete corresponding machine-readable\n    source code, which must be distributed under the terms of Sections\n    1 and 2 above on a medium customarily used for software interchange; or,\n\n    b) Accompany it with a written offer, valid for at least three\n    years, to give any third party, for a charge no more than your\n    cost of physically performing source distribution, a complete\n    machine-readable copy of the corresponding source code, to be\n    distributed under the terms of Sections 1 and 2 above on a medium\n    customarily used for software interchange; or,\n\n    c) Accompany it with the information you received as to the offer\n    to distribute corresponding source code.  (This alternative is\n    allowed only for noncommercial distribution and only if you\n    received the program in object code or executable form with such\n    an offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it.  For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable.  However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n  4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License.  Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n  5. You are not required to accept this License, since you have not\nsigned it.  However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works.  These actions are\nprohibited by law if you do not accept this License.  Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n  6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions.  You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n  7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all.  For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices.  Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n  8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded.  In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n  9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation.  If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n  10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission.  For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this.  Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\n                            NO WARRANTY\n\n  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    {description}\n    Copyright (C) {year}  {fullname}\n\n    This program is free software; you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License along\n    with this program; if not, write to the Free Software Foundation, Inc.,\n    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\n    Gnomovision version 69, Copyright (C) year name of author\n    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary.  Here is a sample; alter the names:\n\n  Yoyodyne, Inc., hereby disclaims all copyright interest in the program\n  `Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n  {signature of Ty Coon}, 1 April 1989\n  Ty Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs.  If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.\n\n"
  },
  {
    "path": "README.md",
    "content": "# IMPORTANT NOTICE\nThis project is discontinued. Please visit [https://github.com/EraserKing/CloudMusicGear] and switch to the new tool.\n\n# Unblock163MusicClient\n\nUnblock 163 Cloud Music Windows client.\n\nActs as a proxy.\n\nDidn't do much about this, but just to prove it works!\n\nWhen you access song / album / artist / playlist page, or search result, you should find the disabled songs return to enabled.\n\n## Usage\n\n1. Run and it listens at port 3412 (default).\n2. Open Windows client, set proxy to IP 127.0.0.1, port 3412.\n3. Save and restart the client.\n4. Enjoy!\n\n## Command line arugments\n\n`/port` : specify the port it listens at. **Example**: `/port 3456`\n\n`/verbose`: turn on verbose log.\n\n`/overseas`: turn on overseas mode (not tested yet). *Not recommended for Mainland China users.*\n\n`/overseasproxy`: assign a reverse proxy for overseas users. *This should be used when the default overseas mode is not working.* **`/overseas` must be turned on first.** **Example**: `/overseasproxy 14.215.9.16`\n\nAvailable proxys are `14.215.9.16, 14.215.9.43, 219.138.27.16, 219.138.27.67, 163.177.171.13, 163.177.171.14, 163.177.171.16, 163.177.171.17, 163.177.171.18, 163.177.171.19, 163.177.171.20, 163.177.171.21, 163.177.171.22, 163.177.171.28, 163.177.171.29, 163.177.171.31, 163.177.171.32, 163.177.171.33, 163.177.171.34, 163.177.171.35, 163.177.171.37, 163.177.171.175, 163.177.171.206`.\n\n`/playbackbitrate`: override the playback bitrate specified in the client. **Accepted values**: `96000`, `128000`, `192000`, `320000`. **Example**: `/playbackbitrate 320000`\n\n`/downloadbitrate`: override the download bitrate specified in the client. **Accepted values**: `96000`, `128000`, `192000`, `320000`. **Example**: `/downloadbitrate 320000`\n\n## Download\n\nSee [https://github.com/EraserKing/Unblock163MusicClient/releases]\n\n## Known issues\n\n1. 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 320k** via command line arguments `/downloadbitrate 320000`.\n2. 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). **You could use command line arguments to override this!**\n\n## Open issues\n\nPlease report the following information:\n\n* Operating system\n* Song / Album / Playlist name (how I can locate to that song)\n* Whether the issue happens on specific songs, or all songs\n* Whether it can be reproduced on web client for the same song\n\n## Building\n\nNeed the following packages:\n\nFiddlerCore [http://www.telerik.com/fiddler/fiddlercore]\n\nNewtonsoft.Json 6.0.8 [https://github.com/JamesNK/Newtonsoft.Json]\n\nUnder Visual Studio 2015.\n\n## Thanks\n\nThanks yanunon for his API analysis! [https://github.com/yanunon/NeteaseCloudMusic]\n"
  },
  {
    "path": "Unblock163MusicClient/App.config",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<configuration>\n    <startup> \n        <supportedRuntime version=\"v4.0\" sku=\".NETFramework,Version=v4.5.2\"/>\n    </startup>\n    <runtime>\n        <assemblyBinding xmlns=\"urn:schemas-microsoft-com:asm.v1\">\n            <dependentAssembly>\n                <assemblyIdentity name=\"FSLib.Extension\" publicKeyToken=\"61d6a007a0eb6994\"/>\n                <bindingRedirect oldVersion=\"1.0.0.0-1.3.0.0\" newVersion=\"1.3.0.0\"/>\n            </dependentAssembly>\n            <dependentAssembly>\n                <assemblyIdentity name=\"FSLib.Network\" publicKeyToken=\"8bf54bd6729f490c\"/>\n                <bindingRedirect oldVersion=\"1.0.0.0-9.9.9.9\" newVersion=\"1.5.6.0\"/>\n            </dependentAssembly>\n        </assemblyBinding>\n    </runtime>\n</configuration>"
  },
  {
    "path": "Unblock163MusicClient/Program.cs",
    "content": "﻿using Fiddler;\nusing Newtonsoft.Json;\nusing Newtonsoft.Json.Linq;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Net;\nusing System.Security.Cryptography;\nusing System.Text;\nusing System.Text.RegularExpressions;\nusing System.Windows.Forms;\n\nnamespace Unblock163MusicClient\n{\n    internal static class Configuration\n    {\n        public static int Port = 3412;\n\n        public static string ForcePlaybackBitrate { get; private set; } = string.Empty;\n        public static string PlaybackBitrate { get; set; } = \"320000\";\n        public static string PlaybackQuality { get; set; } = \"hMusic\";\n\n        public static string ForceDownloadBitrate { get; private set; } = string.Empty;\n        public static string DownloadBitrate { get; set; } = \"320000\";\n        public static string DownloadQuality { get; set; } = \"hMusic\";\n\n        public static bool Overseas { get; private set; } = false;\n        public static bool Verbose { get; private set; } = false;\n        public static string OverseasProxy { get; private set; } = \"\";\n\n        public static List<string> AvailableProxy { get; private set; } = new List<string>();\n\n        static Configuration()\n        {\n            foreach (string ip in new string[] { \"16\", \"43\" })\n                AvailableProxy.Add(\"14.215.9.\" + ip);\n\n            foreach (string ip in new string[] { \"16\", \"67\" })\n                AvailableProxy.Add(\"219.138.27.\" + ip);\n\n            foreach (string ip in new string[] { \"13\", \"14\", \"16\", \"17\", \"18\", \"19\", \"20\", \"21\", \"22\", \"28\", \"29\", \"31\", \"32\", \"33\", \"34\", \"35\", \"37\", \"175\", \"206\" })\n                AvailableProxy.Add(\"163.177.171.\" + ip);\n        }\n\n        /// <summary>\n        /// Set configuration according to the arguments passed in.\n        /// </summary>\n        /// <param name=\"args\">Command line arguments.</param>\n        public static void SetStartupParameters(string[] args)\n        {\n            for (int i = 0; i < args.Length;)\n            {\n                string argKey = args[i];\n                if (argKey == \"/port\")\n                {\n                    if (i != args.Length - 1 && !args[i + 1].StartsWith(\"/\"))\n                    {\n                        try\n                        {\n                            Port = int.Parse(args[i + 1]);\n                            i += 2;\n                            if (Port < 1 || Port > 65535)\n                            {\n                                throw new ArgumentException(\"Invalid port number.\");\n                            }\n                        }\n                        catch (FormatException)\n                        {\n                            throw new ArgumentException(\"Invalid port number.\");\n                        }\n                    }\n                    else\n                    {\n                        throw new ArgumentException(\"No port number specified.\");\n                    }\n                }\n                else if (argKey == \"/overseas\")\n                {\n                    Console.WriteLine(\"Overseas mode is turned on.\");\n                    Overseas = true;\n                    i++;\n                }\n                else if (argKey == \"/overseasproxy\")\n                {\n                    if (i != args.Length - 1 && !args[i + 1].StartsWith(\"/\"))\n                    {\n                        OverseasProxy = args[i + 1];\n                        Console.WriteLine($\"Overseas proxy is fixed to {OverseasProxy}\");\n                        i += 2;\n                    }\n                    else\n                    {\n                        Random random = new Random();\n                        OverseasProxy = AvailableProxy[random.Next(0, AvailableProxy.Count - 1)];\n                        Console.WriteLine($\"Overseas proxy is randomly set to {OverseasProxy}\");\n                        i++;\n                    }\n                    if (AvailableProxy.IndexOf(OverseasProxy) == -1)\n                    {\n                        throw new ArgumentException(\"Invalid overseas proxy specified.\\nAvailable proxys are:\\n\" + string.Join(\"\\n\", AvailableProxy));\n                    }\n                }\n                else if (argKey == \"/verbose\")\n                {\n                    Console.WriteLine(\"Verbose output is turned on.\");\n                    Verbose = true;\n                    i++;\n                }\n                else if (argKey == \"/playbackbitrate\")\n                {\n                    if (i != args.Length - 1 && !args[i + 1].StartsWith(\"/\"))\n                    {\n                        ForcePlaybackBitrate = args[i + 1];\n                        Console.WriteLine($\"Playback bitrate is forced to {ForcePlaybackBitrate}\");\n                        i += 2;\n                    }\n                    else\n                    {\n                        throw new ArgumentException(\"No playback bitrate specified.\");\n                    }\n                    if (ForcePlaybackBitrate != \"\" && ForcePlaybackBitrate != \"96000\" && ForcePlaybackBitrate != \"128000\" &&\n                        ForcePlaybackBitrate != \"192000\" && ForcePlaybackBitrate != \"320000\")\n                    {\n                        throw new ArgumentException(\"Unrecognized playback bitrate.\");\n                    }\n                }\n                else if (argKey == \"/downloadbitrate\")\n                {\n                    if (i != args.Length - 1 && !args[i + 1].StartsWith(\"/\"))\n                    {\n                        ForceDownloadBitrate = args[i + 1];\n                        Console.WriteLine($\"Download bitrate is forced to {ForceDownloadBitrate}\");\n                        i += 2;\n                    }\n                    else\n                    {\n                        throw new ArgumentException(\"No download bitrate specified.\");\n                    }\n                    if (ForceDownloadBitrate != \"\" && ForceDownloadBitrate != \"96000\" && ForceDownloadBitrate != \"128000\" &&\n                        ForceDownloadBitrate != \"192000\" && ForceDownloadBitrate != \"320000\")\n                    {\n                        throw new ArgumentException(\"Unrecognized download bitrate.\");\n                    }\n                }\n                else\n                {\n                    throw new ArgumentException(\"Unrecognized startup parameter.\");\n                }\n            }\n        }\n    }\n\n    internal static class Program\n    {\n        private static readonly Regex RexPl = new Regex(\"\\\"pl\\\":\\\\d+\", RegexOptions.Compiled);\n        private static readonly Regex RexDl = new Regex(\"\\\"dl\\\":\\\\d+\", RegexOptions.Compiled);\n        private static readonly Regex RexSt = new Regex(\"\\\"st\\\":-?\\\\d+\", RegexOptions.Compiled);\n        private static readonly Regex RexSubp = new Regex(\"\\\"subp\\\":\\\\d+\", RegexOptions.Compiled);\n\n        private static void Main(string[] args)\n        {\n            try\n            {\n                Configuration.SetStartupParameters(args);\n            }\n            catch (ArgumentException ex)\n            {\n                MessageBox.Show(ex.Message, \"Error\", MessageBoxButtons.OK, MessageBoxIcon.Error);\n                Environment.Exit(1);\n            }\n\n            FiddlerCoreStartupFlags fcsf = FiddlerCoreStartupFlags.None;\n            FiddlerApplication.Startup(Configuration.Port, fcsf);\n            // We just need to hack APIs and so let other HTTP requests pass directly. API responses must be fully buffered (and then modified).\n            FiddlerApplication.BeforeRequest += s => { s.bBufferResponse = s.fullUrl.Contains(\"http://music.163.com/eapi/\"); };\n            FiddlerApplication.BeforeResponse += OnResponse;\n\n            Console.WriteLine($\"Proxy started, listening at port {Configuration.Port}\");\n            Console.Read();\n            FiddlerApplication.Shutdown();\n        }\n\n        private static void OnResponse(Session s)\n        {\n            s.bBufferResponse = true;\n            int responseStatusCode = s.responseCode;\n            string responseContentType = s.ResponseHeaders[\"Content-Type\"].Trim().ToLower();\n            string url = s.fullUrl;\n\n            if (responseStatusCode == 200)\n            {\n                // Most APIs are returned in text/plain but serach songs page is returned in JSON. Don't forget this!\n                if (responseContentType.Contains(\"text/plain\") || responseContentType.Contains(\"application/json\"))\n                {\n                    if (Configuration.Verbose)\n                    {\n                        Console.WriteLine($\"Accessing URL {url}\");\n                    }\n                    // It should include album / playlist / artist / search pages.\n                    if (url.Contains(\"/eapi/v3/song/detail/\") || url.Contains(\"/eapi/v1/album/\") || url.Contains(\"/eapi/v3/playlist/detail\") ||\n                        url.Contains(\"/eapi/batch\") || url.Contains(\"/eapi/cloudsearch/pc\") || url.Contains(\"/eapi/v1/artist\") ||\n                        url.Contains(\"/eapi/v1/search/get\"))\n                    {\n                        string modified = ModifyDetailApi(s.GetResponseBodyAsString());\n                        s.utilSetResponseBody(modified);\n                    }\n                    // This is called when player tries to get the URL for a song.\n                    else if (url.Contains(\"/eapi/song/enhance/player/url\"))\n                    {\n                        string bitrate = GetPlaybackBitrate(s.GetResponseBodyAsString());\n                        // Whatever current playback bitrate is, it's overriden.\n                        if (!string.IsNullOrEmpty(Configuration.ForcePlaybackBitrate))\n                        {\n                            bitrate = Configuration.ForcePlaybackBitrate;\n                            Console.WriteLine($\"Plackback bitrate is forced set to {bitrate}\");\n                        }\n                        // We receive a wrong bitrate...\n                        else if (bitrate == \"0\")\n                        {\n                            bitrate = string.IsNullOrEmpty(Configuration.ForcePlaybackBitrate) ? \"320000\" : Configuration.ForcePlaybackBitrate;\n                            Console.WriteLine($\"Plackback bitrate is forced set to {bitrate} as the given bitrate is not valid.\");\n                        }\n                        else if (bitrate != Configuration.PlaybackBitrate)\n                        {\n                            Console.WriteLine($\"Plackback bitrate is switched to {bitrate} from {Configuration.PlaybackBitrate}\");\n                        }\n                        Configuration.PlaybackBitrate = bitrate;\n                        Configuration.PlaybackQuality = ParseBitrate(Configuration.ForcePlaybackBitrate);\n\n                        string modified = ModifyPlayerApi(s.GetResponseBodyAsString());\n                        s.utilSetResponseBody(modified);\n                    }\n                    // When we try to download a song, the API tells whether it exceeds the limit. Of course no!\n                    else if (url.Contains(\"/eapi/song/download/limit\"))\n                    {\n                        string modified = ModifyDownloadLimitApi();\n                        s.utilSetResponseBody(modified);\n                    }\n                    // Similar to the player URL API, but used for download.\n                    else if (url.Contains(\"/eapi/song/enhance/download/url\"))\n                    {\n                        string bitrate = GetDownloadBitrate(s.GetResponseBodyAsString());\n\n                        // Whatever current download bitrate is, it's overriden.\n                        if (!string.IsNullOrEmpty(Configuration.ForceDownloadBitrate))\n                        {\n                            bitrate = Configuration.ForceDownloadBitrate;\n                            Console.WriteLine($\"Download bitrate is forced set to {bitrate}\");\n                        }\n                        // We receive a wrong bitrate...\n                        else if (bitrate == \"0\")\n                        {\n                            bitrate = string.IsNullOrEmpty(Configuration.ForceDownloadBitrate) ? \"320000\" : Configuration.ForceDownloadBitrate;\n                            Console.WriteLine($\"Download bitrate is forced set to {bitrate} as the given bitrate is not valid.\");\n                        }\n                        else if (bitrate != Configuration.DownloadBitrate)\n                        {\n                            Console.WriteLine($\"Download bitrate is switched to {bitrate} from {Configuration.DownloadBitrate}\");\n                        }\n                        Configuration.DownloadBitrate = bitrate;\n                        Configuration.DownloadQuality = ParseBitrate(bitrate);\n\n                        string modified = ModifyDownloadApi(s.GetResponseBodyAsString());\n                        s.utilSetResponseBody(modified);\n                    }\n                }\n            }\n        }\n\n        /// <summary>\n        /// Get current playback bitrate from API result.\n        /// </summary>\n        /// <param name=\"apiResult\">API result containing playback bitrate.</param>\n        /// <returns>Current playback bitrate.</returns>\n        private static string GetPlaybackBitrate(string apiResult)\n        {\n            JObject root = JObject.Parse(apiResult);\n            string bitrate = root[\"data\"][0][\"br\"].Value<string>();\n            return bitrate;\n        }\n\n        /// <summary>\n        /// Get current download bitrate from API result.\n        /// </summary>\n        /// <param name=\"apiResult\">API result containing download bitrate.</param>\n        /// <returns>Current download bitrate.</returns>\n        private static string GetDownloadBitrate(string apiResult)\n        {\n            JObject root = JObject.Parse(apiResult);\n            string bitrate = root[\"data\"][\"br\"].Value<string>();\n            return bitrate;\n        }\n\n        /// <summary>\n        /// Get quality string from bitrate. Default to HQ.\n        /// </summary>\n        /// <param name=\"bitrate\">Bitrate.</param>\n        /// <returns>Quality.</returns>\n        private static string ParseBitrate(string bitrate)\n        {\n            switch (bitrate)\n            {\n                case \"320000\":\n                    return \"hMusic\";\n\n                case \"192000\":\n                    return \"mMusic\";\n\n                case \"128000\":\n                    return \"lMusic\";\n\n                case \"96000\":\n                    return \"bMusic\";\n            }\n            return \"hMusic\";\n        }\n\n        /// <summary>\n        /// Hack the result of download limit API.\n        /// </summary>\n        /// <returns>Just return a normal status.</returns>\n        private static string ModifyDownloadLimitApi()\n        {\n            return \"{\\\"overflow\\\":false,\\\"code\\\":200}\";\n        }\n\n        /// <summary>\n        /// Hack the result of download API and redirects it to the new URL.\n        /// </summary>\n        /// <param name=\"originalContent\">The original API result.</param>\n        /// <returns>The modified API result.</returns>\n        private static string ModifyDownloadApi(string originalContent)\n        {\n            Console.WriteLine(\"Hack download API\");\n\n            JObject root = JObject.Parse(originalContent);\n            string songId = root[\"data\"][\"id\"].Value<string>();\n            string newUrl = NeteaseIdProcess.GetUrl(songId, Configuration.DownloadQuality);\n            root[\"data\"][\"url\"] = newUrl;\n            root[\"data\"][\"br\"] = Configuration.DownloadBitrate;\n            root[\"data\"][\"code\"] = \"200\";\n\n            return root.ToString(Formatting.None);\n        }\n\n        /// <summary>\n        /// Hack the result of song / album / playlist API and treat the client to let it work as the song is not disabled.\n        /// </summary>\n        /// <param name=\"originalContent\">The original API result.</param>\n        /// <returns>The modified API result.</returns>\n        private static string ModifyDetailApi(string originalContent)\n        {\n            Console.WriteLine(\"Hack detail API\");\n\n            string modified = originalContent;\n            //Playback bitrate\n            modified = RexPl.Replace(modified, $\"\\\"pl\\\":{Configuration.PlaybackBitrate}\");\n\n            //Download bitrate\n            modified = RexDl.Replace(modified, $\"\\\"dl\\\":{Configuration.DownloadBitrate}\");\n\n            //Disabled\n            modified = RexSt.Replace(modified, \"\\\"st\\\":0\");\n\n            //Can favorite\n            modified = RexSubp.Replace(modified, \"\\\"subp\\\":1\");\n            return modified;\n        }\n\n        /// <summary>\n        /// Hack the result of player getting song URL and redirects it to the new URL.\n        /// </summary>\n        /// <param name=\"originalContent\">The original API result.</param>\n        /// <returns>The modified API result.</returns>\n        private static string ModifyPlayerApi(string originalContent)\n        {\n            Console.WriteLine(\"Hack player API\");\n\n            JObject root = JObject.Parse(originalContent);\n            string songId = root[\"data\"][0][\"id\"].Value<string>();\n            string newUrl = NeteaseIdProcess.GetUrl(songId, Configuration.PlaybackQuality);\n            root[\"data\"][0][\"url\"] = newUrl;\n            root[\"data\"][0][\"br\"] = Configuration.PlaybackBitrate;\n            root[\"data\"][0][\"code\"] = \"200\";\n\n            return root.ToString(Formatting.None);\n        }\n    }\n\n    public static class Utility\n    {\n        /// <summary>\n        /// Require the content of a URL via GET method.\n        /// </summary>\n        /// <param name=\"url\">URL to get.</param>\n        /// <returns>Content.</returns>\n        public static string GetPage(string url)\n        {\n            try\n            {\n                HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);\n                request.Method = \"GET\";\n                HttpWebResponse response = (HttpWebResponse)request.GetResponse();\n                return new StreamReader(response.GetResponseStream(), Encoding.UTF8).ReadToEnd();\n            }\n            catch (Exception ex)\n            {\n                Console.WriteLine(url);\n                Console.WriteLine(ex.Message);\n                return \"\";\n            }\n        }\n    }\n\n    /// <summary>\n    /// Get song url from song id.\n    /// It works as this flow: extract song id from original page -> get dfs ID -> call another API to get URL -> replace the original result with the new URL.\n    /// </summary>\n    public static class NeteaseIdProcess\n    {\n        /// <summary>\n        /// Get song url from original song ID.\n        /// </summary>\n        /// <param name=\"songId\">Song ID.</param>\n        /// <param name=\"quality\">Quality. Accepts: bMusic, lMusic, mMusic, hMusic.</param>\n        /// <returns>Song URL.</returns>\n        public static string GetUrl(string songId, string quality)\n        {\n            string dfsId = GetDfsId(Utility.GetPage($\"http://music.163.com/api/song/detail?id={songId}&ids=[{songId}]\"), quality);\n            if (Configuration.Verbose)\n            {\n                Console.WriteLine($\"Song ID = {songId}, DFS ID = {dfsId}\");\n            }\n            return GenerateUrl(dfsId);\n        }\n\n        /// <summary>\n        /// Calculate enc ID from dfs ID.\n        /// </summary>\n        /// <param name=\"dfsId\">dfs ID.</param>\n        /// <returns>enc ID.</returns>\n        private static string GetEncId(string dfsId)\n        {\n            byte[] magicBytes = new ASCIIEncoding().GetBytes(\"3go8&$8*3*3h0k(2)2\");\n            byte[] songId = new ASCIIEncoding().GetBytes(dfsId);\n            for (int i = 0; i < songId.Length; i++)\n            {\n                songId[i] = (byte)(songId[i] ^ magicBytes[i % magicBytes.Length]);\n            }\n            byte[] hash = MD5.Create().ComputeHash(songId);\n            return Convert.ToBase64String(hash).Replace('/', '_').Replace('+', '-');\n        }\n\n        /// <summary>\n        /// Generate final URL with dfsId.\n        /// </summary>\n        /// <param name=\"dfsId\"></param>\n        /// <returns></returns>\n        private static string GenerateUrl(string dfsId)\n        {\n            string url = $\"http://m{DateTime.Now.Second % 2 + 1}.music.126.net/{GetEncId(dfsId)}/{dfsId}.mp3\";\n            if (Configuration.Overseas)\n            {\n                if (string.IsNullOrEmpty(Configuration.OverseasProxy))\n                {\n                    url = url.Replace(\"http://m\", \"http://p\");\n                }\n                else\n                {\n                    url = url.Replace(\"http://m\", $\"http://{Configuration.OverseasProxy}/m\");\n                }\n            }\n            if (Configuration.Verbose)\n            {\n                Console.WriteLine($\"Song URL = {url}\");\n            }\n            return url;\n        }\n\n        /// <summary>\n        /// Extract dfs ID from the original API return value.\n        /// </summary>\n        /// <param name=\"pageContent\">The original API return value.</param>\n        /// <param name=\"quality\">Quality. Accepts: bMusic, lMusic, mMusic, hMusic.</param>\n        /// <returns>dfs ID.</returns>\n        private static string GetDfsId(string pageContent, string quality)\n        {\n            JObject root = JObject.Parse(pageContent);\n\n            // Downgrade if we don't have higher quality...\n\n            if (quality == \"hMusic\" && !root[\"songs\"][0][\"hMusic\"].HasValues)\n            {\n                Console.WriteLine(\"Downgrade to medium quality.\");\n                quality = \"mMusic\";\n            }\n            if (quality == \"mMusic\" && !root[\"songs\"][0][\"mMusic\"].HasValues)\n            {\n                Console.WriteLine(\"Downgrade to low quality.\");\n                quality = \"lMusic\";\n            }\n            if (quality == \"lMusic\" && !root[\"songs\"][0][\"lMusic\"].HasValues)\n            {\n                Console.WriteLine(\"Downgrade to can't be lower quality.\");\n                quality = \"bMusic\";\n            }\n\n            if (quality == \"bMusic\" && !root[\"songs\"][0][\"bMusic\"].HasValues)\n            {\n                // Don't ask me what to do if there's even no lowest quality...\n                Console.WriteLine(\"No resource available.\");\n            }\n\n            return root[\"songs\"][0][quality][\"dfsId\"].Value<string>();\n        }\n    }\n}"
  },
  {
    "path": "Unblock163MusicClient/Properties/AssemblyInfo.cs",
    "content": "﻿using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute values to modify the information\n// associated with an assembly.\n[assembly: AssemblyTitle(\"Unblock163MusicClient\")]\n[assembly: AssemblyDescription(\"\")]\n[assembly: AssemblyConfiguration(\"\")]\n[assembly: AssemblyCompany(\"\")]\n[assembly: AssemblyProduct(\"Unblock163MusicClient\")]\n[assembly: AssemblyCopyright(\"Copyright ©  2015\")]\n[assembly: AssemblyTrademark(\"\")]\n[assembly: AssemblyCulture(\"\")]\n\n// Setting ComVisible to false makes the types in this assembly not visible \n// to COM components.  If you need to access a type in this assembly from \n// COM, set the ComVisible attribute to true on that type.\n[assembly: ComVisible(false)]\n\n// The following GUID is for the ID of the typelib if this project is exposed to COM\n[assembly: Guid(\"11986d6c-2b2c-4197-a3b7-03aa21430705\")]\n\n// Version information for an assembly consists of the following four values:\n//\n//      Major Version\n//      Minor Version \n//      Build Number\n//      Revision\n//\n// You can specify all the values or you can default the Build and Revision Numbers \n// by using the '*' as shown below:\n// [assembly: AssemblyVersion(\"1.0.*\")]\n[assembly: AssemblyVersion(\"0.5.0.0\")]\n[assembly: AssemblyFileVersion(\"0.5.0.0\")]\n"
  },
  {
    "path": "Unblock163MusicClient/Unblock163MusicClient.csproj",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"14.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n  <Import Project=\"$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props\" Condition=\"Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')\" />\n  <PropertyGroup>\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\n    <ProjectGuid>{11986D6C-2B2C-4197-A3B7-03AA21430705}</ProjectGuid>\n    <OutputType>Exe</OutputType>\n    <AppDesignerFolder>Properties</AppDesignerFolder>\n    <RootNamespace>Unblock163MusicClient</RootNamespace>\n    <AssemblyName>Unblock163MusicClient</AssemblyName>\n    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>\n    <FileAlignment>512</FileAlignment>\n    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>\n    <IsWebBootstrapper>false</IsWebBootstrapper>\n    <PublishUrl>publish\\</PublishUrl>\n    <Install>true</Install>\n    <InstallFrom>Disk</InstallFrom>\n    <UpdateEnabled>false</UpdateEnabled>\n    <UpdateMode>Foreground</UpdateMode>\n    <UpdateInterval>7</UpdateInterval>\n    <UpdateIntervalUnits>Days</UpdateIntervalUnits>\n    <UpdatePeriodically>false</UpdatePeriodically>\n    <UpdateRequired>false</UpdateRequired>\n    <MapFileExtensions>true</MapFileExtensions>\n    <ApplicationRevision>0</ApplicationRevision>\n    <ApplicationVersion>0.5.0.%2a</ApplicationVersion>\n    <UseApplicationTrust>false</UseApplicationTrust>\n    <BootstrapperEnabled>true</BootstrapperEnabled>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\n    <PlatformTarget>AnyCPU</PlatformTarget>\n    <DebugSymbols>true</DebugSymbols>\n    <DebugType>full</DebugType>\n    <Optimize>false</Optimize>\n    <OutputPath>bin\\Debug\\</OutputPath>\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n  </PropertyGroup>\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\n    <PlatformTarget>AnyCPU</PlatformTarget>\n    <DebugType>pdbonly</DebugType>\n    <Optimize>true</Optimize>\n    <OutputPath>bin\\Release\\</OutputPath>\n    <DefineConstants>TRACE</DefineConstants>\n    <ErrorReport>prompt</ErrorReport>\n    <WarningLevel>4</WarningLevel>\n    <UseVSHostingProcess>false</UseVSHostingProcess>\n  </PropertyGroup>\n  <ItemGroup>\n    <Reference Include=\"FiddlerCore4, Version=4.6.2.0, Culture=neutral, PublicKeyToken=67cb91587178ac5a, processorArchitecture=MSIL\">\n      <SpecificVersion>False</SpecificVersion>\n      <HintPath>..\\FiddlerCore4.dll</HintPath>\n    </Reference>\n    <Reference Include=\"Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL\">\n      <HintPath>..\\packages\\Newtonsoft.Json.6.0.8\\lib\\net45\\Newtonsoft.Json.dll</HintPath>\n      <Private>True</Private>\n    </Reference>\n    <Reference Include=\"System\" />\n    <Reference Include=\"System.Core\" />\n    <Reference Include=\"System.Windows.Forms\" />\n    <Reference Include=\"System.Xml.Linq\" />\n    <Reference Include=\"System.Data.DataSetExtensions\" />\n    <Reference Include=\"System.Data\" />\n    <Reference Include=\"System.Net.Http\" />\n    <Reference Include=\"System.Xml\" />\n  </ItemGroup>\n  <ItemGroup>\n    <Compile Include=\"Program.cs\" />\n    <Compile Include=\"Properties\\AssemblyInfo.cs\" />\n  </ItemGroup>\n  <ItemGroup>\n    <None Include=\"App.config\" />\n    <None Include=\"packages.config\" />\n  </ItemGroup>\n  <ItemGroup>\n    <BootstrapperPackage Include=\".NETFramework,Version=v4.5.2\">\n      <Visible>False</Visible>\n      <ProductName>Microsoft .NET Framework 4.5.2 %28x86 和 x64%29</ProductName>\n      <Install>true</Install>\n    </BootstrapperPackage>\n    <BootstrapperPackage Include=\"Microsoft.Net.Framework.3.5.SP1\">\n      <Visible>False</Visible>\n      <ProductName>.NET Framework 3.5 SP1</ProductName>\n      <Install>false</Install>\n    </BootstrapperPackage>\n  </ItemGroup>\n  <Import Project=\"$(MSBuildToolsPath)\\Microsoft.CSharp.targets\" />\n  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \n       Other similar extension points exist, see Microsoft.Common.targets.\n  <Target Name=\"BeforeBuild\">\n  </Target>\n  <Target Name=\"AfterBuild\">\n  </Target>\n  -->\n</Project>"
  },
  {
    "path": "Unblock163MusicClient/packages.config",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packages>\n  <package id=\"extension.fishlee.net\" version=\"1.3.0.0\" targetFramework=\"net452\" />\n  <package id=\"network.fishlee.net\" version=\"1.5.6.0\" targetFramework=\"net452\" />\n  <package id=\"Newtonsoft.Json\" version=\"6.0.8\" targetFramework=\"net452\" />\n  <package id=\"Titanium.Web.Proxy\" version=\"1.0.0.88\" targetFramework=\"net452\" />\n</packages>"
  },
  {
    "path": "Unblock163MusicClient.sln",
    "content": "﻿\nMicrosoft Visual Studio Solution File, Format Version 12.00\n# Visual Studio 14\nVisualStudioVersion = 14.0.23107.0\nMinimumVisualStudioVersion = 10.0.40219.1\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"Unblock163MusicClient\", \"Unblock163MusicClient\\Unblock163MusicClient.csproj\", \"{11986D6C-2B2C-4197-A3B7-03AA21430705}\"\nEndProject\nGlobal\n\tGlobalSection(SolutionConfigurationPlatforms) = preSolution\n\t\tDebug|Any CPU = Debug|Any CPU\n\t\tRelease|Any CPU = Release|Any CPU\n\tEndGlobalSection\n\tGlobalSection(ProjectConfigurationPlatforms) = postSolution\n\t\t{11986D6C-2B2C-4197-A3B7-03AA21430705}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\n\t\t{11986D6C-2B2C-4197-A3B7-03AA21430705}.Debug|Any CPU.Build.0 = Debug|Any CPU\n\t\t{11986D6C-2B2C-4197-A3B7-03AA21430705}.Release|Any CPU.ActiveCfg = Release|Any CPU\n\t\t{11986D6C-2B2C-4197-A3B7-03AA21430705}.Release|Any CPU.Build.0 = Release|Any CPU\n\tEndGlobalSection\n\tGlobalSection(SolutionProperties) = preSolution\n\t\tHideSolutionNode = FALSE\n\tEndGlobalSection\nEndGlobal\n"
  }
]