Ensure we get proper audio metadata.

This commit is contained in:
Alberto Miranda
2018-07-22 16:17:34 -03:00
parent cf8c1654e8
commit a5d946fe83

View File

@@ -292,7 +292,7 @@ module.exports = class PlaybackController {
}
function getAudioMetadata () {
if (state.playing.type === 'audio' && !fileSummary.audioInfo) {
if (state.playing.type === 'audio') {
ipcRenderer.send('wt-get-audio-metadata', torrentSummary.infoHash, index)
}
}