SEARCH

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

You are not logged in.

#1 2014-01-22 23:45:07

DFC302
Member
Registered: 2014-01-08
Posts: 15

A ubuntu app for waldorf

Sorry I am new to #! and Debian altogether. Coming from ubuntu/mint.

Im trying to install "youtube-to-mp3" http://www.mediahuman.com/

Is there a way I can add the repository and download the application? http://www.mediahuman.com/repository.html

This is what I get when trying to add the repository, which is what I expected, anyway around this so I can add this one app?

Err http://www.mediahuman.com wheezy/main Sources
  404  Not Found
Err http://www.mediahuman.com wheezy/main amd64 Packages
  404  Not Found
Ign http://www.mediahuman.com wheezy/main Translation-en_US
Ign http://www.mediahuman.com wheezy/main Translation-en
W: Failed to fetch http://www.mediahuman.com/packages/ubun … ce/Sources  404  Not Found

W: Failed to fetch http://www.mediahuman.com/packages/ubun … 4/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

Thanks in advance!

Offline

Help fund CrunchBang, donate to the project!

#2 2014-01-23 00:15:02

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 3,735

Re: A ubuntu app for waldorf

Ubuntu is NOT Debian

I suggest you read up some on the dangers of trying to install non-Debian, which can lead to a lot of grief.

For downloading media from vimeo and youtube I use youtube-dl, a simple cli application which you can apt-get. ffmpeg is a powertool for any subsequent conversions you may want to do

EDIT
Looks like the Ubuntu/Debian download on that page is no longer available

Last edited by damo (2014-01-23 00:18:20)


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Offline

#3 2014-01-23 00:15:40

josephg
#! CrunchBanger
From: Surrey
Registered: 2011-10-24
Posts: 165
Website

Re: A ubuntu app for waldorf

DFC302 wrote:

E: Some index files failed to download. They have been ignored, or old ones used instead.

if anything actually installed from ubuntu repos , you have a problem.

Last edited by josephg (2014-01-23 00:17:24)


leaner code is cleaner code is more efficient code

Offline

#4 2014-01-23 00:18:07

iann
#! Die Hard
Registered: 2010-09-10
Posts: 711

Re: A ubuntu app for waldorf

No wheezy release in that repository, what with it being for Ubuntu and all wink  So you'll have to add it manually with an Ubuntu release, for example "deb http://www.mediahuman.com/packages/ubuntu saucy main".  Maybe precise will work better, being closer to Wheezy?  Whether it will work at all cross-distro is anybody's guess.

Offline

#5 2014-01-23 00:19:20

DFC302
Member
Registered: 2014-01-08
Posts: 15

Re: A ubuntu app for waldorf

damo wrote:

Ubuntu is NOT Debian

I suggest you read up some on the dangers of trying to install non-Debian, which can lead to a lot of grief.

For downloading media from vimeo and youtube I use youtube-dl, a simple cli application which you can apt-get. ffmpeg is a powertool for any subsequent conversions you may want to do

Thankyou guys for your quick responses. I went this route after not being able to download youtube-dl. I have it installed but keep getting python errors. For example:

dfc302@crunchbang:~$ youtube-dl http://www.youtube.com/watch?v=twRrPLZ_9vQ
  File "/usr/bin/youtube-dl", line 2
SyntaxError: Non-ASCII character '\x8c' in file /usr/bin/youtube-dl on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

I geany /usr/bin/youtube-dl and went to line 3 but I am not familiar with code and don't know what "encoding to declare" and going to site isn't very helpful to someone who doesn't understand much in coding. I have tried installing python 2.7 as well as 3.3 but no luck, same errors. If you can help that would be awesome!

Offline

#6 2014-01-23 00:40:16

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 3,735

Re: A ubuntu app for waldorf

DFC302 wrote:

Thankyou guys for your quick responses. I went this route after not being able to download youtube-dl. I have it installed but keep getting python errors. For example:

