Tag Archives: youtube

Nuclear is a Multi-Source Desktop Music Player

If you feel there’s a gap in your life for an Electron-based, cross-platform music player capable of streaming from multiple online sources, I’ve a plug for you. Nuclear is a (rather naughty) music streaming app that “pulls in content from free sources all over the internet”. In aim it’s somewhat similar to Tomahawk, but visually owes more to an ultra […]

This post, Nuclear is a Multi-Source Desktop Music Player, was written by Joey Sneddon and first appeared on OMG! Ubuntu!.

Read More

Floating YouTube Videos on the Ubuntu Desktop

yout youtube playlist playerLooking for a neat-o way to play YouTube playlists on your desktop, outside your browser? Take a looksie at Yout, an Electron app that lets you add and watch YouTube playlists on your desktop, floating window stylee. Yout is not the most user-friendly of apps. The first time you run it you won’t be entirely sure how you […]

This post, Floating YouTube Videos on the Ubuntu Desktop, was written by Joey-Elijah Sneddon and first appeared on OMG! Ubuntu!.

Read More

Download Torrents And YouTube Videos With FrostWire

FrostWire is a free, open source Java downloader, BitTorrent client and media player, which comes with a built-in multi-tracker search (like TPB, Yify, Mininova, etc.) as well as YouTube and SoundCloud search/download support. The application is available for Linux, Windows, Mac OS X and Android.
FrostWire Ubuntu
The app is not new but I’ve never covered it on WebUpd8 and after receiving a review request and trying it recently, I decided it deserves an article here since it’s a really good app, despite being a bit bloated.

Probably the most important FrostWire feature is its ability to search multiple BitTorrent trackers in the same time as well as YouTube, SoundCloud and Archive.org. The search results are filtered by file type audio, video, images, documents or apps so the results don’t get cluttered with stuff you don’t need which is much needed, considering the multiple sources the app is able to search:

FrostWire Ubuntu

FrostWire will connect to all the major BitTorrent indexes of the internet and pre-fetch torrents (via the libtorrent DHT or via HTTP if it can’t find it on the DHT), it will then index locally all the available metadata that’s indexed by the torrent file, as the user searches, the local index gets better and better to yield richer and instant results“.

At the time I’m writing this article, FrostWire supports searching and downloading content from TPB, FrostClick, KAT, Yify, BitSnoop, Extratorrent, Mininova, Monova, TorLock and BTJunkie BitTorrent trackers / search engines as well YouTube, SoundCloud and Archive.org.
For YouTube, the app allows downloading the audio only or the complete video and you can choose which format to download (1080p video downloads are supported).
Another very important FrostWire feature is the ability to play audio and video while downloading from the BitTorrent networks and previewing the content from YouTube or SoundCloud before downloading:

For this, the app comes with a built-in media player but you can also use external players such as VLC. For YouTube and SoundCloud previewing though, only the internal player is supported or at least that was the case in my test.
There’s even an integrated media library which organizes your downloads in various categories (audio, video, images, programs, books/docs) and there’s also a huge list of online radio stations available and an option to add more stations (one note though: many of the stations I’ve tried didn’t work):

And finally, the last major feature available in FrostWire is the ability to easily share content with your friends or between multiple devices (such as your desktop and Android device) – for how to send files from an Android device to a desktop, see THIS video. It’s important to mention that once you share a file, it’s available to everybody on the BitTorrent network so keep this in mind before using this feature.
Under the hood, FrostWire uses frostwire-jlibtorrent, a swig Java interface for libtorrent for the BitTorrent part and MPlayer for media playback, along with H2 database and Lucene indexes for the search. For more information, see its GitHub page.
The application was updated recently (v6.1.3) with lots of fixes (including a fix for saving downloads on external drives), Windows 10 compatibility, fixed Soundcloud search and download, resumable Archive.org downloads as well as important changes on the way the BitTorrent engine works which allowed simplifying seeding settings.

Download FrostWire

Download FrostWire – binaries available for Linux (64bit only): deb, rpm and generic, Windows, Mac OS X and Android as well as source

Report any bugs you may find in the desktop version HERE.

Thanks to Giancarlo

Read More

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 Ubuntu’s 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 doesn’t 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.

Read More

YouTube Viewer: A Complete YouTube Client For Linux [Ubuntu PPA]

YouTube Viewer is an application written in Perl that can be used to search, play and download YouTube videos.

The app ships with two interfaces: GTK2 and comamnd line and it offers a wide range of features, like an advanced search, browsing YouTube categories, view your subscriptions, favorites or recommended videos, view complete video information (including comments, upvotes/downvotes, video category and so on and allows posting comments from the app) and more.

YouTube Viewer

YouTube Viewer features:

  • GTK2 and command line interfaces;
  • search, play and download YouTube videos;
  • supported external players: mplayer (and mplayer2), mpv, vlc and SMPlayer (for a complete GUI for mpv/mplayer) and you can add more in the configuration file;
  • displays complete video information: video length, number of views, upvotes/downvotes, uploader, video category and upload date;
  • you can see video comments, add a comment, rate a video, add it to favorites and so on, directly from YouTube Viewer;
  • log in to your YouTube account and see your subscriptions, favorites, recommended videos and watch history;
  • advanced YouTube search: you can choose to search for videos, channels or playlists, sort search results by relevance, rating, view count or date published as well as upload date (all time, this month, this week or today), search by video duration and so on, with configurable results per page;
  • list the latest videos uploaded or favorited by a user, list playlists created by a user or subscription videos for a username;
  • browse YouTube videos by categories or tops (top rated, top favorites, most shared, most popular, etc.);
  • supports entering a YouTube video URL in the search field to play that video;
  • more.

YouTube Viewer is a great application that supports pretty much everything you can do directly on the YouTube website (well, without uploading or editing videos), but it lacks a pretty important feature: it can’t play 1080p videos. That’s because YouTube now uses DASH for 1080p videos, with separate audio and video streams, which is not supported by YouTube Viewer for now.
Also, the UI could use some improvements, especially the Preferences dialog, which currently displays the options available in the configuration file as plain text:

YouTube Viewer

Here are a few more YouTube Viewer screenshots:

YouTube Viewer

YouTube Viewer

YouTube Viewer
The command line interface comes with pretty much the same features as the GUI and is very easy to use – type “youtube-viewer” in a terminal, then type “:h” to see all the available options (you can also use “youtube-viewer –help” to achieve the same thing):

YouTube Viewer

YouTube Viewer

Important: in my test, YouTube Viewer didn’t work properly with VLC and using it with mplayer may result in some videos not working (due to the videos using an encrypted signature), so for best results, use this application with mpv. To set YouTube Viewer to use mpv as the video player, from its menu select Preferences and change the “video_player_selected” value to “mpv”.

Install YouTube Viewer in Ubuntu 15.04, 14.10 and 14.04 Or Linux Mint 17.1 and 17

1. Install mpv

Like I said above, even though YouTube Viewer supports multiple video players, right now it only works properly with mpv or at least that was the case in my test. To install mpv in Ubuntu 15.04, 14.10 or 14.04 / Linux Mint 17.1 or 17, simply use the following command:
sudo apt-get install mpv

Ubuntu 14.04 and 14.10 have a pretty old mpv version so if you want to install a newer version, I recommend using Doug McMahon’s mpv PPA.

2. Install YouTube Viewer

To make it easier to install, I’ve uploaded the latest YouTube Viewer from GIT to the main WebUpd8 PPA, for  Ubuntu 15.04, 14.10 and 14.04 / Linux Mint 17.1 and 17. Add the PPA and install YouTube Viewer using the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install youtube-viewer

Arch Linux users can install YouTube Viewer (GIT) via AUR: cli | gtk

For other Linux distributions, see the YouTube Viewer Google Code and GitHub pages.

Report any issues you may find @ GitHub.

Thanks to Hund for the tip!

Read More

Command Line YouTube Player `mps-youtube` Sees New Release(s)

mps-youtube was updated to version 0.2.2 (and shortly after to 0.2.3) recently, bringing some interesting new features, like an option to use an external application for downloading YouTube videos, metadata tagging of downloaded audio files and more.

mps-youtube

mps-youtube is a a command line tool to search, play and download YouTube videos, which supports both local and YouTube playlists.

By default, mps-youtube is basically a YouTube audio player, but it can also serve as a YouTube video player (and downloader), by enabling external video playback (officially, it supports mpv and mplayer for video playback) from its options.

What makes mps-youtube special is the easy to use command line interface, the integrated YouTube search and the ability to download and play only the audio stream, great for those with limited data plans. Here’s a list of the most important mps-youtube features:
  • search and play audio / video from YouTube;
  • search tracks of albums by album title;
  • search and import YouTube playlists;
  • create and save local playlists;
  • download audio / video from YouTube, including option to download full YouTube playlists, with support for DASH (so it can mux separate audio and video streams – that means it can download 1080p YouTube videos since all 1080p YouTube videos use DASH) – requires avconv or ffmpeg;
  • transcode audio to mp3 and other formats (requires ffmpeg or avconv);
  • system notifications;
  • view video comments;
  • works under Linux, Windows and Mac OSX;
  • many other small but useful features.

