# Lag in the "Now Playing" Widget

**URL:** <https://forum.spinitron.com/t/lag-in-the-now-playing-widget/711>\
**Category:** ⚙️ Web integration\
**Created:** [August 2, 2022, 7:15pm UTC](https://forum.spinitron.com/t/lag-in-the-now-playing-widget/711 "2022-08-02T19:15:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![betho](https://forum.spinitron.com/letter_avatar_proxy/v4/letter/b/bbce88/32.png) [@betho](https://forum.spinitron.com/u/betho)\
**Post date:** [August 2, 2022, 7:15pm UTC](https://forum.spinitron.com/t/lag-in-the-now-playing-widget/711/1 "2022-08-02T19:15:43Z")

</div>

Hi, Show changed at 3pm, it’s now 12 minutes later and still showing now playing song from 2:59. Does this sometimes happen when switching from one show to another or am I doing something wrong. (Still learning the ropes!) [https://sandwichradio.org/listen/](https://sandwichradio.org/listen/)

PS: The more I learn the more appreciation I have for Spinitron. Thx so much for doing what you do!!

---

<div class="post-metadata">

**Author:** ![tom](https://forum.spinitron.com/user_avatar/forum.spinitron.com/tom/32/343_2.png) [@tom](https://forum.spinitron.com/u/tom)\
**Post date:** [August 2, 2022, 8:46pm UTC](https://forum.spinitron.com/t/lag-in-the-now-playing-widget/711/2 "2022-08-02T20:46:04Z")

</div>

Hi betho, thanks for your kind words.

The now playing widget shows the most recent spin(s) that are in your database in Spinitron. So if something is playing on the radio that doesn’t show up in the widget, that means we haven’t received it yet. There are various reasons why that might be depending _how_ the spin _should_ have gotten into the DB. At the moment in question, were you using recognition, manual entry, uploads, or automation?

---

<div class="post-metadata">

**Author:** ![betho](https://forum.spinitron.com/letter_avatar_proxy/v4/letter/b/bbce88/32.png) [@betho](https://forum.spinitron.com/u/betho)\
**Post date:** [August 2, 2022, 11:43pm UTC](https://forum.spinitron.com/t/lag-in-the-now-playing-widget/711/3 "2022-08-02T23:43:37Z")

</div>

Hi Tom, We were on automation at the time of the event and using recognition.

---

<div class="post-metadata">

**Author:** ![tom](https://forum.spinitron.com/user_avatar/forum.spinitron.com/tom/32/343_2.png) [@tom](https://forum.spinitron.com/u/tom)\
**Post date:** [August 3, 2022, 12:10pm UTC](https://forum.spinitron.com/t/lag-in-the-now-playing-widget/711/4 "2022-08-03T12:10:42Z")

</div>

Ok, good. Now, look at the automation log in Spinitron

[https://spinitron.com/station/automation/logs](https://spinitron.com/station/automation/logs)

and locate the date/times of

1. when you noticed now playing widget was displaying a stale song.
2. the recognition event of the stale song

Is anything logged between those two times? e.g. are there any “not recognized” events between 1 and 2?

---

<div class="post-metadata">

**Author:** ![betho](https://forum.spinitron.com/letter_avatar_proxy/v4/letter/b/bbce88/32.png) [@betho](https://forum.spinitron.com/u/betho)\
**Post date:** [August 3, 2022, 2:02pm UTC](https://forum.spinitron.com/t/lag-in-the-now-playing-widget/711/5 "2022-08-03T14:02:55Z")

</div>

Hey To, Here’s what appears in the log:

| 2022-08-02 15:02:20 | Not recognized | {“data”:{“stream\_url”:“http://wscr.streamguys1.com/live”… |
| --- | --- | --- |
| 2022-08-02 14:59:21 | OK | {“id”:329535788,“playlist\_id”:16258386,“start”:"2022-08-02T… |
| 2022-08-02 14:59:11 | Not recognized | {“data”:{“stream\_url”:“http://wscr.streamguys1.com/live”… |

---

<div class="post-metadata">

**Author:** ![tom](https://forum.spinitron.com/user_avatar/forum.spinitron.com/tom/32/343_2.png) [@tom](https://forum.spinitron.com/u/tom)\
**Post date:** [August 3, 2022, 4:38pm UTC](https://forum.spinitron.com/t/lag-in-the-now-playing-widget/711/6 "2022-08-03T16:38:15Z")

</div>

Excellent. Now, do you know what was played at 2022-08-02 14:59:11 UTC? And do you have access to the actual physical or digital medium that was played (e.g. CD, audio file)?
