SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-06-27 10:32:14

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

mps-youtube or consume youtube like a pro

about
is a new tool which, besides being able to download YouTube videos (either the whole video or just the audio), can also search and play YouTube videos and create local playlists, all from the command line.

links
http://www.webupd8.org/2014/02/new-comm … r-and.html
https://github.com/np1/mps-youtube

instaladar

sudo apt-get install python-pip
sudo pip install mps-youtube

start & configurar (just an example)

mpsyt
set show_video true
set
set window_pos top-left
set window_size 960x600
set search_music false

search

/blender

and a lot more ...

scrot
mps2.jpg

(poor) alternatives
a. Apparently it is possible to compile mpv in way that accepts youtube links directly, not working for me.
b. Various youtube_dl > mpv scripts, not working for me.

Last edited by brontosaurusrex (2014-06-27 11:57:25)

Offline

Help fund CrunchBang, donate to the project!

#2 2014-06-27 15:26:32

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: mps-youtube or consume youtube like a pro

Does this comply with the Youtube API, or does it circumvent it?

Offline

#3 2014-06-27 17:23:32

twoion
Emerald Caffeine
From: 星界
Registered: 2012-05-11
Posts: 1,648

Re: mps-youtube or consume youtube like a pro

Apparently, it doesn't use the API (it utilizes libpafy to interface with youtube, which doesn't work with it by default AFAIU). https://github.com/np1/pafy/issues/28


Tannhäuser ~ {www,pkg,ddl}.bunsenlabs.org/{gitlog,repoidx}

Offline

#4 2014-06-27 19:44:17

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: mps-youtube or consume youtube like a pro

pvsage wrote:

Does this comply with the Youtube API, or does it circumvent it?

Seems to be in sid,

p.s. i haven't study the background at all, if you think its too fishy, feel free to delete the thread.

Offline

#5 2014-06-27 19:52:34

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: mps-youtube or consume youtube like a pro

I don't play that kind of hardball; I just wanted to be sure we brought up the issue before one of our hardliners chimed in.

Offline

#6 2014-08-04 09:42:02

Alad
Software Satan
Registered: 2014-02-20
Posts: 1,512

Re: mps-youtube or consume youtube like a pro

Just tried mps-youtube, looks pure win so far.

As to youtube-dl + mpv, I use a .bashrc function:

yt() {
	mpv -quiet $(youtube-dl -g "$1")
}

Offline

#7 2014-09-02 09:27:47

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 638

Re: mps-youtube or consume youtube like a pro

I am using this now instead of youtube-dl
maybe off topic? but I also use something that in use looks and feels very similar only it is for searching and downloading music - I heard abt it here
poor mans spotify
when you look in the folder the starter script is also called mps


Troll = not a fanatic
slave of #!  and arch

Offline

#8 2014-09-03 01:51:15

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: mps-youtube or consume youtube like a pro

Re legality, morality etc - if it's in the Debian repos then I guess many intelligent and high-principled people have already been over the issues, and we needn't really go through it all again here.

Still...
The legal aspects of storing media locally vs streaming vary from country to country, but the internet is very widely accessible (I'd like to say universally accessible, but let's not forget countries like China) so software which is legal to use where it was written may not be legal in the country where you live. shifty.gif

Until the Internet Police find a way of monitoring your activity, it's basically up to you and your conscience...

btw there are also YouTube downloader addons available for Firefox on the Mozilla site, so they also have presumably thought this stuff through to some extent.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

#9 2014-09-03 06:34:49

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: mps-youtube or consume youtube like a pro

@johnraff:  ...except mps-youtube isn't in the Debian repos; python-pip is, and that is used to install Python scripts from a (hopefully trustworthy) third-party repo.

Offline

#10 2014-09-03 18:45:41

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: mps-youtube or consume youtube like a pro

pvsage wrote:

@johnraff:  ...except mps-youtube isn't in the Debian repos; python-pip is, and that is used to install Python scripts from a (hopefully trustworthy) third-party repo.

it's not? https://packages.debian.org/jessie/amd6 … e/filelist

Offline

#11 2014-09-03 20:34:29

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: mps-youtube or consume youtube like a pro

^ Not in Stable anyway; I'd expect it to be one of the Freeze shakedown casualties, along with Minitube, which was in both Squeeze and Wheezy before their freezes.

Offline

#12 2014-09-04 09:00:55

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: mps-youtube or consume youtube like a pro

I see smile

Offline

#13 2014-09-04 20:11:40

vlax
#! CrunchBanger
From: Alcatraz
Registered: 2012-12-25
Posts: 101
Website

Re: mps-youtube or consume youtube like a pro

nice, i like to not to use browser allways just to watch a video...


'_[=]_'

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo