Commit graph

17 commits

Author SHA1 Message Date
eddyizm
f1d19142fa
feat: Add home screen music playback widget and some updates in Turkish localization (#98) 2025-10-07 21:28:10 -07:00
eddyizm
b7d56c2d70
fix: null check for scrobble when disconnecting from chromecast, which was crashing app 2025-09-23 12:03:04 -07:00
mucahit-kaya
35af1f9038 fix(widget): refine layouts and progress UX across sizes
Compact (4×1)
- Reduce root vertical padding so the 4×1 cell yields ~56dp of content height.
- Make album art a true square (50×50dp) and center vertically; keeps edges
  clear of rounded corners.
- Tighten timing block: 2dp progress bar; 10sp labels with no extra font
  padding; prevents elapsed/total text from slipping below the background.
- Wrap album art in a 50×50dp FrameLayout with a new 6dp-radius background
  drawable; soft corners while remaining visually smaller than the widget body.
- Mirror the same structure in the preview layout so Studio preview matches
  on-device rendering.
  (app/src/main/res/layout/widget_layout_compact.xml,
   app/src/main/res/drawable/widget_album_art_bg.xml)

Large Short (4×2)
- Wrap album art in a fixed 90dp square container and enforce a true square
  crop via centerCrop.
- Tighten vertical spacing: thinner progress bar, closer timing row, controls
  shifted down for better balance.
- Keep album/timing text to the left of the controls but retune spacing so the
  stack stays fully inside the widget bounds.

Large (4×3 and up)
- Restructure to a vertical stack: header row (album art + text), full-width
  progress bar, timing row, primary controls, then secondary controls.
- Lock album art to a 150dp square; progress bar spans the widget beneath the
  header to match the new visual hierarchy.

Based-on: cd28ee0764
Co-authored-by: The Firehawk <firehawk@opayq.net>
Co-Authored-By: Mücahit Kaya <kaya-mucahit@outlook.com>
Co-Authored-By: Firehawk <firehawk@opayq.net>
2025-09-23 14:32:01 +02:00
mucahit-kaya
b79cfa4af0 fix(widget): resume progress updates during playback
The widget was only updating on play/pause state changes, so the timer
did not advance while playback continued. Added a Handler loop in
MediaService that updates the widget every second while playback is
running and clears it when playback stops, ensuring the progress bar
refreshes regularly.

Co-Authored-By: Firehawk <firehawk@opayq.net>
2025-09-23 14:32:00 +02:00
le-firehawk
e81e1a5356 fix: Include song position and duration in widget
Co-authored-by: Mücahit Kaya <kaya-mucahit@outlook.com>
Co-authored-by: The Firehawk <firehawk@opayq.net>
2025-09-23 14:29:21 +02:00
mucahit-kaya
cc0e264a17 feat: Add home screen music playback widget
Introduces a new app widget for music playback control and display. Adds widget provider classes, update manager, view factory, and related resources (layouts, colors, strings, XML). Integrates widget updates with MediaService to reflect current playback state. Updates AndroidManifest to register the widget.
2025-09-23 14:29:21 +02:00
eddyizm
5261ca317b
feat: added 32bit build and debug build for testing. Removed unused function after merging changes for media service 2025-09-22 12:32:33 -07:00
eddyizm
d72855e160
fix: Resolve playback issues with live radio MPEG & HLS streams (#89) 2025-09-21 11:59:28 -07:00
Jaime García
82a9f00173
Merge branch 'development' into fix-live-radio-streams 2025-09-21 19:27:21 +02:00
eddyizm
3f5749f7e1
feat: Built-in audio equalizer (#94) 2025-09-21 10:20:49 -07:00
eddyizm
a6688f897a
chore: removed comments 2025-09-21 09:30:41 -07:00
Jaime García
06066f1f66
refactor: Remove redundant null checks after loading equalizer band levels 2025-09-08 20:08:05 +02:00
Jaime García
7c0d44680f
feat: Add audio equalizer with UI 2025-09-08 19:28:34 +02:00
Jaime García
d4cb6c5c9a
fix: Update MediaService in all build variants 2025-09-06 00:20:35 +02:00
eddyizm
cf7feacdc0
fix: casting full album/playlist working as intended, passing metadata for album artwork in small square #16 2025-08-31 20:24:48 -07:00
le-firehawk
fb153d7a6c feat: enhance Android media player notification window 2025-07-01 12:18:43 +09:30
CappielloAntonio
349c961f1a repo: add play variant 2024-08-22 16:11:56 +02:00