Giter VIP home page Giter VIP logo

nicholast.fm's People

Contributors

namklabs avatar nick1n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

perxautomatik

nicholast.fm's Issues

Make localStorage module

Needs to:

  • Store multiple users' stats
  • Store stats in a compact orderly way
  • Compress/Decompress stats to and from localStorage
  • Easily save and retrieve stats
  • Return a list of stored users, for user name typeahead
  • Handle storage between multiple tabs at one time
  • ...more

Add an About tab page

Just something simple for now, maybe think about adding things like:

  • Our names and links to where ever
  • Credit to kurtrips for original heathaze.org
  • Javascript Last.fm API Library
  • Last.fm
  • Bootstrap
  • jQuery

Make monthly module

Goals:

  • Faster
  • Less api calls
  • Use localStorage module
  • Use new Last.fm api module
  • Completely remove any monthly stat code from app.js

Filtered User's Top Tracks

Allows the user to show their top tracks based on a filter/search/keyword, such as, for nick1n, filter by Skrillex, will show all my top tracks with Skrillex in the Artist Name and Track Name, so it'll show all songs by him and all his remixes :)

Enhance user interaction with multiple months of stats.

Basically Month by Month overview of stats, with buttons for previous and next, also, a yearly overview, also with a previous and next buttons.
Submit will queue up a month, and refresh button will refresh the current month's stats.
Also, wouldn't mind making the datagrids more streamlined... as in maybe just have one that changes out stats between, artists, albums, and tracks.

Faster and less Last.fm api calls: Weekly tracks

Need to implement a method so that we can reduce the amount of calls it does to the api service, such as, use weekly stats, instead of recent tracks, but at the same time need to make sure the weekly stats don't get cut off, also need to use recent tracks for beginning and end of months for accurate monthly stats. Also, remember not to cache the most recent week/tracks because they can change.

I'm pretty sure weekly charts get cut off after 500 entries, which can happen, in which case, we dump that data, and use Recent Tracks for that week, and have it take much longer ๐Ÿ˜•

Restructure javascript

Its kind of messy and should be cleaned up a bit, maybe more object orientated and/or split up more into different js files.

Add Spotify referral link

Thinking of adding a Spotify referral link somewhere so that one or both of us could potentially get a month of Spotify for free.
Was thinking of having one of ours up until that one gets 5 referrals and then put the other up until that one gets 5 etc.
Also might just have a bit of php to determine which one to display, like maybe a simple database check or file check or we can just manually change them.
Anything else, @namklabs ?

Maybe a nice little message to help make people more willing to click on the referral link/button, or something?

Oh, link to Spotify referral program website: http://spotify.com/refer

Add Fine Tuning of Stats

Allow the user to be able to input various variables for each stat page, and maybe use Bootstrap's Collapse plugin for it.

Artist's Top Tracks

Allows a person to check out any Artist's Top Tracks based on, most shouts, most hearts, most listeners, most plays, etc.
(Last time I checked there wasn't a way to get the amount of hearts on songs :-/)

Spotify Play

Looking into and add Spotify Play to tracks somehow :)

IE issues... :-/

Do we care about these? lol

Tested in IE 8:
Logo doesn't show up
No rounded corners
Logo shows up when submitting but with album art tiled 4 x 6

Ad support

So for Ads we obviously will use Google Adsense, but do we want to add it to the site for initial release or wait a little bit? And, also where should we put it on the site? Also, should it be pure text and/or images? What about maybe a donation link?...

Cache Last.fm results

The last.fm javascript api has caching of user's stats just need to start using them for faster client side results and also at the same time less api calls to last.fm service.

Yearly Top Albums

Gets the user's top albums based on a certain year and/or based on albums released that year.

Restructure tag ids

Once bootstrap and jQuery are fully implemented we should work on cleaning up the messy HTML tag ids.

Better looking and more descriptive error messages.

The various error messages returned from last.fm's api:
2 : Invalid service - This service does not exist
3 : Invalid Method - No method with that name in this package
4 : Authentication Failed - You do not have permissions to access the service
5 : Invalid format - This service doesn't exist in that format
6 : Invalid parameters - Your request is missing a required parameter
7 : Invalid resource specified
8 : Operation failed - Something else went wrong
9 : Invalid session key - Please re-authenticate
10 : Invalid API key - You must be granted a valid key by last.fm
11 : Service Offline - This service is temporarily offline. Try again later.
13 : Invalid method signature supplied
16 : There was a temporary error processing your request. Please try again
26 : Suspended API key - Access for your account has been suspended, please contact Last.fm
29 : Rate limit exceeded - Your IP has made too many requests in a short period

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.