Mail.ru bought VK.COM, so now users can't use API to fetch music. VK.COM has disabled this functionality and now offer to use official application to listen to music.
=============
Synchronize music with your VK profile.
If you have added some music on your VK profile, vk-music-sync will download missing files. If you delete some music, program delete those files in your local folder.
vk-music-sync writes metadata artist and title to mp3 files.
To use vk-music-sync you need to get token from VK.
If you have any trouble or if you have found any mistake contact me. Thank you
vk-music-sync needs:
- libcurl (with SSL)
- jansson
- taglib
~$ sudo apt-get install libjansson-dev
~$ sudo apt-get install libcurl4-openssl-dev
$ git clone https://github.com/junc/vk-music-sync.git
$ cd vk-music-sync
$ make
You must have compiled dependencies. After, you can build vk-music-sync. If you use Visual Studio (or other IDE), you must add libraries and include paths to the project.
In order to get token, you have to go to vk, confirm the action and copy 'access_token' from URL.
You have must save token and directory in order to not to repeat again in next time:
$ ./vk-music-sync --token <your_token> --dir ~/Music --save
Program will save settings.
You can use --user or -u option. This option needs a user ID or user name like durov.
$ ./vk-music-sync
$ ./vk-music-sync --user <user_id>
$ ./vk-music-sync --no-save-meta
$ ./vk-music-sync --help # for more info
Enjoy 😏