Fix downloads when intro skipper is enabled and server is not reachable (#248)
This commit is contained in:
parent
e6e5cf05ca
commit
4b17e42d2d
1 changed files with 0 additions and 1 deletions
|
@ -227,7 +227,6 @@ class JellyfinRepositoryImpl(private val jellyfinApi: JellyfinApi) : JellyfinRep
|
||||||
try {
|
try {
|
||||||
return@withContext jellyfinApi.api.get<Intro>("/Episode/{itemId}/IntroTimestamps/v1", pathParameters).content
|
return@withContext jellyfinApi.api.get<Intro>("/Episode/{itemId}/IntroTimestamps/v1", pathParameters).content
|
||||||
} catch (e: InvalidStatusException) {
|
} catch (e: InvalidStatusException) {
|
||||||
if (e.status != 404) throw e
|
|
||||||
return@withContext null
|
return@withContext null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue