[GH-ISSUE #177] Ability to use different channels within an account #138

Closed
opened 2026-02-27 22:08:14 +03:00 by kerem · 3 comments
Owner

Originally created by @kaizersoje on GitHub (Mar 19, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/177

I have 2 channels setup within my account. Is there a way to choose the channel while setting up the api?

Originally created by @kaizersoje on GitHub (Mar 19, 2021). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/177 I have 2 channels setup within my account. Is there a way to choose the channel while setting up the api?
kerem closed this issue 2026-02-27 22:08:14 +03:00
Author
Owner

@sigma67 commented on GitHub (Mar 19, 2021):

Yes, the feature is called brand accounts. Further described here.

<!-- gh-comment-id:802862660 --> @sigma67 commented on GitHub (Mar 19, 2021): Yes, the feature is called brand accounts. Further described [here](https://github.com/sigma67/ytmusicapi/issues/37#issuecomment-652950069).
Author
Owner

@kaizersoje commented on GitHub (Mar 20, 2021):

I was able to get the onBehalfOfUser value and add it to header.json.

"onBehalfOfUser": "123456789123456789123"

However, it does not seem to be using the channel/brand account and is using the parent account instead.

<!-- gh-comment-id:803292117 --> @kaizersoje commented on GitHub (Mar 20, 2021): I was able to get the `onBehalfOfUser` value and add it to `header.json`. `"onBehalfOfUser": "123456789123456789123"` However, it does not seem to be using the channel/brand account and is using the parent account instead.
Author
Owner

@sigma67 commented on GitHub (Mar 20, 2021):

You're supposed to pass it to YTMusic(user=1234567). Not sure how that'd work with the project you're using.

<!-- gh-comment-id:803364567 --> @sigma67 commented on GitHub (Mar 20, 2021): You're supposed to pass it to YTMusic(user=1234567). Not sure how that'd work with the project you're using.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#138
No description provided.