Modifying libretime "Radio Page"


#1

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


#2

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.


#3

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/ vs. http://radio.latinritemass.net is this supposed to be that way, or do I have an issue in my configs?


#4

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


#5

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


#6

I think I found the issue, I don’t have a domain name in the server… radio.latinritemass.net is a subdomain from my other server.

Going to have to figure this out.


#7

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).


#8

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 :slight_smile:


#9

The Drupal based OpenProducer platform 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.


#10

I have mine running in Joomla modules http://www.deprogrammedradio.com


#11

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


#12

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?


#13

Nicely done! and very cool content as well!


#14

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.


#15

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


#16

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


#17

Obrigado, Joao Herberto!