Coder Social home page Coder Social logo

internet4000 / explorer-discogs Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.76 MB

A work in progress to explore and play Discogs

Home Page: https://explorer.radio4000.com

JavaScript 78.07% HTML 3.19% CSS 3.62% Handlebars 15.13%
discogs ember music-discovery

explorer-discogs's People

Contributors

hugurp avatar oskarrough avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

explorer-discogs's Issues

Releases

  • create routes /releases + /releases/:id
  • make it list releases without ember data first?

Audio player

Goal is to be able to play any release? Or what is the right term in discogs-lingo?

For something simple, we could use the youtube iframe api directly and the loadPlaylist method.

Labels

  • set up model relationship
  • /labels/:id renders a label

Caching

In order to avoid reaching the Discogs API rate limits we should avoid more requests than necessary.

For instance, if you go to a release, then back to the homepage and finally visit the same release again, a second uneccesary GET request is made.

  • can we avoid calling it twice? who is responsible? discogs? ember data?

Another idea is to sync the the store to a local database like pouchdb, localstorage or whatever they're called these days. That could be cool, too. First look in local db, is it there, yes return, otherwise fetch.

#nicetohave

UI improvements

We can keep this issue open with small ideas here and there…

  • the "urls" property doesn't render <a> links
  • extend {{each-list}} to work for comma-separated lists
  • on http://localhost:4200/releases/120096 "main artist" should be a link
  • figure out what to do with master/release which both could have players
  • scroll to top is needed
  • make player stick to right edge and height 100%? not fixed but part of layout
  • show most important community data on a release
  • Include entity_type_name for companies
  • Show release format info (mp3?lp? etc) and link other releases? or merge them?
  • master & release https://www.discogs.com/help/doc/submission-guidelines-master-release
  • move "members" above "urls" on /release/info
  • format profile for all models (only artist has it for now)

Fix links inside <radio4000-player>

status

  • image links to radio4000.com when it should link to the ressource that is played (anywhere on the internet)
  • track items link to radio4000.com/undefined/:trackId

solution

See here radio4000-player issue here internet4000/radio4000-player#104.

We can wait for a solution there, then implement it here

Artists

  • set up model relationships
  • /artists/:id renders an artist

How to play a search

We can filter the Discogs search to something like "house releases from 2018" but there' currently no way to play all of them at once.

Since these search results only includes releases, we can find a way to put the buttons directly on the search page as well as a button.

Idea came from https://www.discogs.com/forum/thread/765954 & https://www.reddit.com/r/discogs/comments/8cg0z2/fetching_youtube_links_using_discogs_api/

Basic styling

let's set up some constraints. ideas

  • grayscale
  • maximum one font-size. use whitespace and/or font-style/weight instead.
  • fullscreen fluid

Videos

We should create a video model. It's a relationship on the release model. Possibly others, too. The data looks like this:

videos": [
{
"duration": 489,
"description": "Nirvana - Come as you are (Andy Caldwell remix)",
"embed": true,
"uri": "https://www.youtube.com/watch?v=rPHGAO4LOLk",
"title": "Nirvana - Come as you are (Andy Caldwell remix)"
},
{
"duration": 498,
"description": "Nirvana - Come As You Are (Dirty Funker Remix)",
"embed": true,
"uri": "https://www.youtube.com/watch?v=fm8F9GikQdM",
"title": "Nirvana - Come As You Are (Dirty Funker Remix)"
},
{
"duration": 226,
"description": "Nirvana - Come As You Are",
"embed": true,
"uri": "https://www.youtube.com/watch?v=vabnZ9-ex7o",
"title": "Nirvana - Come As You Are"
}
],

(from https://api.discogs.com/masters/42457)

Switch redis backend

So the redis on IBM cloud is not free. But it is on redislabs.

  • switch to redislabs
  • configure accounts so we have access

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.