Giter Club home page Giter Club logo

Comments (7)

 avatar commented on July 19, 2024 1

Regular Last.FM user here. Last.FM does not differentiate between multiple bands of the same name whatsoever. For instance, when I scrobble BRATS, a japanese rock band, the scrobble is tagged as danish, because there used to be another band called Brats. Nothing I can do about it.

I believe the only way to format the summary will be to write code to detect whether there are multiple bands based on the summary text, then
get the full bio instead of the summary, and either print the full bio or create a summary from your own code

from blottertrax.

Nedlinin avatar Nedlinin commented on July 19, 2024

Not noticing an easy way in LastFM to detect another artist of the same name and have found numerous other people complaining about this drawback of LastFM..

I was even looking at the possibility of getting the track based on artist name + song name and working back to the artist from there but even then the "artist" ends up being the merged page that could discuss multiple artists.

from blottertrax.

Nedlinin avatar Nedlinin commented on July 19, 2024

Using one of the above posts as a test I was able to hit the lastfm api and get the follow:

{ "track": { "name": "Look the Other Way", "mbid": "4f3893ba-8065-4b64-8a74-1a30d511f18f", "url": "https://www.last.fm/music/The+Busy+Signals/_/Look+the+Other+Way", "duration": "107000", "streamable": { "#text": "0", "fulltrack": "0" }, "listeners": "1299", "playcount": "5303", "artist": { "name": "The Busy Signals", "mbid": "93f2ceaa-4a70-4dbb-b0b8-617a50611353", "url": "https://www.last.fm/music/The+Busy+Signals" }, "album": { "artist": "The Busy Signals", "title": "the Busy Signals", "mbid": "c4056e7d-5d7f-4d83-9303-19fa3d02081f", "url": "https://www.last.fm/music/The+Busy+Signals/the+Busy+Signals", "image": [ { "#text": "https://lastfm.freetls.fastly.net/i/u/34s/16bb93073b5a40ad84ea7552d5377181.png", "size": "small" }, { "#text": "https://lastfm.freetls.fastly.net/i/u/64s/16bb93073b5a40ad84ea7552d5377181.png", "size": "medium" }, { "#text": "https://lastfm.freetls.fastly.net/i/u/174s/16bb93073b5a40ad84ea7552d5377181.png", "size": "large" }, { "#text": "https://lastfm.freetls.fastly.net/i/u/300x300/16bb93073b5a40ad84ea7552d5377181.png", "size": "extralarge" } ], "@attr": { "position": "2" } }, "toptags": { "tag": [] } } }

Might want to JSON pretty print ^

Long story short, the artist link back is still the merged artist but we can get the album information.. Might be worth a discussion with the mod team about coming up with rules based on an album playcount rather than total artist scrobbles.

It also requires more API requests to retrieve as we first have to get the track info then the album from the information returned.

from blottertrax.

Nedlinin avatar Nedlinin commented on July 19, 2024

Definitely disappointing to hear as that is most definitely not a trivial task!

from blottertrax.

martijnboers avatar martijnboers commented on July 19, 2024

Maybe we can look into using Discogs?

from blottertrax.

martijnboers avatar martijnboers commented on July 19, 2024

Will do some investigation on this tonight, see this as blocking beta release

from blottertrax.

 avatar commented on July 19, 2024

Maybe we can look into using Discogs?

Checked out the api a little bit, looks doable

from blottertrax.

Related Issues (20)

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.