Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused getIntros function #691

Merged
merged 1 commit into from
Nov 10, 2024
Merged
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
15 changes: 0 additions & 15 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,21 +594,6 @@ export async function getEpisodesForPlayback(
return response.data;
}

/**
* Get intros for a given item. This item should be a video
* type for this to make sense
* @param firstItem - item to get intros for
* @returns intro items
*/
export function getIntros(
firstItem: BaseItemDto
): Promise<BaseItemDtoQueryResult> {
return JellyfinApi.authAjaxUser(`Items/${firstItem.Id}/Intros`, {
dataType: 'json',
type: 'GET'
});
}

/**
* Get user object for the current user
* @returns user object
Expand Down
Loading