(self, path)
| 2027 | self.changePlaylist(newPlaylist, username=None, resetIndex=True) |
| 2028 | |
| 2029 | def savePlaylistToFile(self, path): |
| 2030 | with open(path, 'w') as playlistFile: |
| 2031 | playlistToSave = utils.getListAsMultilineString(self._playlist) |
| 2032 | playlistFile.write(playlistToSave) |
| 2033 | self._ui.showMessage("Playlist saved as {}".format(path)) # TODO: Move to messages_en |
| 2034 | |
| 2035 | def playlistNeedsRestoring(self, files, username): |
| 2036 | if self._client.playlistMayNeedRestoring: |
no test coverage detected