thesoundsmith
Active Coder
Their forum hasn't been active for yeears, i'm hoping y'all can help.
My "Dashradio" music player, thanks to you, is working beautifully: The DashRadio page
After a couple hours, it just stops. Last time on "Dindi," I mention because I believe the LAST time it was also on Dindi. There is no code error or XML error according to w3c. This has worked fine for 15 years, but probably has always had the glitch. wanted 8 hours, I get about 2. If anyone has ideas, I'd love to hear 'em. Is this a system issue or am I missing something? Here are the relevant pieces, I'll post the whole thing if you think it matters, but I don't think it is...
Here are what appears to be the relevant pieces of code, thrown in together. I can post the whole thing, but doubt it will help:
Thanks for your help.
My "Dashradio" music player, thanks to you, is working beautifully: The DashRadio page
After a couple hours, it just stops. Last time on "Dindi," I mention because I believe the LAST time it was also on Dindi. There is no code error or XML error according to w3c. This has worked fine for 15 years, but probably has always had the glitch. wanted 8 hours, I get about 2. If anyone has ideas, I'd love to hear 'em. Is this a system issue or am I missing something? Here are the relevant pieces, I'll post the whole thing if you think it matters, but I don't think it is...
XML:
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DashRadio - The Soundsmith Channel</title>
<item>
<media:content url="https://www.davidkempton.com/wp-content/uploads/01-Beach-Girls.mp3" />
<media:thumbnail url="https://www.davidkempton.com/pix/esp4web.gif" />
<title>Beach Girls</title>
<description>Especially For Groovers</description>
<link>https://www.davidkempton.com/rec/esp4/</link>
</item>
<item>
<media:content url="https://www.davidkempton.com/wp-content/uploads/02.Laura_.mp3" />
<media:thumbnail url="https://www.davidkempton.com/pix/esp1icn.gif" />
<title>Laura</title>
<description>Especially For You</description>
<link>https://www.davidkempton.com/rec/esp1/</link>
</item>
<item>
<media:content url="https://www.davidkempton.com/wp-content/uploads/03.Dindi.mp3" />
<media:thumbnail url="https://www.davidkempton.com/pix/esp1icn.gif" />
<title>Dindi</title>
<description>Especially For You</description>
<link>https://www.davidkempton.com/rec/esp1/</link>
</item>
<item>
<media:content url="https://www.davidkempton.com/wp-content/uploads/04.Arthurs_Theme.mp3" />
<media:thumbnail url="https://www.davidkempton.com/pix/esp1icn.gif" />
<title>Arthur's Theme</title>
<description>Especially For You</description>
<link>https://www.davidkempton.com/rec/esp1/</link>
</item>
</channel>
</rss>
Here are what appears to be the relevant pieces of code, thrown in together. I can post the whole thing, but doubt it will help:
Code:
div#cas {
background: url(https://www.davidkempton.com/wp-content/uploads/carradio.gif);
position: absolute;
margin-left: -190px;
margin-top: 38px;
background-repeat: no-repeat;
width: 920px;
height: 370px;
}
<!-- location of the display -->
#radio {
position: absolute;
margin-left: 200px;
margin-top: 65px;
height: 113px;
width: 537px;
z-index: -100;
}
function deCod(linkStr) {
var str = linkStr;
return str;
}
<!-- used when changing playlists and new list items -->
function swapAlbum() {
var newProj = jwplayer(radio).getPlaylistItem().description;
if (newProj == thisProj) {
jwplayer(radio).playlistNext();
} else {
thisProj = newProj;
}
}
<!-- generate the player and load XML playlist -->
function createPlayer() {
jwplayer("radio").setup({
playlistfile: 'https://www.davidkempton.com/xml/radioall.xml',
"playlist.position": "top",
"playlist.size": 113,
skin: 'https://https://www.davidkempton.com/wp-content/uploads/car2.xml',
shuffle: "true",
autostart: "true",
controlbar: "bottom",
height: 113,
width: 537,
volume: 66,
"logo.file": "https://www.davidkempton.com/wp-content/uploads/dashhd80.gif",
"logo.position": "bottom-right",
"logo.margin": "3",
"logo.out": "0.77",
repeat: 'always',
events: {
onPlaylistItem: function(event) {
swapAlbum();
}
}
});
}
<body onload="createPlayer()">
<!-- main controls -->
<li><a id="btn3" class="button3" title="Play" onclick="jwplayer(radio).play('true');">Play</a></li>
<li><a id="btn4" class="button3" title="Pause" onclick="jwplayer(radio).play('false');">Pause</a></li>
<li><a id="btn5" class="button3" title="New Song" onclick="jwplayer(radio).playlistNext();">New</a></li>
</body>
Thanks for your help.