1
0
Fork 0

Fix video upload with some characters in filename

This commit is contained in:
Chocobozzz 2022-05-17 14:54:54 +02:00
parent f15f20a5be
commit f4120aea7a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 8 additions and 8 deletions

View File

@ -36,10 +36,10 @@
* Add an intro at the beginning and/or an outro at the end of the video
* Add an icon/watermark in the top right corner of the video
* PeerTube will automatically transcode the new video and replace the original one
* :tada: Add advanced video statistics :tada:
* :tada: Add advanced statistics of a specific video :tada:
* Provide *Average watch time*, *Total watch time* and *Peak viewers* video statistics
* Display total viewers, aggregated watch time and audience retention in interactive time series graphs
* Display viewer countries in bar chart if enabled by admins
* Display viewer countries in bar chart if not disabled by admins
* :tada: Add latency setting support for lives (small latency without P2P or high latency to increase P2P ratio) :tada:
* :tada: Add ability to save a replay of every streaming session of a permanent live :tada:
* Add simple subtitle edition from video captions tab in video edition form [#4666](https://github.com/Chocobozzz/PeerTube/pull/4666)

View File

@ -136,7 +136,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
return this.refereshTokenAndRetryUpload()
}
const error = state.response?.error || 'Unknow error'
const error = state.response?.error?.message || state.response?.error || 'Unknown error'
this.handleUploadError({
error: new Error(error),

View File

@ -83,7 +83,7 @@
"@babel/parser": "7.17.8",
"@peertube/feed": "^5.0.1",
"@peertube/http-signature": "^1.6.0",
"@uploadx/core": "^5.1.0",
"@uploadx/core": "^5.1.2",
"async": "^3.0.1",
"async-lru": "^1.1.1",
"bcrypt": "5.0.1",

View File

@ -2235,10 +2235,10 @@
resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44"
integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==
"@uploadx/core@^5.1.0":
version "5.1.0"
resolved "https://registry.yarnpkg.com/@uploadx/core/-/core-5.1.0.tgz#292d6f0c2a2e8f21283eed7879a73ee856334ac0"
integrity sha512-C19Hne2X7PaaJ8J8clj0XE+iAqAtIx/8DnsSMMe8LWtIcGnquRsj5acaawuhOr7SrYOpI1CHCY5HC4SPtykb7g==
"@uploadx/core@^5.1.2":
version "5.1.2"
resolved "https://registry.yarnpkg.com/@uploadx/core/-/core-5.1.2.tgz#6e4dbfa586c58dd358765bdc5590536c2ba26267"
integrity sha512-/91wxm4g/Cn0/AcFN96MOWUaQzSQ8rPv2ObHhmHrl5sId2DJqnUiY2Ll4Xkw+WDzuHNF3V9yVwSh53eR1TUDpQ==
dependencies:
bytes "^3.1.0"
debug "^4.3.1"