oops went on a massive code sesh and theres like a whole website now

This commit is contained in:
2026-11-03 19:01:41 +00:00
parent e4e28174bf
commit 7e8f329109
27 changed files with 492 additions and 102 deletions

View File

@@ -3,9 +3,11 @@ export const immutable = [];
export const prerendered = [];
export const assets = [
{"path":"robots.txt"},
{"path":"adumh00man.png"}
];
export const routes = [
{"id":"/","page":true,"endpoint":false},
{"id":"/artwork/[itemId]","page":false,"endpoint":true}
];

View File

@@ -9,7 +9,7 @@ export const nodes = [
export const server_loads = [];
export const dictionary = {
"/": [2]
"/": [~2]
};
export const hooks = {

View File

@@ -1,5 +1,5 @@
const variables = {};
const handle_issues = () => {};
import { variables } from "../../../../src/env.ts";
import { validate, handle_issues } from '@sveltejs/kit/internal/env';
const issues = {};
@@ -15,8 +15,15 @@ handle_issues(issues);
export function set_env(env) {
const issues = {};
const JELLYFIN_URL = validate(variables, env.JELLYFIN_URL, "JELLYFIN_URL", issues);
dynamic_private_env.JELLYFIN_URL = JELLYFIN_URL;
const JELLYFIN_API_KEY = validate(variables, env.JELLYFIN_API_KEY, "JELLYFIN_API_KEY", issues);
dynamic_private_env.JELLYFIN_API_KEY = JELLYFIN_API_KEY;
const JELLYFIN_PLAYLIST_ID = validate(variables, env.JELLYFIN_PLAYLIST_ID, "JELLYFIN_PLAYLIST_ID", issues);
dynamic_private_env.JELLYFIN_PLAYLIST_ID = JELLYFIN_PLAYLIST_ID;
const JELLYFIN_USER_ID = validate(variables, env.JELLYFIN_USER_ID, "JELLYFIN_USER_ID", issues);
dynamic_private_env.JELLYFIN_USER_ID = JELLYFIN_USER_ID;
handle_issues(issues);
}
set_env({});
set_env({JELLYFIN_URL:"http://192.168.1.180:8096",JELLYFIN_API_KEY:"2727181a933049dcbc8d63cf0bcc15f3",JELLYFIN_PLAYLIST_ID:"e3088b1ab54766ad3668bc71a574a2f7",JELLYFIN_USER_ID:"5824596713e44e8c949f529e1a081393"});

View File

@@ -0,0 +1,6 @@
import { dynamic_private_env as env } from '../config.js';
export const JELLYFIN_URL = env.JELLYFIN_URL;
export const JELLYFIN_API_KEY = env.JELLYFIN_API_KEY;
export const JELLYFIN_PLAYLIST_ID = env.JELLYFIN_PLAYLIST_ID;
export const JELLYFIN_USER_ID = env.JELLYFIN_USER_ID;

View File

@@ -0,0 +1,2 @@
const { env } = globalThis.__sveltekit_dev;

View File

@@ -0,0 +1,2 @@
import { rendered_env as env } from '../config.js';

View File

@@ -3,5 +3,5 @@ globalThis.__sveltekit_dev = {
env: {
// empty
},
version: "1793620726000"
version: "1793725498340"
};

View File

@@ -7,7 +7,7 @@ export const options = {
csrf_trusted_origins: [],
service_worker_options: undefined,
templates: {
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\t\t<meta name=\"text-scale\" content=\"scale\" />\n\t\t" + head + "\n\t</head>\n\t<body class=\"bg-ctp-mantle text-ctp-text\" data-sveltekit-preload-data=\"hover\">\n\t\t<div style=\"display: contents\">" + body + "</div>\n\t</body>\n</html>\n",
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<!-- Fonts -->\n\t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\" />\n\t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin />\n\t\t<link\n\t\t\thref=\"https://fonts.googleapis.com/css2?family=Squada+One&display=swap\"\n\t\t\trel=\"stylesheet\"\n\t\t/>\n\t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\" />\n\t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin />\n\t\t<link\n\t\t\thref=\"https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap\"\n\t\t\trel=\"stylesheet\"\n\t\t/>\n\n\t\t<!-- Not Fonts -->\n\t\t<meta charset=\"utf-8\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\t\t<meta name=\"text-scale\" content=\"scale\" />\n\t\t" + head + "\n\t</head>\n\t<style>\n\t\t.fira-mono-regular {\n\t\t\tfont-family: 'Fira Mono', monospace;\n\t\t\tfont-weight: 400;\n\t\t\tfont-style: normal;\n\t\t}\n\n\t\t.fira-mono-medium {\n\t\t\tfont-family: 'Fira Mono', monospace;\n\t\t\tfont-weight: 500;\n\t\t\tfont-style: normal;\n\t\t}\n\n\t\t.fira-mono-bold {\n\t\t\tfont-family: 'Fira Mono', monospace;\n\t\t\tfont-weight: 700;\n\t\t\tfont-style: normal;\n\t\t}\n\t</style>\n\t<body class=\"fira-mono-regular bg-ctp-mantle text-ctp-text\" data-sveltekit-preload-data=\"hover\">\n\t\t<div style=\"display: contents\">" + body + "</div>\n\t</body>\n</html>\n",
error
}
};