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

[BUG] Firefox ends song after a couple of seconds #327

Open
Apapora opened this issue Apr 17, 2024 · 3 comments
Open

[BUG] Firefox ends song after a couple of seconds #327

Apapora opened this issue Apr 17, 2024 · 3 comments

Comments

@Apapora
Copy link

Apapora commented Apr 17, 2024

I went into app.py and made the following changes:

#from selenium.webdriver.chrome.options import Options
#from selenium.webdriver.chrome.service import Service
from selenium.webdriver.firefox.options import Options
from selenium.webdriver.firefox.service import Service

#options.add_experimental_option("excludeSwitches", ['enable-automation'])
#driver = webdriver.Chrome(service=service, options=options)
driver = webdriver.Firefox(service=service, options=options)

Then I ran the program (on Windows) and started a video, which worked fine at first, except every video I try plays for only 2 seconds before ending. From looking at the network inspector it seems "end_song" gets called for some reason.

@vicwomg vicwomg changed the title [QUESTION] How to use Firefox instead of Chrome? [BUG] Firefox ends song after a couple of seconds Apr 17, 2024
@vicwomg
Copy link
Owner

vicwomg commented Apr 17, 2024

Firefox is not supported at this time for this exact reason. I have not been able to solve it yet

@Apapora
Copy link
Author

Apapora commented Apr 19, 2024

After some more testing, it seems like the issue is from using the .mp4 file type. I tried with .webm files and was able to play through entire videos without problem.

@scottackerson
Copy link

I am getting a similar issue where the base install onto an RPi4 is crashing songs back to the splash screen a few seconds into the song. I'm having trouble finding log information but will keep checking. There were no configuration changes made to the install.

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