Now back to mps-youtube 0.2.2 (and 0.2.3, which was released shortly after 0.2.2). Probably the most important new feature is the addition of an option which allows setting an external application for downloading YouTube audio/video. This means you can use something like aria2, which supports multiple connections
To set mps-youtube to use aria2, firstly make sure aria2 is installed:
sudo apt-get install aria2

And then use the following command in mps-youtube to set the external download command to aria2:

set download_command aria2c --dir=%d --out=%f %u

For instance, to set the download_command to aria2 and use 4 connections, use:

set download_command aria2c -s4 -x4 --dir=%d --out=%f %u

For more info about this, type “help dl-command” in mps-youtube.

It’s important to mention that using an external download command does not support (at least for now) transcoding the downloaded file to another format directly from mps-youtube.

Other changes in mps-youtube 0.2.2 and 0.2.3:

  • implemented skip to previous track. Use > and < keys for next and previous track, q for quit (was ctrl-c). mpv / mplayer input.conf can be imported to use custom keymappings;
  • implemented metadata tagging of downloaded audio files (requires ffmpeg or avconv). This feature is not complete and currently, it uses the YouTube video title as metadata;
  • the stream quality is now displayed in the status line;
  • fixed progress bar for mpv 0.7;
  • fixed YouTube comments overshoot window size;
  • fixed issue with audio remux when using d download command;
  • fixed issue with “set” command.

Install mps-youtube

Arch Linux users can install the latest mps-youtube via AUR (still at version 0.2.1 at the time I’m writing this article).

mps-youtube is available in Ubuntu 14.10 and 15.04 repositories as well as Debian Sid and Jessie however, that’s an older version so if you want to install the latest version in Ubuntu, Debian, Linux Mint and so on, you can use PIP:

1. Install Python PIP:

sudo apt-get install python-pip

2. Install mps-youtube using Python PIP:

sudo pip install mps-youtube

3. You’ll also need either mpv or mplayer(2) if you want to play audio or video via mps-youtube.

mpv is available in the official Ubuntu 14.04, 14.10 and 15.04 repositories as well as in Debian Jessie and Sid so to install it, use the following command:
sudo apt-get install mpv

The mpv version in Ubuntu is pretty old so if you want to install a newer version, you can use Doug McMahon’s mpv PPA.

Of course, you can also use mplayer2, which is available in the official repositories for any Ubuntu / Debian version – install it using the following command:

sudo apt-get install mplayer2

If you had mps-youtube installed and you want to upgrade it (or you want to upgrade it later on, when a new version is released), use the following command:
sudo pip install mps-youtube --upgrade
For Windows and Mac OS X installation instructions, bug reports and so on, see the mps-youtube GitHub page.

Configuring and using mps-youtube

To start mps-youtube, use the following command:

mpsyt

Before using mps-youtube, you’ll need to configure it, in case you won’t like the defaults.

mps-youtube 0.2.3 uses mpv as the default media player but you can change this to mplayer2 by using the following command:
set player mplayer

(that’s not a typo, the mplayer 2 executable is “mplayer”).

By default, mps-youtube searches for music only. If you want to disable this, use the following command:

set search_music false

Also, mps-youtube plays only the audio by default so if you wish to enable playing videos (using the player set above), run the command below (once again, after running “mpsyt”):
set show_video true

You can view all the available configuration options by using the command below:
set

mps-youtube

Searching for music / videos using mps-youtube is as easy as adding “.” or “/” in front of the search terms (without the quotes). For instance, to search for Volbeat, you can use:
.volbeat

or:

/volbeat
You can navigate to the next / previous page of results by using “n” (next) and “p” (previous).

To play an item, enter its number. You can also play multiple items, for instance, use “1-5” to play items 1 to 5 or “1, 2, 6” to play the first, second and sixth item and so on.

mps-youtube

To download an item, use:

d ITEM-NUMBER
For example, to download the 3rd search result, use “d 3” – this displays all the available audio and video formats and lets you choose which to download (see screenshot above). You can also download the best audio (use “da ITEM-NUMBER”) or best video (use “dv ITEM-NUMBER”). This works for both searches and playlists.

This is just to get you started so for more information on using mps-youtube, type “h” and then “help TOPIC” (where topic is “basic”, “search” and so on) as explained in mps-youtube:

mps-youtube

Read More