X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Finitializers%2Fconstants.ts;h=ee4503b2c39cad0c04c00055243f98bc312a01f1;hb=764b1a14fc494f2cfd7ea590d2f07b01df65c7ad;hp=06b4e5a181aa443ee85b722132759c764cdf7eeb;hpb=60520c7c852b7430e09cdc68ac7ccfe506cbf417;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 06b4e5a18..ee4503b2c 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -24,7 +24,7 @@ import { CONFIG, registerConfigChangedHandler } from './config' // --------------------------------------------------------------------------- -const LAST_MIGRATION_VERSION = 650 +const LAST_MIGRATION_VERSION = 655 // --------------------------------------------------------------------------- @@ -77,6 +77,7 @@ const SORTABLE_COLUMNS = { // Don't forget to update peertube-search-index with the same values VIDEOS_SEARCH: [ 'name', 'duration', 'createdAt', 'publishedAt', 'originallyPublishedAt', 'views', 'likes', 'match' ], VIDEO_CHANNELS_SEARCH: [ 'match', 'displayName', 'createdAt' ], + VIDEO_PLAYLISTS_SEARCH: [ 'match', 'displayName', 'createdAt' ], ABUSES: [ 'id', 'createdAt', 'state' ], @@ -447,9 +448,10 @@ const MIMETYPES = { 'audio/ogg': '.ogg', 'audio/x-ms-wma': '.wma', 'audio/wav': '.wav', + 'audio/x-wav': '.wav', 'audio/x-flac': '.flac', 'audio/flac': '.flac', - '‎audio/aac': '.aac', + 'audio/aac': '.aac', 'audio/m4a': '.m4a', 'audio/mp4': '.m4a', 'audio/x-m4a': '.m4a',