Fix lint
This commit is contained in:
parent
482fa503e5
commit
ac940348cd
3 changed files with 3 additions and 5 deletions
|
@ -8,7 +8,7 @@ export class MenuService {
|
||||||
isMenuDisplayed = true
|
isMenuDisplayed = true
|
||||||
isMenuChangedByUser = false
|
isMenuChangedByUser = false
|
||||||
|
|
||||||
constructor(
|
constructor (
|
||||||
private screenService: ScreenService
|
private screenService: ScreenService
|
||||||
) {
|
) {
|
||||||
// Do not display menu on small screens
|
// Do not display menu on small screens
|
||||||
|
|
|
@ -9,13 +9,12 @@ import {
|
||||||
ActivityPlaylistUrlObject,
|
ActivityPlaylistUrlObject,
|
||||||
ActivityTagObject,
|
ActivityTagObject,
|
||||||
ActivityUrlObject,
|
ActivityUrlObject,
|
||||||
ActivityVideoFileMetadataObject,
|
|
||||||
ActivityVideoUrlObject,
|
ActivityVideoUrlObject,
|
||||||
VideoState
|
VideoState
|
||||||
} from '../../../shared/index'
|
} from '../../../shared/index'
|
||||||
import { VideoTorrentObject } from '../../../shared/models/activitypub/objects'
|
import { VideoTorrentObject } from '../../../shared/models/activitypub/objects'
|
||||||
import { VideoPrivacy } from '../../../shared/models/videos'
|
import { VideoPrivacy } from '../../../shared/models/videos'
|
||||||
import { sanitizeAndCheckVideoTorrentObject, isAPVideoFileMetadataObject } from '../../helpers/custom-validators/activitypub/videos'
|
import { isAPVideoFileMetadataObject, sanitizeAndCheckVideoTorrentObject } from '../../helpers/custom-validators/activitypub/videos'
|
||||||
import { isVideoFileInfoHashValid } from '../../helpers/custom-validators/videos'
|
import { isVideoFileInfoHashValid } from '../../helpers/custom-validators/videos'
|
||||||
import { deleteNonExistingModels, resetSequelizeInstance, retryTransactionWrapper } from '../../helpers/database-utils'
|
import { deleteNonExistingModels, resetSequelizeInstance, retryTransactionWrapper } from '../../helpers/database-utils'
|
||||||
import { logger } from '../../helpers/logger'
|
import { logger } from '../../helpers/logger'
|
||||||
|
|
|
@ -2,8 +2,8 @@ import { HLS_STREAMING_PLAYLIST_DIRECTORY, P2P_MEDIA_LOADER_PEER_VERSION, WEBSER
|
||||||
import { basename, extname as extnameUtil, join } from 'path'
|
import { basename, extname as extnameUtil, join } from 'path'
|
||||||
import {
|
import {
|
||||||
canDoQuickTranscode,
|
canDoQuickTranscode,
|
||||||
getMetadataFromFile,
|
|
||||||
getDurationFromVideoFile,
|
getDurationFromVideoFile,
|
||||||
|
getMetadataFromFile,
|
||||||
getVideoFileFPS,
|
getVideoFileFPS,
|
||||||
transcode,
|
transcode,
|
||||||
TranscodeOptions,
|
TranscodeOptions,
|
||||||
|
@ -20,7 +20,6 @@ import { CONFIG } from '../initializers/config'
|
||||||
import { MStreamingPlaylistFilesVideo, MVideoFile, MVideoWithAllFiles, MVideoWithFile } from '@server/typings/models'
|
import { MStreamingPlaylistFilesVideo, MVideoFile, MVideoWithAllFiles, MVideoWithFile } from '@server/typings/models'
|
||||||
import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent'
|
import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent'
|
||||||
import { generateVideoStreamingPlaylistName, getVideoFilename, getVideoFilePath } from './video-paths'
|
import { generateVideoStreamingPlaylistName, getVideoFilename, getVideoFilePath } from './video-paths'
|
||||||
import { extractVideo } from './videos'
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimize the original video file and replace it. The resolution is not changed.
|
* Optimize the original video file and replace it. The resolution is not changed.
|
||||||
|
|
Loading…
Add table
Reference in a new issue