From 3c2f83f6a6a9a378ea1dbcbce578659c89460fbf Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 2 Sep 2015 01:25:50 +0200 Subject: [PATCH] gst1: Replace Gst.URI_SRC with Gst.URIType.SRC --- mopidy/audio/scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/audio/scan.py b/mopidy/audio/scan.py index 49b44f79..0518da8b 100644 --- a/mopidy/audio/scan.py +++ b/mopidy/audio/scan.py @@ -65,7 +65,7 @@ class Scanner(object): # Turns out it's _much_ faster to just create a new pipeline for every as # decodebins and other elements don't seem to take well to being reused. def _setup_pipeline(uri, proxy_config=None): - src = Gst.Element.make_from_uri(Gst.URI_SRC, uri) + src = Gst.Element.make_from_uri(Gst.URIType.SRC, uri) if not src: raise exceptions.ScannerError('GStreamer can not open: %s' % uri)