MusilyApp/dart_ytmusic_api

Api doesn't work

Closed this issue · 7 comments

Hello, I'm running this code but get no results. It also throws no error, so it is hard to debug without looking into the low level code. Can you please double check that the methods work with no issues on your side?

 final client = YTMusic();
  await client.initialize();
  youtubeSongs = await YouTubeMusicAPI.client.search(query);
  print("DEBUG youtubeSongs $youtubeSongs");

Hello, this issue was fixed.

Thank you! This plugin is fantastic ❤️ Could it be potentially used as an alternative to Spotify! Their api was limited after Nov 27th, leaving a void.

The challanges I foresee are:

  1. plugin must support playing audio-track only, ideally with a defined duration (eg. a 30sec preview to mimic Spotify). While this could be achieved by adjusting the video player settings, it would still require streaming the video file, which is resource-intensive.
  2. youtube serves ads with its videos, which would break the listening experience.

Could you take a look at my application, for which this plugin is dedicated, and see how these challenges could potentially be overcome?
You can find the source code here: Musily GitHub Repository.

Thank you!

Your app looks great! 👏 I couldnt go through code coz Im our travelling.

For point 1) I take for granted that you intercept ad and cut it off. But is this consistent?
For point 2) I guess it is something like that https://stackoverflow.com/a/64118047

So the only critical part is Google shutting down apps if they generate huge traffic through this approach. What's your thoughts?

  1. My app has no ads to be cut
  2. Not aware of that, but as my app has no server, the only way to be down is deleting the repository

😄

😄 yea, but I meant apps published on the stores. They will shut them down.

In fact the app isn't able to be published on Google Play. About Apple, I think it's