Skip to Content
It is currently September 26th, 2022, 12:51 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: November 20th, 2018, 7:24 pm 
Offline
Senior User
Senior User

Joined: January 26th, 2006, 7:33 pm
Posts: 196
Location: Douglas, Isle of Man, UK
I have a custom script but it's not very good as it takes quite a while before it displays or updates.

Curious to know what others use.

_________________
Its all about the music..
https://www.1mix.co.uk


Top
 Profile  
Reply with quote  
PostPosted: November 21st, 2018, 1:15 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8306
Location: Cologne (Germany)
Most people use the SAM templates in one way or another.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: November 21st, 2018, 1:31 pm 
Offline
SVS Member
SVS Member

Joined: May 8th, 2004, 9:00 am
Posts: 10572
Location: Denver, CO
I use Festerheads original ajax site, now heavily modified for my tastes. https://5280jazz.com

_________________
- Rob Oyler, SVS
Image


Top
 Profile  
Reply with quote  
PostPosted: December 19th, 2018, 4:01 am 
Offline
New User
New User

Joined: April 14th, 2007, 12:40 am
Posts: 16
Location: Hull Uk
I use my own at www.xperiencerewind.co.uk which i heavily modified from Sams php

I also have a ShoutCastXML_V1.0 at http://stewartswebworks.com/scripts.php if anyones interested :)

_________________
Image
24 HOUR AUTOMATED REQUESTS - XPERIENCEREWIND.co.uk


Top
 Profile  
Reply with quote  
PostPosted: October 24th, 2020, 4:46 am 
Offline
Super User
Super User

Joined: August 18th, 2005, 10:25 am
Posts: 1327
Shoutcast page shows last 18 tracks, so I just have that in an iframe


Top
 Profile  
Reply with quote  
PostPosted: October 26th, 2020, 10:49 am 
Offline
New User
New User

Joined: October 20th, 2020, 11:45 am
Posts: 7
Another Festerhead's user reporting, it's always been working satisfactorily.


Top
 Profile  
Reply with quote  
PostPosted: February 22nd, 2021, 10:06 pm 
Offline
Senior User
Senior User

Joined: August 17th, 2003, 6:57 pm
Posts: 131
Location: Pacific, MO USA
Wish I could find those old scripts. I remember one that modified the search function to allow you to define the search by album, artist, song title. Wish I knew enough about sql/php to do it myself.

_________________
Rob, Program Director
Megarock Radio (since 1998!!)
https://www.megarockradio.net
[url=https://www.megarockradio.net/player[/url]


Top
 Profile  
Reply with quote  
PostPosted: February 26th, 2021, 2:25 pm 
Offline
New User
New User

Joined: April 14th, 2007, 12:40 am
Posts: 16
Location: Hull Uk
megarock wrote:
Wish I could find those old scripts. I remember one that modified the search function to allow you to define the search by album, artist, song title. Wish I knew enough about sql/php to do it myself.

I use a live search feature to get results based on Artist or Title
https://www.xperiencerewind.co.uk/xrrequests.php

_________________
Image
24 HOUR AUTOMATED REQUESTS - XPERIENCEREWIND.co.uk


Top
 Profile  
Reply with quote  
PostPosted: March 8th, 2021, 8:30 pm 
Offline
Junior User
Junior User

Joined: June 4th, 2017, 12:15 pm
Posts: 27
On our old station we used to parse the Shoutcast XML feed from our Shoutcast server and used that data to display various things on the site.

I didn't write the code to do it and the guy who did is no longer with us, so I unfortunately can't be much more help other than "I know what we did back in the day". But maybe someone out there who does have the knowledge to do such things will get something out of it.

_________________
Cygnus
Owner/On-air host, Unhinged


Top
 Profile  
Reply with quote  
PostPosted: May 1st, 2021, 10:07 am 
Offline
Junior User
Junior User

Joined: April 27th, 2020, 6:15 pm
Posts: 40
JSON file generated by SAM.

mounted() { getSongInfo } => songObj

now playing = songObj
img = songObj.picture
artist = songObj.artist
title = songObj.title

and so on. Easy Peasy.


Top
 Profile  
Reply with quote  
PostPosted: May 10th, 2021, 8:04 am 
Offline
Senior User
Senior User

Joined: January 26th, 2006, 7:33 pm
Posts: 196
Location: Douglas, Isle of Man, UK
Not easy if your not a coder :roll:
The one i'm using uses ajax but is slow and high on resources, but it does refresh in realtime and isn't in an i-frame, so that's what I'm looking for.

I haven't looked at the SAM html web for over 15 years, but from what I remember, you had to put it in an i-frame, which would constantly time out giving a page not found error.

I need something better if anyone can help please..

_________________
Its all about the music..
https://www.1mix.co.uk


Top
 Profile  
Reply with quote  
PostPosted: May 10th, 2021, 8:54 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8306
Location: Cologne (Germany)
If you use the out-of-the-box HTML templates, they reload the full page every few seconds (I'm not sure of the default value, but I think it might be 90s) while you're on the now playing page.

If you want to embed the page in your own site, that's what you can use an IFrame for.

The state-of-the-art way is to just load the actual song data into a page you built yourself. That's where the "new" JSON support comes in handy ("new" because JSON is just plain text and you could write that with the HTML engine from the very beginning already, you just had to pay attention to escaping and linebreaks)

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group