# Modifying libretime "Radio Page"

**URL:** https://discourse.libretime.org/t/modifying-libretime-radio-page/66
**Category:** Uncategorized
**Created:** [December 6, 2017, 9:38pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66 "2017-12-06T21:38:45Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![JoaoHerberto](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@JoaoHerberto](https://discourse.libretime.org/u/JoaoHerberto)
#### Post date: [December 6, 2017, 9:38pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/1 "2017-12-06T21:38:45Z")

</div>

So my server has been running really well for the last few weeks and I wanted to tweak the player page “Radio Page” a little, add some links, maybe some tips etc.

According to the /etc/apache2/sites-enabled/airtime.conf file, the only site enables is located at “/usr/share/airtime/php/airtime\_mvc/public/” which looks like the setup page. The index.php file does not point to the radio player page.

Where can I find the files for the Radio Page only?

Joao

---

<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: [December 7, 2017, 3:03pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/2 "2017-12-07T15:03:23Z")

</div>

I believe the view for the radio page is here “airtime\_mvc/application/views/scripts/index” This is a .phtml file since it is part of Zend PHP MVC but it might be the easiest place to modify the player page.

---

<div class="post-metadata">

### Author: ![JoaoHerberto](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@JoaoHerberto](https://discourse.libretime.org/u/JoaoHerberto)
#### Post date: [January 20, 2018, 10:38pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/3 "2018-01-20T22:38:27Z")

</div>

Thanks robbt, I am finally getting around to this. I was able to view the index.phtml file and can see where I can make some changes.

But I have a question, I just noticed that the interface is different on the player page depending if you are using the IP address or the domain name. [http://45.55.60.174/](http://45.55.60.174/) vs. [http://radio.latinritemass.net](http://radio.latinritemass.net) is this supposed to be that way, or do I have an issue in my configs?

---

<div class="post-metadata">

### Author: ![hairmare](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hairmare/32/38_2.png) [@hairmare](https://discourse.libretime.org/u/hairmare)
#### Post date: [January 21, 2018, 12:04am UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/4 "2018-01-21T00:04:09Z")

</div>

You can fix the issue you are seeing on the domain vs the IP by allowing CORS requests from [http://radio.latinritemass.net](http://radio.latinritemass.net) in the settings.

---

<div class="post-metadata">

### Author: ![JoaoHerberto](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@JoaoHerberto](https://discourse.libretime.org/u/JoaoHerberto)
#### Post date: [January 21, 2018, 12:38am UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/5 "2018-01-21T00:38:29Z")

</div>

I just tried it but no change… do I need to restart any service?

---

<div class="post-metadata">

### Author: ![JoaoHerberto](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@JoaoHerberto](https://discourse.libretime.org/u/JoaoHerberto)
#### Post date: [January 21, 2018, 1:32am UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/6 "2018-01-21T01:32:59Z")

</div>

I think I found the issue, I don’t have a domain name in the server… [radio.latinritemass.net](http://radio.latinritemass.net) is a subdomain from my other server.

Going to have to figure this out.

---

<div class="post-metadata">

### Author: ![hairmare](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hairmare/32/38_2.png) [@hairmare](https://discourse.libretime.org/u/hairmare)
#### Post date: [February 1, 2018, 7:16pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/7 "2018-02-01T19:16:38Z")

</div>

It looks like you figured it out! At least on chrome the player from the radio page seems to work on both the IP and the DNS entry. Was it a CORS issue?

Btw, if you want to do really heavy customization on the player page you should consider using a real CMS like Drupal or Wordpress for the actual page (there are heaps of icecast plugins for the usual CMS solutions).

---

<div class="post-metadata">

### Author: ![JoaoHerberto](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@JoaoHerberto](https://discourse.libretime.org/u/JoaoHerberto)
#### Post date: [February 1, 2018, 7:59pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/8 "2018-02-01T19:59:56Z")

</div>

Actually nothing has changed… I added the domain name to the server, but the Podcast and and Info icons do not appear. It has always played on both, but looses functionality when using the non IP url.

I actually had a WP domain at first, and it streamed just fine, but getting the streaming info (ID3 tags) and schedule is a royal pain int he rear. Streaming works perfect with HMTL5 tags, that is not an issue.

I have not had time to play around with modifying the player page, I need to soon… time, time, time… no pun intended 🙂

---

<div class="post-metadata">

### Author: ![gusaus](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/gusaus/32/42_2.png) [@gusaus](https://discourse.libretime.org/u/gusaus)
#### Post date: [February 1, 2018, 11:53pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/9 "2018-02-01T23:53:54Z")

</div>

> [@hairmare](#):
>
> heavy customization on the player page you should consider using a real CMS like Drupal or Wordpress for the actual page

The Drupal based [OpenProducer platform](http://getopenproducer.com/) might be an option in the near future. Especially if there are stations, podcasters and individuals interested in contributing to development of a downloadable or hosted solution via [OpenCollective](https://discourse.libretime.org/t/opencollective-to-help-sustain-the-project-and-community/84).

---

<div class="post-metadata">

### Author: ![JohnnyC1951](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/johnnyc1951/32/605_2.png) [@JohnnyC1951](https://discourse.libretime.org/u/JohnnyC1951)
#### Post date: [March 1, 2018, 12:57pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/10 "2018-03-01T12:57:13Z")

</div>

I have mine running in Joomla modules [http://www.deprogrammedradio.com](http://www.deprogrammedradio.com)

---

<div class="post-metadata">

### Author: ![JoaoHerberto](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@JoaoHerberto](https://discourse.libretime.org/u/JoaoHerberto)
#### Post date: [March 1, 2018, 3:22pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/11 "2018-03-01T15:22:22Z")

</div>

Thanks John, I will definetly look into that, which modules did you use?

---

<div class="post-metadata">

### Author: ![JohnnyC1951](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/johnnyc1951/32/605_2.png) [@JohnnyC1951](https://discourse.libretime.org/u/JohnnyC1951)
#### Post date: [March 1, 2018, 3:58pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/12 "2018-03-01T15:58:35Z")

</div>

I cheated and used the flexi code custom module both times. However, they are not just simple iFrames but responsive iFrames, try resizing the page ;). The player has a special trick or two in it as well. If/when I get time I will package them as installable modules. See what you think?

---

<div class="post-metadata">

### Author: ![JoaoHerberto](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@JoaoHerberto](https://discourse.libretime.org/u/JoaoHerberto)
#### Post date: [March 1, 2018, 11:10pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/13 "2018-03-01T23:10:17Z")

</div>

Nicely done! and very cool content as well!

---

<div class="post-metadata">

### Author: ![JohnnyC1951](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/johnnyc1951/32/605_2.png) [@JohnnyC1951](https://discourse.libretime.org/u/JohnnyC1951)
#### Post date: [March 2, 2018, 12:05am UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/14 "2018-03-02T00:05:28Z")

</div>

Oi João! Muito obrigado pelos excelentes comentários. O grande chefe aqui não gosta das minhas coisas e diz isso, mas, funciona e é melhor do que o que está no Git. Certamente, enriquece a experiência do usuário. Entre em contato comigo se desejar o código.

---

<div class="post-metadata">

### Author: ![gusaus](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/gusaus/32/42_2.png) [@gusaus](https://discourse.libretime.org/u/gusaus)
#### Post date: [March 2, 2018, 8:16am UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/15 "2018-03-02T08:16:51Z")

</div>

Nice site! Is there some type of radio station setup w/ specific features and functionality on Joomla?

Would be great if you and anyone else could list their [Sites using LibreTime](https://discourse.libretime.org/t/sites-using-libretime/85)

---

<div class="post-metadata">

### Author: ![JoaoHerberto](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@JoaoHerberto](https://discourse.libretime.org/u/JoaoHerberto)
#### Post date: [March 2, 2018, 2:08pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/16 "2018-03-02T14:08:20Z")

</div>

Bem, eu acho que é um ótimo site, muitos não gostam do conteúdo do meu site 🙂

---

<div class="post-metadata">

### Author: ![JohnnyC1951](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/johnnyc1951/32/605_2.png) [@JohnnyC1951](https://discourse.libretime.org/u/JohnnyC1951)
#### Post date: [March 11, 2018, 3:01pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/17 "2018-03-11T15:01:32Z")

</div>

Obrigado, Joao Herberto!

---

<div class="post-metadata">

### Author: ![kasscomplex](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/kasscomplex/32/143_2.png) [@kasscomplex](https://discourse.libretime.org/u/kasscomplex)
#### Post date: [April 14, 2019, 9:09pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/18 "2019-04-14T21:09:59Z")

</div>

How do I remove LibreTime title in the Radio Page Title?  
**Station Title - LibreTime**

---

<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: [April 20, 2019, 1:16pm UTC](https://discourse.libretime.org/t/modifying-libretime-radio-page/66/19 "2019-04-20T13:16:04Z")

</div>

> [@kasscomplex](#):
>
> ge Title?  
> **Station Title - LibreTime**

Hello kasscomplex,  
I think that most of the code for the main page is around airtime\_mvc/application/views/scripts/index/index.phtml

That is at least the main page template as far as I can tell. Nobody has touched the radio page much in terms of LibreTime development so we could use someone to write some documentation for how to customize it.
