Package Details: ytmdl 2022.3.16-0

Git Clone URL: (read-only, click to copy)
Package Base: ytmdl
Description: Download songs from YouTube with metadata from sources like Itunes, Gaana, Deezer etc.
Upstream URL:
Keywords: cli ffmpeg freemusic gaana high-quality-ads itunes metadata music music-bot songs spotify youtube
Licenses: MIT
Conflicts: ytmdl-git
Provides: ytmdl
Submitter: deepjyoti30
Maintainer: deepjyoti30
Last Packager: deepjyoti30
Votes: 15
Popularity: 0.33
First Submitted: 2019-11-09 07:25 (UTC)
Last Updated: 2022-06-05 15:15 (UTC)

Latest Comments

deepjyoti30 commented on 2022-06-05 15:10 (UTC)

@IncredibleLaser websockets, brotli and pycryptodomex are not direct dependencies of ytmdl which makes me wonder which package uses it and is missing it as a dependency.

I will make the change for bs4 even though I am not able to reproduce the bs4 issue locally.

IncredibleLaser commented on 2022-06-05 15:03 (UTC)

This was the final list of dependencies I needed to get this to build in a clean chroot:


In short, as suggested by ratata I added brotli and changed beautifulsoup4 for bs4, plus I also had to add websockets and pycryptodomex. Plus be careful that your own python libs (e.g. itunespy) are built against the current version of python, otherwise the build will fail indicating that that particular package couldn't be found.

ratata commented on 2022-03-21 23:44 (UTC) (edited on 2022-03-21 23:48 (UTC) by ratata)

You need to add python-brotli as a dependency. You need to use add python-bs4 as a dependency, as python-beautifulsoup4 doesn't work (possibly due to a rename IDK). I managed to get python-ffmpeg working, and so I packaged it here ->

ViToni commented on 2022-01-22 14:31 (UTC)

@deepjyoti30 Glad I was able to find it. Thanks for caring & fixing!

There is one more issue left (for me) which seems to be that python-spotipy is missing a dependency to python-redis (already commented on the package).

deepjyoti30 commented on 2022-01-22 13:57 (UTC)

@ViToni Fixed the issue in the youtube-search-python package. Thanks for pointing it out!

ViToni commented on 2022-01-22 12:51 (UTC)

Indeed it seems youtube-search-python is the culprit as it depends on the wrong httpx project (which is not the actual python library needed).

serxxx commented on 2022-01-15 21:14 (UTC) (edited on 2022-01-15 21:17 (UTC) by serxxx)

Something in the dependencies seems to be off. The package depends on httpx, and won't install without it, but the program can't find the package when it is run. python-httpx won't install with httpx installed, obvs. I think the issue may ultimately be in the youtube-search-python package (which has the direct dependency on httpx).

deepjyoti30 commented on 2022-01-10 12:51 (UTC)

@matthewdavis The error you reported is very weird. I am not able to reproduce it on Python 3.10. Moreover, python-pip is not a direct dependency of the package and based on the error reported, it seems like it is being used in the build() of python-simber, however, it is not actually.

I am the developer/maintainer of python-simber and I am sure pip is not being used in the build process of simber.

Also, I just clean installed ytmdl on my machine without any issues.

Could you perhaps provide some more details about your system? Also, reporting an issue on GitHub would be a better idea since communicating there is way easier!

matthewdavis commented on 2022-01-07 21:22 (UTC) (edited on 2022-01-07 21:24 (UTC) by matthewdavis)

Please make python-pip a dependency.

==> Starting build()...                                                                                                                                                                                                                     
/usr/bin/python: No module named pip                                                                                                                                                                                                        
Traceback (most recent call last):                                                                                                                                                                                                          
  File "/usr/lib/python3.10/site-packages/setuptools/", line 75, in fetch_build_egg                                                                                                                                             
  File "/usr/lib/python3.10/", line 369, in check_call                                                                                                                                                                         
    raise CalledProcessError(retcode, cmd)                                                                                                                                                                                                  
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpu45snybs', '--quiet', 'simber']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):                                                                                                                                                                                                          
  File "/home/mdavis/.cache/yay/ytmdl/src/ytmdl-2021.11.7/", line 66, in <module>                                                                                                                                                   
  File "/usr/lib/python3.10/site-packages/setuptools/", line 152, in setup                                                                                                                                                       
  File "/usr/lib/python3.10/site-packages/setuptools/", line 147, in _install_setup_requires                                                                                                                                     
  File "/usr/lib/python3.10/site-packages/setuptools/", line 785, in fetch_build_eggs                                                                                                                                                
    resolved_dists = pkg_resources.working_set.resolve(                                                                                                                                                                                     
  File "/usr/lib/python3.10/site-packages/pkg_resources/", line 766, in resolve                                                                                                                                                  
    dist = best[req.key] = env.best_match(                                                                                                                                                                                                  
  File "/usr/lib/python3.10/site-packages/pkg_resources/", line 1051, in best_match                                                                                                                                              
    return self.obtain(req, installer)                                                                                                                                                                                                      
  File "/usr/lib/python3.10/site-packages/pkg_resources/", line 1063, in obtain                                                                                                                                                  
    return installer(requirement)                                                                                                                                                                                                           
  File "/usr/lib/python3.10/site-packages/setuptools/", line 844, in fetch_build_egg                                                                                                                                                 
    return fetch_build_egg(self, req)                                                                                                                                                                                                       
  File "/usr/lib/python3.10/site-packages/setuptools/", line 77, in fetch_build_egg                                                                                                                                             
    raise DistutilsError(str(e)) from e                                                                                                                                                                                                     
distutils.errors.DistutilsError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpu45snybs', '--quiet', 'simber']' returned non-zero exit status 1.                            
==> ERROR: A failure occurred in build().                                                                                                                                                                                                   
 -> error making: ytmdl

deepjyoti30 commented on 2021-06-27 12:55 (UTC)

@jrabensc python-ytmusicapi is clearly added to the list of dependencies, you can see in the above list.

jrabensc commented on 2021-06-27 12:48 (UTC)

Missing dependencies: 

deepjyoti30 commented on 2021-05-29 12:43 (UTC)

@marcthe12 I am not sure if we need python-pip as a dependency. In the build we're using setuptools so I can't see where python-pip might be needed.

Can you perhaps share some logs. It might be possible that it's used by some other package that ytmdl is dependent on?

marcthe12 commented on 2021-05-28 15:37 (UTC) (edited on 2021-05-28 15:54 (UTC) by marcthe12)

There is a missing build dep on python-pip(build in chroot)

deepjyoti30 commented on 2021-03-06 16:22 (UTC)

The python-beautifulsoup4 package is a dependency as you can see in

BrainDamage commented on 2021-03-06 14:13 (UTC)

the issue is with the pkgbuild, it's missing python-beautifulsoup4 from the deps

the error is deceptive because the setuptools is attempting to use pip to install it, but it's trying to search for the bs4 module, which is provided by python-beautifulsoup4

deepjyoti30 commented on 2021-03-04 09:55 (UTC)

@IncredibleLaser This seems like a bs4 issue. ytmdl doesn't depend on pip to build the app.

We need to report this to python-beautifulsoup4 package.

IncredibleLaser commented on 2021-02-11 13:34 (UTC)

This doesn't seem to build without python-pip:

/usr/bin/python: No module named pip                                                                                                                                                                                                                                                 
Traceback (most recent call last):                                                                                                                                                                                                                                                   
  File /usr/lib/python3.9/site-packages/setuptools/, line 75, in fetch_build_egg                                                                                                                                                                                       
  File /usr/lib/python3.9/, line 373, in check_call                                                                                                                                                                                                                   
    raise CalledProcessError(retcode, cmd)                                                                                                                                                                                                                                           
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp0xfoyhkw', '--quiet', 'bs4']' returned non-zero exit status 1.

deepjyoti30 commented on 2020-11-20 08:25 (UTC)

@Strongaloff Thanks for reporting. It should be fixed now!

georgeat8 commented on 2020-11-20 07:32 (UTC) (edited on 2020-11-20 07:33 (UTC) by georgeat8)

On the last update, I'm getting

mv: cannot move '/home/george/.cache/yay/ytmdl/pkg/ytmdl/share/bash-completion/completions/ytmdl.bash' to '/home/george/.cache/yay/ytmdl/pkg/ytmdl/usr/share/bash-completion/completions/ytmdl': No such file or directory

==> ERROR: A failure occurred in package().

deepjyoti30 commented on 2020-07-26 14:35 (UTC)

python-pycountry is not a direct dependency of ytmdl. It is instead required by python-itunespy. I have added a comment there requesting the maintainer to add that dependency.

titaniumtown commented on 2020-07-11 05:18 (UTC)

add python-pycountry as a dependency

Dymstro commented on 2020-03-22 17:44 (UTC)

python-wheel should be added as a dependency

deepjyoti30 commented on 2019-11-15 13:36 (UTC)

Sorry about all the dependency issues, those should be fixed now.

NeoTheFox commented on 2019-11-15 12:10 (UTC)

There are missing dependencies: python-beautifulsoup4, python-mutagen, python-downloader-cli

Alfred456654 commented on 2019-11-15 09:50 (UTC)

You should add python-mutagen as dependency