Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions syncplay/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def getValueForOS(constantDict):
COMMANDS_PLAYLIST = ['playlist', 'ql', 'pl']
COMMANDS_SELECT = ['select', 'qs']
COMMANDS_DELETE = ['delete', 'd', 'qd']
COMMANDS_NEXT = ["next", "qn"]
MPC_MIN_VER = "1.6.4"
MPC_BE_MIN_VER = "1.5.2.3123"
VLC_MIN_VERSION = "2.2.1"
Expand Down
1 change: 1 addition & 0 deletions syncplay/messages_de.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"commandList-notification/queueandselect": "\tqas [file/url] - add file or url to bottom of playlist and select it", # TO DO: Translate
"commandList-notification/playlist": "\tql - show the current playlist", # TO DO: Translate
"commandList-notification/select": "\tqs [index] - select given entry in the playlist", # TO DO: Translate
"commandList-notification/next": "\tqn - select next entry in the playlist", # TODO: Translate
"commandList-notification/delete": "\tqd [index] - delete the given entry from the playlist", # TO DO: Translate
"syncplay-version-notification": "Syncplay Version: {}", # syncplay.version
"more-info-notification": "Weitere Informationen auf: {}", # projectURL
Expand Down
1 change: 1 addition & 0 deletions syncplay/messages_en.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"commandList-notification/queueandselect": "\tqas [file/url] - add file or url to bottom of playlist and select it",
"commandList-notification/playlist": "\tql - show the current playlist",
"commandList-notification/select": "\tqs [index] - select given entry in the playlist",
"commandList-notification/next": "\tqn - select next entry in the playlist",
"commandList-notification/delete": "\tqd [index] - delete the given entry from the playlist",
"syncplay-version-notification": "Syncplay version: {}", # syncplay.version
"more-info-notification": "More info available at: {}", # projectURL
Expand Down
1 change: 1 addition & 0 deletions syncplay/messages_es.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"commandList-notification/queueandselect": "\tqas [file/url] - add file or url to bottom of playlist and select it", # TO DO: Translate
"commandList-notification/playlist": "\tql - show the current playlist", # TO DO: Translate
"commandList-notification/select": "\tqs [index] - select given entry in the playlist", # TO DO: Translate
"commandList-notification/next": "\tqn - select next entry in the playlist", # TODO: Translate
"commandList-notification/delete": "\tqd [index] - delete the given entry from the playlist", # TO DO: Translate
"syncplay-version-notification": "Versión de Syncplay: {}", # syncplay.version
"more-info-notification": "Más información disponible en: {}", # projectURL
Expand Down
1 change: 1 addition & 0 deletions syncplay/messages_fr.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"commandList-notification/queue": "\tqa [fichier/url] - ajoute un fichier ou une URL au bas de la liste de lecture",
"commandList-notification/playlist": "\tql - afficher la liste de lecture actuelle",
"commandList-notification/select": "\tqs [index] - sélectionnez l'entrée donnée dans la liste de lecture",
"commandList-notification/next": "\tqn - select next entry in the playlist", # TODO: Translate
"commandList-notification/delete": "\tqd [index] - supprime l'entrée donnée de la liste de lecture",
"syncplay-version-notification": "Version de Syncplay: {}", # syncplay.version
"more-info-notification": "Plus d'informations disponibles sur: {}", # projectURL
Expand Down
1 change: 1 addition & 0 deletions syncplay/messages_it.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"commandList-notification/queueandselect": "\tqas [file/url] - add file or url to bottom of playlist and select it", # TO DO: Translate
"commandList-notification/playlist": "\tql - show the current playlist", # TO DO: Translate
"commandList-notification/select": "\tqs [index] - select given entry in the playlist", # TO DO: Translate
"commandList-notification/next": "\tqn - select next entry in the playlist", # TODO: Translate
"commandList-notification/delete": "\tqd [index] - delete the given entry from the playlist", # TO DO: Translate
"syncplay-version-notification": "Versione di Syncplay: {}", # syncplay.version
"more-info-notification": "Maggiori informazioni a: {}", # projectURL
Expand Down
1 change: 1 addition & 0 deletions syncplay/messages_pt_BR.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"commandList-notification/queueandselect": "\tqas [arquivo/url] - adiciona um arquivo ou URL para o final da playlist e o seleciona",
"commandList-notification/playlist": "\tql - mostra a playlist atual",
"commandList-notification/select": "\tqs [índice] - seleciona um item da playlist",
"commandList-notification/next": "\tqn - select next entry in the playlist", # TODO: Translate
"commandList-notification/delete": "\tqd [index] - remove um item da playlist",
"syncplay-version-notification": "Versão do Syncplay: {}", # syncplay.version
"more-info-notification": "Mais informações disponíveis em: {}", # projectURL
Expand Down
1 change: 1 addition & 0 deletions syncplay/messages_pt_PT.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"commandList-notification/queueandselect": "\tqas [file/url] - add file or url to bottom of playlist and select it", # TO DO: Translate
"commandList-notification/playlist": "\tql - show the current playlist", # TO DO: Translate
"commandList-notification/select": "\tqs [index] - select given entry in the playlist", # TO DO: Translate
"commandList-notification/next": "\tqn - select next entry in the playlist", # TODO: Translate
"commandList-notification/delete": "\tqd [index] - delete the given entry from the playlist", # TO DO: Translate
"syncplay-version-notification": "Versão do Syncplay: {}", # syncplay.version
"more-info-notification": "Mais informações disponíveis em: {}", # projectURL
Expand Down
1 change: 1 addition & 0 deletions syncplay/messages_ru.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"commandList-notification/queueandselect": "\tqas [file/url] - add file or url to bottom of playlist and select it", # TO DO: Translate
"commandList-notification/playlist": "\tql - показать текущий список воспроизведения",
"commandList-notification/select": "\tqs [индекс] - выделить указанный пункт в списке воспроизведения",
"commandList-notification/next": "\tqn - выделить следующий пункт в списке воспроизведения",
"commandList-notification/delete": "\tqd [индекс] - удалить указанный пункт из списка воспроизведения",
"syncplay-version-notification": "Версия Syncplay: {}", # syncplay.version
"more-info-notification": "Больше информации на {}", # projectURL
Expand Down
1 change: 1 addition & 0 deletions syncplay/messages_tr.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"commandList-notification/queueandselect": "\tqas [file/url] - add file or url to bottom of playlist and select it", # TO DO: Translate
"commandList-notification/playlist": "\tql - mevcut oynatma listesini gösterir",
"commandList-notification/select": "\tqs [index] - oynatma listesinde verilen girişi seçer",
"commandList-notification/next": "\tqn - select next entry in the playlist", # TODO: Translate
"commandList-notification/delete": "\tqd [index] - verilen girişi oynatma listesinden siler",
"syncplay-version-notification": "Syncplay sürümü: {}", # syncplay.version
"more-info-notification": "Daha fazla bilgiye şu adresten ulaşabilirsiniz: {}", # projectURL
Expand Down
1 change: 1 addition & 0 deletions syncplay/messages_zh_CN.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"commandList-notification/queueandselect": "\tqas [file/url] - 在播放列表最后添加文件或URL并选中",
"commandList-notification/playlist": "\tql - 显示当前播放列表",
"commandList-notification/select": "\tqs [index] - 选中播放列表中指定序号的视频",
"commandList-notification/next": "\tqn - select next entry in the playlist", # TODO: Translate
"commandList-notification/delete": "\tqd [index] - 删除播放列表中指定序号的视频",
"syncplay-version-notification": "当前Syncplay版本为{}", # syncplay.version
"more-info-notification": "更多信息请参照{}", # projectURL
Expand Down
3 changes: 3 additions & 0 deletions syncplay/ui/consoleUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ def executeCommand(self, data):

except (TypeError, AttributeError):
self.showErrorMessage(getMessage("playlist-invalid-index-error"))
elif command.group('command') in constants.COMMANDS_NEXT:
self._syncplayClient.playlist.loadNextFileInPlaylist()

else:
if self._tryAdvancedCommands(data):
Expand All @@ -250,6 +252,7 @@ def executeCommand(self, data):
self.showMessage(getMessage("commandList-notification/queueandselect"), True)
self.showMessage(getMessage("commandList-notification/playlist"), True)
self.showMessage(getMessage("commandList-notification/select"), True)
self.showMessage(getMessage("commandList-notification/next"), True)
self.showMessage(getMessage("commandList-notification/delete"), True)
self.showMessage(getMessage("syncplay-version-notification").format(syncplay.version), True)
self.showMessage(getMessage("more-info-notification").format(syncplay.projectURL), True)
Expand Down