Bonsoir, Je ne parviens plus à utiliser mps-youtube (pour utiliser youtube depuis un terminal). Voici ce qui se passe quand j'effectue une recherche :
> Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner self.run() File "/usr/lib/python3.5/threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.5/site-packages/mps_youtube/main.py", line 2475, in _preload stream = streams.select(streams.get(song), audio=not video, m4a_ok=m4a) File "/usr/lib/python3.5/site-packages/mps_youtube/streams.py", line 50, in get p = get_pafy(vid, force=force, callback=callback) File "/usr/lib/python3.5/site-packages/mps_youtube/util.py", line 175, in get_pafy p = pafy.new(item.ytid, callback=callback_fn) File "/usr/lib/python3.5/site-packages/pafy/pafy.py", line 122, in new return Pafy(url, basic, gdata, size, callback, ydl_opts) File "/usr/lib/python3.5/site-packages/pafy/backend_internal.py", line 42, in __init__ super(InternPafy, self).__init__(*args, **kwargs) File "/usr/lib/python3.5/site-packages/pafy/backend_shared.py", line 95, in __init__ self._fetch_basic() File "/usr/lib/python3.5/site-packages/pafy/backend_internal.py", line 89, in _fetch_basic self.callback) File "/usr/lib/python3.5/site-packages/pafy/backend_internal.py", line 425, in get_js_sm dash_url = stream_info['dashmpd'] KeyError: 'dashmpd'
Bonjour Je confirme que ça marche bien avec le paquet présent dans les dépôts. Il est possible que ton système ne soit pas complètement à jour. Dans ce cas,vire mps-yputube, lance un pacman -Syu et réinstalle le via un petit sudo pacman -S mps-youtube.
Noyau récent MANJARO x86_64 bits: 64 Xfce 4.16
ASUSTeK model: PRIME B350M-A v: Rev X.0x
6-Core: AMD Ryzen 5 2600X
AMD Baffin [Radeon RX 460/560D / Pro
driver: amdgpu v: kernel
Display: x11 server: X.Org driver: amdgpu,ati unloaded: modesetting
OpenGL: renderer: Radeon RX 560 Series
Arch en Dual. Aucun lien publicitaire ne saurait être toléré dans la signature!
[mu@mu-thinkpad ~]$ mpsyt WARNING:root:pafy: youtube-dl not found; falling back to internal backend. This is not as well maintained as the youtube-dl backend. To hide this message, set the environmental variable PAFY_BACKEND to "internal".
Enter /search-term to search or [h]elp > /cotten
Searching for 'cotten'
Num Title Time 1 Elizabeth Cotten - Freight Train and Other North Carolina Folk So 35:03 2 Elizabeth Cotten - When I'm Gone 04:42 3 Elizabeth Cotten , Shake Sugaree 05:03 4 Elizabeth Cotten - Shake Sugaree (Full Album) 60:41 5 Two Songs played by Elizabeth Cotten 08:30 6 Elizabeth Cotten pt 1 11:28 7 Freight Train Elizabeth Cotton 02:47 8 Elizabeth Cotten - Freight Train 02:47 9 Freight Train Acoustic Guitar Lesson Preview - Elizabeth Cotten 09:56 10 Re: Elizabeth Cotten - Freight Train 07:06 11 Freight Train- Elizabeth Cotten Cover 03:37 12 Elizabeth Cotten pt 2 14:17 13 Elizabeth Cotten - When I Get Home 02:24 14 Elizabeth Cotten - Vastopol/Vestapol 02:29 15 Elizabeth Cotton Plays Vastopol 02:41 16 Elizabeth Cotten - "Going Down the Road Feeling Bad" 02:15 17 I m going away - Elizabeth Cotten 03:26 18 Elizabeth Cotten - Wilson Rag 01:41 19 Jimmy McGriff - Cotten Boy Blues 08:32 20 Elizabeth Cotten - "I Don't Love Nobody" 01:15
Search results for cotten [1/25>
> Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner self.run() File "/usr/lib/python3.5/threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.5/site-packages/mps_youtube/streams.py", line 171, in _preload streamlist = get(song) File "/usr/lib/python3.5/site-packages/mps_youtube/streams.py", line 51, in get p = util.get_pafy(vid, force=force, callback=callback) File "/usr/lib/python3.5/site-packages/mps_youtube/util.py", line 201, in get_pafy p = pafy.new(ytid, callback=callback_fn) File "/usr/lib/python3.5/site-packages/pafy/pafy.py", line 122, in new return Pafy(url, basic, gdata, size, callback, ydl_opts) File "/usr/lib/python3.5/site-packages/pafy/backend_internal.py", line 42, in __init__ super(InternPafy, self).__init__(*args, **kwargs) File "/usr/lib/python3.5/site-packages/pafy/backend_shared.py", line 95, in __init__ self._fetch_basic() File "/usr/lib/python3.5/site-packages/pafy/backend_internal.py", line 89, in _fetch_basic self.callback) File "/usr/lib/python3.5/site-packages/pafy/backend_internal.py", line 425, in get_js_sm dash_url = stream_info['dashmpd'] KeyError: 'dashmpd'