[GH-ISSUE #912] Option 'onevent' given more than once despite been given once #453

Closed
opened 2026-02-27 19:30:42 +03:00 by kerem · 2 comments
Owner

Originally created by @nadigo on GitHub (Dec 18, 2021).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/912

Hi,

Running:
librespot --name name -u xxxx -p xxxx --backend pipe --onevent /music/onevent.sh
Getting error:
Error parsing command line options: Option 'onevent' given more than once

Why?

Nadav

Originally created by @nadigo on GitHub (Dec 18, 2021). Original GitHub issue: https://github.com/librespot-org/librespot/issues/912 Hi, Running: `librespot --name name -u xxxx -p xxxx --backend pipe --onevent /music/onevent.sh ` Getting error: `Error parsing command line options: Option 'onevent' given more than once` Why? Nadav
kerem 2026-02-27 19:30:42 +03:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

@JasonLG1979 commented on GitHub (Dec 19, 2021):

What version? Because with the latest git --onevent /music/onevent.sh works just fine. I would check your args, the error message is pretty self explanatory it means that you have specified --onevent more than once.

You can not for example do:

librespot --onevent /music/onevent.sh --onevent /music/onevent2.sh
<!-- gh-comment-id:997461071 --> @JasonLG1979 commented on GitHub (Dec 19, 2021): What version? Because with the latest git `--onevent /music/onevent.sh` works just fine. I would check your args, the error message is pretty self explanatory it means that you have specified `--onevent` more than once. You can not for example do: ``` librespot --onevent /music/onevent.sh --onevent /music/onevent2.sh ```
Author
Owner

@roderickvd commented on GitHub (Jan 12, 2022):

No feedback; closing.

<!-- gh-comment-id:1011323924 --> @roderickvd commented on GitHub (Jan 12, 2022): No feedback; closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#453
No description provided.