Package Details: mopidy-youtube 3.6.0-2

Git Clone URL: https://aur.archlinux.org/mopidy-youtube.git (read-only, click to copy)
Package Base: mopidy-youtube
Description: Mopidy extension for playing music from Youtube
Upstream URL: https://github.com/natumbri/mopidy-youtube
Keywords: mopidy
Licenses: Apache
Submitter: moscar
Maintainer: otmarpergande
Last Packager: tippfehlr
Votes: 21
Popularity: 0.000018
First Submitted: 2014-11-08 23:23 (UTC)
Last Updated: 2026-06-12 14:30 (UTC)

Latest Comments

1 2 3 Next › Last »

cprn commented on 2026-08-31 06:08 (UTC) (edited on 2026-08-31 06:12 (UTC) by cprn)

New PKGBUILD:

# Maintainer: Julian Daube <joposter at gmail dot com>

pkgname=mopidy-youtube
pkgver=4.0.0
_pkgver=4.0
pkgrel=1
pkgdesc="Mopidy extension for playing music from Youtube"

arch=('any')
url="https://github.com/natumbri/mopidy-youtube"
license=('APACHE')
depends=(
  'mopidy>=4.0'
  'python-pykka>=4.3.0'
  'python-setuptools'
  'python-requests'
  'python-cachetools'
  'python-beautifulsoup4'
  'yt-dlp>=2026.8.19'
  'python-ytmusicapi>=1.12.0')
makedepends=('python' 'git')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$_pkgver.tar.gz")

package() {
  cd "$pkgname-$_pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}

md5sums=('d48296dd5b917e6011ef7ffcc1ac0586')
sha1sums=('af549c67b209b756ecec0b9bfb9aa98e500531d1')

Although, I still got ModuleNotFoundError: No module named 'pkg_resources' after install and had to:

sudo sed -i 's/import pkg_resources/import importlib.metadata as pkg_resources/g' /usr/lib/python3.14/site-packages/mopidy_youtube/__init__.py
sudo sed -i 's/__version__ = pkg_resources.get_distribution("Mopidy-YouTube").version/__version__ = pkg_resources.version("Mopidy-YouTube")/g' /usr/lib/python3.14/site-packages/mopidy_youtube/__init__.py

I guess this can be patched in the PKGBUILD itself, but I'm not sure what's the policy on requiring modern Python nowadays, so... yeah.

Also notice I replaced youtube-dl (default, but outdated) with yt-dlp (modern, but requires changes in ~/.config/mopidy/mopidy.conf).

dreieck commented on 2023-05-05 10:18 (UTC)

Can you please strip off the leading v from $pkgver?

Even if upstream uses this in github releases, the Arch Linux guidelines say that this should be removed in this cases, since this v is not part of the version but just denotes "version", which is common (mis?)practice with many github projects.

Thanks for maintaining!

joposter commented on 2022-05-22 17:28 (UTC)

@MarsSeed as i see it the packaging guidelines asks that the pkgver be identical to the upstream version. The original author uses the v[number]-scheme for releases (see https://github.com/natumbri/mopidy-youtube/releases), which is why i use it as well.

MarsSeed commented on 2022-05-22 17:00 (UTC)

Please kindly remove the 'v' prefix from pkgver (as per Arch package guidelines).

(This change won't cause problems for users; they will see a new package update and will have to let makepkg or the AUR helper rebuild it once.)

joposter commented on 2021-09-15 15:12 (UTC)

@bittin should (hopefully) be fixed now

bittin commented on 2021-09-15 11:29 (UTC)

the PKGBUILD is broken here is a working one: https://pastebin.com/kjR4UHyh

joposter commented on 2021-09-14 21:30 (UTC)

@djmattyg007 saw it, updated acordingly. youtube-mudic api seems to work fine, normal youtube-dl backend might have a problem... Not sure why, maybe related to https://github.com/natumbri/mopidy-youtube/issues/204

djmattyg007 commented on 2021-09-14 10:47 (UTC)

I don't know why it was flagged as out of date last month, but I can confirm it is now actually out of date. v3.4 was released earlier today.

djmattyg007 commented on 2020-12-02 12:49 (UTC)

Could you please bump the pkgrel to force a rebuild for python3.9?

joposter commented on 2020-05-15 14:05 (UTC)

@Freso Hmm yes, will change that later. Thanks for notifying me :)