Fixed reloading issue

This commit is contained in:
Alex Kim
2024-11-25 15:53:15 +11:00
parent 0054095b20
commit e82890d7ff

View File

@@ -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,