diff options
-rw-r--r-- | client/src/app/shared/shared-forms/reactive-file.component.ts | 2 | ||||
-rw-r--r-- | server/lib/live-manager.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-forms/reactive-file.component.ts b/client/src/app/shared/shared-forms/reactive-file.component.ts index eeb2a3fd8..fac3dfb3a 100644 --- a/client/src/app/shared/shared-forms/reactive-file.component.ts +++ b/client/src/app/shared/shared-forms/reactive-file.component.ts | |||
@@ -52,7 +52,7 @@ export class ReactiveFileComponent implements OnInit, ControlValueAccessor { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | const extension = '.' + file.name.split('.').pop() | 54 | const extension = '.' + file.name.split('.').pop() |
55 | if (this.extensions.includes(extension) === false) { | 55 | if (this.extensions.includes(extension.toLowerCase()) === false) { |
56 | const message = $localize`PeerTube cannot handle this kind of file. Accepted extensions are ${this.allowedExtensionsMessage}}.` | 56 | const message = $localize`PeerTube cannot handle this kind of file. Accepted extensions are ${this.allowedExtensionsMessage}}.` |
57 | this.notifier.error(message) | 57 | this.notifier.error(message) |
58 | 58 | ||
diff --git a/server/lib/live-manager.ts b/server/lib/live-manager.ts index b549c189f..66b5d119b 100644 --- a/server/lib/live-manager.ts +++ b/server/lib/live-manager.ts | |||
@@ -495,7 +495,7 @@ class LiveManager { | |||
495 | 495 | ||
496 | await federateVideoIfNeeded(fullVideo, false) | 496 | await federateVideoIfNeeded(fullVideo, false) |
497 | } catch (err) { | 497 | } catch (err) { |
498 | logger.error('Cannot save/federate new video state of live streaming.', { err }) | 498 | logger.error('Cannot save/federate new video state of live streaming of video id %d.', videoId, { err }) |
499 | } | 499 | } |
500 | } | 500 | } |
501 | 501 | ||