@exezt-/webamp 1.5.0-0x709 → 1.5.0-0x710
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.
package/built/webamp.bundle.js
CHANGED
|
@@ -7445,12 +7445,12 @@ class WinampTelegramCustomHandler {
|
|
|
7445
7445
|
if (i === 0) {
|
|
7446
7446
|
this.webamp.setTracksToPlay([{
|
|
7447
7447
|
defaultName: item.name,
|
|
7448
|
-
url:
|
|
7448
|
+
url: `${item.file}&public_key=${item.public_key}`
|
|
7449
7449
|
}]);
|
|
7450
7450
|
} else {
|
|
7451
7451
|
this.webamp.appendTracks([{
|
|
7452
7452
|
defaultName: item.name,
|
|
7453
|
-
url:
|
|
7453
|
+
url: `${item.file}&public_key=${item.public_key}`
|
|
7454
7454
|
}]);
|
|
7455
7455
|
}
|
|
7456
7456
|
}
|
|
@@ -7505,8 +7505,7 @@ class WinampTelegramCustomHandler {
|
|
|
7505
7505
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onTrackNeedToLoad", () => {
|
|
7506
7506
|
let track = this.getCurrentTrack();
|
|
7507
7507
|
|
|
7508
|
-
if (track.url.split('')
|
|
7509
|
-
let uri = track.url.replace('$', '');
|
|
7508
|
+
if (track.url.split('/').includes('downloader')) {
|
|
7510
7509
|
this.loadTrackFromYandexDisk(track);
|
|
7511
7510
|
}
|
|
7512
7511
|
});
|