Aliucord / plugin-requests

Plugin requests for Aliucord
42 stars 3 forks source link

[Plugin Request] LastFM activity status. #1343

Open Riddim-GLiTCH opened 3 months ago

Riddim-GLiTCH commented 3 months ago

Discord Account

Riddim_GLiTCH

Plugin Description

Modern discord is unusable to me. My phone is too old and slow. I used to use VendettaMOD for this purpose when I'm out and about.

What I want: A way to display the current song I'm listening to outside of the built in Spotify activity. LastFM's api is perfect for this. It allows for tracking music across most, if not all possible platforms.

I have forked a plugin by DimdenGD before, which is for desktop. The modification allows for the activity to display as [playing/listening to Artist name - Song name]. If possible, I'd like the functionality to appear this way built in as well.

What it should look like: It should use discords Rich Presence functionality. When one views the profile, it should follow a structure like this: Application icon: Album Cover Presence status icon: LastFM logo or LastFM profile image Activity name: Either "LastFM" (Playing/Listening to LastFM) or as stated above; "Artist name - Song Name" (Playing/Listening to Artist name - Song name) Details field 1: If applicable, Album name. (On [Album Name]) Details field 2: If applicable, Album artists. Some albums have multiple producers working on it. A good example from my music library would be Disciple's "Round the Table" volumes. Should not need further explanation. Details field 3/Large icon tooltip: artist name and song name. Small icon tooltip: name of the platform you use. Likely lastFM, but there are various clones out there that can be used as well, assuming the plugin is made compatible. Button 1: if possible, a link to the song that is currently played. Some songs have a YouTube video linked in LastFM's database, so the button can just link to that. Button 1 text: "Listen on YouTube" Button 2: Optional, but like how the plugin I forked works, make it link to the users lastFM profile. The user can disable this button if they would like. Button 2 text: "View LastFM profile".

Go into more detail...

The plugin would need to be configurable in order to function correctly. Looking at DimdenGD's plugin, configuration should be very straight forward.

All you would need to enter is the Last FM username, and if needed, a user generated API key. I am personally familiar with this process, so I don't have an issue doing this. But for User Friendliness' sake, you can build in an API key or have some instructions on how to set up an API key.

Other configuration is up to the developer if they want to consider any of the options mentioned above, or their own ideas.

Request Agreement