Commit Graph

1657 Commits

Author SHA1 Message Date
eddyizm
45793c343a chore: formatting 2025-10-07 21:26:36 -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
2e29e9537a feat: Mark currently playing song with play/pause button (#107) 2025-09-22 12:40:33 -07:00
eddyizm
bc0adfe8e0 feat: added 32bit build and debug build for testing. Removed unused f… (#108) 2025-09-22 12:38:32 -07: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
bf4ff3f1f9 Updates to polish translation (#105) 2025-09-22 12:15:55 -07:00
Jaime García
cd195dbba0 refactor: Remove unused import 2025-09-22 20:21:27 +02:00
Jaime García
7ec78991a5 refactor: Rename methods and variables 2025-09-22 20:10:57 +02:00
Jaime García
e1c5a60805 refactor: Rename methods and variables 2025-09-22 20:03:02 +02:00
Jaime García
f74813ef69 refactor: Remove commented code 2025-09-22 19:47:07 +02:00
Jaime García
040558198e refactor: Add some code mistakenly removed, remove some comments, remove unused parameter 2025-09-22 19:39:53 +02:00
Jaime García
5ab68e4a98 feat: Add play/pause button in song lists 2025-09-22 19:28:01 +02:00
skajmer
aa8fac43a6 Update strings.xml
New strings (mainly the EQ ones)
2025-09-22 17:37:37 +02:00
Jaime García
905bb3e3c5 fix: Use proper play icon 2025-09-22 01:31:34 +02:00
Jaime García
d810010090 feat: Mark currently playing song in PlayerSongQueueAdapter 2025-09-22 00:35:23 +02:00
Jaime García
52ba783a90 feat: Mark currently playing song in SongHorizontalAdapter 2025-09-22 00:15:52 +02: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
cd2ab36351 16 bug it only plays the first song on an album (#81) 2025-09-21 09:56:26 -07:00
eddyizm
a6688f897a chore: removed comments 2025-09-21 09:30:41 -07:00
eddyizm
64658dda1f Update Korean translations (#97) 2025-09-21 06:13:24 -07:00
WooJin Kong
d9f701d9d3 feat: Update korean translations 2025-09-14 01:55:24 +09:00
Jaime García
60fee3c77c fix: Allow only integer values in equalizer seek bars, show positive dB values with plus symbol 2025-09-09 02:42:52 +02:00
Jaime García
b89086c5be fix: Prevent switch enable animation when opening equalizer fragment 2025-09-09 02:11:36 +02:00
Jaime García
d3dd236054 feat: Hide Equalizer button in player when it is not available 2025-09-09 01:46:06 +02:00
Jaime García
2e3330b63f feat: Hide Equalizer option when it is not available 2025-09-09 01:29:47 +02:00
Jaime García
e604c9ba86 chore(i18n): Update equalizer option summary string in Spanish 2025-09-08 22:47:29 +02:00
Jaime García
2bf39d846e style: Convert margin values to density-independent pixels in EqualizerFragment 2025-09-08 22:06:26 +02: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
Jaime García
fab18c130e fix: Support HLS (.m3u8) streams with parameters in URL 2025-09-05 21:29:11 +02:00
Jaime García
bd753f4489 fix: Use defined media type for live radio detection, relocate DynamicMediaSourceFactory 2025-09-05 11:19:47 +02:00
Jaime García
e43a2b6fe5 fix: Resolve playback issues with live radio MPEG & HLS streams 2025-09-05 04:46:01 +02:00
eddyizm
c62d2ace4d Update RU locale (#87) 2025-09-03 20:00:57 -07:00
Denis Bezykornov
6d403f808c Update RU locale 2025-09-03 19:28:28 +03:00
eddyizm
b0ddd5388b Update French localization (#84) 2025-09-02 07:11:05 -07:00
Benoît Smith
92f79a8e3d Update strings.xml (FR) [2] 2025-09-02 10:49:16 +02:00
Benoît Smith
473d7e4e9c Update strings.xml (FR) 2025-09-02 10:48:04 +02:00
eddyizm
7ca0415274 chore: bumped version 2025-08-31 20:25:32 -07: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
eddyizm
4740028a44 chore: updated version for release 2025-08-31 13:23:33 -07:00
eddyizm
fe2c163aaa bug fixes, chores, docs v3.14.8 (#80) v3.14.8 2025-08-31 12:43:06 -07:00
eddyizm
c6f08d9cec chore: started usage docs, added a couple of discussion items, created layout 2025-08-31 12:38:13 -07:00
eddyizm
59b40df9ef fix: Disable "sync starred tracks/albums" switches when Cancel is clicked in warning dialog, use proper view for "Sync starred albums" dialog (#79) 2025-08-31 12:36:35 -07:00
eddyizm
81726baa08 style: Center subtitle text in empty_download_layout in fragment_download.xml when there is more than one line (#78) 2025-08-31 12:36:15 -07:00