How does anyone work with YouTube's internal API? Translated ytmusicapi's gethome() to JS, need to start refactoring the functions to produce lazuli media items.

This commit is contained in:
Eclypsed
2024-02-25 00:33:34 -05:00
parent fe37c8aa6e
commit 1b4c91ba35
6 changed files with 483 additions and 84 deletions

View File

@@ -1,5 +1,6 @@
import { Connections } from '$lib/server/users'
import { Jellyfin, YouTubeMusic } from '$lib/services'
import { Jellyfin } from '$lib/services'
import { YouTubeMusic } from '$lib/service-managers/youtube-music'
import type { RequestHandler } from '@sveltejs/kit'
export const GET: RequestHandler = async ({ params }) => {

View File

@@ -1,7 +1,7 @@
import type { RequestHandler } from '@sveltejs/kit'
import { SECRET_INTERNAL_API_KEY } from '$env/static/private'
import { Jellyfin, YouTubeMusic } from '$lib/services'
import { google } from 'googleapis'
import { Jellyfin } from '$lib/services'
import { YouTubeMusic } from '$lib/service-managers/youtube-music'
// This is temporary functionally for the sake of developing the app.
// In the future will implement more robust algorithm for offering recommendations