content top

Last.fm Top Tracks

Last.fm Top Tracks

I wrote a script that simply just returned the Top X songs for an artist using Last.fm’s information.

 

Steps:
1) Download pylast:
http://pypi.python.org/packages/source/p/pylast/pylast-0.5.11.tar.gz#md5=506cf1b13020b3ed2f3c845ea0c9830e

2) Unzip it
3) Open a terminal and ‘cd’ to that directory.
3) Run the command: ./setup.py build
3) Run the command: ./setup.py install
4) Download and run my code from terminal

Download: lastfm.py


Usage:
./lastfm.py -a <Search Term> [-l <#>] [-s]
-a    Search Artist in quotations.
-l    Return limit. Default = 10.
-s    Similar Artists.

Example:
./lastfm.py -a “Cold War Kids”

To make it easier to run the script from anywhere, you can add the directory to your PATH.

1) From terminal ‘vi ~/.cshrc’
2) Add “PATH=$PATH\:/Users/userName/

directory_of_file”
3) Hit “Esc” then “:” followed by “wq” then “return”
4) type “source ~./cshrc”Now you can run the command anywhere within a terminal
Example: lastfm.py -a "Coconut Records" -s
 

Screen Shot:

Read More

Thomas’ SB Andriod App

Thomas’ SB Andriod App

Its finally here! Thomas’ Sound Board has been ported to Andriod.

My future plans are of course to implement a better design layout and to add more sound bites.

 

Download:

http://dudewheresmycar.org/soundboard/BigTBagsSB.apk

 

ScreenShot:

 

Read More
content top