When joining a room only allow clients to select a video with the same name as the one already selected by room creator
This commit is contained in:
@@ -457,7 +457,7 @@ class VlcSyncApp(QMainWindow):
|
||||
QMessageBox.information(self, "File Required", f"To join this room, you need to select:\\n\\nName: {req_name}\\nSize: {req_size / (1024*1024):.1f} MB")
|
||||
|
||||
file_path, _ = QFileDialog.getOpenFileName(
|
||||
self, f"Select {req_name}", "", "Video Files (*.mp4 *.mkv *.avi *.mov *.webm);;All Files (*)"
|
||||
self, f"Select {req_name}", "", f"Required File ({req_name})"
|
||||
)
|
||||
|
||||
if file_path:
|
||||
|
||||
Reference in New Issue
Block a user