basspistol.com/index.html

251 lines
8.5 KiB
HTML
Raw Normal View History

2020-07-09 10:15:00 +02:00
---
title: Music Syndicate
subtitle: Basspistol
description: >-
Homepage of Basspistol, The Outernational Music Syndicate established in 2010.
The underground is dead, Long Live the Underground!
2020-07-11 09:07:24 +02:00
tags:
- basspistol
- uuternational
- music
- syndicate
- homepage
- collective
- free
- culture
2020-07-09 10:15:00 +02:00
video_path: /assets/vid/intro_loop_.mp4
image: /assets/vid/intro_loop_.jpg
logo_image: /siteicon.png
---
{% include relBase.html %}
<!-- Banner -->
<section
class="banner onload-image-fade-in onload-content-fade-right style5 fullscreen content-align-center image-position-center;"
2020-07-28 16:15:37 +02:00
style="background-size:cover;background-repeat:no-repeat;background-position: center;min-height: 100vh;">
2020-07-09 10:15:00 +02:00
<div
2020-07-15 14:47:51 +02:00
style="z-index:0;position:absolute; top:0; left:0; width:100%;min-height:100%;background-color: rgba(13, 13 ,13, 0.5);">
2020-07-09 10:15:00 +02:00
</div>
<div class="content" style="z-index:1">
<h1 style="margin-top:80px">{{ page.title }}</h1>
2020-07-10 14:16:59 +02:00
<p>{{ page.description }}</p>
2020-07-09 10:15:00 +02:00
<ul class="actions stacked">
2020-07-29 13:52:06 +02:00
<li><a href="#music" class="button small smooth-scroll">Gimme Music!</a></li>
2020-07-09 10:15:00 +02:00
</ul>
</div>
<div class="image">
<img src="{{ relBase }}{{ page.logo_image }}" alt="{{ site.title }} logo" />
</div>
</section>
2020-07-10 18:05:17 +02:00
<!-- Radio -->
<section
2020-07-17 10:33:37 +02:00
id="music"
2020-07-15 14:43:29 +02:00
class="banner onload-image-fade-in onload-content-fade-right style3 fullscreen content-align-left image-position-center">
2020-07-15 14:47:51 +02:00
<div style="z-index:0;position:absolute; top:0; left:0; width:100%;min-height:100%;"></div>
2020-07-10 18:05:17 +02:00
<div id="mainwrap" class="content" style="z-index:1">
<h1 style="margin-top:80px">Radio</h1>
<div id="radioPlaceholder"></div>
<p><strong><span id="tracktime"></span></strong><br /></p>
<ul class="actions stacked">
2020-07-29 13:52:06 +02:00
<li><button id="mu_pause" class="button small icon solid fa-play">Play!</button></li>
2020-07-10 18:05:17 +02:00
</ul>
</div>
<div id="noJSalbum" style="z-index:1000;">
<h1 style="margin-top:80px">Radio</h1>
<div id="radioPlaceholder"></div>
<p><strong><span id="tracktime"></span></strong><br /></p>
2020-07-29 13:52:06 +02:00
<a href="https://radio.basspistol.com/radio.mp3" id="mu_pause" class="button small icon solid fa-play">MP3</a> <a href="https://radio.basspistol.com/radio.ogg" id="mu_pause" class="button small icon solid fa-play">OGG</a>
2020-07-10 18:05:17 +02:00
</div>
<div class="image">
<img src="{{ relBase }}/assets/vid/radio.jpg" alt="{{ page.title }} logo" id="coverart" />
</div>
</section>
<!-- Audio player-->
2020-07-11 16:18:22 +02:00
<audio preload="none" data-matomo-title="Basspistol Radio">
2020-07-10 18:05:17 +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>
<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");
2020-07-16 15:49:05 +02:00
var links = document.getElementsByTagName('a');
2020-07-10 18:05:17 +02:00
mu.addEventListener('ended', function () {
// only functional if "loop" is removed
mu.pause();
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");
2020-07-16 15:49:05 +02:00
for (var i=0, len=links.length; i < len; i++) {
links[i].target = '_blank';
}
2020-07-10 18:05:17 +02:00
};
pauseButton.addEventListener("click", function () {
if (mu.paused) {
mu.play();
}
else {
mu.pause();
pauseButton.innerHTML = "Resume";
pauseButton.classList.add("fa-play");
pauseButton.classList.remove("fa-pause");
spincover.classList.add("paused");
2020-07-16 15:49:05 +02:00
2020-07-10 18:05:17 +02:00
}
});
2020-07-09 10:15:00 +02:00
2020-07-10 18:05:17 +02:00
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;
});
</script>
<!-- End Radio -->
2020-07-23 09:32:46 +02:00
{% include streamer.html %}
2020-07-15 12:39:53 +02:00
<!-- Posts -->
{% for post in site.posts limit: '2' %}
<section id="album{% increment var %}"
class="section-shadow banner style1 orient-{% cycle 'left', 'right' %} content-align-{% cycle 'right', 'left' %} image-position-center fullscreen onload-image-fade-in onload-content-fade-right">
<div class="content">
<h1>{{ post.title }}</h1>
<p>{{ post.description }}</p>
{% if post.category == 'release' %}
{% capture album_name -%}
{{ post.album }}
{%- endcapture %}
{% for album in site.albums %}
{% capture name -%}
{{ album.relative_path | replace_first: album.collection, '' | replace_first: '_/', '' | replace_first: '.md', '' }}
{%- endcapture %}
{% if name == album_name %}
<p>{{ album.date | date: '%Y' }}</p>
{% for track in album.tracks %}
2020-07-28 12:09:08 +02:00
<p style="margin-bottom: 30px;font-size: 14px">
2020-07-15 12:39:53 +02:00
<strong>{{ track.common.track.no }}. {{ track.common.title }}</strong><br />
<span id="{{ track.common.title | slugify | remove: '-' }}"></span> |
2020-07-28 12:09:08 +02:00
<span style="font-size: 14px">{{ track.common.genre }} </span>
2020-07-15 12:39:53 +02:00
</p>
<script type="text/javascript">
var {{ track.common.title | slugify | remove: '-' }}timestamp = {{ track.format.duration | round }};
var {{ track.common.title | slugify | remove: '-' }}hours = Math.floor({{ track.common.title | slugify | remove: '-' }}timestamp / 60 / 60);
var {{ track.common.title | slugify | remove: '-' }}minutes = Math.floor({{ track.common.title | slugify | remove: '-' }}timestamp / 60) - ({{ track.common.title | slugify | remove: '-' }}hours * 60);
var {{ track.common.title | slugify | remove: '-' }}seconds = {{ track.common.title | slugify | remove: '-' }}timestamp % 60;
var {{ track.common.title | slugify | remove: '-' }}formatted = {{ track.common.title | slugify | remove: '-' }}hours.toString().padStart(2, '0') + ':' + {{ track.common.title | slugify | remove: '-' }}minutes.toString().padStart(2, '0') + ':' + {{ track.common.title | slugify | remove: '-' }}seconds.toString().padStart(2, '0');
var theSpan = document.getElementById("{{ track.common.title | slugify | remove: '-' }}");
theSpan.innerHTML = {{ track.common.title | slugify | remove: '-' }}formatted;
</script>
{% endfor %}
{% break %} {% endif %} {% endfor %}
{% endif %}
<br />
<ul class="actions stacked">
<li><a href="{{ relBase }}{{ post.url }}"
2020-07-29 13:52:06 +02:00
class="button small {% if post.category == 'releases' %}icon solid fa-volume-up{% endif %}">{% if post.category == 'releases' %}Listen{% else %}Read more{% endif %}</a>
2020-07-15 12:39:53 +02:00
</li>
</ul>
</div>
<div class="image">
<img src="{{ relBase }}{{ post.image }}" alt="{{ post.title }}" title="{{ post.title }}" />
</div>
</section>
{% endfor %}
2020-07-10 18:05:17 +02:00
<!-- Releases -->
2020-07-10 18:12:03 +02:00
<section class="wrapper style1 align-center">
<div class="inner" style="padding-top: 40px;">
2020-07-17 10:33:37 +02:00
<h2>Releases</h2>
2020-07-09 10:15:00 +02:00
<p>Collection of releases through time</p>
</div>
</section>
2020-07-10 18:05:17 +02:00
{% assign sorted = site.albums | sort: 'date' | reverse %}
{% for album in sorted %}
2020-07-09 10:15:00 +02:00
2020-07-10 18:12:03 +02:00
<section class="spotlight style5 orient-{% cycle 'left', 'right' %} content-align-{% cycle 'right', 'left' %} image-position-center onscroll-image-fade-in" {% if forloop.index == 1 %}style="box-shadow: none;" {% endif %}>
2020-07-09 10:15:00 +02:00
2020-07-10 18:05:17 +02:00
<div class="content">
<h3>{{ album.title }}</h3>
<p>{{ album.date | date: "%Y" }}</p>
<!-- <p>{{ artist.bio }}</p> -->
2020-07-09 10:15:00 +02:00
2020-07-10 18:05:17 +02:00
<ul class="actions stacked">
2020-07-29 13:31:37 +02:00
<li><a href="{{ album.url }}" style="text-decoration:none;" class="button small icon solid fa-volume-up">Listen</a></li>
2020-07-10 18:05:17 +02:00
</ul>
</div>
<div class="image">
2020-07-28 12:11:59 +02:00
<img src="{{ site.mediaurl }}/{{ album.slug }}/{{ album.tracks[0].trackSlug }}.jpeg" alt="{{ album.title | smartify }}" />
2020-07-10 18:05:17 +02:00
</div>
</section>
{% endfor %}
<!-- END Insta -->
2020-07-09 10:15:00 +02:00
{% include footer.html %}