search 2013 adfgs
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

Big T Bag’s Monthly Mix – Feb 2011

Big T Bag’s Monthly Mix – Feb 2011

February’s isnt as great as previous month, but it is will worth listening to. Be on the look out for ‘Foster the People’ and ‘Toro y Moi’ they’re coming up quick.

I am truly sorry Kristina L.L. Please forgive me someday.

 

 

 

 

 

 

 

 

 

 

 

 

Tracklist:

 

 

 

 

 

 

 

Download:

http://www.dudewheresmycar.org/music/Big_T_Bags_Monthly_Mix_Feb_2011.zip

Read More
Page 1 of 11
content top