diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py index 6d9b127..6cbe5e3 100644 --- a/syncplay/ui/gui.py +++ b/syncplay/ui/gui.py @@ -801,7 +801,10 @@ class MainWindow(QtGui.QMainWindow): URIsToAdd = utils.convertMultilineStringToList(URIsTextbox.toPlainText()) self.updatingPlaylist = True for URI in URIsToAdd: - self.addStreamToPlaylist(URI) + if URI.endswith(u" "): + URI = URI[:-1] + if URI <> "": + self.addStreamToPlaylist(URI) self.updatingPlaylist = False @needsClient