Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

scorpp/db-vk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

db-vk

DeadBeef plugin for listening musing from vkontakte.com

The plugin is discontinued and doesn't work any more due to VK music API switch off https://vk.com/dev/audio_api

For those speaking only Russian

За помощью можно обращаться в группу на ВК

Плагин не разивается и больше не работает из-за отключения VK API для музыки https://vk.com/dev/audio_api

Features

  • Retrieve 'My Music' contents
  • Retrieve 'Suggested Music' contents
  • Get music from group or users by id
  • Search VK.com for music
  • Removes duplicates in search results
  • Narrows search to specific phrase (in contrast to default behaviour which matches any single word from search query)
  • Allow searching in artist name or track title only
  • Copy track(s) URL to clipboard (for later download or whatever)

Track(s) can be added to current playlist by double click or with popup menu.
That's it for now.

Installation

Dependencies

  • gtk+ (2 or 3 - should correspond to GTK version your Deadbeef is built with)
  • json-glib (git version requires jansson instead)
  • curl
  • cmake
  • Deadbeef dev files (deadbeef.h and gtkui.h)

For example on Ubuntu the below installs required packages

    sudo apt-get install libgtk2.0-dev libgtk-3-dev \
        libcurl4-gnutls-dev libjson-glib-dev cmake

Building

Build it with

cmake .
make

and copy vkontakte_gtk*.so to ~/.local/lib/deadbeef like this:

mkdir -p ~/.local/lib/deadbeef
cp vkontakte_gtk*.so ~/.local/lib/deadbeef/

Restart Deadbeeef player for it to load the plugin, now check out File menu

Packages

[Arch Linux (AUR)] (https://aur.archlinux.org/packages/deadbeef-plugin-vk/)
[Ubuntu 12.10 (GTK2 only build)] (https://github.com/scorpp/db-vk/releases). (Reported to work fine on Debian stable as well.) Package installs to /opt/deadbeef/ prefix as official Deadbeef package does. If you have a thirdparty package installed you may need to copy\symlink .so's to ~/.local/lib/deadbeef/ or /usr/lib/deadbeef/
[Gentoo] (https://github.com/megabaks/stuff/tree/master/media-plugins/deadbeef-vk) (appreciations to @megabaks)

Contacts

  • Found a bug or have a problem? Raise an issue here! (This method is appreciated)
  • Don't have a github account? Comment on VK group
  • Me on vk.com
  • Me on Google+
  • Email & GTalk: keryascorpio [at] gmail.com

I'll be glad to any kind of feedback from you! :)