From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czvWN-0003h7-Bc for guix-patches@gnu.org; Sun, 16 Apr 2017 21:32:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czvWM-00047B-7o for guix-patches@gnu.org; Sun, 16 Apr 2017 21:32:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czvWM-000476-4s for guix-patches@gnu.org; Sun, 16 Apr 2017 21:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1czvWL-0006Me-VW for guix-patches@gnu.org; Sun, 16 Apr 2017 21:32:01 -0400 Subject: bug#26538: [PATCH 0/1] gnu: Add youtube-dl-gui. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czvVu-0003b0-US for guix-patches@gnu.org; Sun, 16 Apr 2017 21:31:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czvVu-0003f1-28 for guix-patches@gnu.org; Sun, 16 Apr 2017 21:31:34 -0400 Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]:33072) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czvVt-0003eb-SJ for guix-patches@gnu.org; Sun, 16 Apr 2017 21:31:33 -0400 Received: by mail-pg0-x22c.google.com with SMTP id 63so4984923pgh.0 for ; Sun, 16 Apr 2017 18:31:33 -0700 (PDT) From: Chris Marusich Date: Sun, 16 Apr 2017 18:30:43 -0700 Message-Id: <20170417013043.27302-1-cmmarusich@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26538@debbugs.gnu.org Cc: Chris Marusich Hi, This patch adds youtube-dl-gui. I've confirmed that it works on GuixSD and a foreign distro. I've confirmed that downloading a video in the default format works, and I've confirmed that converting the video to an audio-only MP3 file works, too. I didn't exhaustively test all combinations of the various options, but the program seems to be working well enough. There was one minor issue that really bugged me which I couldn't figure out. It only happens when running youtube-dl-gui on a foreign distro - Ubuntu, to be exact. The issue is this: when downloading a video that contains Japanese characters in the title [1], the title of the video displayed in the youtube-dl-gui application contains boxes instead of Japanese characters. These boxes contain hexadecimal values, which I suppose are the Unicode code points for the Japanese characters. It's as if youtube-dl-gui (or one of its dependencies) failed to find a Japanese font. In any case, once the file has been saved to the local file system, other applications (e.g., Ubuntu's file browser) display the Japanese characters in the file name correctly. This only happens on a foreign distro. In GuixSD, youtube-dl-gui displays the Japanese characters correctly. To fix the issue, I tried installing Japanese fonts to Ubuntu via apt-get. I tried installing Japanese fonts into my Guix profile. Nothing worked; youtube-dl-gui continued to display boxes instead of Japanese characters. If anybody has any ideas for how to fix this, please let me know. [1] Example: https://www.youtube.com/watch?v=k4xGqY5IDBE Chris Marusich (1): gnu: Add youtube-dl-gui. gnu/packages/video.scm | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) -- 2.12.0