"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateWebTorrentObjectStorageKey = exports.generateHLSObjectBaseStorageKey = exports.generateHLSObjectStorageKey = void 0;
const path_1 = require("path");
function generateHLSObjectStorageKey(playlist, filename) {
    return (0, path_1.join)(generateHLSObjectBaseStorageKey(playlist), filename);
}
exports.generateHLSObjectStorageKey = generateHLSObjectStorageKey;
function generateHLSObjectBaseStorageKey(playlist) {
    return (0, path_1.join)(playlist.getStringType(), playlist.Video.uuid);
}
exports.generateHLSObjectBaseStorageKey = generateHLSObjectBaseStorageKey;
function generateWebTorrentObjectStorageKey(filename) {
    return filename;
}
exports.generateWebTorrentObjectStorageKey = generateWebTorrentObjectStorageKey;
//# sourceMappingURL=keys.js.map