mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +00:00
now images in tiktok module follow audio only mode properly
This commit is contained in:
parent
ecf2dac5d8
commit
4cd6461c4e
|
@ -82,6 +82,14 @@ export default async function(obj) {
|
|||
urls: video,
|
||||
filename: videoFilename
|
||||
}
|
||||
if (images && obj.isAudioOnly) {
|
||||
return {
|
||||
urls: audio,
|
||||
audioFilename: audioFilename,
|
||||
isAudioOnly: true,
|
||||
isMp3: isMp3,
|
||||
}
|
||||
}
|
||||
if (images) {
|
||||
let imageLinks = [];
|
||||
for (let i in images) {
|
||||
|
|
Loading…
Reference in a new issue