diff --git a/VERSION b/VERSION index 1dce899..6f6edae 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1306 \ No newline at end of file +1307 \ No newline at end of file diff --git a/backend/static/downloads/ban-yaro-album-neo.zip b/backend/static/downloads/ban-yaro-album-neo.zip new file mode 100644 index 0000000..ea993d8 Binary files /dev/null and b/backend/static/downloads/ban-yaro-album-neo.zip differ diff --git a/backend/static/index.html b/backend/static/index.html index cef6316..b1e0bc1 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -86,14 +86,14 @@ Ban Yaro - + - - - - - + + + + + @@ -624,12 +624,12 @@ - - - - - - + + + + + + @@ -639,7 +639,7 @@ - + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 5e772d5..18d2dde 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '1306'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1307'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt window.APP_VER = APP_VER; // global verfügbar für andere Module (z.B. offline-indicator) window.APP_VERSION = APP_VERSION; diff --git a/backend/static/js/pages/settings.js b/backend/static/js/pages/settings.js index d31203b..9368c05 100644 --- a/backend/static/js/pages/settings.js +++ b/backend/static/js/pages/settings.js @@ -887,22 +887,27 @@ window.Page_settings = (() => {
7 Songs zum Behalten 🎸
- Das ganze Album als Download — auf Deutsch oder Englisch. - Behalten & teilen ausdrücklich erwünscht. + Das ganze Album als Download — Deutsch, Englisch oder „neo" + (Electro-Remix). Behalten & teilen ausdrücklich erwünscht.
+ style="flex:1;min-width:130px;justify-content:center;text-decoration:none"> ${UI.icon('download-simple')} Deutsch · 33 MB + style="flex:1;min-width:130px;justify-content:center;text-decoration:none"> ${UI.icon('download-simple')} English · 36 MB + + ${UI.icon('download-simple')} neo · 33 MB +
diff --git a/backend/static/js/worlds.js b/backend/static/js/worlds.js index 17946de..a8a36bb 100644 --- a/backend/static/js/worlds.js +++ b/backend/static/js/worlds.js @@ -1963,10 +1963,21 @@ window.Worlds = (() => { { title: 'Splash!', sub: 'Into the cool water', file: '/sounds/splash-en.mp3' }, { title: 'Best Friend', sub: 'You and me', file: '/sounds/best-friend-en.mp3' }, ]; + // „neo" = Neon Edition: dieselben EN-Texte, anderer Musikstil (Electro + Garage-Rock). + const SONGS_EN_ELECTRO = [ + { title: 'Ban Yaro Blues', sub: 'Garage-rock anthem', file: '/sounds/ban-yaro-blues-en-electro.mp3' }, + { title: 'Ban Yaro Mobile', sub: 'Motorik road groove', file: '/sounds/ban-yaro-mobil-en-electro.mp3' }, + { title: 'Amy', sub: 'Vocoder love duet', file: '/sounds/amy-en-electro.mp3' }, + { title: "At the Groomer's", sub: 'Disco-funk salon', file: '/sounds/at-the-groomers-en-electro.mp3' }, + { title: 'Treat Paradise', sub: 'Euphoric filter-house', file: '/sounds/treat-paradise-en-electro.mp3' }, + { title: 'Splash!', sub: 'Funk-house groove', file: '/sounds/splash-en-electro.mp3' }, + { title: 'Best Friend', sub: 'Acoustic-soul to synth', file: '/sounds/best-friend-en-electro.mp3' }, + ]; + const ALBUMS = { de: SONGS_DE, en: SONGS_EN, neo: SONGS_EN_ELECTRO }; let _lang = (() => { - try { return (EN_READY && localStorage.getItem(LANG_KEY) === 'en') ? 'en' : 'de'; } catch (_) { return 'de'; } + try { const v = EN_READY ? localStorage.getItem(LANG_KEY) : null; return ALBUMS[v] ? v : 'de'; } catch (_) { return 'de'; } })(); - const _songs = () => (_lang === 'en' && EN_READY) ? SONGS_EN : SONGS_DE; + const _songs = () => (EN_READY && ALBUMS[_lang]) ? ALBUMS[_lang] : SONGS_DE; let _bound = false, _curIdx = -1; const _audio = () => document.getElementById('anthem-audio'); // Entdeckt? Server-Flag (geräteübergreifend, deploy-fest) ODER lokal (sofort/offline). @@ -2040,20 +2051,24 @@ window.Worlds = (() => { const sheet = document.querySelector('#album-modal .album-sheet'); if (!sheet) return; const songs = _songs(); - const en = _lang === 'en'; + const de = _lang === 'de'; + const subtitle = de ? 'Songs · selbst gemacht 🎸' + : _lang === 'neo' ? 'songs · neon edition 🎛️' + : 'songs · homemade 🎸'; sheet.innerHTML = `
-
${en ? 'Ban Yaro — The Album' : 'Ban Yaro — das Album'}
-
${songs.length} ${en ? 'songs · homemade' : 'Songs · selbst gemacht'} 🎸
+
${de ? 'Ban Yaro — das Album' : 'Ban Yaro — The Album'}
+
${songs.length} ${subtitle}
${EN_READY ? `
- - + + +
` : ''} - +
diff --git a/backend/static/landing.html b/backend/static/landing.html index 56fe66b..32a131f 100644 --- a/backend/static/landing.html +++ b/backend/static/landing.html @@ -4,7 +4,7 @@ - + Ban Yaro — Die Hunde-App für Deutschland, Österreich & Schweiz diff --git a/backend/static/sounds/amy-en-electro.mp3 b/backend/static/sounds/amy-en-electro.mp3 new file mode 100644 index 0000000..2db663d Binary files /dev/null and b/backend/static/sounds/amy-en-electro.mp3 differ diff --git a/backend/static/sounds/at-the-groomers-en-electro.mp3 b/backend/static/sounds/at-the-groomers-en-electro.mp3 new file mode 100644 index 0000000..34549b0 Binary files /dev/null and b/backend/static/sounds/at-the-groomers-en-electro.mp3 differ diff --git a/backend/static/sounds/ban-yaro-blues-en-electro.mp3 b/backend/static/sounds/ban-yaro-blues-en-electro.mp3 new file mode 100644 index 0000000..8911b14 Binary files /dev/null and b/backend/static/sounds/ban-yaro-blues-en-electro.mp3 differ diff --git a/backend/static/sounds/ban-yaro-mobil-en-electro.mp3 b/backend/static/sounds/ban-yaro-mobil-en-electro.mp3 new file mode 100644 index 0000000..ee3cf42 Binary files /dev/null and b/backend/static/sounds/ban-yaro-mobil-en-electro.mp3 differ diff --git a/backend/static/sounds/best-friend-en-electro.mp3 b/backend/static/sounds/best-friend-en-electro.mp3 new file mode 100644 index 0000000..0d9b2f8 Binary files /dev/null and b/backend/static/sounds/best-friend-en-electro.mp3 differ diff --git a/backend/static/sounds/splash-en-electro.mp3 b/backend/static/sounds/splash-en-electro.mp3 new file mode 100644 index 0000000..a96d504 Binary files /dev/null and b/backend/static/sounds/splash-en-electro.mp3 differ diff --git a/backend/static/sounds/treat-paradise-en-electro.mp3 b/backend/static/sounds/treat-paradise-en-electro.mp3 new file mode 100644 index 0000000..f475822 Binary files /dev/null and b/backend/static/sounds/treat-paradise-en-electro.mp3 differ diff --git a/backend/static/sw.js b/backend/static/sw.js index af98aa8..adab1c0 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -4,7 +4,7 @@ ============================================================ */ // ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab -const VER = '1306'; +const VER = '1307'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten diff --git a/tools/album-build/build.sh b/tools/album-build/build.sh index ae94723..346affd 100755 --- a/tools/album-build/build.sh +++ b/tools/album-build/build.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -# Baut die zwei Album-Downloads (DE + EN) reproduzierbar: +# Baut die drei Album-Downloads (DE + EN + neo/Neon Edition) reproduzierbar: # Cover (Foto quadr. + Wortmarke) → ID3-Tags + eingebettetes Cover → ZIP mit Liner Notes. # Quelle: die committeten MP3s in backend/static/sounds/ + ein Hi-Res-Foto. -# Ausgabe: backend/static/downloads/ban-yaro-album-{de,en}.zip + img/banyaro/album-thumb.jpg +# Ausgabe: backend/static/downloads/ban-yaro-album-{de,en,neo}.zip + img/banyaro/album-thumb.jpg # Benötigt: ImageMagick (magick), ffmpeg, zip. Aufruf: make album (oder bash tools/album-build/build.sh) set -euo pipefail @@ -29,9 +29,11 @@ make_cover() { # $1=subtitle $2=outfile } make_cover "DAS ALBUM · 7 SONGS" "$DIST/cover-de.jpg" make_cover "THE ALBUM · 7 SONGS" "$DIST/cover-en.jpg" +make_cover "NEON EDITION · 7 SONGS" "$DIST/cover-neo.jpg" # Eingebettetes Albumart kleiner halten (sonst blähen sich die MP3s auf) magick "$DIST/cover-de.jpg" -resize 800x800 -quality 85 "$DIST/art-de.jpg" magick "$DIST/cover-en.jpg" -resize 800x800 -quality 85 "$DIST/art-en.jpg" +magick "$DIST/cover-neo.jpg" -resize 800x800 -quality 85 "$DIST/art-neo.jpg" # Neutrales Thumbnail (ohne Text) für die Profil-Karte — der Titel steht dort im HTML magick "$PHOTO" -auto-orient -crop 2648x2648+551+0 +repage -resize 600x600 -quality 85 "$IMG/album-thumb.jpg" @@ -55,6 +57,16 @@ EN_TRACKS=( "splash-en|Splash!|Into the cool water" "best-friend-en|Best Friend|You and me" ) +# „neo" = Neon Edition: gleiche EN-Texte, anderer Musikstil (Electro + Garage-Rock). +NEO_TRACKS=( + "ban-yaro-blues-en-electro|Ban Yaro Blues|Garage-rock anthem" + "ban-yaro-mobil-en-electro|Ban Yaro Mobile|Motorik road groove" + "amy-en-electro|Amy|Vocoder love duet" + "at-the-groomers-en-electro|At the Groomer's|Disco-funk salon" + "treat-paradise-en-electro|Treat Paradise|Euphoric filter-house" + "splash-en-electro|Splash!|Funk-house groove" + "best-friend-en-electro|Best Friend|Acoustic-soul to synth" +) zip_album() { # $1=lang $2=AlbumName(ID3, Em-Dash ok) $3=Ordner(ASCII) $4=art $5=liner shift 5; rest=tracks local lang="$1" album="$2" fname="$3" art="$4" liner="$5"; shift 5 @@ -67,6 +79,7 @@ zip_album() { # $1=lang $2=AlbumName(ID3, Em-Dash ok) $3=Ordner(ASCII) $4=ar else copyr="© 2026 Ban Yaro — All rights reserved. Commercial use only by prior arrangement (banyaro.app)." fi + local genre="Blues"; [ "$lang" = "neo" ] && genre="Electronic" local n=0 line src title sub nn for line in "$@"; do n=$((n+1)); nn=$(printf "%02d" "$n") @@ -75,7 +88,7 @@ zip_album() { # $1=lang $2=AlbumName(ID3, Em-Dash ok) $3=Ordner(ASCII) $4=ar -map 0:a -map 1:v -c copy -id3v2_version 3 \ -metadata title="$title" -metadata artist="Ban Yaro" \ -metadata album="$album" -metadata album_artist="Ban Yaro" \ - -metadata track="$n/7" -metadata date="2026" -metadata genre="Blues" \ + -metadata track="$n/7" -metadata date="2026" -metadata genre="$genre" \ -metadata copyright="$copyr" -metadata comment="$sub" \ -disposition:v:0 attached_pic \ "$folder/$nn $title.mp3" @@ -87,7 +100,9 @@ zip_album() { # $1=lang $2=AlbumName(ID3, Em-Dash ok) $3=Ordner(ASCII) $4=ar # LIESMICH.txt für DE, README.txt für EN cp "$BUILD/liner-de.txt" "$DIST/_liner-de.txt" cp "$BUILD/liner-en.txt" "$DIST/_liner-en.txt" -zip_album "de" "Ban Yaro — Das Album" "Ban Yaro - Das Album" "$DIST/art-de.jpg" "$DIST/_liner-de.txt" "${DE_TRACKS[@]}" -zip_album "en" "Ban Yaro — The Album" "Ban Yaro - The Album" "$DIST/art-en.jpg" "$DIST/_liner-en.txt" "${EN_TRACKS[@]}" +cp "$BUILD/liner-neo.txt" "$DIST/_liner-neo.txt" +zip_album "de" "Ban Yaro — Das Album" "Ban Yaro - Das Album" "$DIST/art-de.jpg" "$DIST/_liner-de.txt" "${DE_TRACKS[@]}" +zip_album "en" "Ban Yaro — The Album" "Ban Yaro - The Album" "$DIST/art-en.jpg" "$DIST/_liner-en.txt" "${EN_TRACKS[@]}" +zip_album "neo" "Ban Yaro — Neon Edition" "Ban Yaro - Neon Edition" "$DIST/art-neo.jpg" "$DIST/_liner-neo.txt" "${NEO_TRACKS[@]}" echo "Fertig. Downloads in backend/static/downloads/, Thumbnail in img/banyaro/album-thumb.jpg" diff --git a/tools/album-build/liner-neo.txt b/tools/album-build/liner-neo.txt new file mode 100644 index 0000000..0808b03 --- /dev/null +++ b/tools/album-build/liner-neo.txt @@ -0,0 +1,31 @@ +================================================== + BAN YARO — NEON EDITION + 7 Songs +================================================== + +The same seven Ban Yaro songs — reimagined. +French electronic house meets Swedish garage rock: +vocoders and four-on-the-floor, fuzzy guitars and +Hammond organ. Same dog, same heart, brand-new sound. + +Homemade, with all our heart. From the Ban Yaro app. + +-------------------------------------------------- +TRACKLIST +-------------------------------------------------- + 1. Ban Yaro Blues Garage-rock anthem + 2. Ban Yaro Mobile Motorik road groove + 3. Amy Vocoder love duet + 4. At the Groomer's Disco-funk salon + 5. Treat Paradise Euphoric filter-house + 6. Splash! Funk-house groove + 7. Best Friend Acoustic-soul to synth + +-------------------------------------------------- +© 2026 Ban Yaro — music and lyrics. All rights reserved. + +Keeping and sharing privately is expressly welcome. +Commercial use only by prior arrangement: banyaro.app + +Turn it up, and have a wonderful walk! +Woof. 🐾