Adding mopidy connection delay to prevent components needing to handle it

This commit is contained in:
James Barnsley
2020-08-11 21:05:36 +12:00
parent 86aad6df0e
commit a612a6a626
16 changed files with 463 additions and 535 deletions

View File

@ -72,10 +72,6 @@ class Playlist extends React.Component {
if (uri !== prevUri) {
loadPlaylist(uri);
} else if (!prev_mopidy_connected && mopidy_connected) {
if (uriSource(uri) !== 'spotify') {
loadPlaylist(uri);
}
}
if (!prevPlaylist && playlist) this.setWindowTitle(playlist);