From 98e75db6ff734c345c168298af17083004aee6e6 Mon Sep 17 00:00:00 2001 From: suricata Date: Thu, 15 Jan 2026 23:11:17 +0000 Subject: [PATCH] moved --- app/{composables => utils}/set_colors.ts | 0 app/utils/yt_titles.ts | 11 +++++++++++ 2 files changed, 11 insertions(+) rename app/{composables => utils}/set_colors.ts (100%) create mode 100644 app/utils/yt_titles.ts diff --git a/app/composables/set_colors.ts b/app/utils/set_colors.ts similarity index 100% rename from app/composables/set_colors.ts rename to app/utils/set_colors.ts diff --git a/app/utils/yt_titles.ts b/app/utils/yt_titles.ts new file mode 100644 index 0000000..3c4e4a9 --- /dev/null +++ b/app/utils/yt_titles.ts @@ -0,0 +1,11 @@ +// @ts-ignore +const getArtistTitle = require('get-artist-title') + +export function get_title(vid_id: string) { + +} + +export function filter_title(title: string) { + const [ artist, track ] = getArtistTitle(title) + return [ artist, track ] +} \ No newline at end of file