mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-15 02:10:23 +01:00
wip
This commit is contained in:
@@ -182,15 +182,6 @@ export const JellyfinProvider: React.FC<{ children: ReactNode }> = ({
|
|||||||
|
|
||||||
useInterval(refreshStreamyfinPluginSettings, 60 * 5 * 1000); // 5 min
|
useInterval(refreshStreamyfinPluginSettings, 60 * 5 * 1000); // 5 min
|
||||||
|
|
||||||
/************* ✨ Codeium Command ⭐ *************/
|
|
||||||
/**
|
|
||||||
* Discovers and retrieves a list of recommended Jellyfin server candidates based on the provided URL.
|
|
||||||
*
|
|
||||||
* @param url - The URL used to discover server candidates.
|
|
||||||
* @returns A promise that resolves to an array of servers with their addresses.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/****** c70f9dcb-e9fa-4929-8ff2-39aba2e996c8 *******/
|
|
||||||
const discoverServers = async (url: string): Promise<Server[]> => {
|
const discoverServers = async (url: string): Promise<Server[]> => {
|
||||||
const servers = await jellyfin?.discovery.getRecommendedServerCandidates(
|
const servers = await jellyfin?.discovery.getRecommendedServerCandidates(
|
||||||
url
|
url
|
||||||
|
|||||||
Reference in New Issue
Block a user