Skip to content
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

Some Chinese source search errors say 'TypeError: cannot read property'genres' of null' #300

Open
2 tasks done
oldsento opened this issue Oct 16, 2024 · 19 comments
Open
2 tasks done
Labels
help wanted Extra attention is needed

Comments

@oldsento
Copy link

oldsento commented Oct 16, 2024

Brief summary

Screenshot_20241016_100331_miru.miaomint.png

Screenshot_20241016_100423_miru.miaomint.png

速播资源
显示全部
TypeError: cannot read property'genres' of null
量子资源
显示全部
TypeError: cannot read property'genres' of null
非凡资源
显示全部
TypeError: cannot read property 'genres' of null
显示全部
天空资源网
TypeError: cannot read property'genres' of null
显示全部
无尽资源网
TypeError: cannot read property 'genres' of null
优质资源库
显示全部
TypeError: cannot read property'genres' of null

Steps to reproduce

No response

Miru version

1.8.1

Device

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • If this is an issue with a extension, I should be opening an issue in the extension repository.
@oldsento oldsento added the help wanted Extra attention is needed label Oct 16, 2024
@oldsento oldsento changed the title Some source search errors say 'TypeError: cannot read property'genres' of null' Some Chinese source search errors say 'TypeError: cannot read property'genres' of null' Oct 16, 2024
@hualiong
Copy link

这确实是个Bug,我有时间会去修修

@oldsento
Copy link
Author

这确实是个Bug,我有时间会去修修

是软件的bug还是脚本插件的问题啊,感觉这个问题貌似修改那行显示红色的代码就可以了吧?窝是小白,目前那些type error要进入才能显示结果

@hualiong
Copy link

hualiong commented Oct 17, 2024

脚本问题,你要是想现在就用只需要像下面这样改:
image
把上面这两处地方改成下面这样就行:
image

@hualiong
Copy link

所有后缀是“资源”的扩展都是这个问题

@oldsento
Copy link
Author

所有后缀是“资源”的扩展都是这个问题

9anime 也是吗?bug很像

@hualiong
Copy link

只有我写脚本的是这个问题,你看作者那一栏是不是我就对了

@oldsento
Copy link
Author

只有我写脚本的是这个问题,你看作者那一栏是不是我就对了

图片没显示,是还要修改哪里

@hualiong
Copy link

脚本问题,你要是想现在就用只需要像下面这样改: image 把上面这两处地方改成下面这样就行: image

你看不见我发的图片?

@oldsento
Copy link
Author

脚本问题,你要是想现在就用只需要像下面这样改: image 把上面这两处地方改成下面这样就行: image

你看不见我发的图片?

不是,是插件修改了但搜索没显示图片,

@hualiong
Copy link

你咋改的?改的哪个插件?

@oldsento
Copy link
Author

oldsento commented Oct 17, 2024

就是按你图上的改了那两个地方,把前面的filter.genres && filter.genres改成filter?.genres?.
后面的filter.genres改成filter?.genres?.

窝刚刚把貌似所有的都这样改了

@hualiong
Copy link

我再看看

@hualiong
Copy link

我都好着呢,你重启应用试试?

@oldsento
Copy link
Author

我都好着呢,你重启应用试试?

Screenshot_20241017_140039_miru.miaomint.jpg

还是一样,

@hualiong
Copy link

hualiong commented Oct 17, 2024

哦,正常,图片出不来是Miru的问题

你要想看图片,得去详细页点那张封面图才能加载出来

@hualiong
Copy link

还有,如果你要看番的话,建议用次元城那个插件,这几个带“资源”字样的采集站都不太稳定

@oldsento
Copy link
Author

还有,如果你要看番的话,建议用次元城那个插件,这几个带“资源”字样的采集站都不太稳定

Screenshot_2024_1017_141215.png

为什么窝另一个手机修改后就不行了,手机vivo x21 安卓9,前面改的那个是荣耀X10,安卓10,

@hualiong
Copy link

hualiong commented Oct 17, 2024

我没法复现,我这改了之后都是正常的。你试试重启应用

有些资源的域名被屏蔽了,访问可能会有问题

@gete037
Copy link

gete037 commented Nov 25, 2024

我发现电脑端,关闭后过一会再打开会提示扩展丢失,必须要要把扩展卸载后再重新安装才能继续正常播放

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants