-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

YouTube DL Applet

   1.5  

KDE Other Utility

Score 66%
YouTube DL Applet
zoom


YouTube DL Applet
zoom


YouTube DL Applet
zoom


Minimum required   KDE 4.x
Downloads:  826
Submitted:  Jan 14 2014
Updated:  Apr 8 2014

Description:

This tool is convenient link handler, passing them to youtube-dl.
File name is properly detected by youtube-dl;
If case of multiple download modes for different quality and formats they are listed in menu (using youtube-dl -F option);

INSTALLATION

Just run ./install. For packaging variable DESTDIR is supported.

Runtime dependencies:
- bash
- coreutils
- grep
- kdialog
- notify-send (libnotify, in Debian/Ubuntu - libnotify-bin)
- optionally: some terminal emulator - previously was used to see progress, but now it is essential, using kdialog

USAGE

Place launcher on reachable for drag-n-drop place (panel, dock, etc), then just drag links from browsers to launcher.
Tested with konqueror, firefox and seamonkey, most other should work as well.
You may get some brief help, launching it directly by click.
Begining from version 1.5, it allowes to specify multiple formats for download.

CONFIGURATION

If you want to use default progress monitor, using kdialog, disable all download tools and terminal emulators (by default it is done).

Configuration is done currently by editing of configuration files in text editor. Description of files may be found in brief help.
To disable some "tools" or "term" variants just comment them by sharp (#), no need to remove them.

Since version 1.2.2, configuration files are created anyway if they don't exist, otherwise they are not changed.

CHOOSING DOWNLOAD TOOLS

Since version 1.3, progress is displayed by default, using kdialog.
Also download process may be fully managed by various download managers, using detected link.
However, there is no way for them to detect proper file name.
The only hope is when they accept filename argument; kde copy tool, which is in list by default, does it (its another feature is essential integration with KDE job control system).

Terminal emulator, initially used for progress tracking, may be still useful if you get some youtube-dl bug.
To disable some elements just clean this file (in this case there is nothing to probe).

Contact: nick87720z@gmail.com




Changelog:

TODO
- Integration with KDE KIO job control. May need another big refactoring, probably using other language.

Version 1.5
- Now can download multiple formats
- Show program name in all dialogs (forgot about kde-specific kdialog arguments)
- Program version and tip, how to recover video from youtube DASH files, in short help (still unsure, how better implement it using bash)

Version 1.4.5
- Don't use which command - some distros lack it out of box

Version 1.4.4
- Better desktop notifications, using notify-send instead of kdialog (new dependency, see README)

Version 1.4.3
- kdialog error messages from formats menu generator somehow missed /dev/null
- dev ooops: forgot to remove debug stuff, which printed generated menu and canceled program

Version 1.4.2
- Fixed formats list parser - now works not only with youtube
- Last element in formats list was not shown

Version 1.4.1
- Show url's as url's in all dialogs
- regression: Download formats menu did not appear

Version 1.4
- Show error text and cancel if youtube-dl produced error on first usage attempt
- Formated text in progress dialog

Version 1.3.1
- regression: Did not remember last used directory

Version 1.3
- Code refactoring
- Added support for external download tools
- Added progress dialog for terminal-less mode
- Terminal emulator is disabled by default for progress dialog
- Support for comments and empty lines in files with variants for probing
- Updated readme, extended startup help text
- Create or load non-existing configuration files even without any work

Version 1.2.2
- Added formats menu (auto-detection of best format by youtube-dl is not so perfect yet)
- Changed script backend shell to bash
- In some cases real working dir in terminal emulator was not same as in $PWD variable
- Write default term file if not found
- Extending term config file role: accept list of terminal emulators, probed begining from first
- Finally fixed DEBUG implementation code
- Set console title for terminal with runing youtube-dl
- Questionable usefulness of url list entry text box. Display usage help instead.
- Use desktop notification system in progress-less mode
- Typo in code comments

Version 1.2.1
- Wrong code in DEBUG mode, causing it to be always enabled

Version 1.2
- Added debug mode (use environment variable DEBUG=yes)
Bugfixes:
- In first start could not save configs because did not create config dir
- Did not use urls list from text box when started without arguments

Version 1.1.1
- Added copyright info

Version 1.1
- Added copying information to package;
- Changed layout of config files: now all files are in ~/.config/youtube-dl-applet
- Trying to find youtube-dl, if failed - ask user to select it
- Some comments in code, mostly for markup
- Info in readme, how to specify terminal

Version 1.0: Initial release




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from nick87720z
Report inappropriate content



goto page: prev   1  2 

-
.

 NOTHING happened!

 
 by pooky2483 on: Mar 8 2014
 
Score 50%
pooky2483pooky2483
Ubuntu Systems
Home
-
Peter Maddison 0

Ubuntu Systems
United Kingdom, Derby
Last visit Apr 2 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

I could not get <anything> to happen. I downloaded it to ~/Downloads/Archived and in dolphin (Kubuntu) after pressing F4 to open a small terminal window and typing ./install, it did nothing.
So I opened Dolphin again, this time under SUDO and STILL nothing happened!
What is going on???


Reply to this

-

 Re: NOTHING happened!

 
 by nick87720z on: Mar 8 2014
 
Score 50%

Run as root (use sudo or su -c, or just enter subshell with su command).

Almost all install notes (in all packages) mention this, but I thought it is obvious, that modification of system contents needs root permissions.


Reply to this

-

 Re: Re: NOTHING happened!

 
 by pooky2483 on: Mar 9 2014
 
Score 50%
pooky2483pooky2483
Ubuntu Systems
Home
-
Peter Maddison 0

Ubuntu Systems
United Kingdom, Derby
Last visit Apr 2 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

I DID...
<From my last post>
So I opened Dolphin again, this time under <SUDO> and STILL nothing happened!
What is going on???


Reply to this

-
.

 Re: Re: Re: NOTHING happened!

 
 by nick87720z on: Mar 9 2014
 
Score 50%

So, this time you ran dolphin itself from root? I never do so. There is no need for this. sudo is supposed to be part of command.

I updated readme just after my previous reply, it includes example command, try it.

Briefly:
- open terminal emulator in dolphin by F4
- don't forget to change to sources directory
- run command there


Reply to this

-

 Re: Re: Re: NOTHING happened!

 
 by nick87720z on: Mar 9 2014
 
Score 50%

Wait, are you runing it just by click in script file? In this case it doesn't anything, but just copies necessary files. It doesn't write nothing, like OK, Done, etc. Probably, it is already installed. Try command "youtube-dl-applet" and check applications menu (in KDE just type "youtube" in kde runner by F2 or in kickoff kde menu).


Reply to this

-

 Re: NOTHING happened!

 
 by nick87720z on: Mar 31 2014
 
Score 50%

Did you unpack that archive? And entered to unpacked dir?


Reply to this

-

 Getting Somewhere...

 
 by pooky2483 on: Mar 31 2014
 
Score 50%
pooky2483pooky2483
Ubuntu Systems
Home
-
Peter Maddison 0

Ubuntu Systems
United Kingdom, Derby
Last visit Apr 2 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

In Kubuntu, Dolphin, just press <F4> and it pops open a small 'terminal' style window with the location of the current folder you are browsing - So there is NO need to enter any location in terminal. Theres no need to change directory (as you are already at the location you need to be)

As previously explained, I downloaded the file to 'Downloads/Archived'
Typed ./install
-------------------
I read your ammended notes and so typed;
sudo ./install || su -c install
and it looks like it installed OK.

After putting the shortcut on the desktop and passing a link to it, it opened a file load/save box with 'youtube-dl not found' at the top (where the title goes).
So... What am I missing?



Reply to this

-

 Re: Getting Somewhere...

 
 by nick87720z on: Apr 1 2014
 
Score 50%

Captain Obviousity reports, you probably need to install youtube-dl :).


