Welcome, Guest. Please Login or Register
Click Here To Return To The Home Page
 
  HomeHelpSearch Merchandise DonateContactEvent CalendarLoginRegister  
 
Pages: 1 ... 87 88 89 90 91 ... 361
What is playing now ? (Read 3,648,609 times)
ProgMaster
Stellar Owner
****
Offline


Stellar Attraction

Posts: 3,777
British Isles
Gender: male
Re: What is playing now ?
Reply #1320 - 30th Jan, 2008 at 6:26pm
 
Tux wrote on 30th Jan, 2008 at 6:17pm:
ProgMaster wrote on 30th Jan, 2008 at 11:44am:
Hi Tux,

The 'currently playing' information refreshes itself automatically once the track title changes. It also periodically refreshes itself if kept open by the user.

Cheers.

I know, I can see that, but if I would indeed write a script, I would need a sleep time to re-probe (I think I hear Radioshit about *every* day), so I can mut the speakers until the noise is over. If I prove the playlist every 5 seconds to see if "what is currently playing" you will complain.


I'm really not with you here, Tux.

If the script automatically updates itself prior to a track changing (and in the interim), displaying the next track-up, why do you need to refresh it every 5 seconds ?
Back to top
 

...
WWW WWW 5444228463  
IP Logged
 
ino_100
Harold The Barrel
*****
Offline


Namaste

Posts: 1,255
Montréal, Québec
Gender: male
Re: What is playing now ?
Reply #1321 - 30th Jan, 2008 at 6:50pm
 
Wouldn't be much easier for both of you if you'd use the chat room?
Back to top
 

One Love
 
IP Logged
 
huntr_22
Watcher Of The Skies
****
Offline



Posts: 943
France
Gender: male
Re: What is playing now ?
Reply #1322 - 30th Jan, 2008 at 7:04pm
 
But this is Ds website.Surely,he can do what he likes? Roll Eyes
Back to top
 
 
IP Logged
 
ino_100
Harold The Barrel
*****
Offline


Namaste

Posts: 1,255
Montréal, Québec
Gender: male
Re: What is playing now ?
Reply #1323 - 30th Jan, 2008 at 7:10pm
 
Well, I'd like someone to chat with....   Cry

The chat room is not used enough I think. Do what you want, but I feel alone in there.... I here an echo when I speak!  Embarrassed

Come and join me plz
Back to top
 

One Love
 
IP Logged
 
ProgMaster
Stellar Owner
****
Offline


Stellar Attraction

Posts: 3,777
British Isles
Gender: male
Re: What is playing now ?
Reply #1324 - 30th Jan, 2008 at 7:24pm
 
lol Grin

I'm a little busy at the moment but will try to use the chatroom more often myself. Whether it's to discuss Tux's ongoing issues with the programming or to simply say 'Hello'. Cool
Back to top
 

...
WWW WWW 5444228463  
IP Logged
 
Tux
Stellar Associate
****
Offline



Posts: 214
The Netherlands
Gender: male
Re: What is playing now ?
Reply #1325 - 30th Jan, 2008 at 7:42pm
 
ProgMaster wrote on 30th Jan, 2008 at 6:26pm:
Tux wrote on 30th Jan, 2008 at 6:17pm:
ProgMaster wrote on 30th Jan, 2008 at 11:44am:
Hi Tux,

The 'currently playing' information refreshes itself automatically once the track title changes. It also periodically refreshes itself if kept open by the user.

Cheers.

I know, I can see that, but if I would indeed write a script, I would need a sleep time to re-probe (I think I hear Radioshit about *every* day), so I can mut the speakers until the noise is over. If I prove the playlist every 5 seconds to see if "what is currently playing" you will complain.


I'm really not with you here, Tux.

If the script automatically updates itself prior to a track changing (and in the interim), displaying the next track-up, why do you need to refresh it every 5 seconds ?

I mean a script running on *my* computer, so I can mute on the things I don't want to hear. When would that script know when to mute, except for polling continuously?
Back to top
 
 
IP Logged
 
ProgMaster
Stellar Owner
****
Offline


Stellar Attraction

Posts: 3,777
British Isles
Gender: male
Re: What is playing now ?
Reply #1326 - 30th Jan, 2008 at 8:02pm
 
Tux wrote on 30th Jan, 2008 at 7:42pm:
ProgMaster wrote on 30th Jan, 2008 at 6:26pm:
Tux wrote on 30th Jan, 2008 at 6:17pm:
ProgMaster wrote on 30th Jan, 2008 at 11:44am:
Hi Tux,

The 'currently playing' information refreshes itself automatically once the track title changes. It also periodically refreshes itself if kept open by the user.

Cheers.

