Command 'lsusb' is not found, that's because package "usbutils" is not installed, so install it first:lsusb |grep -i audio
Code: Select all
apt-get update
apt-get install usbutils
Command 'lsusb' is not found, that's because package "usbutils" is not installed, so install it first:lsusb |grep -i audio
Code: Select all
apt-get update
apt-get install usbutils
Thanks, looks good, Toni.Repository updated with latest gsu in Updated section and only smaller mpv available for installing with apt-get. Fixes post information changed:
http://murga-linux.com/puppy/viewtopic. ... 368#776368
If you like something to be changed in the information or in repository structure or inside sections I will do it.
I don't think it is good idea to edit included packages if there is easier way than upgrading package version. What do you think about separate m-play deb package with mplayer | mpv as dependency? I think it is fine to keep it in youtube-get with mplayer | mpv dependency. youtube-get might need modding to use uxterm and adding more dependencies anyway.I also added script "m-play" + menu item "Play with MPlayer" for playing a video from a file or a YouTube url with mplayer or mpv.
Code: Select all
root@debian:~# youtube-get
________________________________________________
Youtube downloader
________________________________________________
Found URL https://www.youtube.com/watch?v=PhHkSB1Yj3E
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Marina_Devyatova_-_Talyanochka_(PPZ_Russia_2011) 360p
Found URL https://www.youtube.com/watch?v=oS7j8O96vGc
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading ÐаÑина_ÐевÑÑова_-_Ð360p
Unable to parse command line: Invalid byte sequence in conversion input
Found URL https://www.youtube.com/watch?v=TypkCQszNJU
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading ÐаÑÑÑа-_ÐаÑина_ÐевÑÑова._-_Marina_Devyatova_Katyusha 360p
^[[?1;2cUnable to parse command line: Invalid byte sequence in conversion input
root@debian:~# 1;2c
Code: Select all
root@dog:~# youtube-get
________________________________________________
Youtube downloader
________________________________________________
Found URL https://www.youtube.com/watch?v=PhHkSB1Yj3E
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Marina_Devyatova_-_Talyanochka_(PPZ_Russia_2011) 360p
Found URL https://www.youtube.com/watch?v=oS7j8O96vGc
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ_-_пїЅпїЅпїЅпїЅ 360p
Unable to parse command line: Invalid byte sequence in conversion input
Found URL https://www.youtube.com/watch?v=TypkCQszNJU
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ-_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ_пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ._-_Marina_Devyatova_Katyusha 360p
Unable to parse command line: Invalid byte sequence in conversion input
root@dog:~#
Code: Select all
# File generated by update-locale
LANG=en_US.UTF-8
Code: Select all
root@debian:~# youtube-get
________________________________________________
Youtube downloader
________________________________________________
Found URL https://www.youtube.com/watch?v=PhHkSB1Yj3E
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Marina_Devyatova_-_Talyanochka_(PPZ_Russia_2011) 360p
Found URL https://www.youtube.com/watch?v=oS7j8O96vGc
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Марина_Дев
Code: Select all
root@dog:/mnt/sda2/yt# ./youtube-get
________________________________________________
Youtube downloader
________________________________________________
Found URL https://www.youtube.com/watch?v=PhHkSB1Yj3E
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Marina_Devyatova__Talyanochka_PPZ_Russia_2011 360p
Found URL https://www.youtube.com/watch?v=oS7j8O96vGc
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading oS7j8O96vGc 360p
Found URL https://www.youtube.com/watch?v=TypkCQszNJU
Downloading the code
Done
Parsing
Found: Itag:18 Quality:360p
Downloading Marina_Devyatova_Katyusha 360p
root@dog:/mnt/sda2/yt#
Hi, Fred.fredx181 wrote:For the 2nd video the ID name is used (with short displaying message)
The 3rd shows as filename only the english part of the title.
Hi Fred,fredx181 wrote:Hi All,
See for YouTube-Get (A simple YouTube downloader application I made), in the 'Utility' thread:
http://www.murga-linux.com/puppy/viewto ... 586#831586
Fred
William,William wrote:Just wondering if you are sure the code is GPL? I think I know the original outline is from Dr. Mark Humphrys as a student exercise at Dublin City University. Aside from the yad additions and translation of small percentdecode perl script to bash I think its important, if we can assume GPL, to give credit to Mark, at least, for the general idea? Especially since you are publishing the code.
Certainly nice to have a yad frontend to that and general improvements re locales you are working on. Just hope youtube format doesn't change for a while!
Yes, it could by fine if there was no better way, I found it by checking for non-printable characters and only in that case fallback to the video ID name.It is fine this way if you ask me. Even if you make it to use video ID for every download will be OK.
Code: Select all
apt-get update
dpkg -i mpv_0.8.0dd_i386.deb
# It gives the following errors:
# dpkg: error processing mpv (--install):
# dependency problems - leaving unconfigured
# Processing triggers for desktop-file-utils ...
# Processing triggers for hicolor-icon-theme ...
# Processing triggers for mime-support ...
# Errors were encountered while processing:
# mpv
apt-get -f install
# apt-get displays that it will remove mpv, which doesn't make sense. Here is what it displays:
# The following packages will be REMOVED:
# mpv
Strange, doing the exact same I got:How do you install mpv?
I tried the followings:
-----
Code: Select all
root@dog:~# apt-get update
---------
---------
Reading package lists... Done
root@dog:~# dpkg -i mpv_0.8.0dd_i386.deb
Selecting previously unselected package mpv.
(Reading database ... 32000 files and directories currently installed.)
Unpacking mpv (from mpv_0.8.0dd_i386.deb) ...
dpkg: dependency problems prevent configuration of mpv:
mpv depends on libva-glx1; however:
Package libva-glx1 is not installed.
mpv depends on libva1; however:
Package libva1 is not installed.
mpv depends on libdvdnav4; however:
Package libdvdnav4 is not installed.
mpv depends on libguess1; however:
Package libguess1 is not installed.
mpv depends on libv4l-0; however:
Package libv4l-0 is not installed.
mpv depends on libpulse0; however:
Package libpulse0 is not installed.
mpv depends on libbs2b0; however:
Package libbs2b0 is not installed.
mpv depends on libjack0; however:
Package libjack0 is not installed.
mpv depends on libx264-132; however:
Package libx264-132 is not installed.
mpv depends on libenca0; however:
Package libenca0 is not installed.
mpv depends on libcdio-cdda1; however:
Package libcdio-cdda1 is not installed.
mpv depends on libcdio13; however:
Package libcdio13 is not installed.
mpv depends on libmpg123-0; however:
Package libmpg123-0 is not installed.
mpv
dpkg: error processing mpv (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for mime-support ...
Errors were encountered while processing:
mpv
root@dog:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libasyncns0 libbs2b0 libcaca0 libcdio-cdda1 libcdio-paranoia1 libcdio13
libdvdnav4 libenca0 libguess1 libjack0 libjson0 liblircclient0 libmowgli2
libmpg123-0 libpulse0 libsndfile1 libv4l-0 libv4lconvert0 libva-glx1
libva-x11-1 libva1 libvdpau1 libvorbis0a libvorbisenc2 libwrap0 libx264-132
Suggested packages:
libdvdcss2 jackd1 lirc pulseaudio nvidia-vdpau-driver vdpau-driver
Recommended packages:
tcpd
The following NEW packages will be installed:
libasyncns0 libbs2b0 libcaca0 libcdio-cdda1 libcdio-paranoia1 libcdio13
libdvdnav4 libenca0 libguess1 libjack0 libjson0 liblircclient0 libmowgli2
libmpg123-0 libpulse0 libsndfile1 libv4l-0 libv4lconvert0 libva-glx1
libva-x11-1 libva1 libvdpau1 libvorbis0a libvorbisenc2 libwrap0 libx264-132
0 upgraded, 26 newly installed, 0 to remove and 27 not upgraded.
1 not fully installed or removed.
Need to get 2,875 kB of archives.
After this operation, 8,557 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Code: Select all
apt-get install mpv
Code: Select all
apt-get purge mpv
Code: Select all
#deb ftp://ftp.deb-multimedia.org wheezy main non-free
Code: Select all
apt-get install mpv
....
....
The following packages have unmet dependencies:
mpv : Depends: libx264-132 but it is not installable
E: Unable to correct problems, you have held broken packages.
That's good. The only reason I commented about it was that youtube downloaders are of big interest generally and I feel that DebianDog may be of bigger interest also than Toni or yourself may imagine. Such a small Debian system is, I feel very up and coming and likely to be of interest to many. I could imagine the underlying script authors being upset if they came across the DD thread and weren't mentioned in regards to this utility.fredx181 wrote: Added also info about source on top of script and in description in DEBIAN/control file
Also please see my Edit2 and check out new uploaded .deb
To be honest I don't know much about GPL, how can I know the code is GPL?
Just a pedantic clarification:Keisha wrote:I've had a conversation in email with the author of infinality, bohoomil.
most probably, bohoomil will take up the torch: http://www.infinality.net/forum/viewtopic.php?f=2&t=350infinality wrote:If it isn't already obvious, I've not had the drive and dedication recently to continue work on this project. I still demand awesome font rendering, but think that maybe I've done my contribution thus far and would like to turn it over to someone who will at least take care of bugfixes and patching cleanly to new versions of freetype.
and before and after screenshots, maybe?I have them both compiled, but I want to do some testing and maybe preliminary configuration setup first.
Code: Select all
/etc/fonts/conf.avail.infinality/fc-presets set
Code: Select all
mv -f /usr/lib/i386-linux-gnu/libfreetype.so.6.8.1 /usr/lib/i386-linux-gnu/libfreetype.so.6.8.1--original
mv -f /usr/lib/i386-linux-gnu/libfreetype.so /usr/lib/i386-linux-gnu/libfreetype.so--original
ldconfig
Code: Select all
mv -f /usr/lib/i386-linux-gnu/libcairo.so.2.11200.2 /usr/lib/i386-linux-gnu/libcairo.so.2.11200.2--original
mv -f /usr/lib/i386-linux-gnu/libcairo.so.2 /usr/lib/i386-linux-gnu/libcairo.so.2--original
ldconfig
Code: Select all
xdpyinfo | grep resolution