diff --git a/src/app/home/recent-playlists/recent-playlists.component.html b/src/app/home/recent-playlists/recent-playlists.component.html
index 6b4097605..21c1c4b00 100644
--- a/src/app/home/recent-playlists/recent-playlists.component.html
+++ b/src/app/home/recent-playlists/recent-playlists.component.html
@@ -58,28 +58,6 @@
(refreshClicked)="refreshPlaylist($event)"
(removeClicked)="removeClicked($event)"
/>
-
-
-
{{ migrationMessage }}
-
-
-
} @placeholder {
diff --git a/src/app/home/recent-playlists/recent-playlists.component.scss b/src/app/home/recent-playlists/recent-playlists.component.scss
index b616c8574..ec2fe1367 100644
--- a/src/app/home/recent-playlists/recent-playlists.component.scss
+++ b/src/app/home/recent-playlists/recent-playlists.component.scss
@@ -81,21 +81,6 @@
}
}
-#migration-container {
- padding: 10px;
- border: 1px solid #999;
- border-radius: 5px;
- margin: 5px;
-
- p {
- margin-left: 15px;
- }
-
- .migration-btn {
- text-transform: uppercase;
- }
-}
-
@media (max-width: 599px) {
.favorites-icon {
padding-left: 0 !important;
diff --git a/src/app/home/recent-playlists/recent-playlists.component.ts b/src/app/home/recent-playlists/recent-playlists.component.ts
index e3b08350e..71937ec95 100644
--- a/src/app/home/recent-playlists/recent-playlists.component.ts
+++ b/src/app/home/recent-playlists/recent-playlists.component.ts
@@ -37,10 +37,7 @@ import {
import {
AUTO_UPDATE_PLAYLISTS_RESPONSE,
DELETE_ALL_PLAYLISTS,
- IS_PLAYLISTS_MIGRATION_POSSIBLE,
- IS_PLAYLISTS_MIGRATION_POSSIBLE_RESPONSE,
MIGRATE_PLAYLISTS,
- MIGRATE_PLAYLISTS_RESPONSE,
PLAYLIST_UPDATE,
PLAYLIST_UPDATE_RESPONSE,
} from './../../../../shared/ipc-commands';
@@ -127,28 +124,6 @@ export class RecentPlaylistsComponent implements OnDestroy {
);
}
),
- new IpcCommand(
- IS_PLAYLISTS_MIGRATION_POSSIBLE_RESPONSE,
- (response: { result: boolean; message: string }) => {
- this.isMigrationPossible = response.result;
- this.migrationMessage = response.message || '';
- }
- ),
- new IpcCommand(
- MIGRATE_PLAYLISTS_RESPONSE,
- (response: { payload: Playlist[] }) => {
- this.store.dispatch(
- PlaylistActions.addManyPlaylists({
- playlists: response.payload,
- })
- );
- this.snackBar.open(
- `${response.payload.length} playlists were successfully migrated`,
- null,
- { duration: 2000 }
- );
- }
- ),
new IpcCommand(
AUTO_UPDATE_PLAYLISTS_RESPONSE,
(playlists: Playlist[]) => {
@@ -161,9 +136,6 @@ export class RecentPlaylistsComponent implements OnDestroy {
),
];
- isMigrationPossible = false;
- migrationMessage = '';
-
constructor(
private dialog: MatDialog,
private dialogService: DialogService,
@@ -177,9 +149,6 @@ export class RecentPlaylistsComponent implements OnDestroy {
ngOnInit(): void {
this.setRendererListeners();
- if (this.electronService.isElectron) {
- this.electronService.sendIpcEvent(IS_PLAYLISTS_MIGRATION_POSSIBLE);
- }
}
/**