martijnboers / BlotterTrax

/r/listentothis submissions reddit bot
GNU General Public License v3.0
5 stars 2 forks source link

Feature request: Include Track Information #79

Open Gaff opened 4 years ago

Gaff commented 4 years ago

Hi,

This is a feature request really: Have you considered including track information?

I was thinking of trying to build up a playlist based on the top daily tracks and I sumbled accross your code here. My thinking is I could have enhance each of your service objects to return standard info (artist, track, album, streamcount, url, confidence_level). Then you could put the track URLs in the message body. Another script could then scrape these up and build a playlist for each platform.

Have you got any interest in this idea?

Nedlinin commented 4 years ago

Hey @Gaff.

Hoping you can provide a bit more detail/context here. When you're saying build a playlist of top daily tracks where are you hoping to have this added to a reply? On each individual post response? IE in this response https://www.reddit.com/r/listentothis/comments/h9id4k/zu_ye_fa_there_was_a_girl_there_was_a_boy_indie/fuwqdbu/ or elsewhere?

Gaff commented 4 years ago

I'm kinda brainstorming a bit. I prefer to listen to music on spotify, but I also like /r/listentothis. The problem at the moment is that the reddit posts cover a variety of platforms - which is great of course, but makes it tricky to construct a playlist.

My thinking was that, having figured out the metadata, the bot could try and find links for common muisc platforms (youtube, spotify, ...) and post the links in the comment. Or link to a service like last.fm that already has external links for multiple platforms.

From there it would be fairly easy to have another script that can scrape all this up and maintain a playlist on each platform of the top daily / weekly / monthly tracks.

Nedlinin commented 4 years ago

I definitely think having a few links added to the comment like:

Stream on 
  * Spotify
  * Youtube 
  * Apple Music
  * Youtube Music

Would be a cool feature if we could be reasonably confident in the accuracy of the song we have detected.

Biggest worry so far is that we have had previous accounts used end up shadowbanned due to aggressive link usage but I think being that these are all very well known services we might end up OK.