Giter Site home page Giter Site logo

rec_me's Introduction

rec_me

Gets the best songs from recommended artists on last.fm and downloads them from Youtube after matching the songs using the duration of the song provided by Last.fm. If an artist has a lot of songs that are highly played, the downloader will grab more of them--if the artist has only one or two highly played songs, it will just get those. Downloaded songs are put in a /music/ folder. Uses the Java Last.fm API bindings, Google Data API, jaudiotagger, and youtube-dl.

Dependencies:

  • lastfm-java-0.1.2.jar
  • gdata-client-1.0.jar
  • gdata-youtube-2.0.jar
  • gdata-core-1.0.jar
  • gdata-media-1.0.jar
  • guava-18.0.jar
  • jaudiotagger-2.2.3.jar
  • javax.mail.jar

Example output:

Welcome to rec_me, the automated music downloader powered by Last.fm.
To get started, you'll need to provide a few pieces of information.

Last.fm API key: 
...
Last.fm secret key: 
...
Youtube API key: 
...
Last.fm username: 
hello_world

Opening authentication page in browser...
If the page does not open, authenticate using the following URL:
http://www.last.fm/api/auth/?api_key=e245b01abfe1ecab4033890867167374&token=75b8c2c0974a6714cba01f7110d5eb33.

Once you've authenticated with Last.fm, press enter to continue!

1. Get music by user recommendations
2. Get music by tag
3. Get music by similar artists
4. Download the song queue!
5. Change settings
Q. Quit
1

How many user-recommended artists do you want to sample?
3

Discovery: 
Swing Tree is a good track and will be downloaded.

Ra Ra Riot: 
Dance With Me is a good track and will be downloaded.
Beta Love is a good track and will be downloaded.
Boy is a good track and will be downloaded.
Can You Tell is a good track and will be downloaded.

Dale Earnhardt Jr. Jr.: 
James Dean is a good track and will be downloaded.
Simple Girl is a good track and will be downloaded.


1. Get music by user recommendations
2. Get music by tag
3. Get music by similar artists
4. Download the song queue!
5. Change settings
Q. Quit
4

[youtube] wqOlC1iyTyA: Downloading webpage
[youtube] wqOlC1iyTyA: Extracting video information
[youtube] wqOlC1iyTyA: Downloading DASH manifest
[download] Destination: music\wqOlC1iyTyA.m4a

[download]   0.0% of 4.36MiB at  9.26KiB/s ETA 08:01
...
[download] 100.0% of 4.36MiB at 258.97KiB/s ETA 00:00
[download] 100% of 4.36MiB in 00:17                  

Thanks for using rec_me! Enjoy the music!

rec_me's People

Contributors

austingayler avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.