feat: Playtube Jam – gemeinsam hoeren, synchron auf dem eigenen Handy (1.4.0)

Jam starten (laufender Song wird der erste) oder per Code/Link beitreten, Jam-Ansicht
im Stil von "PC steuern": Teilnehmer, Warteschlange, Einladen per Teilen/Kopieren,
Host-Rechte. Die YouTube-Music-WebView gleicht sich mit dem Jam ab; Benachrichtigung
und Kopfhoerertasten steuern im Jam den Jam. App-Links jam.fojadrachi.de,
playtube://jam/<CODE> und "Teilen" von YouTube-Links. OkHttp fuer den WebSocket.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-08 01:36:55 +01:00
co-authored by Claude Opus 5.5
parent 29d38ef2e6
commit 3b3b746329
19 changed files with 1978 additions and 14 deletions
+75
View File
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Zeile im Jam: Titel (Vorschaubild) oder Teilnehmer (Anfangsbuchstabe), dazu bis zu zwei Knöpfe. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:minHeight="56dp"
android:orientation="horizontal"
android:paddingTop="6dp"
android:paddingBottom="6dp">
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/jamRowImage"
android:layout_width="64dp"
android:layout_height="36dp"
android:background="@drawable/bg_tile"
android:contentDescription="@null"
android:scaleType="centerCrop" />
<TextView
android:id="@+id/jamRowAvatar"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="@drawable/bg_play_button"
android:gravity="center"
android:textColor="@color/text"
android:textSize="15sp"
android:textStyle="bold"
android:visibility="gone" />
</FrameLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/jamRowTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/text"
android:textSize="15sp" />
<TextView
android:id="@+id/jamRowSubtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/text_muted"
android:textSize="12sp" />
</LinearLayout>
<ImageButton
android:id="@+id/jamRowAction1"
android:layout_width="40dp"
android:layout_height="40dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:visibility="gone" />
<ImageButton
android:id="@+id/jamRowAction2"
android:layout_width="40dp"
android:layout_height="40dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:visibility="gone" />
</LinearLayout>