Giter Club home page Giter Club logo

convert-.csv-to-.kgl's Introduction

Convert-.CSV-to-.kgl

A simple program to convert .csv files to .kgl files on one click.

Note: Before you run it, make sure to edit the directory variable to the directory where your .csv files locate.

It can be used to copy your Spotify playlists to NetEase Music. The name of the lists will be the file name.

Steps are listed as follow:

  1. enter this page to export all your playlists on Spotify as .csv files.
  2. change the directory variable value in csvToKgl.py.
  3. run it and get all .kgl files.
  4. go to this page to upload your .kgl files one by one.

Note: If your playlist too long or has too many songs that not exist in 163 library, it won't work sometimes.

如何将spotify歌单导入网易云音乐?(已失效)

关于这一点,虽然网上已经有不少方法,但是大多还需要自己手动更改不少东西,总体来说十分麻烦。但原理一般都是利用网易提供的导入酷狗歌单(.KGL)文件进行导入,依葫芦画瓢,写了个很小的程序,具体的操作如下:

步骤
  1. 进入这个页面,以.csv格式导出你需要导入到网易云音乐的歌单。
  2. 这里下载csvToKgl.py文件,请确保电脑上已经正确安装Python。随后,将文件中的directory变量改为你存放.csv的目录。
  3. 运行csvToKgl.py,得到所有的.kgl文件。
  4. 进入导入酷狗歌单页面依次上传.kgl文件。
优点
  • 可以同时转换多个歌单
可能遇到的问题
  • 当歌单中存在过多网易未收录的歌曲,可能会导致上传失败。

如何将网易云音乐歌单导入spotify?

网上似乎没有太多关于这个需求的解决方法啊,我找到的唯一一个是利用网易提供的 API 得到歌单列表的JSON文件,再使用 workflow + IFTTT 曲线救国的方法,不仅不直观,而且要在手机上多次下载软件、多次授权之后才能进行操作,我跟着原文的方式尝试了一遍之后,依然没有在spotify中看到导入的歌单……所以被逼无奈才又写了几行代码实现的。

步骤
  1. 得到歌单ID:从浏览器进入到你的歌单,复制地址栏中"music.163.com/#/playlist?id="后面的数字。
  2. 进入到这个页面下载t.py文件,请确保电脑上已经正确安装Python。随后,将文件中的playlistId变量改为你刚刚获得的歌单ID。
  3. 运行t.py得到一个.txt文件。
  4. 打开 这个网站并粘贴.txt中的全部内容,等待其自动识别并创建歌单。
优点
可能遇到的问题
  • 网易云API只返回歌单中最多1000首歌曲的信息。
  • 由于版权原因,部分歌曲spotify不能添加。

convert-.csv-to-.kgl's People

Contributors

bjason avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

convert-.csv-to-.kgl's Issues

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.