CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 05:32:13 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"2dfcdab21fcc7397eb844dca5bc2373e"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=2zeIDicTILAJafuPkLu6e6gcuuGHwMbZhqSpxpmIlBrsmC8dFR2uG%2BlLdzYQ1oCms57LV%2BfpAfUERX6%2BAmogYi7AVtS6H3aHs7kAEkrSNePNl9wqv7jyX3CpAWBIW1zWvwc1pOg5EuiTLXMEFZCWt%2FnaIKOcvbJ1IXFW8cMwqVmMglUw08nc2qztERJDuTyxd4zqtiY4AqrSdQODR3lr0lm3woF6SN4XN1udqWz13mKj5D7VavgzYsbOCUV8b5jc1bqvC5wph76AQhg6BUadJg%3D%3D--NX6dEGdV6kkWDMG%2B--chcSgEbQ3HIVaDL6ye8saw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.533578436.1753939933; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 05:32:13 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 05:32:13 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E242:4E82A:31C8CA:433723:688AFFDD
Storage Templates and Migration · Zibbp/ganymede Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 37
Storage Templates and Migration
Isaac edited this page Jan 11, 2023
·
4 revisions
Storage templates are used to customize how folders and files are saved. The template settings can be modified at Admin > Settings and clicking the "Storage Template Settings" button. There are two fields, folder and file. The folder template must include {{uuid}}
to prevent overwriting files.
The available variables for the folder and file templates are:
Ganymede Variables
-
{{uuid}}
: Ganymede internal ID for the video. This must be included somewhere in the folder template.
Twitch Variables
-
{{id}}
: Twitch ID for the video. -
{{channel}}
: Channel name that owns the video. -
{{title}}
: Title of the video (note: the title is sanitized for file systems replacing any illegal characters with an underscore). -
{{date}}
: Date the video was streamed or uploaded. -
{{type}}
: Type of video (archive, highlight, or upload).
Folder
{{id}}-{{uuid}}
// 123456789-92e1ab28-912a-11ed-abfa-0242ac110002
{{date}}-{{id}}-{{type}}-{{uuid}}
// 2022-01-10-123456789-archive-92e1ab28-912a-11ed-abfa-0242ac110002
{{date}}-{{title}}-{{type}}-{{id}}-{{uuid}}
// 2022-01-10-File_Safe_Title-archive-123456789-92e1ab28-912a-11ed-abfa-0242ac110002
A manual task for applying the current storage templates to existing files can be found at Admin > Tasks under "Storage".
Some notes about this task:
- May not work if you have custom files or manually imported videos. If you kept the file scheme while manually adding videos as Ganymede videos you should be OK.
- The task will loop through each video in the database, attempting to rename each file.
- The first rename attempt uses the video path. If that fails then that video is skipped and logged to the console.
- If renames error after the video path, the video is not skipped. Any errors are logged to the console and you should fix them manually.
- All of the *_path (video_path, chat_path, thumbnail_path) database fields are renamed first, then the video folder.
- Task can be run multiple times if you wish to update the templates further.
Clone this wiki locally
You can’t perform that action at this time.