ryot icon indicating copy to clipboard operation
ryot copied to clipboard

[FEATURE REQUEST] - Music tracker

Open DaFlowah opened this issue 2 years ago • 22 comments

Hi there, It would be cool to have also a music tracker, so that you can see which albums you've already listened to and see when new albums get released :D

DaFlowah avatar May 25 '23 16:05 DaFlowah

Thats a great idea. What sources can Ryot get the music data from? For example TMDB for movies, IGDB for video games etc.

IgnisDa avatar May 25 '23 16:05 IgnisDa

Not sure if Last.fm, Deezer, MusicBrainz or Discogs can have valid APIs for the job and how easy they are to be integrated 🤔

DaFlowah avatar May 25 '23 17:05 DaFlowah

Ah alright. I will keep this in mind. Another possible solution is adding integration with Spotify, Youtube music etc and using those.

IgnisDa avatar May 25 '23 17:05 IgnisDa

Thats a great idea. What sources can Ryot get the music data from? For example TMDB for movies, IGDB for video games etc.

Check out MusicBrainz, they've got a pretty robust and easy to use API

hc-nolan avatar May 25 '23 20:05 hc-nolan

You could review Maloja, as its basically a selfhosted last.fm. It doesn't do any scrobbling, but Multi-Scrobbler acts as an 'API Linker' to pull data from x, y. or z API, and push the music scrobbles to x, y, or z platform.

I could see this project evolving into a 'plugin' style system where anyone could create an integration to scrobble data out of, and into here.

HStep20 avatar May 25 '23 21:05 HStep20

@DaFlowah Looking into this. What exactly would a music integration look like? What would you track?

IgnisDa avatar Jun 16 '23 10:06 IgnisDa

@DaFlowah Looking into this. What exactly would a music integration look like? What would you track?

Not sure about anyone else preferences, but to me it would be nice to be able to track what I've already listened to (songs, albums, EPs, etc) and, most importantly, I'd like to be able to see when the bands I like release something new.

DaFlowah avatar Jun 18 '23 16:06 DaFlowah

Note to self: Audiobookshelf has an integration for MusicBrainz that I can shamelessly port to rust.

IgnisDa avatar Jun 29 '23 17:06 IgnisDa

Hello. I plan to work on music integration for Ryot next. In relation to #203, I am a bit divided. Should I allow the search for just a single release, and then put an album (or EP) in a media group?

@DaFlowah @chunned @HStep20 I would appreciate your feedback here.

IgnisDa avatar Aug 12 '23 14:08 IgnisDa

Should I allow the search for just a single release, and then put an album (or EP) in a media group?

That sounds good to me. I would like to be able to search for a specific release, or for an artist (media group containing all that artist's releases).

hc-nolan avatar Aug 12 '23 18:08 hc-nolan

Artist support will be a long way off since the people management code for Ryot needs a complete overhaul. I'm talking only about music here.

IgnisDa avatar Aug 12 '23 19:08 IgnisDa

I'm kinda confused what the purpose of the media grouping for music would be then. Are you talking about grouping various editions of a single release, i.e. the way MusicBrainz uses release groups?

hc-nolan avatar Aug 12 '23 19:08 hc-nolan

A group will be an album or an EP. And the music tracker itself will allow you to look up a single track.

IgnisDa avatar Aug 13 '23 01:08 IgnisDa

Hi @IgnisDa :D So, if I look for a song (i.e. Bohemian Rhapsody), it will pop up along with its album (A Night at the Opera)? If so, it would be cool for me 😎

DaFlowah avatar Aug 13 '23 18:08 DaFlowah

When you look up bohemian Rhapsody, only that would show up. When you open the details, you'll see something like "Belongs to A night at the Opera". You can click on that to view the entire album (this will happen when #203 is implemented).

IgnisDa avatar Aug 14 '23 03:08 IgnisDa

When you look up bohemian Rhapsody, only that would show up. When you open the details, you'll see something like "Belongs to A night at the Opera". You can click on that to view the entire album (this will happen when #203 is implemented).

Sounds good to me 😎

DaFlowah avatar Aug 14 '23 08:08 DaFlowah

It would be nice if we could also add ratings to the songs

lyz-code avatar Aug 22 '23 11:08 lyz-code

That should be possible, though you should be aware that I don't plan to work on music tracking RN. The quality of data from the various sources was awful, and I was discouraged.

IgnisDa avatar Aug 22 '23 11:08 IgnisDa

Note to self: look into Discogs API.

IgnisDa avatar May 17 '24 00:05 IgnisDa

Note to self: look into Discogs API.

I've had pleasantly surprising results with the Discogs API in my own music tracker project. Often it's a better source of data than MusicBrainz, definitely a good idea to check it out.

hc-nolan avatar May 17 '24 00:05 hc-nolan

Can you share a link to that project?

IgnisDa avatar May 17 '24 00:05 IgnisDa

Sure, but be warned it's quite a bit different from Ryot (and also still very rough around the edges) - Databass

hc-nolan avatar May 17 '24 00:05 hc-nolan

I released initial music tracking with YoutubeMusic (v7.12.0). It is still rough around the edges (for eg. an integration, album tracking is still missing). But please take the new version for a spin and let me know whether it works for you.

IgnisDa avatar Dec 16 '24 01:12 IgnisDa

Just an idea, would there be a way to integrate your own YouTube music api through google console? I have no idea how this would be done, but it could work round about like the google books integration

Grim73 avatar Dec 19 '24 01:12 Grim73

Unfortunately YouTube music doesn't have a google supported api

IgnisDa avatar Dec 19 '24 06:12 IgnisDa

could do something similar to Music Assistant though, there seems to be instability with this.

Could a music endpoint be added to jellyfin?

Grim73 avatar Dec 19 '24 06:12 Grim73

Right now I am talking to the Rustypipe (which is the library ryot uses to get YoutubeMusic data) dev. https://codeberg.org/ThetaDev/rustypipe/issues/17

I will see where those talks go.

IgnisDa avatar Dec 19 '24 07:12 IgnisDa

@IgnisDa would you be so kind to point into the direction of configuring this enhancement? What should be added into the music: { } part? Thank you for your good work!

Procuria avatar Dec 21 '24 22:12 Procuria

There's no configuration options for music tracking as of yet.

On Sun, Dec 22, 2024, 4:25 AM Procuria @.***> wrote:

@IgnisDa https://github.com/IgnisDa would you be so kind to point into the direction of configuring this enhancement? What should be added into the music: { } part? Thank you for your good work!

— Reply to this email directly, view it on GitHub https://github.com/IgnisDa/ryot/issues/49#issuecomment-2558261397, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQ5PNDPIIBCIINDS2HVBF32GXWVBAVCNFSM6AAAAABTUO2IMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGI3DCMZZG4 . You are receiving this because you were mentioned.Message ID: @.***>

IgnisDa avatar Dec 22 '24 03:12 IgnisDa

@IgnisDa possibly something with ListenBrainz, just deployed Navidrome and it can utilize this for tracking data.

Grim73 avatar Jan 01 '25 02:01 Grim73