Showing posts with label gets. Show all posts
Showing posts with label gets. Show all posts

Thursday, March 2, 2017

mps youtube Migrates To YouTube API v3 Gets Ubuntu Sound Menu Support

mps youtube Migrates To YouTube API v3 Gets Ubuntu Sound Menu Support


mps-youtube 0.2.4 was released today and with this version, the app was migrated to YouTube API v3. This is an important change because the old v2 API was shut down recently so previous mps-youtube versions no longer work.

Another important change in this release is the addition of MPRIS v2 support, which means that mps-youtube can now make use of Ubuntus Sound Menu, GNOME Shell Media Player Indicator extension and so on.


mps-youtube is a command line YouTube audio player which supports both local and YouTube playlists (with built-in YouTube search).

By default, the app plays only the audio (it only downloads the audio stream, great for those with limited data plans) however, you can enable video playback from its options and in this case, mpv or mplayer is used to play the videos (other players might work, but only mpv and mplayer are officially supported).

Other mps-youtube features include downloading YouTube audio/video (including 1080p videos) - either single videos or complete YouTube playlists, transcode audio to mp3 and other formats (requires ffmpeg or avconv), optional system notifications as well as many other small but useful features.


mps-youtube 0.2.4


The latest mps-youtube 0.2.4 brings support for Data API v3, an important change because the old v2 API was shut down recently so previous mps-youtube versions no longer work.

Another important change in mps-youtube 0.2.4 is the addition of MPRIS v2 support. This allows integrating mps-youtube with the Ubuntu Sound Menu, GNOME Shell Mediaplayer Indicator extension and others.

To get this to work with the Ubuntu Sound Menu (used by default in Ubuntu w/ Unity and Xubuntu), you need to install a desktop file for mps-youtube. To speed things up, I created a desktop file for you and to install it, along with an YouTube icon, simply use the following commands (or download it from HERE and install it manually):
sudo apt-get install wget
cd /tmp
wget https://github.com/hotice/webupd8/raw/master/mps-youtube.tar.gz
tar -xvf mps-youtube.tar.gz
sudo cp /tmp/mps-youtube/youtube.png /usr/share/pixmaps/
sudo desktop-file-install /tmp/mps-youtube/mps-youtube.desktop
Then, start playing a song/video in mps-youtube and it should show up in the Ubuntu Sound Menu:


For GNOME Shell Mediaplayer Indicator extension, mps-youtube doesnt need a desktop file and it should work without any tweaks:


Besides these changes, mps-youtube 0.2.4 includes bug fixes:
  • Fix issue with rate-limiting in "album" command
  • Fix display issue with small terminal width

For how to install and configure mps-youtube, see THIS article.

Available link for download

Read more »

Wednesday, December 14, 2016

Nemo 2 6 Gets A Plugin Manager More Nemo With Unity Patches PPA Updated

Nemo 2 6 Gets A Plugin Manager More Nemo With Unity Patches PPA Updated


While Nemo 2.6 wasnt officially released yet (Cinnamon 2.6 is currently undergoing testing in the Linux Mint Romeo repository), its source has been available for some time on GitHub. 

Ive been using Nemo 2.6 (2.6.5) for about a week and it works great, so Ive decided upload it to the WebUpd8 Nemo (with Unity patches and without Cinnamon dependencies) PPA.

Nemo 2.6

Theres no official changelog yet but from what I can tell, Nemo 2.6 includes the following changes (I may have missed some improvements though):
  • added a plugin manager which allows easily enabling and disabling Nemo actions, extensions and scripts;
  • all toolbar buttons now use symbolic icons (except pathbar icons);
  • simplified context menus (with an option to show all available actions);
  • improved thumbnail generation;
  • bookmarks are now sortable;
  • improved Preferences dialog;
  • fixed support for org.freedesktop.FileManager1 dbus interface - this should allow apps that support opening a folder and highlighting a file in that folder to work properly (like Firefox - clicking on the folder icon from Downloads);
  • added a simple transition when toggling the location bar/pathbar;
  • show icons for templates in the "create new document" menu;
  • show location entry when "/" is entered;
  • file operations (such as copy) now use a queue system (paused until the previous job completes however, you can manually start new jobs).

The official Nemo extensions havent been updated to fully support the new Nemo plugin manager, thats why youll see "No information available" for each extension in the plugin manager. However, all v2.4. extensions should work with Nemo 2.6.

Also, the unpatched Nemo 2.6 can detect if the app generates thumbnails while running as root and prompts to fix this issue however, this depends on libcinnamon-desktop4 and since the purpose of the Nemo version I maintain is to be Cinnamon-free, Ive removed this functionality for the PPA packages.

Even so, this is an issue that shouldnt happen if you use Nemo properly: running it via pkexec (or via the Nemo contect menu > Run as Root, which uses pkexec) doesnt cause this issue. As an alternative way of fixing such issues, you can simply run "sudo rm ~/.cache/thumbnails".

Two more notes regarding the patched Nemo from the WebUpd8 PPA:
  • in the Plugin Manager, youll notice two "Change Desktop Background" Nemo actions - thats because one is for Unity and one for GNOME (Shell) and its only used if you enable Nemo to draw the desktop;
  • the "Create a new launcher here..." Nemo action only shows up in the Nemo context menu on the desktop and it requires gnome-panel to be installed or else it wont work.


Install Nemo 2.6 (with Unity patches and without Cinnamon dependencies) in Ubuntu


To install the latest Nemo 2.6 with Unity patches and without Cinnamon dependencies, see THIS article. 

Important: dont install this Nemo version in Linux Mint or if youre using Cinnamon desktop in Ubuntu, because it has all its Cinnamon-specific features removed.

Available link for download

Read more »