Welcome, Guest. Please login or register.
April 20, 2014, 06:49:09 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  General
| |-+  General topics
| | |-+  Question about youtube-dl
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Question about youtube-dl  (Read 1418 times)
zvacet
Pardus fellow craft
**
Posts: 97



View Profile
« on: November 16, 2011, 01:26:32 AM »

I tried just for fun to install youtube-dl and convert some file to mp3.I know what kind answers I will get;"You can do it with addon on your browser" or something similar.But what interested me is that youtube-dl can not download files.In Ubuntu it look like this

Code:
youtube-dl -f 35 [http://www.youtube.com/watch?v=9cadbYIzhqQ/code]

and you have your file.But in Pardus output is

[code] youtube-dl -f 35 http://www.youtube.com/watch?v=9cadbYIzhqQ
[youtube] Setting language
[youtube] 9cadbYIzhqQ: Downloading video webpage
[youtube] 9cadbYIzhqQ: Downloading video info webpage
[youtube] 9cadbYIzhqQ: Extracting video information
ERROR: no fmt_url_map or conn information found in video info

Is this program working differently in Pardus or it is not working at all?It is not a big deal,because there are other ways to do same thing,but it will be nice to know what is going on.[/code]
Logged
zvacet
Pardus fellow craft
**
Posts: 97



View Profile
« Reply #1 on: November 16, 2011, 01:45:20 AM »

After some search on net I find this. And it is explained why I get errors.

Quote
ERROR: no fmt_url_map or conn information found in video info

youtube has switched to a new video info format in July 2011 which is not supported by old versions of youtube-dl. You can update youtube-dl with sudo youtube-dl --update.

So version in repo is outdated.
Logged
zvacet
Pardus fellow craft
**
Posts: 97



View Profile
« Reply #2 on: November 16, 2011, 10:42:22 AM »

Id there a way to ask  maintainer to upgrade package?
Logged
a.palius
Pardus fellow craft
**
Posts: 132


View Profile
« Reply #3 on: November 16, 2011, 11:51:49 AM »

You can use my build files
Code:
sudo pisi bi http://pakete.pardususer.de/playground/a.palius/youtube-dl/pspec.xml -y
or file a bug report at http://bugs.pardus.org.tr/
Logged
zvacet
Pardus fellow craft
**
Posts: 97



View Profile
« Reply #4 on: November 17, 2011, 01:02:38 AM »

Thank you for replay,but I have to say that I don´ know what to do with your build packages.   Embarrassed Any other info or link where I can read and hopefully understand what to do?
Logged
a.palius
Pardus fellow craft
**
Posts: 132


View Profile
« Reply #5 on: November 17, 2011, 07:43:44 AM »

install build essentials and run
Code:
sudo pisi bi http://pakete.pardususer.de/playground/a.palius/youtube-dl/pspec.xml -y
and install built pisi package.
Logged
zvacet
Pardus fellow craft
**
Posts: 97



View Profile
« Reply #6 on: November 17, 2011, 20:17:48 PM »

When I try to install build essential with command

Code:
sudo pisi it -c system.devel -x libpng12-devel

I get output "No packages to install"
so I believe that build essential is installed.After that I run command witch you posted for install youtube-dl

Code:
sudo pisi bi http://pakete.pardususer.de/playground/a.palius/youtube-dl/pspec.xml -y
with output

Code:
Outputting packages in the working directory.
pspec.xml                      (7.0 KB)100%      5.22 MB/s [00:00:00] [complete]
actions.py                     (310.0  B)100%      1.90 MB/s [00:00:00] [complete]
DEBUG: ComponentDB initialized in 0.0206999778748.
DEBUG: RepoDB initialized in 0.000797033309937.
DEBUG: InstallDB initialized in 0.0255680084229.
Safety switch: system.devel is already installed
translations.xml               (432.0  B)100%      1.92 MB/s [00:00:00] [complete]
Building source package: youtube-dl
Safety switch: system.devel is already installed                               
PartOf tag not defined, looking for component
Cannot find component.xml in remote directory, Source is now part of unknown component                                                                         
youtube-dl [cached]                                                             
Unpacking archive(s)...
 unpacked (/var/pisi/youtube-dl-0.0_20111019-25/work)                           
Setting up source...
Building source...                                                             
Testing package...                                                             
Installing...                                                                   
Sandbox enabled build...                                                       
DEBUG: return value for "install -m0755 -o root -g root youtube-dl /var/pisi/youtube-dl-0.0_20111019-25/install/usr/bin" is 0
Building package: youtube-dl
Creating youtube-dl-0.0_20111019-25-p11-i686.pisi...                           
Keeping build directory
*** 0 error(s), 1 warning(s)

then I run

Code:
pisi info youtube-dl

Code:
Installed package:
Name                : youtube-dl, version: 0.0_20110225, release: 24
Summary             : A small command-line program to download videos from
                      YouTube.com
Description         : Youtube-dl is a small Python script to download videos
                      from YouTube.com. Just give the URL or the identifier of
                      the video, and it will download and save it as a .flv
                      file.
Licenses            : as-is
Component           : network.download
Provides            :
Dependencies        :
Distribution        : Pardus, Dist. Release: 2011
Architecture        : i686, Installed Size: 102.00 KB
Reverse Dependencies:

Package found in pardus repository:
Name                : youtube-dl, version: 0.0_20110225, release: 24
Summary             : A small command-line program to download videos from
                      YouTube.com
Description         : Youtube-dl is a small Python script to download videos
                      from YouTube.com. Just give the URL or the identifier of
                      the video, and it will download and save it as a .flv
                      file.
Licenses            : as-is
Component           : network.download
Provides            :
Dependencies        :
Distribution        : Pardus, Dist. Release: 2011
Architecture        : i686, Installed Size: 102.00 KB, Package Size: 22.00 KB
Reverse Dependencies: sinthgunt

youtube-dl package is not found in source repositories

so it is still old version installed.





 
Logged
SW
Guest
« Reply #7 on: November 18, 2011, 00:31:47 AM »

You will find new package in Your home directory! Just double click it and then you will install it.

I would prefer a message in bugtracking so every pardususer could benefit from a updated package.  Undecided

Could You be so kind and inform the developer via bugtracking portal?
http://bugs.pardus.org.tr/
Logged
zvacet
Pardus fellow craft
**
Posts: 97



View Profile
« Reply #8 on: November 18, 2011, 01:14:43 AM »

I´m such a noob.I never looked in home directory and package was there all the time.I make my first request  Shocked as SW suggested.
Logged
a.palius
Pardus fellow craft
**
Posts: 132


View Profile
« Reply #9 on: November 18, 2011, 01:16:00 AM »

Code:
...
Building package: youtube-dl
Creating youtube-dl-0.0_20111019-25-p11-i686.pisi...                           
Keeping build directory
*** 0 error(s), 1 warning(s)
So, when package is created successfully you have to install it:
Code:
sudo pisi it youtube-dl-0.0_20111019-25-p11-i686.pisi
or as wrote SW
You will find new package in Your home directory! Just double click it and then you will install it.
Logged
zvacet
Pardus fellow craft
**
Posts: 97



View Profile
« Reply #10 on: November 18, 2011, 01:31:50 AM »

Yes,now I know.Just double clicked and that is it.Thank you for package.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!