Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] youtube-dl and the conf file.
Date: Wed, 28 Oct 2020 01:35:26
Message-Id: 205c8642-15d1-ac0a-30e2-a549bad1ce32@gmail.com
In Reply to: Re: [gentoo-user] youtube-dl and the conf file. by David Haller
1 David Haller wrote:
2 > Hello,
3 >
4 > On Tue, 27 Oct 2020, Dale wrote:
5 >> This is what the conf file looks like now.  I took out the format
6 >> option.  Add it back later when this current issue is settled. 
7 >>
8 >> --format
9 >> 'bestvideo[ext=webm][width<=?1280]+bestaudio/bestvideo[ext=mp4][width<=?1280]+bestaudio/best'
10 > Is that one or two lines? It think it should be one! I.e.:
11 >
12 > --format foo
13 >
14 > Try:
15 >
16 > --format 'bestvideo[ext=webm][width<=?1280]+bestaudio/bestvideo[ext=mp4][width<=?1280]+bestaudio/best'
17 >
18 > Or, I think it's equivalent:
19 >
20 > --format 'bestvideo[ext=webm,ext=mp4][width<=?1280]+bestaudio/best'
21 >
22 > HTH,
23 > -dnh
24 >
25
26
27 It doesn't like that either.  The original is one line.  That said, I
28 read where you can put one option on each line and have multiple lines. 
29 The top line is what I already had so I tried the second one.  It gave
30 me this.
31
32
33 ERROR: 'ytdl-format=bestvideo[height<=?1280]+bestaudio/best' is not a
34 valid URL. Set --default-search "ytsearch" (or run  youtube-dl
35 "ytsearch:ytdl-format=bestvideo[height<=?1280]+bestaudio/best" ) to
36 search YouTube
37 [youtube] byTOZIvyXPo: Downloading webpage
38
39
40 It seems to see something as a URL instead of a option.  Thing is, when
41 I google, I find a lot of people using the exact same line.  I'm
42 beginning to wonder if Arve has a point.  Maybe something else changed
43 and that changed how youtube-dl works.  To test, I wanted to re-emerge
44 youtube-dl.  When I tried, I got this little bit of spit up on my
45 keyboard. 
46
47
48 root@fireball / # emerge -a youtube-dl
49
50 These are the packages that would be merged, in order:
51
52 Calculating dependencies... done!
53 [ebuild   R   *] net-misc/youtube-dl-99999999::gentoo  USE="-test"
54 PYTHON_TARGETS="python3_7 -python3_6 -python3_8" 0 KiB
55
56 Total: 1 package (1 reinstall), Size of downloads: 0 KiB
57
58 Would you like to merge these packages? [Yes/No] y
59 >>> Verifying ebuild manifests
60 >>> Emerging (1 of 1) net-misc/youtube-dl-99999999::gentoo
61 >>> Failed to emerge net-misc/youtube-dl-99999999, Log file:
62 >>>  '/var/log/portage/net-misc:youtube-dl-99999999:20201028-012948.log'
63 >>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 2.00,
64 1.70, 1.60
65  * Package:    net-misc/youtube-dl-99999999
66  * Repository: gentoo
67  * Maintainer: jer@g.o
68  * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux
69 python_targets_python3_7 userland_GNU
70  * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
71 >>> Unpacking source...
72  * Repository id: ytdl-org_youtube-dl.git
73  * To override fetched repository properties, use:
74  *   EGIT_OVERRIDE_REPO_YTDL_ORG_YOUTUBE_DL
75  *   EGIT_OVERRIDE_BRANCH_YTDL_ORG_YOUTUBE_DL
76  *   EGIT_OVERRIDE_COMMIT_YTDL_ORG_YOUTUBE_DL
77  *   EGIT_OVERRIDE_COMMIT_DATE_YTDL_ORG_YOUTUBE_DL
78  *
79  * Fetching https://github.com/ytdl-org/youtube-dl/ ...
80 git fetch https://github.com/ytdl-org/youtube-dl/ +HEAD:refs/git-r3/HEAD
81 fatal: could not read Username for 'https://github.com': terminal
82 prompts disabled
83  * ERROR: net-misc/youtube-dl-99999999::gentoo failed (unpack phase):
84  *   Unable to fetch from any of EGIT_REPO_URI
85  *
86  * Call stack:
87  *     ebuild.sh, line  125:  Called src_unpack
88  *   environment, line 3655:  Called git-r3_src_unpack
89  *   environment, line 2568:  Called git-r3_src_fetch
90  *   environment, line 2562:  Called git-r3_fetch
91  *   environment, line 2484:  Called die
92  * The specific snippet of code:
93  *       [[ -n ${success} ]] || die "Unable to fetch from any of
94 EGIT_REPO_URI";
95  *
96  * If you need support, post the output of `emerge --info
97 '=net-misc/youtube-dl-99999999::gentoo'`,
98  * the complete build log and the output of `emerge -pqv
99 '=net-misc/youtube-dl-99999999::gentoo'`.
100  * The complete build log is located at
101 '/var/log/portage/net-misc:youtube-dl-99999999:20201028-012948.log'.
102  * For convenience, a symlink to the build log is located at
103 '/var/tmp/portage/net-misc/youtube-dl-99999999/temp/build.log'.
104  * The ebuild environment file is located at
105 '/var/tmp/portage/net-misc/youtube-dl-99999999/temp/environment'.
106  * Working directory: '/var/tmp/portage/net-misc/youtube-dl-99999999/work'
107  * S:
108 '/var/tmp/portage/net-misc/youtube-dl-99999999/work/youtube-dl-99999999'
109  *
110  * The following package has failed to build, install, or execute postinst:
111  *
112  *  (net-misc/youtube-dl-99999999:0/0::gentoo, ebuild scheduled for
113 merge), Log file:
114  *   '/var/log/portage/net-misc:youtube-dl-99999999:20201028-012948.log'
115  *
116 root@fireball / #
117
118
119 Is that because RIAA made them remove something or have I found a whole
120 new problem?  o-O
121
122 Dale
123
124 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] youtube-dl and the conf file. Arve Barsnes <arve.barsnes@×××××.com>
Re: [gentoo-user] youtube-dl and the conf file. David Haller <gentoo@×××××××.de>
Re: [gentoo-user] youtube-dl and the conf file. Dale <rdalek1967@×××××.com>