@exezt-/webamp 1.5.0-0x708 → 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
|
});
|
|
@@ -15632,7 +15631,7 @@ function files_addDirAtIndex(nextIndex) {
|
|
|
15632
15631
|
};
|
|
15633
15632
|
}
|
|
15634
15633
|
function files_addFilesFromUrl(atIndex = 0) {
|
|
15635
|
-
new webamp_telegram_handler["a" /* default */](false).
|
|
15634
|
+
new webamp_telegram_handler["a" /* default */](false).getTrackListFromYandexDisk(prompt('Введите ссылку на яндекс диск')); // return async (dispatch, getState, { handleLoadListEvent }) => {
|
|
15636
15635
|
// if (handleLoadListEvent) {
|
|
15637
15636
|
// const tracks = await handleLoadListEvent();
|
|
15638
15637
|
//
|