-
 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:  781
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:  1  2 

-

 DEBUG mode

 
 by nick87720z on: Jan 15 2014
 
Score 50%


If environment variable DEBUG=yes is specified, it will just print command instead to run it.


Reply to this

-

 oops

 
 by nick87720z on: Jan 15 2014
 
Score 50%

Forgot, it is already in changelog S]


Reply to this

-
.

 Problem with konsole

 
 by nick87720z on: Jan 22 2014
 
Score 50%

Last time i noticed, that konsole uses $HOME (also referred as '~') as working dir, what doesn't happen e.g., with urxvt. Problem appears ONLY when program is invoked by link, dragged to icon. Manual runing of <$ youtube-dl-applet URL> in terminal doesn't cause it.

For now it is better just to use urxvt or some other emulator. URXVT is known to not have this problem.

It seems, runing of terminal emulator from previously changed directory is not so reliable. My current hope is to run command without it, using TE only to show log via some pipe.


Reply to this

-

 Re: Problem with konsole

 
 by nick87720z on: Jan 24 2014
 
Score 50%

Fixed without such trick.


Reply to this

-

 Hey thanks for the plugin but it does not work

 
 by trxyz on: Feb 1 2014
 
Score 50%

this is not work, after installation i drop link on launcher and nothing gonna append.
KDE 4.11


Reply to this

-

 Re: Hey thanks for the plugin but it does not work

 
 by nick87720z on: Feb 2 2014
 
Score 50%

Try to run in terminal emulator same command as in launcher:
youtube-dl-applet <url>

Yet i got cases (one video on vk.com), when even
$ youtube-dl <url>
typed directly, fails - they may be seen with enabled terminal emulator.


Reply to this

-

 Re: Hey thanks for the plugin but it does not work

 
 by nick87720z on: Feb 2 2014
 
Score 50%

Try to run in terminal emulator same command as in launcher:
youtube-dl-applet <url>

Yet i got cases (one video on vk.com), when even
$ youtube-dl <url>
typed directly, fails - they may be seen with enabled terminal emulator.


Reply to this

-

 Re: Hey thanks for the plugin but it does not work

 
 by nick87720z on: Feb 2 2014
 
Score 50%

Also try this:
$ bash --verbose $(which youtube-dl-applet)

Among other it will print all executed lines.


Reply to this

-

 Re: Hey thanks for the plugin but it does not work

 
 by nick87720z on: Feb 2 2014
 
Score 50%

What application or environment do you use for icon placement?

I got two issues with plasma-desktop:
- cometimes it may freeze, fully loading cpu without any effect;
- when object is above icon, indication of possible dropping doesn't appear, and if you drop before it happens, it is useless.


Reply to this

-
.

 About futher bugs

 
 by nick87720z on: Feb 6 2014
 
Score 50%

In this release i removed one forgotten line. Don't know, will it fix something, because for me it did not break nothing. If you will get some bug, try following steps until you get an error:

1. Run manually command: youtube-dl URL
2. Also in terminal:
> bash $(which youtube-dl-applet) URL

Second step will print all executed code, so it will be easier to figure out, what happens.


Reply to this

-

 Runtime dependencies

 
 by hateshark on: Feb 23 2014
 
Score 50%

Please mention youtube-dl in the runtime dependencies.


Reply to this

-

 Re: Runtime dependencies

 
 by nick87720z on: Feb 23 2014
 
Score 50%

Fixed. Did not add it first because assumed it essential.


Reply to this

goto page:  1  2 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

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.