Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video uploads result in error #17

Open
daedric7 opened this issue Oct 31, 2022 · 1 comment
Open

Video uploads result in error #17

daedric7 opened this issue Oct 31, 2022 · 1 comment

Comments

@daedric7
Copy link

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 ?

@efelon
Copy link
Contributor

efelon commented Nov 29, 2022

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 added a commit to efelon/matrix.sh that referenced this issue Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants