Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ya i know i tried to make a api for that i even succeded but when audio url is recived whole screen goes black #30

Open
Shashwat-CODING opened this issue Jan 23, 2025 · 16 comments

Comments

@Shashwat-CODING
Copy link

check this bro https://abcdmusic.netlify.app/

@onamkrverma
Copy link
Owner

Hi @Shashwat-CODING,

Great job on exploring the solution for Not get YT video audio url.

https://abcdmusic.netlify.app/ is working fine. You just need to change ?? to || for parseFloat(localVolume) ?? 1.0.
This will resolve the black screen issues.

@Shashwat-CODING
Copy link
Author

Shashwat-CODING commented Jan 23, 2025 via email

@Shashwat-CODING
Copy link
Author

check it everything works except upcoming https://abcdmusic.netlify.app/search/glory

@onamkrverma
Copy link
Owner

check it everything works except upcoming https://abcdmusic.netlify.app/search/glory

There is a recommendedVideos option available that provides audio URLs. You can use these recommendedVideos to display upcoming songs.

@Shashwat-CODING
Copy link
Author

Shashwat-CODING commented Jan 23, 2025

no
i am talking about /related api endpoint
i know it provides related videos but i dont know response format the json format it gives response in

@Shashwat-CODING
Copy link
Author

like song it is ({
"audioFormatHigh": "url1",
"audioFormatLow": "url2"
})

@Shashwat-CODING
Copy link
Author

bro please provide me with full bakend sourecode 🙏

@Shashwat-CODING
Copy link
Author

?????????

@Shashwat-CODING
Copy link
Author

bro please tell me

@onamkrverma
Copy link
Owner

Recently I added this https://docs.invidious.io/api/#get-apiv1videosid to get songs (Got this doc because of you, So thanks to you)

But it's not working anymore now

Image

@Shashwat-CODING
Copy link
Author

ya same with me

@Shashwat-CODING
Copy link
Author

hey use this json to update instance every 5 min as i srapes working one and update json
https://raw.githubusercontent.com/n-ce/Uma/main/dynamic_instances.json
its from http://raag.us.kg/ and i am working on it with its owner

@Shashwat-CODING
Copy link
Author

bro bakend code

@onamkrverma
Copy link
Owner

no i am talking about /related api endpoint i know it provides related videos but i dont know response format the json format it gives response in

I am using the https://beatbump.io/ API to fetch related songs.

  • You can explore and debug their code to understand the process. (Hint: Do some reverse engineering)
  • Unfortunately, I can't provide the backend code.

I believe I've covered everything regarding how I obtain the song URL and the related song list.

@Shashwat-CODING
Copy link
Author

ok and for explore

@Shashwat-CODING
Copy link
Author

no i am talking about /related api endpoint i know it provides related videos but i dont know response format the json format it gives response in

I am using the https://beatbump.io/ API to fetch related songs.

  • You can explore and debug their code to understand the process. (Hint: Do some reverse engineering)
  • Unfortunately, I can't provide the backend code.

I believe I've covered everything regarding how I obtain the song URL and the related song list.

hey instead off it use ytdata api or piped or invidious api to fetch related songs by using playlist just add "RD" before video id and fetch playlist it will provide you with related streams

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants