Skip to content

Commit

Permalink
Begin move from m3u/m3u8 to txt for playlist (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h committed Oct 27, 2021
1 parent 625512f commit 16b6623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syncplay/ui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ def OpenLoadPlaylistFromFileDialog(self, shuffle=False):
defaultdirectory = currentdirectory
else:
defaultdirectory = self.getInitialMediaDirectory()
browserfilter = "Playlists (*.m3u *.m3u8 *.txt)"
browserfilter = "Playlists (*.txt *.m3u8)"
filepath, filtr = QtWidgets.QFileDialog.getOpenFileName(
self, "Load playlist from file", defaultdirectory,
browserfilter, "", options) # TODO: Note Shuffle and move to messages_en
Expand All @@ -1120,7 +1120,7 @@ def OpenSavePlaylistToFileDialog(self):
defaultdirectory = currentdirectory
else:
defaultdirectory = self.getInitialMediaDirectory()
browserfilter = "Playlist (*.m3u8 *.m3u *.txt)"
browserfilter = "Playlist (*.txt)"
filepath, filtr = QtWidgets.QFileDialog.getSaveFileName(
self, "Save playlist to file", defaultdirectory,
browserfilter, "", options) # TODO: Move to messages_en
Expand Down

0 comments on commit 16b6623

Please sign in to comment.