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

Implement Youtube Music #295

Open
BinaryQuantumSoul opened this issue Oct 13, 2024 · 0 comments
Open

Implement Youtube Music #295

BinaryQuantumSoul opened this issue Oct 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@BinaryQuantumSoul
Copy link
Contributor

Youtube music api is very similar to the other youtubei apis.

Use cases

  • being able to search only song instead of all kinds of videos
  • get album name, artist name and song name without an additional api call to player
  • get country charts and trending playlists

Some intersting browseIds :

  static const String MUSIC_EXPLORE = 'FEmusic_explore';
  static const String MUSIC_NEW_RELEASES = 'FEmusic_new_releases';
  static const String MUSIC_CHARTS = 'FEmusic_charts';
  static const String MUSIC_HOME = 'FEmusic_home';
  static const String MUSIC_MOODS_AND_GENRES = 'FEmusic_moods_and_genres';
  static const String MUSIC_MOODS_AND_GENRES_CATEGORY =  'FEmusic_moods_and_genres_category';
  static const String MUSIC_CHARTS_HOME = 'FEmusic_analytics_charts_home';

Some interesting client context

 static const ClientContext WEB_MUSIC_ANALYTICS = ClientContext(
    clientId: 31,
    clientName: 'WEB_MUSIC_ANALYTICS',
    clientVersion: '2.0',
    userAgent: USER_AGENT_WEB,
    referer:  'https://analytics.youtube.com/',
    apiKey: 'AIzaSyCzEW7JUJdSql0-2V4tHUb6laYm4iAE_dM',
  );
@BinaryQuantumSoul BinaryQuantumSoul added the enhancement New feature or request label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant