+import { areValidationErrors } from './shared'
+
+const playlistPaths = [
+ join('videos', 'watch', 'playlist'),
+ join('w', 'p')
+]
+
+const videoPaths = [
+ join('videos', 'watch'),
+ 'w'
+]
+
+function buildUrls (paths: string[]) {
+ return paths.map(p => WEBSERVER.SCHEME + '://' + join(WEBSERVER.HOST, p) + '/')
+}
+
+const startPlaylistURLs = buildUrls(playlistPaths)
+const startVideoURLs = buildUrls(videoPaths)