Package Details: ytmdl 2022.3.16-0

Git Clone URL: https://aur.archlinux.org/ytmdl.git (read-only, click to copy)
Package Base: ytmdl
Description: Download songs from YouTube with metadata from sources like Itunes, Gaana, Deezer etc.
Upstream URL: https://github.com/deepjyoti30/ytmdl
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: 14
Popularity: 0.092237
First Submitted: 2019-11-09 07:25 (UTC)
Last Updated: 2022-06-05 15:15 (UTC)

Latest Comments

1 2 3 Next › Last »

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:

            "python>=3.6"
            "ffmpeg"
            "yt-dlp>=2022.03.08.1"
            "python-mutagen"
            "python-bs4"
            "python-colorama"
            "downloader-cli"
            "python-itunespy"
            "python-ffmpeg"
            "python-pysocks"
            "python-xdg"
            "python-requests"
            "python-lxml"
            "python-wheel"
            "python-unidecode"
            "python-simber"
            "python-pydes"
            "python-urllib3"
            "python-rich"
            "python-musicbrainzngs"
            "python-ytmusicapi"
            "python-spotipy"
            "youtube-search-python"
            "python-brotli"
            "python-websockets"
            "python-pycryptodomex"

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 -> https://aur.archlinux.org/packages/python-ffmpeg-pip

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/installer.py", line 75, in fetch_build_egg                                                                                                                                             
    subprocess.check_call(cmd)                                                                                                                                                                                                              
  File "/usr/lib/python3.10/subprocess.py", 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/setup.py", line 66, in <module>                                                                                                                                                   
    setuptools.setup(                                                                                                                                                                                                                       
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 152, in setup                                                                                                                                                       
    _install_setup_requires(attrs)                                                                                                                                                                                                          
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires                                                                                                                                     
    dist.fetch_build_eggs(dist.setup_requires)                                                                                                                                                                                              
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 785, in fetch_build_eggs                                                                                                                                                
    resolved_dists = pkg_resources.working_set.resolve(                                                                                                                                                                                     
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 766, in resolve                                                                                                                                                  
    dist = best[req.key] = env.best_match(                                                                                                                                                                                                  
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1051, in best_match                                                                                                                                              
    return self.obtain(req, installer)                                                                                                                                                                                                      
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1063, in obtain                                                                                                                                                  
    return installer(requirement)                                                                                                                                                                                                           
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 844, in fetch_build_egg                                                                                                                                                 
    return fetch_build_egg(self, req)                                                                                                                                                                                                       
  File "/usr/lib/python3.10/site-packages/setuptools/installer.py", 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().                                                                                                                                                                                                   
    Aborting...                                                                                                       
 -> error making: ytmdl