-
Notifications
You must be signed in to change notification settings - Fork 30
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
Version 1.6 (7): Icecast works, but "Localradio" main interface does not #4
Comments
vielmetti - Thanks for a helpful report. Apparently, the web interface isn't working on anything? I just downloaded LocalRadio 1.6-alpha from Github to a MacBook Air running macOS 10.12.6, and it is running okay so far. Between the HTTP server and the client, there are a lot of places where something could go wrong. It is probably not a firewall problem, at least for the built-in macOS firewall. Even if LocalRadio is set to block incoming connections, the app's built-in web view should still have a good connection to the HTTP server. Apple has a utility called Console.app that might have some useful info. Please launch that from the /Applications/Utilities folder, then search for "LocalRadio" in the "Filter" box. If you see any interesting messages there, please let me know. (It is probably not the database NSLock error, which seems to be harmless.) The app's web view also has a web inspector with a separate console. It can be accessed with a right-click or control-click in the web view - then choose "Inspect Element" in the pop-up menu. And click on the Console tab to see any error messages. I actually see an error message in the web inspector now. "Can't find variable holdAudioSrc", getting called from a JavaScript function named "startAudioPlayerAfterDelay". The next release, LocalRadio 1.7a, will be posted tonight. I'll make sure that error is fixed for that release. Please let me know if that fixes the bug. thanks, |
Thanks Doug. I downloaded the 1.7-alpha and the symptoms are the same. It's almost as if the process that runs the server for port 17002 is not running at all. No visible errors in the error logs. Then, instead of launching the application by double clicking it, I went into the directory where it's stored an ran "LocalRadio" from the command line - and everything seems to be working now. The full log that it runs at startup time is as follows when it succeeds:
|
vielmetti - Thanks again for that update. All of those log entries look okay, especially the "HTTPServer: Started HTTP server on port 17002". If an error like a port conflict occurred, the app should display an alert window message "Failed to start HTTP Server" with an error code. In Terminal.app, the LocalRadio HTTP server can be tested with a command like "curl localhost:17002", which should print out the HTML for the home page from the built-in server. Or perhaps it would display an error message. I have to use a terminal command to launch Gqrx on one particular Mac in order to get it to run at all. Apparently, one of the libraries used in Gqrx has a problem finding the default audio devices on some Macs. |
Thanks for putting this together.
My "Localradio" screen is blank, but I am able to listen to the station that I'm tuning to via Icecast.
When I connect to my local system on port 17002, the browser hangs on "New Tab". Connecting to port 17003 on that same host, I get the Icecast screens, and am able to connect to the streaming audio.
I'm running on a MacBook Pro running 10.12.6.
The text was updated successfully, but these errors were encountered: