From 31dfa2ccf24f9f74e2265087c3149966bbccbb9c Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Tue, 28 Jul 2020 12:37:08 +0200 Subject: [PATCH] streamer on 3rd part store objects --- _includes/streamer.html | 170 +++++++++++++---------- _layouts/post.html | 1 + _posts/2010-09-06-Psykedelisk-Pop.md | 1 + _posts/2010-10-17-musical-tourism.md | 1 + _posts/2011-01-07-holyhertzkicknbase.md | 1 + _posts/2011-02-03-travle3.md | 1 + _posts/2011-06-06-headcleaner.md | 2 +- _posts/2012-09-06-houseofset.md | 1 + _posts/2013-02-13-battretider.md | 1 + _posts/2013-04-01-DustAndSoda.md | 1 + _posts/2013-05-01-TFB-OTK.md | 1 + _posts/2013-05-12-2biljonprojekt.md | 1 + _posts/2014-01-04-goldenbank.md | 1 + _posts/2016-05-07-kalsong-salong.md | 1 + _posts/2016-09-05-pingnu.md | 1 + _posts/2018-08-23-defconradio.md | 1 + _posts/2018-08-27-cricketsummermix.md | 1 + _posts/2018-08-29-abitosim.md | 1 + _posts/2018-08-30-A-Wa-habib galbi.md | 1 + _posts/2018-09-07-v4.20.md | 1 + _posts/2018-09-09-Birraweed.md | 1 + _posts/2018-09-11-phenomonalyyung.md | 1 + _posts/2018-10-05-LosGanglios.md | 1 + _posts/2018-12-05-AcidDecember2018.md | 1 + _posts/2019-01-18-waitinggame.md | 1 + _posts/2019-01-20-kas-tu-fait-de-nous.md | 30 +++- _posts/2019-02-09-darkweb.md | 28 +++- _posts/2019-04-02-spark-master-tape.md | 1 + _posts/_defaults.md | 1 + 29 files changed, 178 insertions(+), 77 deletions(-) diff --git a/_includes/streamer.html b/_includes/streamer.html index d590080..fffe37d 100644 --- a/_includes/streamer.html +++ b/_includes/streamer.html @@ -1,9 +1,9 @@ -
+ {% if page.collection == 'posts' %} {% if page.category == 'releases' %} - {% if page.stores[0].name != '' %} - -

Buy this release

+ {% if page.check_this_if_cannot_be_bought == false %} +
+

Get this release

{% for shop in page.stores %} {% if shop.download == true %} @@ -12,21 +12,21 @@ {% endfor %}
-

 

+

Stream it, follow, like and subscribe!

{% for shop in page.stores %} {% if shop.download != true %} - {{ shop.name }} + {{ shop.name }} {% endif %} {% endfor %}
- +
{% else %} - -

This release can't be bought

-

But you can find others here:

+
+

This release can't be bought

+

Stream, follow, like and subscribe!

{% for shop in site.data.stores %} {% if shop.download == true %} @@ -34,7 +34,7 @@ {% endif %} {% endfor %}
-

 

+

 

{% for shop in site.data.stores %} @@ -43,17 +43,45 @@ {% endif %} {% endfor %}
+
+ {% endif %} + {% else %} + {% if page.check_this_if_cannot_be_bought == false %} +
+

Get this release

+
+ {% for shop in page.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+ +

Stream it, follow, like and subscribe!

+
+ + {% for shop in page.stores %} + {% if shop.download != true %} + + {{ shop.name }} + {% endif %} + {% endfor %} +
+
+ {% else %} {% endif %} {% endif %} - - {% elsif page.collection == 'tracks' %} +{% elsif page.collection == 'tracks' %} + +
+ {% for post in site.posts %} {% if post.album == page.albumSlug %} - {% if post.stores[0].name != '' %} + {% if post.check_this_if_cannot_be_bought == false %} -

Buy this track

+

Get this track

{% for shop in post.stores %} {% if shop.download == true %} @@ -62,20 +90,20 @@ {% endfor %}
-

 

+

Stream it, follow, like and subscribe!

{% for shop in post.stores %} {% if shop.download != true %} - {{ shop.name }} + {{ shop.name }} {% endif %} {% endfor %}
{% else %} -

This track can't be bought

-

But you can find others here:

+

This track can't be bought

+

Stream, follow, like and subscribe!

{% for shop in site.data.stores %} {% if shop.download == true %} @@ -83,7 +111,7 @@ {% endif %} {% endfor %}
-

 

+

 

{% for shop in site.data.stores %} @@ -97,64 +125,66 @@ {% endif %} {% endif %} {% endfor %} +
{% elsif page.collection == 'albums' %} +
+ {% for post in site.posts %} + {% if post.album == page.slug %} + {% if post.check_this_if_cannot_be_bought == false %} -{% for post in site.posts %} -{% if post.album == page.slug %} -{% if post.stores[0].name != '' %} +

Get this album

+
+ {% for shop in post.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
-

Buy this album

-
- {% for shop in post.stores %} - {% if shop.download == true %} - {{ shop.name }} +

Stream it, follow, like and subscribe!

+
+ + {% for shop in post.stores %} + {% if shop.download != true %} + + {{ shop.name }} + {% endif %} + {% endfor %} +
+ {% else %} + +

This album can't be bought

+

Stream, follow, like and subscribe!

+
+ {% for shop in site.data.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+

 

+ +
+ {% for shop in site.data.stores %} + {% if shop.download != true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+ {% break %} + + {% endif %} {% endif %} {% endfor %} -
- -

 

-
- - {% for shop in post.stores %} - {% if shop.download != true %} - - {{ shop.name }} - {% endif %} - {% endfor %} -
-{% else %} - -

This album can't be bought

-

But you can find others here:

-
- {% for shop in site.data.stores %} - {% if shop.download == true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
-

 

- -
- {% for shop in site.data.stores %} - {% if shop.download != true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
-{% break %} - -{% endif %} -{% endif %} -{% endfor %} - +
{% else %} -

Support {{ site.name }}

-

Subsrcibe, like and follow!

+
+

Support {{ site.title }}

+

Stream, follow, like and subscribe!

{% for shop in site.data.stores %} {% if shop.download == true %} @@ -162,7 +192,7 @@ {% endif %} {% endfor %}
-

 

+

 

{% for shop in site.data.stores %} @@ -171,5 +201,5 @@ {% endif %} {% endfor %}
+
{% endif %} -
\ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index d330ef2..e843eee 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -355,6 +355,7 @@ +{% include streamer.html %}
diff --git a/_posts/2010-09-06-Psykedelisk-Pop.md b/_posts/2010-09-06-Psykedelisk-Pop.md index 3422d28..6c077c0 100644 --- a/_posts/2010-09-06-Psykedelisk-Pop.md +++ b/_posts/2010-09-06-Psykedelisk-Pop.md @@ -10,6 +10,7 @@ description: 'Psykedelisk Pop, by reSet Sakrecoer is the journey of a boyish Pia uid: 'BPIST001' image: '/assets/img/PsykedeliskPopFront.jpg' download: 'https://archive.org/download/BPIST001/BPIST001_archive.torrent' +check_this_if_cannot_be_bought: false stores: - name: Bandcamp url: 'https://shop.basspistol.com/album/psykedelisk-pop' diff --git a/_posts/2010-10-17-musical-tourism.md b/_posts/2010-10-17-musical-tourism.md index 076819a..bd1e01f 100644 --- a/_posts/2010-10-17-musical-tourism.md +++ b/_posts/2010-10-17-musical-tourism.md @@ -9,6 +9,7 @@ author: artist: synapset category: releases album: musical-tourism +check_this_if_cannot_be_bought: false tags: - internal - albums diff --git a/_posts/2011-01-07-holyhertzkicknbase.md b/_posts/2011-01-07-holyhertzkicknbase.md index a473095..1fa616c 100644 --- a/_posts/2011-01-07-holyhertzkicknbase.md +++ b/_posts/2011-01-07-holyhertzkicknbase.md @@ -10,6 +10,7 @@ description: 'Kick N Base Made In Barcelona by Holyhertz is a collaborative conc uid: BPIST003 image: '/assets/img/holyhertzcover.jpg' download: 'https://archive.org/download/BPIST003/BPIST003_archive.torrent' +check_this_if_cannot_be_bought: false stores: - name: Spotify url: 'https://open.spotify.com/album/7v8toNpRj6DiAddtavpMvS' diff --git a/_posts/2011-02-03-travle3.md b/_posts/2011-02-03-travle3.md index 8c94327..4ce4d08 100644 --- a/_posts/2011-02-03-travle3.md +++ b/_posts/2011-02-03-travle3.md @@ -11,6 +11,7 @@ image: '/assets/img/travel3.jpg' download: '' link: 'https://archive.org/details/BPIST-V005' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2011-06-06-headcleaner.md b/_posts/2011-06-06-headcleaner.md index ef062af..ff4b8d0 100644 --- a/_posts/2011-06-06-headcleaner.md +++ b/_posts/2011-06-06-headcleaner.md @@ -10,7 +10,7 @@ uid: BPIST005 image: /assets/img/DrTikov_Headcleaner.jpg download: https://archive.org/download/BPIST005/BPIST005_archive.torrent description: 'Headcleaner by Dr. Tikov. A minimalistic opus of dubish Russian techno, made in Barcelona.' -stores: +check_this_if_cannot_be_bought: false stores: - name: Spotify url: 'https://play.google.com/store/music/album/Dr_Tikov_Headcleaner?id=B6ydbpvz5oflyh67rnbdeoqgkna' diff --git a/_posts/2012-09-06-houseofset.md b/_posts/2012-09-06-houseofset.md index 64aee80..2023911 100644 --- a/_posts/2012-09-06-houseofset.md +++ b/_posts/2012-09-06-houseofset.md @@ -10,6 +10,7 @@ description: The House Of Set, Recorded in an itinerant studio by Simio Sakrecoe uid: BPIST007 image: '/assets/img/templeofSetCoverART_INV.png' download: 'https://archive.org/download/BPIST007/BPIST007_archive.torrent' +check_this_if_cannot_be_bought: false stores: - name: Archive url: https://archive.org/details/BPIST007 diff --git a/_posts/2013-02-13-battretider.md b/_posts/2013-02-13-battretider.md index 19369ea..2b5aee8 100644 --- a/_posts/2013-02-13-battretider.md +++ b/_posts/2013-02-13-battretider.md @@ -10,6 +10,7 @@ uid: 'battretider' image: '/assets/img/battretider.jpg' link: 'https://archive.org/details/BPIST-V004' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2013-04-01-DustAndSoda.md b/_posts/2013-04-01-DustAndSoda.md index c7607c2..ae752c2 100644 --- a/_posts/2013-04-01-DustAndSoda.md +++ b/_posts/2013-04-01-DustAndSoda.md @@ -10,6 +10,7 @@ uid: BPIST011 album: dust-and-soda image: /assets/img/DustAndSoda.jpg download: https://archive.org/download/BPIST011/BPIST011_archive.torrent +check_this_if_cannot_be_bought: false stores: - name: Archive url: https://archive.org/details/BPIST011 diff --git a/_posts/2013-05-01-TFB-OTK.md b/_posts/2013-05-01-TFB-OTK.md index ba3d40c..01479fc 100644 --- a/_posts/2013-05-01-TFB-OTK.md +++ b/_posts/2013-05-01-TFB-OTK.md @@ -10,6 +10,7 @@ description: 'Enter this cybernetic opus of oblivion and computer aided overstan uid: BPIST013 image: '/assets/img/TFB-OTK.png' download: 'https://archive.org/download/BPIST013/BPIST013_archive.torrent' +check_this_if_cannot_be_bought: false stores: - name: Archive url: https://archive.org/details/BPIST013 diff --git a/_posts/2013-05-12-2biljonprojekt.md b/_posts/2013-05-12-2biljonprojekt.md index 42ae9fe..646af5b 100644 --- a/_posts/2013-05-12-2biljonprojekt.md +++ b/_posts/2013-05-12-2biljonprojekt.md @@ -11,6 +11,7 @@ image: '/assets/img/2biljon.jpg' download: '' link: 'https://archive.org/details/BPIST-V003' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2014-01-04-goldenbank.md b/_posts/2014-01-04-goldenbank.md index 12f69ed..148c551 100644 --- a/_posts/2014-01-04-goldenbank.md +++ b/_posts/2014-01-04-goldenbank.md @@ -11,6 +11,7 @@ image: '/assets/img/goldenbank.jpg' download: '' link: 'https://archive.org/details/BPIST-V001' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2016-05-07-kalsong-salong.md b/_posts/2016-05-07-kalsong-salong.md index 104fa44..75d5079 100644 --- a/_posts/2016-05-07-kalsong-salong.md +++ b/_posts/2016-05-07-kalsong-salong.md @@ -15,6 +15,7 @@ image: /assets/img/kalsongsalong.jpg download: link: 'https://archive.org/details/BPIST-V002' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2016-09-05-pingnu.md b/_posts/2016-09-05-pingnu.md index 0af4fc5..ff6848a 100644 --- a/_posts/2016-09-05-pingnu.md +++ b/_posts/2016-09-05-pingnu.md @@ -18,6 +18,7 @@ image: /assets/img/pingnu.jpg download: link: 'https://archive.org/details/BPIST-V007' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2018-08-23-defconradio.md b/_posts/2018-08-23-defconradio.md index 0ae9130..3fb6640 100644 --- a/_posts/2018-08-23-defconradio.md +++ b/_posts/2018-08-23-defconradio.md @@ -11,6 +11,7 @@ image: '/assets/img/dcsite-bg-ret.jpg' download: '' link: 'https://somafm.com/defcon/index.html' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2018-08-27-cricketsummermix.md b/_posts/2018-08-27-cricketsummermix.md index 44d2fa4..640a332 100644 --- a/_posts/2018-08-27-cricketsummermix.md +++ b/_posts/2018-08-27-cricketsummermix.md @@ -11,6 +11,7 @@ image: '/assets/img/cricket.summer.jpg' download: '' link: 'https://soundcloud.com/alexandrebertrand-1/dj-criket-g-funk-summer-mix-2018-100-vinyl' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2018-08-29-abitosim.md b/_posts/2018-08-29-abitosim.md index e5d251a..8404d5f 100644 --- a/_posts/2018-08-29-abitosim.md +++ b/_posts/2018-08-29-abitosim.md @@ -11,6 +11,7 @@ image: '/assets/img/abiotism.jpg' download: '' link: 'https://soundcloud.com/disko-som-disco/abiotism' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2018-08-30-A-Wa-habib galbi.md b/_posts/2018-08-30-A-Wa-habib galbi.md index bcb040e..b4b9e41 100644 --- a/_posts/2018-08-30-A-Wa-habib galbi.md +++ b/_posts/2018-08-30-A-Wa-habib galbi.md @@ -11,6 +11,7 @@ image: '/assets/img/awgalbi.jpg' download: '' link: 'https://youtu.be/g3bjZlmsb4A' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2018-09-07-v4.20.md b/_posts/2018-09-07-v4.20.md index 85ae2ff..12ebccb 100644 --- a/_posts/2018-09-07-v4.20.md +++ b/_posts/2018-09-07-v4.20.md @@ -11,6 +11,7 @@ image: '/assets/img/newera.jpg' download: '' link: '' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2018-09-09-Birraweed.md b/_posts/2018-09-09-Birraweed.md index 1ea1081..b18b060 100644 --- a/_posts/2018-09-09-Birraweed.md +++ b/_posts/2018-09-09-Birraweed.md @@ -11,6 +11,7 @@ image: '/assets/img/birraweed.jpg' download: '' link: 'https://youtu.be/qsxGmA4frLA' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2018-09-11-phenomonalyyung.md b/_posts/2018-09-11-phenomonalyyung.md index c90b277..a6f685a 100644 --- a/_posts/2018-09-11-phenomonalyyung.md +++ b/_posts/2018-09-11-phenomonalyyung.md @@ -11,6 +11,7 @@ download: '' link: 'https://youtu.be/TmAvt5p6f8g' author: set album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2018-10-05-LosGanglios.md b/_posts/2018-10-05-LosGanglios.md index ee59daf..68c4445 100644 --- a/_posts/2018-10-05-LosGanglios.md +++ b/_posts/2018-10-05-LosGanglios.md @@ -11,6 +11,7 @@ image: '/assets/img/trnx_losganglios.jpg' download: '' link: 'http://losganglios.com/videos/' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2018-12-05-AcidDecember2018.md b/_posts/2018-12-05-AcidDecember2018.md index eef9207..160454f 100644 --- a/_posts/2018-12-05-AcidDecember2018.md +++ b/_posts/2018-12-05-AcidDecember2018.md @@ -11,6 +11,7 @@ image: '/assets/img/aciddecember2018.jpg' download: '' link: 'http://acid.datapop.se/' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2019-01-18-waitinggame.md b/_posts/2019-01-18-waitinggame.md index 0d9498e..3baece5 100644 --- a/_posts/2019-01-18-waitinggame.md +++ b/_posts/2019-01-18-waitinggame.md @@ -11,6 +11,7 @@ image: '/assets/img/waitinggame.jpg' download: '' link: 'https://sakrecoer.com/waitinggame/' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/2019-01-20-kas-tu-fait-de-nous.md b/_posts/2019-01-20-kas-tu-fait-de-nous.md index f04254a..9e4a291 100644 --- a/_posts/2019-01-20-kas-tu-fait-de-nous.md +++ b/_posts/2019-01-20-kas-tu-fait-de-nous.md @@ -15,10 +15,34 @@ image: /assets/img/2018-setto-single-003-reve_de_toi-117bpm_sqaure_FINAL.jpg download: link: 'https://shop.basspistol.com/album/satoshi-mon-ami' album: +check_this_if_cannot_be_bought: false stores: - - name: - url: - icon: + - name: Bandcamp + url: 'https://shop.basspistol.com/album/satoshi-mon-ami' + icon: fa-bandcamp + download: true + - name: Spotify + url: 'https://open.spotify.com/album/116YJCcI5T9Iw9UBQCvJWF' + icon: fa-spotify + download: false + - name: Apple Music + url: >- + https://itunes.apple.com/us/album/satoshi-mon-ami-single/1447055511?uo=4&app=music&at=1001lry3&ct=dashboard + img: + icon: fa-apple + download: false + - name: Google Play + url: >- + https://play.google.com/store/music/album/%E5%BE%92_setto_%E3%82%BB%E3%83%83%E3%83%88_Satoshi_mon_ami?id=Bygwvidl75kflmclmchl6wc5uba + icon: fa-google-play + download: false + - name: Deezer + url: 'https://www.deezer.com/album/82118382' + icon: fa-creative-commons-sampling + download: false + - name: Napster + url: 'https://us.napster.com/artist/-setto-/album/satoshi-mon-ami' + icon: fa-napster download: false --- diff --git a/_posts/2019-02-09-darkweb.md b/_posts/2019-02-09-darkweb.md index e3ed7e3..ea60986 100644 --- a/_posts/2019-02-09-darkweb.md +++ b/_posts/2019-02-09-darkweb.md @@ -17,10 +17,32 @@ image: /assets/img/coverartDarkweb_setto.jpg download: link: 'https://setto.basspistol.com/darkweb' album: +check_this_if_cannot_be_bought: false stores: - - name: - url: - icon: + - name: Bandcamp + url: 'https://shop.basspistol.com/album/darkweb' + icon: fa-bandcamp + download: true + - name: Spotify + url: 'https://open.spotify.com/album/0meSZO7BeGoHJc6BWnRvhN' + icon: fa-spotify + download: false + - name: Apple Music + url: 'https://itunes.apple.com/us/album/darkweb-single/1449847586' + icon: fa-apple + download: false + - name: Google Play + url: >- + https://play.google.com/store/music/album/%E5%BE%92_setto_%E3%82%BB%E3%83%83%E3%83%88_Darkweb?id=Bcrzzrtj7yfcyladynit7hg4age + icon: fa-google-play + download: false + - name: Deezer + url: 'https://www.deezer.com/fr/album/84669482' + icon: fa-creative-commons-sampling + download: false + - name: Napster + url: 'https://us.napster.com/artist/-setto-/album/darkweb-single' + icon: fa-napster download: false --- diff --git a/_posts/2019-04-02-spark-master-tape.md b/_posts/2019-04-02-spark-master-tape.md index ed8e0b3..05d0636 100644 --- a/_posts/2019-04-02-spark-master-tape.md +++ b/_posts/2019-04-02-spark-master-tape.md @@ -17,6 +17,7 @@ image: /assets/img/Screenshot at 2019-04-02 17-42-40.png download: link: 'https://dedsec.us' album: +check_this_if_cannot_be_bought: true stores: - name: url: diff --git a/_posts/_defaults.md b/_posts/_defaults.md index 726583b..17011b1 100644 --- a/_posts/_defaults.md +++ b/_posts/_defaults.md @@ -12,6 +12,7 @@ uid: '' image: '' download: '' link: '' +check_this_if_cannot_be_bought: false stores: - name: url: