You are not logged in.
Pages: 1
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
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
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
No wheezy release in that repository, what with it being for Ubuntu and all
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
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
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 detailsI 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
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 detailsI 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 quotedyoutube-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
I got it working! Stupid amateur mistake I didnt add "sudo" to that command line
Offline
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 
Artwork at deviantArt; Iceweasel Personas; SLiM #! Themes; Openbox themes
Offline
One last request, anyway to have them automatically downloaded to a folder? Like music folder for example?
Offline
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
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 filepathyoutube-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
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 --helpwon't give a command not found error
sudo apt-get install youtube-dlshould install it for user, and it only needs sudo privileges when you use --update
Artwork at deviantArt; Iceweasel Personas; SLiM #! Themes; Openbox themes
Offline
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 --helpwon't give a command not found error
sudo apt-get install youtube-dlshould 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
^ I've just showed you the command to install using apt-get
Artwork at deviantArt; Iceweasel Personas; SLiM #! Themes; Openbox themes
Offline
^ 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
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
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-dlshould return
/home/username/bin/youtube-dlNote: 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-dlwhich checks with the sites current date download.
Last edited by brontosaurusrex (2014-01-23 08:09:51)
Online
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
^ 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. 
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.