-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Default stream endpoint changes when stream settings saved #1133
Comments
I just hit a major breakthrough in figuring out how to pass PHP variables to Vue! I can use this to come up with a band-aid fix while we figure out what's setting the URL incorrectly. |
Update: turns out I can't... the variable isn't placed in the browser and is calculated from the database. We would need to change the database value. 😞 I've started by starting a reverse proxy in Apache, routing |
@paddatrapper @Robbt @hairmare How do you feel about switching players? I found a Javascript library for creating players in HTML5 (no Flash option) called Howler.js. Instead of needing to use a CDN or package manager, it only needs one file to run. An example player:
|
I do think having the dependency in a dependency manager is a good thing. That looks interesting, but I think the discussion should happen in #249 |
It does have an option for dependency managers such as Yarn or NPM as well. |
All this is even more bizarre because the correct data appears to be inserted upon installation:
|
@paddatrapper So, I was able to fix this by setting a string instead of calling from the database in StreamSetting.php:
Clicking on the Listen button in the interface now launches a play with the correct stream but the playback jumps back and forth, like skipping back 30 seconds occasionally... it doesn't make any sense. 😕 Using Firefox 81.0.1 on macOS Catalina if it helps. |
This comment has been minimized.
This comment has been minimized.
This issue has been automatically marked as stale because it has not had activity in the last 5 months. It will be closed if no activity occurs in the next month. |
In both the Listen popup and the Streams settings menu, the URLs for the streams are incorrectly displayed.
http://192.168.xx.xx:8000/_a
instead ofhttp://192.168.xx.xx:8000/airtime_128
(default setup)127.0.0.1 Libretime Stream #1
instead ofserverIP ...
(default setup)This is likely messing up the stream URL that's getting sent to the widgets. I've been digging for the part of the PHP code that either sets/retrieves the stream URL data but I haven't been able to find it.
Originally posted by @zklosko in #461 (comment)
I have noticed this too. The initial stream endpoint is /airtime_128 in icecast (and so liquidsoap), but the default shown in the interface (so I'm assuming somewhere in the DB) is /_a. This is all synchronized to /_a when you press Save on the stream settings for the first time, but before then there are inconsistencies, leading to the above
The text was updated successfully, but these errors were encountered: