📜 ⬆️ ⬇️

Songo: Desktop-ny player Vkontakte

I often saw people listening to VKontakte music from a browser. And listen, as usual desktop player. But I am disgusted with this kind of use because I like the tabs in the browser to close. This is how the idea of ​​this application was born, which I raved for several months before understanding what needs to be done to get it out of my head.

It knows how to playlists, turn into a tray and the main thing will never be paid, as a scattering of other proxy services such as Prostopleer. The source is open under the BSD license. So, if I get a bus, and a Vkontakte account is stolen, everyone can drive their own application ID and enjoy the music.

Tracks are downloaded and added, categorized by artist in the cache subdirectory of the player directory. No need to puzzle your browser.
')
The most difficult task was, perhaps, playing mp3 with support for seek. To do this, we had to wrap libmpg123 using libjna, because none of the existing "pure Java" seek libraries support.

The interface is inspired by the Sonata player, which I use for local music.

In the comments I would like to hear whether someone other than me needs this.

Dependencies

Written in Java, so you need a JRE.

Linux
Requires libwebkitgtk2 and libmpg123 (if you haven't already installed it). In my favorite Arch Linux, they are installed like this:
# pacman -S webkitgtk2 libmpg123 
Hopefully they will be prompted with the names of the Ubuntu, Debian and others packages.

Mac OS
Install mpg123 from homebrew.

Installation

Any wisdom: unpack the archive and run the bat / sh-script.

Linux screenshots


Authorization:


Search:


Playlist:


Binary archives and sources

Linux32 - songo-0.0.1-SNAPSHOT-linux32.tar.gz
Linux64 - songo-0.0.1-SNAPSHOT-linux64.tar.gz
Windows32 - songo-0.0.1-SNAPSHOT-win32.zip
Windows64 - songo-0.0.1-SNAPSHOT-win64.zip
MacOS32 - songo-0.0.1-SNAPSHOT-mac32.zip
MacOS64 - songo-0.0.1-SNAPSHOT-mac64.zip
Sources - github.com/siasia/songo

Enjoy your listening!

Source: https://habr.com/ru/post/162255/


All Articles