Have put off updating it a bit because of the annoying name change. The old version indeed seems to no longer work.
mps-youtube in repo
- Edited
Staudey Welp, looks like the "new" yewtube
depends on youtube-search-python
, a project that has already been archived on GitHub due to lack of maintainers back in 2022. Not sure if I can really make a good case for including it. Looking at some other possible solutions right now.
There's, for example, youtube-viewer
as an alternative (in some ways at least)
- Edited
Staudey actually the YTFZF guy abandoned that project in january.
QUESTION TO UNIVERSE...why do all the cool little foss youtube CLI alternatives get un-maintained? why?
it is that many hours a week to dedicate to a lone CLI program? Or am I over-simplifying the time cost? maybe I am not considering the absence of financial incentive too.
I use this one https://freetubeapp.io with AppImage. I could subscribe to a few of my favourite channels there without YT account. Also, I find it better to see the video thumbnails instead of text on terminal
brent QUESTION TO UNIVERSE...why do all the cool little foss youtube CLI alternatives get un-maintained? why?
I think the deprecation announcement post of the above-mentioned youtube-search-python
is a good example and insight into this: https://github.com/alexmercerind/youtube-search-python/issues/189
Salient part:
Whenever YouTube feels like it, they will break something, and that's not something I can do about it. I can only patch the library, so that it works for another 3-6 months. Not all the classes are requiring such attention. For example, *Search classes haven't been touched since the rewrite to Core classes, and that's quite long time ago. Generally, *Search classes are the most stable, and they will probably continue to work for years. The problematic classes are StreamURLFetcher, Video, Playlist (and sometimes Transcript). These are one of the most important functions of YouTube, and that's why they are guarding them so hard. Once StreamURLFetcher was made, it was using PyTube, which is really cough poorly maintained and breaks too often, so once we've migrated to yt-dlp, it isn't that problematic anymore. The library requires so much attention, I just don't have any time to maintain it anymore. It was all good, but now I'm enrolling in a higher level of education, and thus I'll have less and less time.
Well, I created a PR updating it to the latest yewtube
version. Here's to hoping they manage to replace youtube-search-python
with something that's still being maintained sooner rather than later.
- Edited
alfisya I compiled/installed it, and it plays songs. I launch it with yt
.
EDIT @Staudey @alfisya as a CLI music enthusiast, I think YTZFF is the best of the bunch. If I know how to maintain a package would request it and volunteer thru proper channels.
Like Staudey said though, youtube will try and succeed breaking these programs every chance they get.
brent That one apparently already has been requested: https://github.com/getsolus/packages/issues/1374
thanks for including this, team, from hopefully-not-the-only-CLI-music-player-lover here!
Please mark SOLVED. Thanks!