Skip to content

change the behaviour of the SLS#803

Open
davidea72 wants to merge 1 commit intoAlbrechtL:nextfrom
davidea72:next
Open

change the behaviour of the SLS#803
davidea72 wants to merge 1 commit intoAlbrechtL:nextfrom
davidea72:next

Conversation

@davidea72
Copy link

change the behaviour of the SLS, it was static
now when you click on SLS it show the image as usual and when a new image is available it show the new image automatically.
i change the transparecy too and reduce the slidecaption height

to test it, just run welle-cli and tune to a station with sls, when it's received click on it and wait for the new image

…e image as usual and when a new image is available it show the new image automatically. i change the transparecy too and reduce the slidecaption height
@AlbrechtL
Copy link
Owner

Thanks @davidea72 .

@mpbraendli Can you have a look, please?

@mpbraendli
Copy link
Collaborator

Thanks for the PR, I've written some comments for you.

Sorry for the delay, if you're not interested in this anymore, let me know.

@davidea72
Copy link
Author

please led me to the comment, i can't find it.

@mpbraendli
Copy link
Collaborator

The comments are in-line, inside the github user interface.

@davidea72
Copy link
Author

i know i can seem to be a newbie, but i can't find the comments , are they public?

@andimik
Copy link
Contributor

andimik commented Oct 28, 2024

I cannot find @mpbraendli 's comments neither.


s["dls"] = "";

global_service_mot_time=service.mot.time;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this global_service_mot_time?

s["dls"] = "";

global_service_mot_time=service.mot.time;
if (service.mot.time>show && show ) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please indent the code with four spaces, not tabs

slidecaption.innerHTML = last_update;
slide_modal.style.display = "block";
show=last_update_time;
console.log(slideimg.src)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the console.log


function setPlayerSource(sid) {
document.getElementById("player").src = "/stream/" + sid;
document.getElementById("player").src = "/mp3/" + sid;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Erm, is that correct?


var png_chevron_down = "iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAB0SURBVEiJ7Y87CoAwEAVHD2khqIUgCF5HUPBzUL9NgiGoSKKN7MAW4cEMAUEQnlAAycUWA6WPPAcWdZm1RcAErEDlGmiATd3M8ZNYvfXWuQYCoLUijSXvgdA1oCO1ITRv8JXfRV6Tn0XGt+VmJP1KLgh/ZQd6AiOdJgUioQAAAABJRU5ErkJggg=="

var show=0;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please give a more meaningful name to that variable

@mpbraendli
Copy link
Collaborator

Do you see them now? They were marked 'pending', maybe that's why they were visible only to me. Sorry about that.

@andimik
Copy link
Contributor

andimik commented Oct 29, 2024

Yes, now it's public.

@andimik
Copy link
Contributor

andimik commented Nov 2, 2025

@davidea72

Please see above comments. Your Pull Request is still open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants