Skip to content
Snippets Groups Projects
Commit 4f9e6693 authored by Christian Bager Bach Houmann's avatar Christian Bager Bach Houmann
Browse files

fix rename leading to error

parent 394b2183
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ import downloadEpisodeWithProgressNotice from "./downloadEpisode";
import DownloadedEpisode from "./types/DownloadedEpisode";
import DownloadedEpisodesController from "./store_controllers/DownloadedEpisodesController";
import { TFile } from "obsidian";
import { createMediaUrlObjectFromFilePath } from "./utility/createUrlObjectFromFilePath";
import { createMediaUrlObjectFromFilePath } from "./utility/createMediaUrlObjectFromFilePath";
import { LocalFilesController } from "./store_controllers/LocalFilesController";
import PartialAppExtension from "./global";
......
......@@ -22,7 +22,7 @@
import spawnEpisodeContextMenu from "./spawnEpisodeContextMenu";
import { Episode } from "src/types/Episode";
import { ViewState } from "src/types/ViewState";
import { createUrlObjectFromFilePath } from "src/utility/createUrlObjectFromFilePath";
import { createMediaUrlObjectFromFilePath } from "src/utility/createMediaUrlObjectFromFilePath";
import Image from "../common/Image.svelte";
// #region Circumventing the forced two-way binding of the playback rate.
......@@ -159,7 +159,7 @@
const downloadedEpisode = downloadedEpisodes.getEpisode(episode);
if (!downloadedEpisode) return '';
return createUrlObjectFromFilePath(downloadedEpisode.filePath);
return createMediaUrlObjectFromFilePath(downloadedEpisode.filePath);
} else {
return episode.streamUrl;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment