matrix.sh icon indicating copy to clipboard operation
matrix.sh copied to clipboard

Video uploads result in error

Open daedric7 opened this issue 2 years ago • 1 comments

Hello.

While attempting to upload a video to a channel, the script does not return a error.

On the element website the message is already in error prompting to send a log.tar to synapse Github

On the element android app, the file name shows up, pressing on it returns "url is null".

Aparently, this is caused by a filename with spaces in it.

Can anyone confirm this behaviour ?

daedric7 avatar Oct 31 '22 09:10 daedric7

I'm pretty sure line 261 is the problem. If you like you may try and change it to:

filename="$(basename "$FILE")"

I will create a PR as soon as I find some time.

Edit: This does not solve the problem. Need to investigate more. But it is definitely a problem with the space in the file name.

efelon avatar Nov 29 '22 11:11 efelon