Reply to this

-

 Re: Getting Somewhere...

 
 by nick87720z on: Apr 1 2014
 
Score 50%

I have some idea. Do you have command "which" available? It is used to detect, wether youtube-dl available. I guess, some distros could don't have it installed by default. In this case i need to find other way of detection. I guessed it as essential as coreutils :S.

Try to run in command line "which youtube-dl".


Reply to this

-

 Re: Getting Somewhere...

 
 by nick87720z on: Apr 1 2014
 
Score 50%

Eliminated need for which command - just figured out builtin bash feature, for interested:
$ help command # =)

That command in debian/ubuntu is in debianutils package - some kind of distro feature :S.


Reply to this

-

 Re: Re: Getting Somewhere...

 
 by pooky2483 on: Apr 1 2014
 
Score 50%
pooky2483pooky2483
Ubuntu Systems
Home
-
Peter Maddison 0

Ubuntu Systems
United Kingdom, Derby
Last visit Apr 2 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

'help' did not produce anything usefull;
pooky2483@pooky2483-Kubuntu-1204-3:~$ help youtube-dl
bash: help: no help topics match `youtube-dl'. Try `help help' or `man -k youtube-dl' or `info youtube-dl'.

There is also 'man' - manual <command>

But there is no manual for youtube.

I will look into installing 'youtube-dll'


Reply to this

-

 Re: Re: Re: Getting Somewhere...

 
 by nick87720z on: Apr 1 2014
 
Score 50%

If you are about "help which", it was for bash coders, who eventually may need such feature :)


Reply to this

-

 Re: Re: Getting Somewhere...

 
 by pooky2483 on: Apr 1 2014
 
Score 50%
pooky2483pooky2483
Ubuntu Systems
Home
-
Peter Maddison 0

Ubuntu Systems
United Kingdom, Derby
Last visit Apr 2 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Installed 'youtube-dl'
tried to download a youtube video
https://www.youtube.com/watch?v=W4awyd8icQQ&feature=c4-videos

Failed to download!
Is it a 'secure' video or am I still missing something?


Reply to this

-

 Re: Re: Re: Getting Somewhere...

 
 by nick87720z on: Apr 1 2014
 
Score 50%

Pure youtube-dl fails as well:
.....
[youtube] RTMP download detected
[download] Destination: The Tooth Fairy-W4awyd8icQQ.unknown_video
ERROR: unable to download video

As for applet, it just posts last line from youtube-dl output, describing error, in such cases.


Reply to this

-

 Re: Re: Getting Somewhere...

 
 by pooky2483 on: Apr 1 2014
 
Score 50%
pooky2483pooky2483
Ubuntu Systems
Home
-
Peter Maddison 0

Ubuntu Systems
United Kingdom, Derby
Last visit Apr 2 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Also tried http://www.videoweed.es/file/f515f9675e683

And it reported Invalid URL !


Reply to this

-

 Re: Re: Re: Getting Somewhere...

 
 by nick87720z on: Apr 1 2014
 
Score 50%

Same...

$ youtube-dl http://www.videoweed.es/file/f515f9675e683
[generic] f515f9675e683: Requesting header
WARNING: Falling back on generic information extractor.
[generic] f515f9675e683: Downloading webpage
[generic] f515f9675e683: Extracting information
ERROR: Unsupported URL: http://www.videoweed.es/file/f515f9675e683; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.


Reply to this

-

 Re: Re: Re: Getting Somewhere...

 
 by nick87720z on: Apr 1 2014
 
Score 50%

It is just a gui for youtube-dl, so don't forget to try it pure first.


Reply to this

-

 Re: Re: Re: Re: Getting Somewhere...

 
 by pooky2483 on: Apr 1 2014
 
Score 50%
pooky2483pooky2483
Ubuntu Systems
Home
-
Peter Maddison 0

Ubuntu Systems
United Kingdom, Derby
Last visit Apr 2 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

I don't know what you mean by try it 'pure'


Reply to this

-

 Re: Re: Re: Re: Re: Getting Somewhere...

 
 by nick87720z on: Apr 1 2014
 
Score 50%

Under pure i mean invoking youtube-dl itself instead of via applet.


Reply to this

-

 Re: Re: Re: Re: Re: Re: Getting Somewhere...

 
 by pooky2483 on: Apr 1 2014
 
Score 50%
pooky2483pooky2483
Ubuntu Systems
Home
-
Peter Maddison 0

Ubuntu Systems
United Kingdom, Derby
Last visit Apr 2 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Tried to download (direct, via terminal & drop n drag)
https://www.youtube.com/watch?v=fm5QM-Rk6uU
and it failed too.



-

 Re: Re: Re: Re: Re: Re: Getting Somewhere...

 
 by nick87720z on: Apr 2 2014
 
Score 50%

youtube-dl itself is not my project - i only made a convenient gui.

Look there: http://youtube-dl.org/



-

 Re: Re: Re: Re: Re: Getting Somewhere...

 
 by nick87720z on: Apr 1 2014
 
Score 50%

Last link (just after this post) works for me.
I self had several cases, when some video could not be downloaded from tube, but succeed later.

Also it fails to download multiple videos from same hosting.


Reply to this

-

 Re: Re: Re: Re: Re: Re: Getting Somewhere...

 
 by pooky2483 on: Apr 1 2014
 
Score 50%
pooky2483pooky2483
Ubuntu Systems
Home
-
Peter Maddison 0

Ubuntu Systems
United Kingdom, Derby
Last visit Apr 2 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Tried the link again and got (again)
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 4645, in <module>
main()
File "/usr/bin/youtube-dl", line 4636, in main
_real_main()
File "/usr/bin/youtube-dl", line 4620, in _real_main
retcode = fd.download(all_urls)
File "/usr/bin/youtube-dl", line 869, in download
ie.extract(url)
File "/usr/bin/youtube-dl", line 1135, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl", line 1406, in _real_extract
url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data)
File "/usr/bin/youtube-dl", line 1406, in <genexpr>
url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data)
KeyError: 'sig'



-

 1.5: Mistake with multiple downloads support

 
 by nick87720z on: Apr 21 2014
 
Score 50%

I just figured out, that option -f specifies only preference order for possible failures.

I.e., it downloads first available format. However, there is undocumented support for n1+n2 format, specially designed for video+audio downloads, which are muxed.


Reply to this

goto page: prev   1  2 

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.