Git Product home page Git Product logo

Comments (8)

ninja33 avatar ninja33 commented on August 14, 2024

可能是下载音频不成功。请问你用的哪本词典?

from odh.

qingdaopijiudiaoge avatar qingdaopijiudiaoge commented on August 14, 2024

我用哪本字典都取不到音频。不知道为什么?

from odh.

ninja33 avatar ninja33 commented on August 14, 2024

看了一下,下载音频确实有点问题。我平时因为不用下载的离线音频,都是用的模板里的在线音频,所以也没注意这个问题。

看看有空下一版改好他。

from odh.

Z-figaro avatar Z-figaro commented on August 14, 2024

me too ,怎么使用tts自动添加音频,或者直接使用一款内置音频?我也是开发,如果能分配一些工作。我乐意承担一部分开发工作

from odh.

ninja33 avatar ninja33 commented on August 14, 2024

tts自动添加音频的话,可以用anki的一款插件awesometts里添加。

至于上述的音频下载的问题,其实和插件没有关系,插件只是把音频地址传给了ankiconnect插件,实际音频文件是由ankiconnect下载的。唯一需要检查的是插件脚本产生的音频地址是否正确,所以需要知道是哪本词典

from odh.

Z-figaro avatar Z-figaro commented on August 14, 2024

我用的Collins英汉双解内置,我有两个问题:
1.我ankiconnect 打开了,但是在插件上死活都是未连接。从来没有连接上过。
2..audio img没有显示

我要去检查插件的脚本应该怎么检查Chrome app某一个控件呢?

from odh.

Z-figaro avatar Z-figaro commented on August 14, 2024

我检查了一下,只有audio字段拿不到

from odh.

496147678 avatar 496147678 commented on August 14, 2024

同样的问题,制卡时音频提取不到,使用的是和楼主一样的版本。不知道什么时候可以出下一版。

Anki同时报错内容如下:

一个插件发生了错误。
请把它报告在插件的论坛上:
https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last):
File "C:......\Anki2\addons\AnkiConnect.py", line 359, in advance
self.server.advance()
File "C:......\Anki2\addons\AnkiConnect.py", line 172, in advance
self.advanceClients()
File "C:......\Anki2\addons\AnkiConnect.py", line 187, in advanceClients
self.clients = filter(lambda c: c.advance(), self.clients)
File "C:......\Anki2\addons\AnkiConnect.py", line 187, in
self.clients = filter(lambda c: c.advance(), self.clients)
File "C:......\Anki2\addons\AnkiConnect.py", line 116, in advance
self.writeBuff += self.handler(req)
File "C:......\Anki2\addons\AnkiConnect.py", line 201, in handlerWrapper
body = json.dumps(self.handler(json.loads(req.body)))
File "C:......\Anki2\addons\AnkiConnect.py", line 365, in handler
return getattr(self, action)(**(request.get('params') or {}))
File "C:......\Anki2\addons\AnkiConnect.py", line 386, in api_addNote
note.get('audio')
File "C:......\Anki2\addons\AnkiConnect.py", line 248, in addNote
data = audioDownload(audio['kana'], audio['kanji'])
KeyError: 'kana'

from odh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.