YouTube jukebox without a browser
mps-youtube
Applications such as Atraci or Musictube are easily understood and quickly mastered thanks to their graphical interfaces. However, many users are looking for lean programs for the terminal, which can be controlled, for example, via an SSH connection. Mps-youtube [10] is one of them: The command-line tool written in Python could run, for example, on a Raspberry Pi connected to your stereo.
Mps-youtube has not been around long enough for the program to be included in the repositories of major distributions. To install, you typically need to turn to the Python package manager Pip, by enter the following commands:
$ sudo apt-get install python-pip mplayer $ sudo pip install mps-youtube $ sudo pip install mps-youtube --upgrade
Here, the last command refreshes the program after an update. If you work with Debian "Jessie" or "Sid" or a beta version of Ubuntu 14.10 "Utopic Unicorn," mps-youtube can be installed via the package manager by calling apt-get install mps-youtube
.
Because mps-youtube does not include a graphical interface, the program is not available for clicking in the Start menu; instead, you call it by typing mpsyt
in a terminal window. The start screen of mps-youtube automatically acts as a command line. You can start a search for artists, albums, or songs on YouTube with a leading slash as in /onerepublic
or with an initial dot as in .onerepublic
. Pressing N or P jumps from page to page in the search results. Searches with two slashes or dots, such as //acid jazz
, only return playlists with the corresponding keyword.
Mps-youtube presents the results as a numbered list. You can then play the desired results by entering their numbers (Figure 6). Alternatively, you can press i <n>
to output information on the video. You can view the comments by pressing c <n>
or download the video to your hard disk with d <n>
. Related videos are displayed by pressing r <n>
, whereas u <n>
takes you to more videos by the respective YouTube user.
To avoid the continual need to select tracks, you can organize your favorite music in playlists. From the search, you can use add <n>
to add a song to the current playlist, or select add <n> <Playlist>
to add one to a different playlist. If the list does not currently exist, mps-youtube automatically creates it with the specified name.
In play mode, you can rewind and fast forward the song with the arrow keys, pause it with the spacebar, or press the number buttons to adjust the volume. Pressing Q stops the playback and returns to the latest search results.
Conclusions
Atraci, Minitube, Musictube, and mps-youtube give Linux users a rich selection of YouTube clients from which to choose. Atraci and Musictube offer nearly identical functionality; you only have to choose between a generic (Atraci) and a native interface (Musictube). Mps-youtube is likely to appeal only to die-hard Linux users as a console tool, although its functionality compares well with its competitors.
Minitube is the odd man out in this comparison because it focuses not just on music videos but searches through all of YouTube's offerings. If you like to use YouTube but prefer to do without the website, Minitube is your best bet.
Infos
- Atraci: https://github.com/Atraci
- Atraci download: https://github.com/Atraci/Atraci
- Atraci installer PPA: https://launchpad.net/~webupd8team/+archive/ubuntu/atraci
- Atraci-bin in the AUR: https://aur.archlinux.org/packages/atraci-bin/
- Atraci-git in the AUR: https://aur.archlinux.org/packages/atraci-git/
- Minitube: http://flavio.tordini.org/minitube
- Musictube: http://flavio.tordini.org/musictube
- Musictube in the Ubuntu Software Center: https://apps.ubuntu.com/cat/applications/musictube/
- Musictube in the AUR: https://aur.archlinux.org/packages/musictube/
- Mps-youtube: https://github.com/np1/mps-youtube
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome Fans Everywhere Rejoice for the Latest Release
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.