Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing option watch-later-dir #225

Open
JotaroKujo0525 opened this issue Sep 2, 2024 · 2 comments
Open

Error parsing option watch-later-dir #225

JotaroKujo0525 opened this issue Sep 2, 2024 · 2 comments

Comments

@JotaroKujo0525
Copy link

JotaroKujo0525 commented Sep 2, 2024

Describe the bug
An issue where, if you try to stream any movie or series, it will throw a fatal error, which states:

Error parsing option watch-later-dir (option not found)
Setting commandline option --watch-later-dir=/tmp/lobster/watchlater failed.

To Reproduce
Steps to reproduce the behavior:

  1. Search and play any movie or series
  2. See error

Expected behavior
Video will play without any issues

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux (WSL Ubuntu)
  • Version: 22.04.03 LTS

Additional context
It seems that the bug is caused by having an outdated version of mpv. In order to solve the problem, install the latest version of mpv, the one that worked on my machine specifically is version 0.38.0. Once i installed the latest version, the error disappeared. I might suggest that, for the meantime, if the player is mpv. add a version check to see if it is the latest version.
Keep in mind, that i still havent tested if this issue occured in other players, if this has happened, please feel free to reply in this issue. That's all, thank you

@ynejmidev
Copy link

same problem happens in the nix flake, not sure really but it seems the mpv version used is outdated?
( from the lobster wrapper: PATH=${PATH/':''/nix/store/lrhrbnc4kgyqzhj18j6c5qbkh879yvcz-mpv-with-scripts-0.36.0/bin'':'/':'}
while latest mpv is 0.38.0 )

medanisjbara pushed a commit to medanisjbara/lobster that referenced this issue Sep 20, 2024
@medanisjbara
Copy link
Contributor

medanisjbara commented Sep 20, 2024

Future note for myself (will put this in the PR comment):

From latest mpv's man page

--watch-later-directory is an alias for --watch-later-dir.

so changing it to --watch-later-directory should make it backwards compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants