Skip to content

SyncPlay won't open media files when using VLC #787

Description

@AmetistoFF

Describe the bug
When using VLC, dropdown Open Media File menu doesn't work, it returns with this message in the console:

builtins.OSError: [Errno 8] Exec format error: '/home/deck/Desktop/org.videolan.VLC.desktop'

Traceback (most recent call last):
  File "/nix/store/nz71f9vjizmzrvd8jg2slpf4m64zdksl-syncplay-1.7.5/lib/syncplay/syncplay/ui/gui.py", line 465, in wrapper
    return f(self, *args, **kwds)
  File "/nix/store/nz71f9vjizmzrvd8jg2slpf4m64zdksl-syncplay-1.7.5/lib/syncplay/syncplay/ui/gui.py", line 1069, in browseMediapath
    if self._syncplayClient._player.customOpenDialog == True:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'customOpenDialog'

To Reproduce
Steps to reproduce the behavior:

  1. Open SyncPlay, using VLC player
  2. Click on 'Open Media File'
  3. See error

Expected behavior
Media file is opened.

Version and platform:

  • OS: SteamOS 3.8.14
  • Syncplay version and build type: SyncPlay 1.7.5
  • Media player and version: VLC 3.0.23

Additional context
Trying to open media file via shared playlists returns with the same message in the console. Media file doesn't open. Run via Determinate Nix, although same happens when SyncPlay is installed via pacman (for some reason it installs older version 1.7.4, the problem, however, is the same). Also see #786

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions