diff --git a/form.ui b/form.ui index 33462bb..0171d90 100644 --- a/form.ui +++ b/form.ui @@ -65,24 +65,6 @@ - - - - - - Qt::Horizontal - - - - - - - 00:00 - - - - - diff --git a/mainwindow.py b/mainwindow.py index e3a7103..7f7e56b 100644 --- a/mainwindow.py +++ b/mainwindow.py @@ -84,6 +84,7 @@ class MainWindow(QMainWindow): self.__player.setSource(QUrl(stream_url)) self.ui.toolButton.setIcon(QIcon.fromTheme("media-playback-start")) + self.togglePlayer() def togglePlayer(self): if self.__player.playbackState() == QMediaPlayer.PlaybackState.PlayingState: