-
Notifications
You must be signed in to change notification settings - Fork 216
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
0.12.0 search item renderer TypeError #124
Comments
Thanks for these search strings, quite useful for debugging. All of them are due to the unavailable songs issue #123, although I managed to catch another small thing (missing album id). Can you check again with latest master? I want to try to fix all edge cases before releasing 0.12.1. |
Still seeing a couple of failures there
So a massive improvement but not quite there Will do a little more investigation on my side too |
That's strange, all of these pass for me. Are you sure you're on 8f64cf7 ? Edit: Perhaps it is because you try to get the videoId of the item but there is none because it's unplayable? The exception might originate within your code when you try to subscript with "videoId" |
I am also getting this. $ git status trace below
|
For sure on that commit, but good idea to make sure
The error occurs even if I don't select the 0th element and get the videoId, and indeed even if I don't have the "songs" filter as well
OUTPUT
|
Unfortunately I still can't reproduce the issue on my end. However, thanks to your helpful debug output I believe I have identified the fix. Can you checkout the branch |
Yep, that fixed it. |
Looks good to me, nice work!
|
Confirmed with v0.12.1 through pip, thanks so much 🎉 |
Hi there. Thanks for 0.12.0! I'm going through and getting a lot of unexpected failed searches. See below
Using this snippet (
ytmusic
initialised elsewhere)Returns the following
For all of the failed searches, the following error is thrown
![image](https://user-images.githubusercontent.com/28261887/102368387-b480ca80-3fb2-11eb-9eff-901566407324.png)
The same is seen if I search without the
"songs"
filterThese are songs which never failed before, very well known! For example
![image](https://user-images.githubusercontent.com/28261887/102369037-6c15dc80-3fb3-11eb-8922-32e2bb6f56e5.png)
In a wider test I had 23 failures from 151 songs. Before the YT update I was getting maximum 5 for the same number of songs, usually fewer
The text was updated successfully, but these errors were encountered: