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

Move track/program info handling to server #8

Open
trosh opened this issue Nov 22, 2016 · 0 comments
Open

Move track/program info handling to server #8

trosh opened this issue Nov 22, 2016 · 0 comments
Assignees

Comments

@trosh
Copy link
Owner

trosh commented Nov 22, 2016

client requests /radios/getInfo.php, receives a json in the format

[
    "nova" : {
        "artist" : "Francis Cabrel",
        "title" : "Je L'aime A Mourir"
    }, ...
]

and parses it to find info for each station, if available.

getInfo.php checks how long ago it last fetched info (getInfoLastTimeStamp), and either fetches info from files (radioName, ...), or from the web and into the files (+ update getInfoLastTimeStamp) before returning aggregated info.

@trosh trosh self-assigned this Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant