Giter Club home page Giter Club logo

Comments (7)

kimbtech avatar kimbtech commented on July 20, 2024

Hi,
so you have a working installation for three other radios and the Medion Radio does not work.

Thus, the general installation should be fine and I assume some issues in the interaction of Medion and Radio-API.
Do you have any „uncommon“ requests in CONF_LOG_DIR/requests.log? (It will only show uncommon requests.)
Do you see the request of the radio in the Docker/ Server logs (docker-compose logs)?

from radio-api.

Demel75 avatar Demel75 commented on July 20, 2024

Hi, thanks for the quick answer.

I have to try tomorrow.

I didn't find any logs at the moment.
For that I have to add CONF_LOG_DIR to docker-compose.yml?

(these are my first docker containers)

from radio-api.

kimbtech avatar kimbtech commented on July 20, 2024

Hi,
CONF_LOG_DIR defaults to ./data/ and if you use the provided docker-compose file, this is the folder ./data/ beneath the file.

So you just have to check this folder for the logfile.

from radio-api.

Demel75 avatar Demel75 commented on July 20, 2024

In data Dir I found on new gui-ID for N° 5 in table.json but no radios_5.json file. Seems that a GUI-ID was generated for the Medion-Radio

I can check tomorrow again.

from radio-api.

kimbtech avatar kimbtech commented on July 20, 2024

Oh, that is good to know! Then the radio connects correctly to Radio-API and fails afterwards.

Please try to access the GUI with the new GUI Code and check if the GUI and preview works fine.
If you encounter errors, set „DEV=dev“ via docker-compose environment and try again. It should then show PHP error messages.

from radio-api.

Demel75 avatar Demel75 commented on July 20, 2024

Ok, I cleaned "redis"-Dir then I got finally a connection.
There was maybe something in cache.... I don't know.

image

image

Thanks for assist an good ideas. Finally I learned a bit about docker etc...

from radio-api.

kimbtech avatar kimbtech commented on July 20, 2024

Hi,
glad that it works now!

When a new radio connects for the first time, normally the details about all radios in Redis are updated. But it seems as something went wrong. I will consider to optimize the update mechanism.

from radio-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.