mProjectsCode / obsidian-media-db-plugin

A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.
GNU General Public License v3.0
236 stars 26 forks source link

Last.fm #32

Open oak86 opened 2 years ago

oak86 commented 2 years ago

Name Last.fm

Link https://www.last.fm/api

What does the API do/offer last.fm scrobbles the music you listen to across different apps. This would allow you to create a listening journal in Obsidian that pulls information on what you've heard and then lets you to add details to it.

AkhirAlibhai commented 1 year ago

It just needs an API key. Could do it the same as the OMDb API key, and also have the user put their username in a field.

For implementation, I'd add a new command called Create Media DB entry (Music Stats), having a drop-down for the different kinds of options. These options can include:

Just listing some of the user endpoints.

Would also want a means to refresh this information. When selecting an option that's been selected before, give the user an option to either refresh the information, or create a new note. Primarily done if people want to maintain a history.

If that sounds good I'll start on it!

mProjectsCode commented 1 year ago

The general search functionality can be added to the existing API structure. For the account-specific things a command called something like Import last.fm listening data and then a modal where the user can select which data to import would be the best option. The modal could also include a toggle to create a new note or override the existing note.