2019-04-01 23:16:35 +02:00
|
|
|
---
|
|
|
|
title: Basspistol Libre Radio
|
|
|
|
subtitle: Radio
|
2019-04-14 11:09:20 +02:00
|
|
|
description: >-
|
|
|
|
Basspistol Radio Station! 777% without commercials! RobotDJ-sets and live
|
|
|
|
interventions! This is the sound of freedom.
|
2020-07-11 09:07:24 +02:00
|
|
|
tags:
|
|
|
|
- radio
|
|
|
|
- basspistol
|
|
|
|
- live
|
|
|
|
- music
|
|
|
|
- broadcast
|
|
|
|
- stream
|
2019-04-02 00:28:32 +02:00
|
|
|
video_path: /assets/vid/radio.mp4
|
2020-07-09 10:15:00 +02:00
|
|
|
image: /assets/vid/radio.jpg
|
2020-07-10 11:46:33 +02:00
|
|
|
layout: default
|
2019-04-01 23:16:35 +02:00
|
|
|
---
|
2019-04-14 11:09:20 +02:00
|
|
|
|
2020-07-10 11:46:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-16 12:12:57 +01:00
|
|
|
{% include relBase.html %}
|
2020-07-10 11:46:33 +02:00
|
|
|
<!-- Banner -->
|
|
|
|
<section
|
|
|
|
class="banner onload-image-fade-in onload-content-fade-right style3 fullscreen content-align-left image-position-center" style="background-image:url('{{ page.image }}');background-size: cover; background-repeat: no-repeat;">
|
2020-07-15 14:47:51 +02:00
|
|
|
<div style="z-index:0;position:absolute; top:0; left:0; width:100%;min-height:100%;background-color: rgba(13, 13 ,13, 0.5);"></div>
|
2020-07-10 11:46:33 +02:00
|
|
|
|
|
|
|
<div id="mainwrap" class="content" style="z-index:1">
|
|
|
|
<h1 style="margin-top:80px">{{ page.title }}</h1>
|
|
|
|
<div id="radioPlaceholder"></div>
|
|
|
|
<p><strong><span id="tracktime"></span></strong><br /></p>
|
2020-07-09 10:15:00 +02:00
|
|
|
|
2020-07-10 11:46:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
<ul class="actions stacked">
|
|
|
|
<li><button id="mu_pause" class="smooth-scroll-middle button icon solid fa-play">Play dat!</button></li>
|
|
|
|
</ul>
|
2019-02-28 17:06:17 +01:00
|
|
|
</div>
|
2020-07-10 11:46:33 +02:00
|
|
|
|
|
|
|
<div id="noJSalbum" style="z-index:1000;">
|
|
|
|
<h1 style="margin-top:80px">{{ page.title }}</h1>
|
|
|
|
<div id="radioPlaceholder"></div>
|
|
|
|
<p><strong><span id="tracktime"></span></strong><br /></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://radio.basspistol.com/radio.mp3" id="mu_pause" class="button icon solid fa-play">MP3</a> <a href="https://radio.basspistol.com/radio.ogg" id="mu_pause" class="button icon solid fa-play">OGG</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-28 17:06:17 +01:00
|
|
|
</div>
|
2020-07-10 11:46:33 +02:00
|
|
|
|
|
|
|
<div class="image">
|
|
|
|
<img src="{{ page.image }}" alt="{{ page.title }} logo" id="coverart" />
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- Content -->
|
|
|
|
<section class="wrapper style1 align-center">
|
|
|
|
<div class="inner" style="padding-top:40px">
|
|
|
|
<div class="index align-left">
|
|
|
|
<section style="padding-top:40px">
|
|
|
|
<!-- Content -->
|
|
|
|
<div class="content">
|
|
|
|
<p><b>Dislike scripts? Want the M3U? We got you covered!</b>
|
|
|
|
<br /><br />Enjoy the stream in your <b>browser</b> in
|
|
|
|
<a target="_blank" rel="noopener" href="https://radio.basspistol.com/radio.mp3">MP3</a>
|
|
|
|
or <a target="_blank" rel="noopener" href="https://radio.basspistol.com/radio.ogg">OGG</a>
|
|
|
|
<br /><br />
|
|
|
|
Enjoy the stream in your favorite <b>player</b> in
|
|
|
|
<a target="_blank" rel="noopener" href='https://radio.basspistol.com/radio.mp3.m3u'>MP3</a>
|
|
|
|
and <a target="_blank" rel="noopener" href='https://radio.basspistol.com/radio.ogg.m3u'>OGG</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Audio player-->
|
|
|
|
|
2020-07-11 16:18:22 +02:00
|
|
|
<audio preload="none" data-matomo-title="Basspistol Radio">
|
2020-07-10 11:46:33 +02:00
|
|
|
<source src="https://radio.basspistol.com/radio.mp3" type="audio/mpeg" ontimeupdate='updateTrackTime(this);' />
|
|
|
|
<source src="https://radio.basspistol.com/radio.ogg" type="audio/ogg" ontimeupdate='updateTrackTime(this);' />
|
|
|
|
<h1>Your browser isn't ready for so much hotness. Use the download-link instead.</h1>.
|
|
|
|
</audio>
|
|
|
|
{% include footer.html %}
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
function loadUrl(newLocation) {
|
|
|
|
window.location = newLocation;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
var mu = document.getElementsByTagName("audio")[0];
|
|
|
|
var pauseButton = document.getElementById("mu_pause");
|
|
|
|
var spincover = document.getElementById("coverart");
|
|
|
|
|
|
|
|
mu.addEventListener('ended', function () {
|
2019-02-28 17:06:17 +01:00
|
|
|
// only functional if "loop" is removed
|
|
|
|
mu.pause();
|
2020-07-10 11:46:33 +02:00
|
|
|
mu.currentTime = 0;
|
|
|
|
loadUrl("{{ relBase }}/{{ page.nextTrack.slug }}/"); return false;
|
|
|
|
});
|
|
|
|
mu.onplaying = function() {
|
|
|
|
pauseButton.innerHTML = "Pause";
|
|
|
|
pauseButton.classList.remove("fa-play");
|
|
|
|
pauseButton.classList.add("fa-pause");
|
|
|
|
spincover.classList.add("spinnit");
|
|
|
|
spincover.classList.remove("paused");
|
|
|
|
};
|
2019-02-28 17:06:17 +01:00
|
|
|
|
2020-07-10 11:46:33 +02:00
|
|
|
pauseButton.addEventListener("click", function () {
|
2019-02-28 17:06:17 +01:00
|
|
|
if (mu.paused) {
|
2020-07-10 11:46:33 +02:00
|
|
|
mu.play();
|
|
|
|
|
2019-02-28 17:06:17 +01:00
|
|
|
}
|
2020-07-10 11:46:33 +02:00
|
|
|
else {
|
|
|
|
mu.pause();
|
|
|
|
pauseButton.innerHTML = "Resume";
|
|
|
|
pauseButton.classList.add("fa-play");
|
|
|
|
pauseButton.classList.remove("fa-pause");
|
|
|
|
spincover.classList.add("paused");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
mu.addEventListener('timeupdate', function () {
|
|
|
|
var timestamp = Math.floor(mu.currentTime);
|
|
|
|
var hours = Math.floor(timestamp / 60 / 60);
|
|
|
|
var minutes = Math.floor(timestamp / 60) - (hours * 60);
|
|
|
|
var seconds = timestamp % 60;
|
|
|
|
var formatted = hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0') + ':' + seconds.toString().padStart(2, '0');
|
|
|
|
var thecurrentSpan = document.getElementById("tracktime");
|
|
|
|
thecurrentSpan.innerHTML = formatted;
|
|
|
|
});
|
2019-02-28 17:06:17 +01:00
|
|
|
|
2020-07-10 11:46:33 +02:00
|
|
|
</script>
|
|
|
|
|