View previous topic ::
View next topic
|
Author |
Message |
Quindel
Cadet 1
Joined: Apr 28, 2003
Member#: 1300
Posts: 2
|
Posted:
Mon Jan 09, 2012 10:55 am Post subject: timer countdown per song on queue |
|
Is it possible to have on the queue, an about time when the song on a queue will be played?
For example, Song XYZ is 3 minutes long and #15 on the list. I'd like to know that that song will be played in 45 minutes from now.
I'd like to see a Played-in time. Song YZ will be played 1:35 from now.
Thanks. |
|
|
SiriusCreations
Admiral (Administrator)
Joined: Aug 26, 2007
Member#: 18704
Posts: 4419
Location: Rotterdam, The Netherlands
|
Posted:
Mon Jan 09, 2012 10:59 am Post subject: |
|
We are not allowed to show this information. One of the many RIAA rules / restrictions _________________ That's the beauty of music. They can't take that away from you. (Andy Dufresne)
Sirius' Concerts
NUTs & RATs |
|
|
LadyInque
Captain
Joined: May 20, 2005
Member#: 10281
Posts: 2224
Location: Eastern Massachusetts
|
Posted:
Mon Jan 09, 2012 1:55 pm Post subject: |
|
This question is one that comes up a lot, right up there with "Why not post the artists' names in the queue?" Maybe the station FAQ should be amended to reflect the relevant RIAA rules, or even a note on the request page, so new people can get their answers even before the questions form. _________________ I have a book coming out. Wanna see it?
http://www.jessicalevai.com/sternendach-a-vampire-opera-in-verse/ |
|
|
SiriusCreations
Admiral (Administrator)
Joined: Aug 26, 2007
Member#: 18704
Posts: 4419
Location: Rotterdam, The Netherlands
|
Posted:
Tue Jan 10, 2012 2:42 am Post subject: |
|
Not only new people Lady, Quindel is a member since 2003.
Although I agree we should add the most common questions related to the RIAA restrictions somewhere. Of course people will still ask. But then we give the link to that FAQ (or forum post) _________________ That's the beauty of music. They can't take that away from you. (Andy Dufresne)
Sirius' Concerts
NUTs & RATs |
|
|
Quindel
Cadet 1
Joined: Apr 28, 2003
Member#: 1300
Posts: 2
|
Posted:
Tue Jan 10, 2012 9:36 am Post subject: |
|
Thanks for getting back to me. I was unaware that there was a rule on this. Please add this question to the FAQ and post it so people like me don't need to reask. Thank you! |
|
|
LadyInque
Captain
Joined: May 20, 2005
Member#: 10281
Posts: 2224
Location: Eastern Massachusetts
|
Posted:
Tue Jan 10, 2012 10:57 am Post subject: |
|
I know it's not terribly accurate, but you can always note the time you requested and the length of the queue once your req has been added. It's usually close enough, though in my experience it often takes a little longer to play than that estimate, on account of the station IDs and the vagaries of streaming. |
|
|
masked_platypus
Vice Admiral (Moderator)
Joined: Jul 19, 2007
Member#: 18358
Posts: 1179
Location: Chartres, France
|
Posted:
Wed Jan 11, 2012 2:07 am Post subject: |
|
And don't forget the length of the track actually playing. When it's a ten minutes track, it does have an influence _________________ There is no problem that can't be solve without any solution |
|
|
DrJouda
Cadet 1
Joined: Sep 09, 2008
Member#: 22613
Posts: 1
Location: ValMez
|
Posted:
Sat Feb 18, 2012 4:36 pm Post subject: |
|
I created a script to display additional column with countdown timer per each song. If you run this script in your browser, it just reads length of individual song, dynamically counts the time to this song and adds this value to the 'Time to' column. It has no effect to the website, this script runs in the client browser and works basically like a plugin. If you manually refresh the queue page, script will be removed and you will see the original queue without 'Time to' column.
I've tested this only in Firefox and Chrome and I'm sure it doesnt work in IE right now. Script is strictly dependent on the current structure of the page.
Install: create new bookmark and add script as location/address URL/path, go to queue (http://www.streamingsoundtracks.com/modules.php?name=Queue_Played) and push created bookmark.
Code: |
javascript:{self.setInterval('clear();show();', 1000);function clear(){var iframe=document.getElementsByName('queue')[0];var trs=iframe.contentDocument.getElementsByClassName('table01')[0].getElementsByTagName('tr');for(var i=0;i<trs.length;i++){var tds=trs[i].getElementsByTagName('td');for(var j=0;j<tds.length;j++){var child=tds[j];if(child.hasAttribute('id')){if(child.id.split(':')[0]=='time'){trs[i].removeChild(child);}}}}}function show(){var iframe=document.getElementsByName('queue')[0];var iframe2=document.getElementsByName('I1')[0];var trs=iframe.contentDocument.getElementsByClassName('table01')[0].getElementsByTagName('tr');var minTot=parseInt(iframe2.contentDocument.getElementById('countDownText').innerHTML.split(':')[0]);var secTot=parseInt(iframe2.contentDocument.getElementById('countDownText').innerHTML.split(':')[1]);var hourTot=0;var idCounter=0;for(var i=0;i<trs.length;i++){var tds=trs[i].getElementsByTagName('td');if(tds.length>0){var timeEl=tds[0];if(timeEl.hasAttribute('bgColor')){var value=timeEl.innerHTML.split('<br>');if(value.length>1){var newEle=document.createElement('td');newEle.innerHTML=(hourTot>0?hourTot+':':'')+(minTot<10?'0'+minTot:minTot)+':'+(secTot<10?'0'+secTot:secTot);newEle.bgColor=timeEl.bgColor;newEle.id='time:'+idCounter++;timeEl.parentNode.insertBefore(newEle,timeEl);minTot+=parseInt(value[1].split(':')[0]);secTot+=parseInt(value[1].split(':')[1]);minTot+=Math.floor(secTot/60);secTot=parseInt(secTot % 60);hourTot+=Math.floor(minTot/60);minTot=parseInt(minTot % 60);}}else{var newEle=document.createElement('td');newEle.innerHTML='Time to';newEle.className=timeEl.className;newEle.id='time:'+idCounter++;timeEl.parentNode.insertBefore(newEle,timeEl);}}else{var newEle=document.createElement('td');newEle.className='th01';newEle.id='time:'+idCounter++;trs[i].insertBefore(newEle,trs[i].firstChild);}}}clear();show();} |
|
|
|
alien_avatar
Captain
Joined: Oct 28, 2006
Member#: 16007
Posts: 1342
Location: Berlin
|
Posted:
Sun Feb 19, 2012 6:30 am Post subject: |
|
Oh wow, thanks for this, DrJouda!
This surely is convenient. _________________ "Welcome to the paranoia club; cheapest fees in the universe and membership lasts forever."
- Peter F. Hamilton, The Evolutionary Void |
|
|
molossus
Admiral (Administrator)
Joined: Aug 09, 2005
Member#: 11167
Posts: 3311
Location: Warsaw & once in a blue moon Szczecin (Poland)
|
Posted:
Sun Feb 19, 2012 10:58 am Post subject: |
|
I have Opera 11.61 and it works nicely. Neat little thing. Thank you Doctor! _________________ <i>"The piano keys are black and white,
But they sound like a million colors in your mind"</i>
(from "Spider's Web" by <a href="http://katiemelua.com/music/#KatieMelua">Katie Melua</a>)
Avatar is from work of art by Drew Struzan |
|
|
|