Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ebd20d7
Basic engine idea
Mar 16, 2026
f44e6a5
Audio
Mar 16, 2026
9034992
Library and Storage
Mar 16, 2026
a5e4d58
So much moreeeeeee
Mar 16, 2026
838ffec
A few things that needed to be fixed
Mar 16, 2026
88690dd
more fixes
Mar 16, 2026
ffa6e91
Movement
Mar 17, 2026
b4c5ed6
owwwwwwwww
Mar 19, 2026
4a5abec
More stuff
Mar 20, 2026
59458ae
Helpers go bye byeeeeee (most of em)
Mar 20, 2026
5f488ed
one more fileeee (hook time)
Mar 20, 2026
918be77
make-pretty
Mar 20, 2026
9c81a2d
hooks
Mar 20, 2026
f0d9542
Tiny stuff
Mar 20, 2026
7e2c1d6
more stuff
Mar 20, 2026
0902010
move
Mar 28, 2026
2298d76
bunch of changes
Mar 29, 2026
e269acc
SATORIII
Mar 29, 2026
27df322
bunch of stuff (i forgot to commit this from a week ago oops)
Mar 31, 2026
62e90ea
Some tiny state fixes
Apr 8, 2026
cdae3fd
Gasp i almost deleted this folder I thought I'd commited these
NellowTCS Sep 14, 2026
d72f153
Visualizers
NellowTCS Sep 21, 2026
4fc6545
Cursor
NellowTCS Sep 22, 2026
c5454ae
Various fixes
NellowTCS Sep 23, 2026
c3140f0
Visualizers
NellowTCS Sep 23, 2026
7d50977
Updates
NellowTCS Sep 23, 2026
3e60188
Fix
NellowTCS Sep 23, 2026
bf5721e
Many changes
NellowTCS Sep 25, 2026
b3fa7db
More fixes
NellowTCS Sep 25, 2026
c9042e0
Massive changes to everything
NellowTCS Sep 28, 2026
7a85b8d
Fixes
NellowTCS Sep 29, 2026
54fafed
Review comments and changes
NellowTCS Sep 30, 2026
5a0dc42
Review comments
NellowTCS Oct 1, 2026
d52c8e0
WASM stuff and fixes
NellowTCS Oct 2, 2026
89d56c1
Many changes
NellowTCS Oct 5, 2026
1843396
temporary vendor of music-metadata = CAF working (also the other dura…
NellowTCS Oct 6, 2026
39055db
netlify
NellowTCS Oct 6, 2026
2788279
oop
NellowTCS Oct 6, 2026
4b7279d
Fix CI
NellowTCS Oct 6, 2026
18521ed
Enable everything on safari to see what breaks
NellowTCS Oct 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Movement
  • Loading branch information
NellowTCS
NellowTCS committed Mar 17, 2026
commit ffa6e91e68a28003d13f03d9e3ab170ee4817231
2 changes: 1 addition & 1 deletion Build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<link href="./src/global.css" rel="stylesheet" />
<!-- Default theme loaded first for instant styling and first load -->
<link
href="./src/themes/Themes/Blue/Blue.theme.css"
href="./src/ui/resources/themes/Palettes/Blue/Blue.theme.css"
rel="stylesheet"
id="theme-link"
/>
Expand Down
2 changes: 1 addition & 1 deletion Build/src/components/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import React, {
memo,
} from "react";
import { useTranslation } from "react-i18next";
import { useIconRegistry } from "../helpers/iconLoader";
import { useIconRegistry } from "../ui/iconLoader";
import type { IconLookupOptions, ResolvedIcon } from "../types/icons";

interface IconFallbackState {
Expand Down
4 changes: 2 additions & 2 deletions Build/src/components/Miniplayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { createRoot } from "react-dom/client";
import { useTranslation } from "react-i18next";
import { Button } from "./Button";
import { Icon } from "./Icon";
import { getCurrentThemeCSS } from "../helpers/themeMode";
import { getCurrentThemeCSS } from "../ui/themeMode";
import styles from "./Miniplayer.module.css";
import { useAudioStore } from "../contexts/audioStore";
import { IconRegistryProvider } from "../helpers/iconLoader";
import { IconRegistryProvider } from "../ui/iconLoader";

interface MiniplayerControls {
togglePlayPause: () => void;
Expand Down
6 changes: 3 additions & 3 deletions Build/src/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import {
import { ThemeModeSwitch } from "./ThemeModeSwitch";
import { ShortcutConfig } from "./ShortcutConfig";
import styles from "./Settings.module.css";
import { useThemeLoader } from "../helpers/themeLoader";
import { useIconRegistry } from "../helpers/iconLoader";
import { useWallpaperLoader } from "../helpers/wallpaperLoader";
import { useThemeLoader } from "../ui/themeLoader";
import { useIconRegistry } from "../ui/iconLoader";
import { useWallpaperLoader } from "../ui/wallpaperLoader";
import { toast } from "sonner";
import { useRef, useState, useEffect, JSX } from "react";
import { useTranslation } from "react-i18next";
Expand Down
2 changes: 1 addition & 1 deletion Build/src/components/ThemeModeSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
switchToDarkMode,
switchToLightMode,
switchToAutoMode,
} from "../helpers/themeMode";
} from "../ui/themeMode";
import styles from "./ThemeModeSwitch.module.css";

export interface ThemeModeSwitchProps {
Expand Down
2 changes: 1 addition & 1 deletion Build/src/components/Wallpaper.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Suspense, useEffect, useRef } from "react";
import { useWallpaperLoader } from "../helpers/wallpaperLoader";
import { useWallpaperLoader } from "../ui/wallpaperLoader";

// WallpaperRenderer Component
interface WallpaperRendererProps {
Expand Down
3 changes: 3 additions & 0 deletions Build/src/core/engine/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,15 @@ export class KomorebiEngine {

this.stateMachine.transition("loading");
this.currentError = null;
this.events.emit("loading", { track });

this.backend
.load(track.url)
.then(() => {
this.duration = this.backend?.getDuration() ?? track.duration;
this.stateMachine.transition("ready");
this.events.emit("durationchange", { duration: this.duration });
this.events.emit("ready", { track });
this.emitStateChange();
})
.catch((error) => {
Expand Down
6 changes: 6 additions & 0 deletions Build/src/core/engine/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,20 +127,26 @@ export type EngineEvent =
| "statechange"
| "trackchange"
| "timeupdate"
| "durationchange"
| "volumechange"
| "queuechange"
| "settingschange"
| "ended"
| "loading"
| "ready"
| "error";

export interface EngineEventMap {
statechange: { oldState: PlayerState; newState: PlayerState };
trackchange: { from: Track | null; to: Track | null };
timeupdate: { currentTime: number; duration: number };
durationchange: { duration: number };
volumechange: { volume: number };
queuechange: { queue: QueueState };
settingschange: { settings: Partial<EngineSettings> };
ended: { track: Track };
loading: { track: Track };
ready: { track: Track };
error: { error: EngineError };
}

Expand Down
102 changes: 0 additions & 102 deletions Build/src/helpers/audioProcessor.ts

This file was deleted.

2 changes: 1 addition & 1 deletion Build/src/helpers/filePickerHelper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
import ReactDOM from "react-dom/client";
import { useTranslation } from "react-i18next";
import i18n from "i18next";
import { IconRegistryProvider } from "./iconLoader";
import { IconRegistryProvider } from "../ui/iconLoader";
import { importAudioFiles } from "./importAudioFiles";

// Extend Window interface for File Handling API
Expand Down
Loading
Loading