I know, I can see that, but if I would indeed write a script, I would need a sleep time to re-probe (I think I hear Radioshit about *every* day), so I can mut the speakers until the noise is over. If I prove the playlist every 5 seconds to see if "what is currently playing" you will complain.


I'm really not with you here, Tux.

If the script automatically updates itself prior to a track changing (and in the interim), displaying the next track-up, why do you need to refresh it every 5 seconds ?

I mean a script running on *my* computer, so I can mute on the things I don't want to hear. When would that script know when to mute, except for polling continuously?


Just create a script that goes to 'mute' the moment a track plays that you don't like. Not sure why you'd want to know what to mute before it's been played ...
Back to top
 

...
WWW WWW 5444228463  
IP Logged
 
Tux
Stellar Associate
****
Offline



Posts: 214
The Netherlands
Gender: male
Re: What is playing now ?
Reply #1327 - 31st Jan, 2008 at 7:15am
 
ProgMaster wrote on 30th Jan, 2008 at 8:02pm:
Just create a script that goes to 'mute' the moment a track plays that you don't like. Not sure why you'd want to know what to mute before it's been played ...

That is rather easy. I'll start that soon, and see if you see what I mean. In the playlist code, you have this:

<!---
var refreshID = "";refreshID = setTimeout("DoRefresh()", 180000);

function DoRefresh()
{
  document.location.href = 'playing.php?buster=30110745921';
}

Is tha refresh-time based on how long the current track is going to last? If not, try to find out if you can make it work that way, it'll save a lot of refreshes and thus bandwidth.

BTW, the script is very very easy to modify for other stations and/or groups of like/dislike.
Back to top
 
 
IP Logged
 
ProgMaster
Stellar Owner
****
Offline


Stellar Attraction

Posts: 3,777
British Isles
Gender: male
Re: What is playing now ?
Reply #1328 - 31st Jan, 2008 at 10:55am
 
Tux wrote on 31st Jan, 2008 at 7:15am:
ProgMaster wrote on 30th Jan, 2008 at 8:02pm:
Just create a script that goes to 'mute' the moment a track plays that you don't like. Not sure why you'd want to know what to mute before it's been played ...

That is rather easy. I'll start that soon, and see if you see what I mean. In the playlist code, you have this:

<!---
var refreshID = "";refreshID = setTimeout("DoRefresh()", 180000);

function DoRefresh()
{
 document.location.href = 'playing.php?buster=30110745921';
}

Is tha refresh-time based on how long the current track is going to last? If not, try to find out if you can make it work that way, it'll save a lot of refreshes and thus bandwidth.


Yes, the script is based on the length of the current track and refreshes automatically as the track changes. If left open by the user, it'll also refresh itself periodically.

Quote:
BTW, the script is very very easy to modify for other stations and/or groups of like/dislike.


Sorry, I've no idea what this means ...

Back to top
 

...
WWW WWW 5444228463  
IP Logged
 
Tux
Stellar Associate
****
Offline



Posts: 214
The Netherlands
Gender: male
Re: What is playing now ?
Reply #1329 - 31st Jan, 2008 at 12:03pm
 
ProgMaster wrote on 31st Jan, 2008 at 10:55am:
Quote:
<!---
var refreshID = "";refreshID = setTimeout ("DoRefresh ()", 180000);

function DoRefresh () {
   document.location.href = 'playing.php?buster=30110745921';
   }

Is tha refresh-time based on how long the current track is going to last? If not, try to find out if you can make it work that way, it'll save a lot of refreshes and thus bandwidth.

Yes, the script is based on the length of the current track and refreshes automatically as the track changes. If left open by the user, it'll also refresh itself periodically.

