Skip to content

bongo-mpv: bongo calling mpv with badly formed option #61

@abhiseck

Description

@abhiseck

I'm using bongo (version 1.1) with mpv backend. My mpv version is: 0.35.1. Trying to play any media with mpv backend would fail with 1 status. I investigated the issue a little and discovered that bongo is calling mpv with:

mpv --input-ipc-server <socket-file> <other-options> <file-name>

but mpv requires that long options be in the following form:
--long-options=value and not int the form --long-option value. So mpv should be called this way:

mpv --input-ipc-server=<socket-file> <other-options> <file-name>

I'd be really greateful if you fix this.

For now here's a quick and dirty fix. Put the following in your init.el:

(defun my-bongo-compose-remote-option (socket-file)
  (list (concat "--input-ipc-server=" socket-file)))

(advice-add 'bongo-compose-remote-option
            :override #'my-bongo-compose-remote-option)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions