TrueMyst / BeatPrints

☕ BeatPrints, a tool that generates eye-catching pinterest-style music posters in python
Other
33 stars 5 forks source link

cannot understand env file #3

Closed greyXytOP closed 4 months ago

greyXytOP commented 4 months ago

i have no idea about what an env file is please help me and tell me how to get tthru the 2nd step in readme.md

TrueMyst commented 4 months ago

A .env file is a simple text file that contains a list of environment-specific variables in the form of KEY=VALUE pairs.

So in the .env file you need to put some information like this.

MUSIXMATCH_API  = "Your Musixmatch API Key"
SPOTIFY_CLIENT_ID = "Your Spotify Client ID"
SPOTIFY_CLIENT_SECRET = "Your Spotify Client Secret"

For Musixmatch API, go to MusixMatch for Developers For Spotify API go to Spotify for Developers

Hope this helps!

greyXytOP commented 4 months ago

so i can name the env file anything?

greyXytOP commented 4 months ago

ok that worked but i am unable to get my musixmatch api as the site is not working properly and i cannot login. please help how do i get plus after contact us thing

TrueMyst commented 4 months ago

so i can name the env file anything?

It's better if you stick with the preferred name.

TrueMyst commented 4 months ago

ok that worked but i am unable to get my musixmatch api as the site is not working properly and i cannot login. please help how do i get plus after contact us thing

Check your email, you'll find an email from MusixMatch regarding your API. If that doesn't work, go to your spam section! Btw are you trying out my project just for fun, or do you got any project to work with it?

greyXytOP commented 4 months ago

Right now I am using it for fun our of curiosity but I may be trying to make printable posters with your program and this can really help me cut the time

greyXytOP commented 4 months ago

I got the musixmatch api but it is the free one so I am unable to fetch the lyrics

TrueMyst commented 4 months ago

I got the musixmatch api but it is the free one so I am unable to fetch the lyrics

You don't need to worry about that, I've worked on that part. If you face any errors, let me know.

TrueMyst commented 4 months ago

Right now I am using it for fun our of curiosity but I may be trying to make printable posters with your program and this can really help me cut the time

Are you planning to use it for commercial purposes?

greyXytOP commented 4 months ago

I am facing error it says lyrics not uploaded for every song without plus membership

greyXytOP commented 4 months ago

Right now I am using it for fun our of curiosity but I may be trying to make printable posters with your program and this can really help me cut the time

Are you planning to use it for commercial purposes?

Yes I am planning to use it for commercial purposes

TrueMyst commented 4 months ago

Right now I am using it for fun our of curiosity but I may be trying to make printable posters with your program and this can really help me cut the time

Are you planning to use it for commercial purposes?

Yes I am planning to use it for commercial purposes

Sorry you can't use it for commercial purposes, please read this

greyXytOP commented 4 months ago

Right now I am using it for fun our of curiosity but I may be trying to make printable posters with your program and this can really help me cut the time

Are you planning to use it for commercial purposes?

Yes I am planning to use it for commercial purposes

Sorry you can't use it for commercial purposes, please read this

i a not using it for commercial purpose anytime soon i was thinking only

greyXytOP commented 4 months ago

I am facing error it says lyrics not uploaded for every song without plus membership

can ya help me with this tho

TrueMyst commented 4 months ago

Right now I am using it for fun our of curiosity but I may be trying to make printable posters with your program and this can really help me cut the time

Are you planning to use it for commercial purposes?

Yes I am planning to use it for commercial purposes

Sorry you can't use it for commercial purposes, please read this

i a not using it for commercial purpose anytime soon i was thinking only

Sorry, you cannot use this project for commercial purposes, as this project was made to generate pretty music posters for free. With that being said, I hope you understand the idea of this whole project.

TrueMyst commented 4 months ago

I am facing error it says lyrics not uploaded for every song without plus membership

can ya help me with this tho

Can you first show me the .env file in the root directory and also the error you're facing right now at this moment?

greyXytOP commented 4 months ago

PS E:\c_prog> & C:/Users/LENOVO/AppData/Local/Programs/Python/Python312/python.exe "e:/download software/BeatPrints-main/BeatPrints-main/src/main.py" [🌃] Do you want to include a custom image as the cover of the posters? (y/n): n [🤌] Would you like to add a stylish color accent at the bottom of your poster? (y/n): n [🍀] Enter song to search: mera mann bola

  1. Mera Mann Bola by Krishiv Kumar from Mera Mann Bola
  2. Behgaye by Karthick from Behgaye
  3. 6:30 by MONEY$H from 6:30
  4. Mera Mann by Sanjeev Darshan from Mann (Original Motion Picture Soundtrack)
  5. Chalte Reh by AARSH from Chalte Reh
  6. Mere Manmohana by Mann Taneja from Mere Manmohana
  7. Mera Mann Kehne Laga by Ayushmann Khurrana from Latest Songs Of Ayushmann Khurrana

[✨] Select one of them to show information: 1 Checking lyrics from the database...

  1. Mera Mann Bola by Krishiv Kumar

[✨] Just to be sure which lyrics do you want?: 1 1 Oops, seems like the lyrics aren't posted yet.

[🍀] Select any 4 of favorite lines from here (e.g., 2-5, 7-10):

it shows ' 1 Oops, seems like the lyrics aren't posted yet.' for every song

TrueMyst commented 4 months ago

Oh, so basically it checks for lyrics on the musixmatch website. If it doesn't exists there, then there is nothing we can do about it. You can see here. That's a problem that I'm working on right now!

greyXytOP commented 4 months ago

Oh, so basically it checks lyrics on the musixmatch website. If it doesn't exists then there is nothing we can do about it. You can see here. That's a problem that I'm working on right now!

I tried on many songs and it did not work for any of them. Do let me know if this works out I would be happy to see that

TrueMyst commented 4 months ago

Oh, so basically it checks lyrics on the musixmatch website. If it doesn't exists then there is nothing we can do about it. You can see here. That's a problem that I'm working on right now!

I tried on many songs and it did not work for any of them. Do let me know if this works out I would be happy to see that

You can try on english songs. They work for sure:) I'll try to work on this feature as soon as possible.

Thanks anyways! I'll be closing this issue now.

greyXytOP commented 4 months ago

Oh, so basically it checks lyrics on the musixmatch website. If it doesn't exists then there is nothing we can do about it. You can see here. That's a problem that I'm working on right now!

I tried on many songs and it did not work for any of them. Do let me know if this works out I would be happy to see that

You can try on english songs. They work for sure:) I'll try to work on this feature as soon as possible.

Thanks anyways! I'll be closing this issue now.

Thanks to you bro I really loved your concept

greyXytOP commented 4 months ago

hello i have an idea what if you use genius.com api to fetch lyrics as there are no private lyrics

TrueMyst commented 4 months ago

hello i have an idea what if you use genius.com api to fetch lyrics as there are no private lyrics

I've worked with Genius API before but it's hard to work around with. I'm already working on that feature!

greyXytOP commented 4 months ago

hello i have an idea what if you use genius.com api to fetch lyrics as there are no private lyrics

I've worked with Genius API before but it's hard to work around with. I'm already working on that feature!

oh ok thanks ofr the work

TrueMyst commented 3 weeks ago

@greyXytOP I've implemented the feature. I've fixed the lyrics issue, multi-language support and much more! :)

greyXytOP commented 3 weeks ago

@greyXytOP I've implemented the feature. I've fixed the lyrics issue, multi-language support and much more! :)

oh wow! i would be checking i soon thankyou. love your project