New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Youtube URI not working with iris and mopidy #150
Comments
Sorry to hear it is not working for you. What is the uri you are trying? |
The one of the example:
yt:http://www.youtube.com/watch?v=Njpw2PVb1c0
Il Dom 5 Lug 2020, 13:08 natumbri <notifications@github.com> ha scritto:
… Sorry to hear it is not working for you. What is the uri are trying?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7ODRO4P3HBB4UEI4PSE5LR2BNKJANCNFSM4OQ2EVTA>
.
|
Thanks for confirming @eziosoma. I've now tested
The following things don't look relevant to you, judging by the systemctl status you have posted, but it is perhaps worth checking:
|
Hey 👋 The version I am using it the latest one in pypi, since I am using a docker container that pulls the addons. |
Hello,
actually everything fails in the youtube plugin, both the search (no
result) and the Add to play of a URI.
I have updated the entire system (raspberry Pi zero) with the system
command sudo apt-get upgrade, so may be that mopidy is at the last version
available. I have tried also the youtube plugin from github, but without
success.
I have also updated the python modules (especially youtube-dl).
Is there any log file that I can provide to you for the debugging?
May thanks and regards.
Ezio Somà
…On Mon, Jul 6, 2020 at 1:39 AM natumbri ***@***.***> wrote:
Thanks for confirming @eziosoma <https://github.com/eziosoma>. I've now
tested Njpw2PVb1c0 at my end, and it works fine for me.
- Are all videos failing, or just particular ones?
- Which version of mopidy-youtube are you using? The released version
on pypi is starting to get a bit old, and I haven't managed to update it
yet. You might consider trying the current version in the develop
branch here on github, if you're not already using that - it is more likely
to work.
The following things don't look relevant to you, judging by the systemctl
status you have posted, but it is perhaps worth checking:
- Are all your python modules up-to-date (particularly youtube-dl)?
- Did you upgrade from mopidy 2 to mopidy 3? That has introduced
gremlins for some people.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7ODRKLDJ62HOB73CYAT2LR2EFJXANCNFSM4OQ2EVTA>
.
|
Hi @eziosoma and @Cludch Thanks for your further reports. I've pushed some small changes to the Thanks again for raising this - hopefully we can get it fixed! Cheers, |
Hi,
but nothing changed. The first time I added the URI i got from the command
this result: lug 10 18:24:23 raspberrypi mopidy[1943]: raise value That seems better than previous messages, but no success in reproducing the video track. I have not enabled the yt API, I hope that this is not important. |
@eziosoma I'm sorry to hear it is still not working for you. You shouldn't need to use the yt API. (If you have an API key, you could try it, but that's not the cause of this bug.) I'll keep thinking about what it could be... |
Let me know if there is some log file or debug message that i can collect for you to better understand where the problem is. I am quite interested in having it working, because me and my son we have built a tiny device with a raspberry pi zero, Pirate sound hat of Pimoroni and Pisugar 900 mAh. It is a sort of "ipod nano" and works quite well, so we would like to add also the possibility of reproducing youtube. |
Hi,
For me it seems like the error handling is thowing an error...as the "list index out of range" error is occuring before the main error. |
Ok, thanks everybody - this must be quite frustrating for you all! I'm not too sure what is going on, so...
It would be useful if people could
I'll look at those files, and then at least I'll know if you are getting similar results back from youtube to what I am getting. And, I can feed those results into my system here to see if I can duplicate the error (and fix it). If you're getting wildly different results to what I'd expect ... well, there might need to be some more fundamental changes. I had a couple of goes here and couldn't find any private information in the search results. Feel free to have a look and, if you find private information feel free to
As I said, I don't think there is anything like that in there, but I certainly wouldn't discourage anyone who wants to double check from doing so. Ok, please, generate some Thanks for your help, |
Hi,
Now everything is working 👍 Nevertheless, I created the output file for the search: |
Hello, |
@LucK1Y glad to hear it is working for you, and thanks for uploading the file. I'll have a look at it, to make sure it is as expected, but it sounds like you are good to go. Don't forget to switch back to the develop branch, to avoid generating a new file every time you run a search. @eziosoma I'm sorry to hear it is still not working for you. I will try to think of some new things to test, to see if we can get it working! |
Hi, |
Many thanks @tschenek, installing the development version with sudo and restarting mopidy solved also my problem. |
I had the same issue, 3.0 did not work. The provided fix seemed to have worked! Please release it as an update on pypi! |
@vdmkenny thanks for trying. I've pushed it out to pypi as v3.1. I haven't really tested it much, so fingers crossed. |
This bug affected me as well, and I can confirm that 3.1 fixes it, thanks! |
I can confirm as well that I can search, find and play videos, since the update. Which is everything I wanted. What still does not work for me though is playing a specific video or playlist by URL. Specifically searching for: EDIT: I just discovered that searching for URLs in "Any" does work though :) |
I copy the URI from the example and add it to play. Nothing appens.
with the command
sudo systemctl status mopidy
I see:
lug 05 12:45:41 raspberrypi mopidy[363]: _compat.reraise(*self._data['exc_info'])
lug 05 12:45:41 raspberrypi mopidy[363]: File "/usr/lib/python3/dist-packages/pykka/_compat/init.py", line 29, in reraise
lug 05 12:45:41 raspberrypi mopidy[363]: raise value
lug 05 12:45:41 raspberrypi mopidy[363]: File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 193, in _actor_loop
lug 05 12:45:41 raspberrypi mopidy[363]: response = self._handle_receive(envelope.message)
lug 05 12:45:41 raspberrypi mopidy[363]: File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 299, in _handle_receive
lug 05 12:45:41 raspberrypi mopidy[363]: return callee(*message.args, **message.kwargs)
lug 05 12:45:41 raspberrypi mopidy[363]: File "/usr/local/lib/python3.7/dist-packages/mopidy_youtube/backend.py", line 194, in loo
lug 05 12:45:41 raspberrypi mopidy[363]: name=video.title.get().replace(";", ""),
lug 05 12:45:41 raspberrypi mopidy[363]: AttributeError: 'NoneType' object has no attribute 'replace'
The text was updated successfully, but these errors were encountered: