Giter Site home page Giter Site logo

Suggestion: Contributing Album Art to the main repository instead of creating individual application about music-discord-rich-presence HOT 8 CLOSED

jojo2357 avatar jojo2357 commented on June 8, 2024
Suggestion: Contributing Album Art to the main repository instead of creating individual application

from music-discord-rich-presence.

Comments (8)

jojo2357 avatar jojo2357 commented on June 8, 2024 2

Okay so heres what i have done so far:

  • Created a way to rip all album arts from mp3's in a directory and all subdirectories
  • Created a way to download all album arts for a spotify playlist (this is on a website that I made so definitely not the best)
  • takes downloaded images and keys them and constructs key files and places them inside a dat formatted properly alongside the correct keyed images.

These were written in javascript (nodejs) so i would have to work to create a native executable. Im thinking that i will make another repo where people can pr with generated clientdata folders and I will create the applications and add them to a library.

from music-discord-rich-presence.

jojo2357 avatar jojo2357 commented on June 8, 2024

There is a per-application limit of 150 (see image). The only thing im worried about is if images are wrong (since they are controlled by a third party) or the application name is inappropriate. I am open to making a new repo where people send in their album art and then me or @Smaltin make and maintain the library. Lmk what you think.
image

from music-discord-rich-presence.

RoguedBear avatar RoguedBear commented on June 8, 2024

So basically, the collection of album arts could be possible by creating many many applications on discord and using their client ids in the main repo?

Then your concerns for inaccurate album art and inappropriate app names are valid. This could be a problem when this repo gets a large number of users but i guess for a small userbase it could be manageable.

I was also thinking of 2 ways to organise the album arts.

  1. could be just creating applications and filling them up with album art when someone requests it or needs it till it reaches 150 limit
  2. sort the album art by creating an application artist-wise. An application to contain album arts of an artist for all their albums.

Thanks to your instructions and format of the config file it is really easy to add album arts.

(PS: is there a limit on discord how many applications can be created?)

from music-discord-rich-presence.

jojo2357 avatar jojo2357 commented on June 8, 2024

I suppose by artist would work and would make it easy. I dunno if theres an application limit but theres no discord account limit so I could make as many as I want in theory. If only there was a fast way to upload art I would be able to automate the process but instead I have to do it by hand which I suppose is doable. I can make a library repository that will accept images turned into asset files.

from music-discord-rich-presence.

RoguedBear avatar RoguedBear commented on June 8, 2024

For getting the album art from the mp3 and resizing it I've simplified those steps to a few clicks.

earlier I was looking for album art on wikipedia, downloading and and resizing it, but now I'm getting the album art from the mp3 itself, i have downloaded.

  • This answer on stackexchange tells how you can extract album art from the mp3 from command line
  • and for resizing i use the ImageResizer module in PowerToys (ofc you can use anything else)

When I was adding album art to my application, getting the album art from the internet was the time consuming and painful part, but 1st point above makes it less painful, But still cumbersome.
Uploading seems less painful for 3-4 album arts, but for tens of files i can imagine those being tiring and error prone

Maybe i could make a python script to automate both these steps broadly.

  • one script to extract the album art from a huge collection of mp3s which have different album names
  • and the other to batch upload those pictures with a python-selenium script in an already open discord application tab
  • and maybe also generate a .dat file of song_name=discord_image_name

from music-discord-rich-presence.

jojo2357 avatar jojo2357 commented on June 8, 2024

I'll look into it, thanks

from music-discord-rich-presence.

RoguedBear avatar RoguedBear commented on June 8, 2024

wow this was done so fast!
A library-repo for people to PR their album art and clientdata folder is a great idea. I would be looking forward to contribute album arts from my collection! 😃

from music-discord-rich-presence.

jojo2357 avatar jojo2357 commented on June 8, 2024

The library is now open for people to try out (I am still streamlining how it will go but for now, there it is

from music-discord-rich-presence.

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.