mvf / qolibri

Continuation of the qolibri EPWING dictionary/book reader
GNU General Public License v2.0
172 stars 13 forks source link

Can't heard audio tracks/open up pictures #36

Closed darlopvil closed 2 years ago

darlopvil commented 4 years ago

Hi,

I don't know if this could be considered as a bug or some malfunction of the program, but when I want to reproduce the audio of some definitions and things like that It either can't be heard (like if you were muted) or if I select another audio/video software (in my case, VLC media player), the program opens up but, again, you can't hear anything.

In case someone is wondering or if It could be of help, I'm using the NHK 日本語発音アクセント辞典 (among others, but the problem is for all).

And the same problem refers to when trying to open a photo or some picture that is indexed in the dictionary. When you click on the link to see the photo, it throws an error message.

mvf commented 3 years ago

qolibri's internal audio player seems to have broken with the switch to Qt5. On Unix systems qolibri will default to a commonly installed command-line player, so it usually works. On Windows where there's no great default, you'll have to select a suitable program under SettingsOptionsExternal programSound(wave):

image

If you are an Anki user, there's a suitable mpv.exe in the Anki installation directory, which is what I'm using above. On a totally fresh Windows, you should be able to use Windows Media Player (e.g. C:\Program Files\Windows Media Player\wmplayer.exe), but this will pop up a player window every time, so it's not ideal IMO.

When you click on the link to see the photo, it throws an error message.

I assume you mean cases like this?

image

These are currently broken because libeb returns an error. On 1.x, clicking such a link did nothing, 2.x seems to want to start an external program, which fails with an error message.

darlopvil commented 3 years ago

About the audio player. It worked, thanks! About the image error, I tried what you said without results of course, but, will it be fixed in the future? Are you currently thinking of how can it be repaired or it seems impossible?

mvf commented 2 years ago

Closing this in favor of #44 and #45, which track the internal audio player and the error links, respectively. The former should be easily fixable, so I've put it in the next release. The EB errors require more effort, so I don't have an ETA yet.