mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-15 18:30:23 +01:00
Fixed reloading issue
This commit is contained in:
@@ -116,9 +116,9 @@ const Player = () => {
|
|||||||
audioIndex,
|
audioIndex,
|
||||||
subtitleIndex,
|
subtitleIndex,
|
||||||
bitrateValue,
|
bitrateValue,
|
||||||
user,
|
|
||||||
mediaSourceId,
|
mediaSourceId,
|
||||||
],
|
],
|
||||||
|
|
||||||
queryFn: async () => {
|
queryFn: async () => {
|
||||||
if (!api) {
|
if (!api) {
|
||||||
throw new Error("No api");
|
throw new Error("No api");
|
||||||
@@ -129,7 +129,6 @@ const Player = () => {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("getting med");
|
|
||||||
const res = await getStreamUrl({
|
const res = await getStreamUrl({
|
||||||
api,
|
api,
|
||||||
item,
|
item,
|
||||||
|
|||||||
Reference in New Issue
Block a user