incyclist-services 1.7.46 → 1.7.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -135,12 +135,11 @@ let RouteDownloadService = (() => {
|
|
|
135
135
|
}
|
|
136
136
|
waitForVideoDir(observer) {
|
|
137
137
|
if (this.isMobile()) {
|
|
138
|
+
this.logEvent({ message: 'setting fixed video dir on mobile' });
|
|
138
139
|
try {
|
|
139
|
-
const
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
return Promise.resolve(videoDir);
|
|
143
|
-
}
|
|
140
|
+
const videoDir = this.getBindings()?.downloadManager?.getVideoDir?.();
|
|
141
|
+
this.logEvent({ message: 'video dir set', videoDir });
|
|
142
|
+
return Promise.resolve(videoDir);
|
|
144
143
|
}
|
|
145
144
|
catch { }
|
|
146
145
|
}
|
|
@@ -132,12 +132,11 @@ let RouteDownloadService = (() => {
|
|
|
132
132
|
}
|
|
133
133
|
waitForVideoDir(observer) {
|
|
134
134
|
if (this.isMobile()) {
|
|
135
|
+
this.logEvent({ message: 'setting fixed video dir on mobile' });
|
|
135
136
|
try {
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
return Promise.resolve(videoDir);
|
|
140
|
-
}
|
|
137
|
+
const videoDir = this.getBindings()?.downloadManager?.getVideoDir?.();
|
|
138
|
+
this.logEvent({ message: 'video dir set', videoDir });
|
|
139
|
+
return Promise.resolve(videoDir);
|
|
141
140
|
}
|
|
142
141
|
catch { }
|
|
143
142
|
}
|