Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
94 changes: 91 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
"wtf_wikipedia": "^10.3.2"
},
"dependencies": {
"@zokugun/dynopl": "^0.1.1",
"ajv": "^8.17.1",
"chord-symbol": "^4.0.0",
"is-dark-color": "^1.2.0",
"mousetrap": "^1.6.5",
Expand All @@ -82,6 +84,8 @@
"svelecte": "^4.5.1",
"svelte-tiny-virtual-list": "^2.1.2",
"svrollbar": "^0.12.0",
"wtf-plugin-html": "^1.0.0"
"uuid": "^11.1.0",
"wtf-plugin-html": "^1.0.0",
"yaml": "^2.7.0"
}
}
10 changes: 9 additions & 1 deletion src/App.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { UserQueryPart } from "./lib/smart-query/UserQueryPart";
import type { Playlist as DynamicPlaylist } from "@zokugun/dynopl";

interface MetadataEntry {
/** Musicat's cross-file tag identifier */
Expand Down Expand Up @@ -102,11 +103,18 @@ interface Playlist {
tracks: string[];
}

interface PlaylistFile {
interface StaticPlaylistFile {
path: string;
title: string; // the filename
}

interface DynamicPlaylistFile {
path: string;
title: string; // the filename
schema: DynamicPlaylist;
query?: SmartQuery;
}

/**
* Represents a song/track that's in progress.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/data/FolderWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
loadArtistsFromSongbook,
loadSongProjectsForArtist,
} from "./ArtistsToolkitData";
import { scanPlaylists } from "./M3UUtils";
import { scanPlaylists } from "./PlaylistUtils";

// can also watch an array of paths
export async function startWatchingLibraryFolders() {
Expand Down
Loading