+ buildWebTorrentFilePath (fileUrl: string) {
+ return this.buildDirectory(join('videos', basename(fileUrl)))
+ }
+
+ buildFragmentedFilePath (videoUUID: string, fileUrl: string) {
+ return this.buildDirectory(join('streaming-playlists', 'hls', videoUUID, basename(fileUrl)))
+ }
+
+ getLogContent () {
+ return readFile(this.buildDirectory('logs/peertube.log'))
+ }
+