You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered:
vicwomg
changed the title
[QUESTION] How to use Firefox instead of Chrome?
[BUG] Firefox ends song after a couple of seconds
Apr 17, 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.
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.
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.
The text was updated successfully, but these errors were encountered: