aboutsummaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
Diffstat (limited to 'src/services')
-rw-r--r--src/services/player.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/player.ts b/src/services/player.ts
index 2465a8a..d578704 100644
--- a/src/services/player.ts
+++ b/src/services/player.ts
@@ -140,7 +140,7 @@ export default class {
}
private getCachedPathTemp(url: string): string {
- return path.join('/tmp', hasha(url));
+ return path.join(this.cacheDir, 'tmp', hasha(url));
}
private async isCached(url: string): Promise<boolean> {