@exezt-/webamp 1.5.0-0x722 → 1.5.0-0x724
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.
|
@@ -3442,8 +3442,6 @@ class WinampTelegramCustomHandler {
|
|
|
3442
3442
|
|
|
3443
3443
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "telegram", void 0);
|
|
3444
3444
|
|
|
3445
|
-
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "options", void 0);
|
|
3446
|
-
|
|
3447
3445
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "loadCustomTracks", tracks => {
|
|
3448
3446
|
var _this$webamp;
|
|
3449
3447
|
|
|
@@ -3560,7 +3558,7 @@ class WinampTelegramCustomHandler {
|
|
|
3560
3558
|
});
|
|
3561
3559
|
|
|
3562
3560
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "saveLastPlaylist", playlistLink => {
|
|
3563
|
-
document.cookie = `lastlist=${playlistLink}; path
|
|
3561
|
+
document.cookie = `lastlist=${playlistLink}; path=/; expires=Tue, 19 Jan 2038 03:14:07 GMT; domain=win-amp.ru; secure`;
|
|
3564
3562
|
});
|
|
3565
3563
|
|
|
3566
3564
|
_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getCookie", name => {
|
|
@@ -3629,7 +3627,6 @@ class WinampTelegramCustomHandler {
|
|
|
3629
3627
|
}
|
|
3630
3628
|
});
|
|
3631
3629
|
|
|
3632
|
-
this.options = options;
|
|
3633
3630
|
setTimeout(() => {
|
|
3634
3631
|
if (!window.__webamp) {
|
|
3635
3632
|
throw new Error("Webamp __webamp is undefined!!");
|
|
@@ -3664,16 +3661,6 @@ class WinampTelegramCustomHandler {
|
|
|
3664
3661
|
|
|
3665
3662
|
this.initializeApplicationHandlers();
|
|
3666
3663
|
}
|
|
3667
|
-
|
|
3668
|
-
this.webamp.options.__initialWindowLayout = {
|
|
3669
|
-
playlist: {
|
|
3670
|
-
position: {
|
|
3671
|
-
x: 0,
|
|
3672
|
-
y: 0
|
|
3673
|
-
},
|
|
3674
|
-
size: [5, 5]
|
|
3675
|
-
}
|
|
3676
|
-
};
|
|
3677
3664
|
}, 1000);
|
|
3678
3665
|
}
|
|
3679
3666
|
|
|
@@ -3719,6 +3706,7 @@ class WinampTelegramCustomHandler {
|
|
|
3719
3706
|
}
|
|
3720
3707
|
|
|
3721
3708
|
}
|
|
3709
|
+
new WinampTelegramCustomHandler(true);
|
|
3722
3710
|
|
|
3723
3711
|
/***/ }),
|
|
3724
3712
|
/* 35 */,
|
|
@@ -10855,7 +10843,7 @@ function files_addDirAtIndex(nextIndex) {
|
|
|
10855
10843
|
};
|
|
10856
10844
|
}
|
|
10857
10845
|
function files_addFilesFromUrl(atIndex = 0) {
|
|
10858
|
-
new webamp_telegram_handler["a" /* default */](false).getTrackListFromYandexDisk(prompt('Введите ссылку на
|
|
10846
|
+
new webamp_telegram_handler["a" /* default */](false).getTrackListFromYandexDisk(prompt('Введите ссылку на Яндекс Диск')); // return async (dispatch, getState, { handleLoadListEvent }) => {
|
|
10859
10847
|
// if (handleLoadListEvent) {
|
|
10860
10848
|
// const tracks = await handleLoadListEvent();
|
|
10861
10849
|
//
|