# Listener Stats from a 3rd Party Stream

**URL:** <https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570>\
**Category:** Get Help\
**Created:** [May 17, 2020, 11:53am UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570 "2020-05-17T11:53:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![fireembler](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/fireembler/32/390_2.png) [@fireembler](https://discourse.libretime.org/u/fireembler)\
**Post date:** [May 17, 2020, 11:53am UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570/1 "2020-05-17T11:53:25Z")

</div>

Hello everyone,

I installed and activated LibreTime on a Ubtuntu 18 VPS and everything is running smooth so far. Now I want to read out the listener stats from the external Icecast server, but LibreTime always gives me back the “Please make sure admin user/password is correct on Settings-\>Streams page.” error.  
Does anyone have any experience with this?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [May 17, 2020, 12:27pm UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570/2 "2020-05-17T12:27:47Z")

</div>

So you need to have the correct admin login under streams -\> settings for every stream you want stats from. So just check the credentials you put in for the 3rd party stream for the external icecast server. In theory you should be able to login to [https://hostname:8000](https://hostname:8000) and click on administration and type in the same credentials. If that isn’t working then check your credentials with the admin of the icecast server. If they don’t provide you an admin login then libretime has no way of retrieving the Listener stats for its internal database.

I hope this helps.

---

<div class="post-metadata">

**Author:** ![fireembler](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/fireembler/32/390_2.png) [@fireembler](https://discourse.libretime.org/u/fireembler)\
**Post date:** [May 17, 2020, 1:18pm UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570/3 "2020-05-17T13:18:24Z")

</div>

Hello robbt, thanks for your fast reply. I also have access to the 3rd party icecast stream and i was entering the same admin credentials from the web interface. But still i get the error message…

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [May 17, 2020, 2:14pm UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570/4 "2020-05-17T14:14:32Z")

</div>

Ok are you using the latest version from a git clone aka the git master branch or a specific release. I think I have duplicated this issue on my local box and I’ll have to investigate further to see for sure, it has been working in the past so I’m not sure what changed and so the version you are using would be helpful in determining that.

---

<div class="post-metadata">

**Author:** ![fireembler](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/fireembler/32/390_2.png) [@fireembler](https://discourse.libretime.org/u/fireembler)\
**Post date:** [May 17, 2020, 3:12pm UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570/5 "2020-05-17T15:12:09Z")

</div>

I am using Version 8498029cd from the master branch on Ubuntu 18.04. LTS with Kernel 4.15.  
Thank you!

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [May 17, 2020, 4:22pm UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570/6 "2020-05-17T16:22:50Z")

</div>

Ok it looks like you have spotted a bug that happened as we transitioned our python code to python 3 from python 2.7. I’ve opened up a bug report here - [https://github.com/LibreTime/libretime/issues/1045](https://github.com/LibreTime/libretime/issues/1045)

There should be a relatively simple fix but someone will need to resolve it, as we had this issue with some of the ways we were processing inputs with python 3.5 vs. the latest 3.7

---

<div class="post-metadata">

**Author:** ![fireembler](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/fireembler/32/390_2.png) [@fireembler](https://discourse.libretime.org/u/fireembler)\
**Post date:** [May 17, 2020, 4:43pm UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570/7 "2020-05-17T16:43:22Z")

</div>

Alright, thanks for the effort!

---

<div class="post-metadata">

**Author:** ![gaeleag](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/gaeleag/32/463_2.png) [@gaeleag](https://discourse.libretime.org/u/gaeleag)\
**Post date:** [June 11, 2020, 7:21am UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570/8 "2020-06-11T07:21:18Z")

</div>

Hello ! I have the same issue, I’m on the same config as fireembler.  
I changed the lines [https://github.com/LibreTime/libretime/commit/16bff4ff9ea07d5fc82d8ce8e68b4209b32a0d4e](https://github.com/LibreTime/libretime/commit/16bff4ff9ea07d5fc82d8ce8e68b4209b32a0d4e)  
and reboot the server  
But it didn’t worked.  
Sorry for my English (i’m french)  
Any solutions ?

---

<div class="post-metadata">

**Author:** ![fireembler](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/fireembler/32/390_2.png) [@fireembler](https://discourse.libretime.org/u/fireembler)\
**Post date:** [June 11, 2020, 12:34pm UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570/9 "2020-06-11T12:34:39Z")

</div>

Hey gaeleag,

maybe you can try updating the Libretime software with the most recent version from Github. That worked for me!

---

<div class="post-metadata">

**Author:** ![gaeleag](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/gaeleag/32/463_2.png) [@gaeleag](https://discourse.libretime.org/u/gaeleag)\
**Post date:** [June 16, 2020, 3:03pm UTC](https://discourse.libretime.org/t/listener-stats-from-a-3rd-party-stream/570/10 "2020-06-16T15:03:15Z")

</div>

Thanx fireembler, I updated libretime and it woks fine 🙂
