Compare commits
No commits in common. "ebb2dab571eae062d94adc40b0f24c7cadc6f030" and "4bc641e95a730e6f8396e8043196cbbdd1f236a7" have entirely different histories.
ebb2dab571
...
4bc641e95a
2 changed files with 0 additions and 38 deletions
35
PKGBUILD
35
PKGBUILD
|
@ -1,35 +0,0 @@
|
||||||
# Maintainer: Matthew Gamble <git@matthewgamble.net>
|
|
||||||
# Contributor: Frederick Gnodtke <fgnodtke at cronosx dot de>
|
|
||||||
|
|
||||||
pkgname=mopidy-subidy
|
|
||||||
pkgver=1.3.0
|
|
||||||
pkgrel=2
|
|
||||||
pkgdesc="Mopidy extension for playing music from Subsonic servers"
|
|
||||||
arch=("any")
|
|
||||||
url="https://git.hannover.ccc.de/lubiana/mopidy-subidy/releases"
|
|
||||||
license=('BSD')
|
|
||||||
depends=(
|
|
||||||
"mopidy"
|
|
||||||
"python"
|
|
||||||
"python-setuptools"
|
|
||||||
"python-pykka"
|
|
||||||
"python-pysonic"
|
|
||||||
)
|
|
||||||
source=("https://git.hannover.ccc.de/lubiana/mopidy-subidy/archive/1.0.0.tar.gz")
|
|
||||||
sha256sums=("ed78ce86da58fb42f6ddf9a8de72169d23521125b269b51054d69375b57c5b73")
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "mopidy-subidy"
|
|
||||||
|
|
||||||
python setup.py build
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "mopidy-subidy"
|
|
||||||
|
|
||||||
PYTHONHASHSEED=0 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
|
||||||
|
|
||||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/mopidy-subidy/LICENSE"
|
|
||||||
install -Dm644 README.rst "${pkgdir}/usr/share/doc/mopidy-subidy/README.rst"
|
|
||||||
install -Dm644 CHANGELOG.rst "${pkgdir}/usr/share/doc/mopidy-subidy/CHANGELOG.rst"
|
|
||||||
}
|
|
|
@ -16,6 +16,3 @@ class SubidyPlaybackProvider(backend.PlaybackProvider):
|
||||||
censored_url = self.subsonic_api.get_censored_song_stream_uri(song_id)
|
censored_url = self.subsonic_api.get_censored_song_stream_uri(song_id)
|
||||||
logger.debug("Loading song from subsonic with url: '%s'" % censored_url)
|
logger.debug("Loading song from subsonic with url: '%s'" % censored_url)
|
||||||
return self.subsonic_api.get_song_stream_uri(song_id)
|
return self.subsonic_api.get_song_stream_uri(song_id)
|
||||||
|
|
||||||
def should_download(self, uri):
|
|
||||||
return True
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue