nick1n / nicholast.fm Goto Github PK
View Code? Open in Web Editor NEWLast.fm Stat Utility Web App
Home Page: https://nicholast.fm
Last.fm Stat Utility Web App
Home Page: https://nicholast.fm
Needs to:
special characters such as + and /
Just something simple for now, maybe think about adding things like:
Basically the number of artists that has a certain amount of plays by the user.
Goals:
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 :)
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.
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 ๐
Replace existing styles (but keep existing styles in a commit somewhere)
Its kind of messy and should be cleaned up a bit, maybe more object orientated and/or split up more into different js files.
Should look into Google Analytics' custom event logging:
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
Maybe? To help keep Last.fm's records correct :)
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
Allow the user to be able to input various variables for each stat page, and maybe use Bootstrap's Collapse plugin for it.
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 :-/)
Looking into and add Spotify Play to tracks somehow :)
http://www.apple.com/itunes/affiliates/
https://affiliate-program.amazon.com/
...maybe add some referral links to music purchases/downloads?
As it is right now the recommend artist stats will list quite a few artists the user listens to.
It's already working, just need to add it, and test it a bit.
Just saw that it takes like a total of 4 seconds to fail on loading all the bootstrap js files that we don't actually need/use yet.
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
Thoughts?
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?...
Such as IE6, IE7, and IE8
They're too big on the iPhone size width.
We need some text explaining what the user can do and what it will accomplish. The name of our site is not indicative of its function.
We should seriously consider having sharing buttons FROM LAUNCH so that people can spread the word. :)
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.
Gets the user's top albums based on a certain year and/or based on albums released that year.
Maybe add a link to this on the site so if users have issues can make a bug report here?
There are probably other things that should be updated as well.
Such as ZeroClipboard: https://github.com/jonrohan/ZeroClipboard
Once bootstrap and jQuery are fully implemented we should work on cleaning up the messy HTML tag ids.
We should test a few of these things to make sure people don't need to refresh the page. We don't want it to be broken on launch if people don't use it 'correctly'.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.