justfoolingaround / animdl

A highly efficient, fast, powerful and light-weight anime downloader and streamer for your favorite anime.
GNU General Public License v3.0
1.33k stars 109 forks source link

Using VLC to stream #209

Closed Klimred closed 1 year ago

Klimred commented 1 year ago

I want to use vlc instead of mpv, but this is what i get when running: C:\Users\fedor\AppData\Roaming\Python\Python311\site-packages\animdl\core\cli\helpers\player.py:38: UserWarning: Could not find 'vlc' in the system. Falling back to the first available player 'mpv'. and this is what i have written in the configs:

default_player: "vlc"
players:
  vlc:
    executable: "vlc"
    opts: 
      - --network-caching=5000
      - --play-and-exit
      - --fullscreen

VLC is installed on my PC

Is there a way to specify the path of the exe yourself or is something different the problem?

h4rldev commented 1 year ago

Do you have VLC in path?

Klimred commented 1 year ago

I don't think so, it's just installed normally under C:\Program Files\VideoLAN Where should i put it instead?

justfoolingaround commented 1 year ago

You can use C:/Program Files/VideoLAN/vlc.exe in the executable field for vlc.

Klimred commented 1 year ago
preferred_quality: 1080
default_player: vlc
players:
  vlc:
    executable: C:\Program Files\VideoLAN\VLC\vlc.exe
    opts: 

I have now changed my configs to this and it works, thank you very much.