Saturday, August 13, 2011

Download Songs With Foobnix

Foobnix is a lightweight Python-based music player and organizer described in an earlier post :
http://debian-bits-and-snips.blogspot.com/2010/11/foobnix-player.html .
You can grab a package from https://launchpad.net/%7Efoobnix-player/+archive/foobnix/+packages as I have done before, but some of these packages just don't work. And installing with gdebi did not pull in all the dependencies ( I also had to install python-dbus, gstreamer0.10-plugins-bad and gstreamer0.10-plugins-ugly ).
Just found out that there is a package at http://www.debian-multimedia.org/ ( unstable/Sid ).
Download foobnix_2.5.23-0.0_all.deb from : http://www.debian-multimedia.org/dists/unstable/main/binary-amd64/package/foobnix.php .

Control file of this package contains the following :
Package: foobnix
Version: 2.5.23-0.0
Architecture: all
Bugs: mailto:marillat@debian.org
Maintainer: Christian Marillat
Installed-Size: 3332
Depends: python (>= 2.6), python-support (>= 0.90.0), python-chardet, python-gtk2, python-mutagen, python-simplejson, gstreamer0.10-plugins-ugly, gstreamer0.10-ffmpeg, python-gst0.10, python-dbus, python-keybinder, python-notify, gstreamer0.10-plugins-bad
Recommends: ffmpeg, python-setuptools, fuseiso
Section: sound
Priority: extra
Homepage: http://www.foobnix.com
Description: Simple and powerful music player for Linux.
All the best features in one player. Written in Python, Foobnix is a small,
fast, customizable, powerful music player with a user-friendly interface.


I used gdebi to install foobnix with all its dependencies.

Searching for songs in the search bar popped up the following window :


Pressing the Open button brought me to a loginpage at Vkontakte.....( http://en.wikipedia.org/wiki/Vkontakte ).
Not knowing what to do I went to Preferences > Last FM + VK and pressed the Authorization button : the same window as above came up....

After finding this page : http://www.foobnix.com/blog/1176070?lang=en it appears that we need more packages installed :
apt-get install python-jswebkit
will pull in : python-webkit, libwebkit-1.0-2 and libwebkit-1.0-common.

Now the following window appears when searching for songs :


Just press Get Default Login Password and then hit the blue button :

I download the songs to a folder Music in my home directory.
In the left pane in foobnix : Add Folder(s) in tree ( in my case ~/Music ).

Downloaded songs appear in left pane after updating ( rightclick in left pane > Update ) or go to Preferences > Music Library > check Update library on start .

You can download songs as well at Legalsounds for $0.09 per mp3.

No comments:

Post a Comment