[GH-ISSUE #317] [Question] Ready to use CLI client? #246

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

Originally created by @cprn on GitHub (Nov 13, 2022).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/317

Hello. Anyone aware of projects using this API? Preferably a CLI client with simple commands (e.g. ytm play, ytm next, ytm list playlists, ytm select <song|artist|playlist>, etc) so these could be called somewhere higher in the system, e.g. from launchers (like dmenu or rofi) or by events like pressing multimedia keys or custom keyboard shortcuts.

I'm looking for a lightweight alternative to those electron wrapped websites that claim to be "desktop players".

Originally created by @cprn on GitHub (Nov 13, 2022). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/317 Hello. Anyone aware of projects using this API? Preferably a CLI client with simple commands (e.g. `ytm play`, `ytm next`, `ytm list playlists`, `ytm select <song|artist|playlist>`, etc) so these could be called somewhere higher in the system, e.g. from launchers (like `dmenu` or `rofi`) or by events like pressing multimedia keys or custom keyboard shortcuts. I'm looking for a lightweight alternative to those electron wrapped websites that claim to be "desktop players".
kerem 2026-02-27 22:08:47 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@sigma67 commented on GitHub (Nov 14, 2022):

I think there's a few CLI clients for YouTube like MPS, but none for YouTube Music that I'm aware of.

There's ytube_music_player for Home Assistant and other players like mopidy-ytmusic

<!-- gh-comment-id:1313254069 --> @sigma67 commented on GitHub (Nov 14, 2022): I think there's a few CLI clients for YouTube like MPS, but none for YouTube Music that I'm aware of. There's [ytube_music_player](https://github.com/KoljaWindeler/ytube_music_player ) for Home Assistant and other players like [mopidy-ytmusic](https://github.com/OzymandiasTheGreat/mopidy-ytmusic)
Author
Owner

@map7 commented on GitHub (Nov 22, 2022):

There is https://github.com/cfangmeier/tuijam but I cannot get it to work
https://mopidy.com/ext/ytmusic/ - works

<!-- gh-comment-id:1323484355 --> @map7 commented on GitHub (Nov 22, 2022): There is https://github.com/cfangmeier/tuijam but I cannot get it to work https://mopidy.com/ext/ytmusic/ - works
Author
Owner

@sigma67 commented on GitHub (Nov 22, 2022):

Well yes, because tuijam is made for Google Play Music. It could definitely be adapted for YouTube Music by swapping out the API calls and setup for ytmusicapi's, but it would be quite the effort I suppose.

<!-- gh-comment-id:1323729689 --> @sigma67 commented on GitHub (Nov 22, 2022): Well yes, because tuijam is made for Google Play Music. It could definitely be adapted for YouTube Music by swapping out the API calls and setup for ytmusicapi's, but it would be quite the effort I suppose.
Author
Owner

@cprn commented on GitHub (Nov 22, 2022):

There is https://github.com/cfangmeier/tuijam but I cannot get it to work

Yeah, I used to use it for Google Music but they finally made me switch to YTM last week.

https://mopidy.com/ext/ytmusic/ - works

Thanks, didn't know about mopidy, looks promissing - seems like it might work with something like ncmpcpp. If so, you've solved my issue. Thank you very much! [edit] They work together very very nicely!

<!-- gh-comment-id:1323929762 --> @cprn commented on GitHub (Nov 22, 2022): > There is https://github.com/cfangmeier/tuijam but I cannot get it to work Yeah, I used to use it for Google Music but they finally made me switch to YTM last week. > https://mopidy.com/ext/ytmusic/ - works Thanks, didn't know about `mopidy`, looks promissing - seems like it might work with something like `ncmpcpp`. If so, you've solved my issue. Thank you very much! [edit] They work together very very nicely!
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#246
No description provided.