If the refresh is indeed the 180000 as expressed in milliseconds, it is always 3:00 minutes. It doesn't change.
If it is the `buster' value, I have no idea how to interpret that

From the playlist:
11:49:15        Pendragon - Wishing Well (d. Two Roads)
11:43:46        Pendragon - Wishing Well (c. We Talked)
11:37:00        Pendragon - Wishing Well (b. Sou' By Sou' West)
11:32:30        Pendragon - Wishing Well (a. For Your Journey)
11:29:41        Noah - Take Me Back

From my log:
12:45:47   3:00 15 Pendragon                    - Wishing Well (c. We Talked)
12:48:49   3:00 15 Pendragon                    - Wishing Well (c. We Talked)
12:51:50   3:00 15 Pendragon                    - Wishing Well (d. Two Roads)
12:55:03   3:00 32 Camel                        - Summer Lightning
12:58:09   3:00 32 Camel                        - Summer Lightning
13:01:11   3:00 15 White                        - Fate

The leftmost time-stamp is the local time I fetched the playlist, the second is the delay I read (always 3:00)

Quote:
Quote:
BTW, the script is very very easy to modify for other stations and/or groups of like/dislike.

Sorry, I've no idea what this means ...

*my* script is easy to modify Smiley
Back to top
 
 
IP Logged
 
ProgMaster
Stellar Owner
****
Offline


Stellar Attraction

Posts: 3,777
British Isles
Gender: male
Re: What is playing now ?
Reply #1330 - 31st Jan, 2008 at 12:31pm
 
Tux wrote on 31st Jan, 2008 at 12:03pm:
ProgMaster wrote on 31st Jan, 2008 at 10:55am:
Quote:
<!---
var refreshID = "";refreshID = setTimeout ("DoRefresh ()", 180000);

function DoRefresh () {
   document.location.href = 'playing.php?buster=30110745921';
   }

Is tha refresh-time based on how long the current track is going to last? If not, try to find out if you can make it work that way, it'll save a lot of refreshes and thus bandwidth.

Yes, the script is based on the length of the current track and refreshes automatically as the track changes. If left open by the user, it'll also refresh itself periodically.

If the refresh is indeed the 180000 as expressed in milliseconds, it is always 3:00 minutes. It doesn't change.
If it is the `buster' value, I have no idea how to interpret that

From the playlist:
11:49:15        Pendragon - Wishing Well (d. Two Roads)
11:43:46        Pendragon - Wishing Well (c. We Talked)
11:37:00        Pendragon - Wishing Well (b. Sou' By Sou' West)
11:32:30        Pendragon - Wishing Well (a. For Your Journey)
11:29:41        Noah - Take Me Back

From my log:
12:45:47   3:00 15 Pendragon                    - Wishing Well (c. We Talked)
12:48:49   3:00 15 Pendragon                    - Wishing Well (c. We Talked)
12:51:50   3:00 15 Pendragon                    - Wishing Well (d. Two Roads)
12:55:03   3:00 32 Camel                        - Summer Lightning
12:58:09   3:00 32 Camel                        - Summer Lightning
13:01:11   3:00 15 White                        - Fate

The leftmost time-stamp is the local time I fetched the playlist, the second is the delay I read (always 3:00)

Quote:
Quote:
BTW, the script is very very easy to modify for other stations and/or groups of like/dislike.

Sorry, I've no idea what this means ...

*my* script is easy to modify Smiley


That makes more sense, Tux.

Indeed, you're correct when you say that the script refreshes itself every three minutes. It's also designed to automatically change upon the track itself changing.

In conclusion, I would suggest reading the meta-data generated from the ShoutCast servers as opposed to what is generated from the playing.php script, as excessive executions of the script (which is run on the website server) would result in your IP address being blocked.

I now consider this 'off topic, minor topic' to be closed within this thread.

Please start a new thread within the 'Tech Talk' area of the forum with any further discussions of this nature.

Cheers.

D
Back to top
 

...
WWW WWW 5444228463  
IP Logged
 
huntr_22
Watcher Of The Skies
****
Offline



Posts: 943
France
Gender: male
Re: What is playing now ?
Reply #1331 - 31st Jan, 2008 at 5:58pm
 
*Punchdrunk Lovesick Singalong* by "Radiohead*

From the superb CD - "My Iron Long"!


Cool
Back to top
 
 
IP Logged
 
fish_head
Sound Chaser
*****
Offline



Posts: 303
Re: What is playing now ?
Reply #1332 - 31st Jan, 2008 at 8:05pm
 
Californian Guitar Trio doin HOTS!!
Back to top
 
 
IP Logged
 
JaneEyre
Squonk
***
Offline


endearingly cantankerous

Posts: 665
Gender: female
Re: What is playing now ?
Reply #1333 - 31st Jan, 2008 at 9:05pm
 
OH! MY! GOD!  Yes doing a song from West Side Story

.
.
.
.
.
.
.
.
.

Yours truly was actually the first and only blonde Jewish girl to ever play the role of Maria from WSS on stage.  Gaaa!
Back to top
 
 
IP Logged
 
Tux
Stellar Associate
****
Offline



Posts: 214
The Netherlands
Gender: male
Re: What is playing now ?
Reply #1334 - 4th Feb, 2008 at 4:24pm
 
I really enjoyed this block of Marillion. Not because I like what is played, but because I now have had a solid opportunity to remember myself of why the old Marillion with Fish was to incredibly good, and they've lost it completely for me when he left. They are still very recognizeable, but for me it is a completely different Marillion, one that does not do good to the credits they've built up in the past.
Back to top
 
 
IP Logged
 
Pages: 1 ... 87 88 89 90 91 ... 361
Bookmarks
Facebook Twitter del.icio.us Google reddit Digg Linked in MySpace StumbleUpon Yahoo