Commit graph

1375 commits

Author SHA1 Message Date
SinTan1729
9736890e3c
fix: Show proper number in add to playlist dialog toast 2025-09-26 16:48:56 -05:00
SinTan1729
e790bf3eb6
chg: Comment out unused code 2025-09-26 16:39:46 -05:00
SinTan1729
e1d63a9eef
feat: Support skipping duplicates 2025-09-26 16:24:21 -05:00
SinTan1729
134a1605ad
fix: Get rid of the try-catch since it's considered bad practice in Java
This matches the treatment done at other places in the code, so it
should be fine.
2025-09-26 05:56:48 -05:00
Benoît Smith
8cc3356b14
Update strings.xml 2025-09-24 11:38:40 +02:00
Jaime García
9d439b726b
fix: Update search query validation to require at least 2 characters instead of 3 2025-09-24 04:03:51 +02:00
eddyizm
d4c0e30fd1
fix: Prevent crash when getting artist radio and song list is null (#117) 2025-09-23 17:34:24 -07:00
Jaime García
a9318ec5d0
fix: Prevent crash when getting artist radio and song list is null 2025-09-23 23:45:00 +02:00
eddyizm
eb29dc2fb2
feat: Tap anywhere on the song item to toggle playback (#112) 2025-09-23 12:17:56 -07:00
eddyizm
5a6d101bdf
fix: playlist selection working now 2025-09-23 09:34:59 -07:00
Jaime García
969f0b5b21
feat: Replace play/pause button with an icon, allow tapping on full item to play/pause song in song lists 2025-09-23 17:55:18 +02:00
Jaime García
14939d20fd
feat: Replace play/pause button with an icon, allow tapping on full item to play/pause song in Queue 2025-09-23 17:55:17 +02: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
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
SinTan1729
a83495f353
fix: Removed unnecessary imports 2025-09-23 02:30:22 -05:00
SinTan1729
be4346b3d1
fix: Lag during startup when local url is not available 2025-09-23 02:26:26 -05:00
eddyizm
2e29e9537a
feat: Mark currently playing song with play/pause button (#107) 2025-09-22 12:40:33 -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
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
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
Denis Bezykornov
6d403f808c Update RU locale 2025-09-03 19:28:28 +03: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
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
eddyizm
af92a7b11a
chore(i18n): Update Spanish (es-ES) and English translations (#77) 2025-08-31 12:35:40 -07:00