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

Adding options #34

Open
Kevin-Thatit opened this issue Aug 19, 2024 · 11 comments
Open

Adding options #34

Kevin-Thatit opened this issue Aug 19, 2024 · 11 comments

Comments

@Kevin-Thatit
Copy link

I am trying to add theses options in the .yaml but I'm not sure if it's possible or how, i checked everywhere correctly, I used to launch vlc with a .cmd that let me make it fullscreen, hide the titles, etc

Exemple of what I am trying to do: --no-embedded-video --directx-device="\.\DISPLAY1" --fullscreen --loop

and i'm trying to do the same here, is it possible ? i tried with "options: []" but it just show a bunch of texts and then crash

Also, is there a way to stop it from closing to see what it says when it doesn't work ? could help understand what wrong

I am on Windows, thanks !

@EugeneDae
Copy link
Owner

Try the following:

sources:
    ...
vlc:
    options:
        no-embedded-video: true
        directx-device: '\.\DISPLAY1'
        fullscreen: true
        loop: true

@Kevin-Thatit
Copy link
Author

The console open, say VLC Scheduler, then show a few lines of white and red texts then close, too fast so i can't read

I tried to remove some of the options, keep only fullscreen, same result

@EugeneDae
Copy link
Owner

Launch vlcscheduler.exe from Windows command-line prompt or PowerShell, then it won't close.

@Kevin-Thatit
Copy link
Author

Oh great ! thanks, still learning about theses stuff
Here what its tell me: [12:11:13] VLC Scheduler v0.3.2 started.
[12:11:15] Launching VLC with HTTP server at C:\Program Files\VideoLAN\VLC\vlc.exe.
[12:11:15] can only concatenate list (not "dict") to list
[12:11:15] VLC Scheduler stopped.

I remove the options and it work

@EugeneDae
Copy link
Owner

EugeneDae commented Aug 19, 2024

Let's try this then:

vlc:
    options: ['no-embedded-video', 'directx-device', '\.\DISPLAY1', 'fullscreen', 'loop']

@Kevin-Thatit
Copy link
Author

That worked ! Thanks a bunch, really love your work

@Kevin-Thatit
Copy link
Author

Sorry, back again at it I can theses errors everytime like VLC try to open them as files instead of being options, not sure what wrong, i tried "" instead of ' ' and that didn't work, hope you got some others ideas if you don't mind, thanks !
VLC errors (sorry for the french)

@Kevin-Thatit Kevin-Thatit reopened this Sep 11, 2024
@EugeneDae
Copy link
Owner

I'm having a little trouble understanding what you were trying to do. Could you please post the contents of your vlcscheduler.yaml?

@Kevin-Thatit
Copy link
Author

Kevin-Thatit commented Sep 12, 2024

Sure, here you go, i'm just trying to make it fullscreen, show no titles and be on screen 1 on boot, it work in an .cmd file I made that open VLC with theses settings
vlcscheduler - Copie.zip

@EugeneDae
Copy link
Owner

According to the VLC docs, you need to prefix such options with two hyphens: e.g. no-embedded-video should be --no-embedded-video.

@Kevin-Thatit
Copy link
Author

That worked ! the only option that doesn't seem to want to work is things that doesn't seem to is 'directx-device .\DISPLAY2' is appear on the first display no matter what, not sure if there something possible with your program to choose on what screen it appear

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

2 participants