dfc302@crunchbang:~$ youtube-dl http://www.youtube.com/watch?v=twRrPLZ_9vQ
  File "/usr/bin/youtube-dl", line 2
SyntaxError: Non-ASCII character '\x8c' in file /usr/bin/youtube-dl on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

I geany /usr/bin/youtube-dl and went to line 3 but I am not familiar with code and don't know what "encoding to declare" and going to site isn't very helpful to someone who doesn't understand much in coding. I have tried installing python 2.7 as well as 3.3 but no luck, same errors. If you can help that would be awesome!

You aren't using the command properly - check it out with --help for all the options
The command needs to know what it is outputting to, and the url needs to be quoted

youtube-dl -o output-file.mp4 "http://www.youtube.com/watch?v=twRrPLZ_9vQ"

(Edit: I HATE that music!)

Last edited by damo (2014-01-23 00:42:10)


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Offline

#7 2014-01-23 00:51:03

DFC302
Member
Registered: 2014-01-08
Posts: 15

Re: A ubuntu app for waldorf

damo wrote:
DFC302 wrote:

Thankyou guys for your quick responses. I went this route after not being able to download youtube-dl. I have it installed but keep getting python errors. For example:

dfc302@crunchbang:~$ youtube-dl http://www.youtube.com/watch?v=twRrPLZ_9vQ
  File "/usr/bin/youtube-dl", line 2
SyntaxError: Non-ASCII character '\x8c' in file /usr/bin/youtube-dl on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

I geany /usr/bin/youtube-dl and went to line 3 but I am not familiar with code and don't know what "encoding to declare" and going to site isn't very helpful to someone who doesn't understand much in coding. I have tried installing python 2.7 as well as 3.3 but no luck, same errors. If you can help that would be awesome!

You aren't using the command properly - check it out with --help for all the options
The command needs to know what it is outputting to, and the url needs to be quoted

youtube-dl -o output-file.mp4 "http://www.youtube.com/watch?v=twRrPLZ_9vQ"

(Edit: I HATE that music!)

Lol sorry you hate the music, but thanks for assisting me. Although, I put the command in exactly how you put it and still got this error:

dfc302@crunchbang:~$ youtube-dl -o output-file.mp4 "http://www.youtube.com/watch?v=twRrPLZ_9vQ"
  File "/usr/bin/youtube-dl", line 2
SyntaxError: Non-ASCII character '\x8c' in file /usr/bin/youtube-dl on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Do I do something wrong?

Offline

#8 2014-01-23 01:02:58

DFC302
Member
Registered: 2014-01-08
Posts: 15

Re: A ubuntu app for waldorf

I got it working! Stupid amateur mistake I didnt add "sudo" to that command line

Offline

#9 2014-01-23 01:07:10

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 3,735

Re: A ubuntu app for waldorf

DFC302 wrote:

I got it working! Stupid amateur mistake I didnt add "sudo" to that command line

You shouldn't need sudo, except for --update.  Glad it's working though smile


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Offline

#10 2014-01-23 01:11:56

DFC302
Member
Registered: 2014-01-08
Posts: 15

Re: A ubuntu app for waldorf

One last request, anyway to have them automatically downloaded to a folder? Like music folder for example?

Offline

#11 2014-01-23 01:27:40

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 3,735

Re: A ubuntu app for waldorf

DFC302 wrote:

One last request, anyway to have them automatically downloaded to a folder? Like music folder for example?

Don't know what you mean by "automatic"?
Mr Google will show you lots of usage examples, but to d/l to your Music folder just use that in the output filepath

youtube-dl -o /path/to/music/filename.mp4 "http://....."

Did you actually try youtube-dl --help?


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Offline

#12 2014-01-23 01:45:25

DFC302
Member
Registered: 2014-01-08
Posts: 15

Re: A ubuntu app for waldorf

damo wrote:
DFC302 wrote:

One last request, anyway to have them automatically downloaded to a folder? Like music folder for example?

Don't know what you mean by "automatic"?
Mr Google will show you lots of usage examples, but to d/l to your Music folder just use that in the output filepath

youtube-dl -o /path/to/music/filename.mp4 "http://....."

Did you actually try youtube-dl --help?

Thanks bro. Thanks to everybody. Yeah I tried to do "youtube-dl --help" but it gave me a cmmd not found error. So i just looked it up on the web. The command you put though, is what I was looking for, so thanks for that!

Offline

#13 2014-01-23 01:51:45

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 3,735

Re: A ubuntu app for waldorf

I'm wondering how you installed youtube-dl? It sounds like you are using it as root, instead of user. If it only runs with sudo, then

sudo youtube-dl --help

won't give a command not found error

sudo apt-get install youtube-dl

should install it for user, and it only needs sudo privileges when you use --update


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Offline

#14 2014-01-23 01:54:33

DFC302
Member
Registered: 2014-01-08
Posts: 15

Re: A ubuntu app for waldorf

damo wrote:

I'm wondering how you installed youtube-dl? It sounds like you are using it as root, instead of user. If it only runs with sudo, then

sudo youtube-dl --help

won't give a command not found error

sudo apt-get install youtube-dl

should install it for user, and it only needs sudo privileges when you use --update

How do you install it for user? And your right it worked with sudo

Last edited by DFC302 (2014-01-23 01:55:46)

Offline

#15 2014-01-23 02:15:07

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 3,735

Re: A ubuntu app for waldorf

^ I've just showed you the command to install using apt-get


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Offline

#16 2014-01-23 03:07:07

DFC302
Member
Registered: 2014-01-08
Posts: 15

Re: A ubuntu app for waldorf

damo wrote:

^ I've just showed you the command to install using apt-get

.

Lol sorry. Now I remember why I had to do it differently. I went through the youtube-dl site to do it because when I would initalially try to install it that way, i would get this error:

dfc302@crunchbang:~$ sudo apt-get install youtube-dl
[sudo] password for dfc302:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package youtube-dl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'youtube-dl' has no installation candidate
dfc302@crunchbang:~$

Offline

#17 2014-01-23 06:06:03

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: A ubuntu app for waldorf

Looks like youtube-dl is not available in the stable (wheezy) repos. You can get it from squeeze-backports, testing, or unstable.

Last edited by anonymous (2014-01-23 16:25:10)

Offline

#18 2014-01-23 07:41:43

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

Re: A ubuntu app for waldorf

Wheezy is current stable & I don't see youtube-dl in repos.

This seems to work on wheezy;

wget http://yt-dl.org/downloads/2014.01.23/youtube-dl
chmod +x ./youtube-dl 
cp ./youtube-dl ~/bin/

Notice that i'am never sudo and that I copy the thing to the user path exe dir. btw: Using the https will get wget complaining, so I used http.

Then

which youtube-dl

should return

/home/username/bin/youtube-dl

Note: One should use sigs, md5 or something to compare it with the trusted site (If you don't trust the source that's useless of course),

md5sum youtube-dl
5820c5c5ea7c0fbf9ee03518b737c8a0  youtube-dl

which checks with the sites current date download.

Last edited by brontosaurusrex (2014-01-23 08:09:51)

Offline

#19 2014-01-23 16:01:43

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: A ubuntu app for waldorf

brontosaurusrex wrote:

Wheezy is current stable & I don't see youtube-dl in repos.

I forgot Squeeze was oldstable not stable. The rest of my statement is correct though.

Offline

#20 2014-01-23 16:21:31

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 12,674

Re: A ubuntu app for waldorf

^ Well, from a certain point of view; I suppose youtube-dl may be in squeeze-backports, but I can't find it in wheezy-backports...so it looks like a wgetting it from the developer's site is the best solution at this point.

As a moderator, I should point out that using any means to circumvent viewing a Youtube video via their API violates their TOS. neutral


I'm a moderator here.  How are we doing?  Feedback is encouraged.

Online

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.

Debian Logo