Commit graph

382 commits

Author SHA1 Message Date
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
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
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
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
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
Thomas Anderson
ffcfd81c28
Check also underlaying transport 2025-09-05 15:45:00 +03: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
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
Jaime García
0578745bee
fix: use "DialogStarredAlbumSync" view binding instead of "DialogStarredSync" 2025-08-31 17:48:56 +02:00
Jaime García
e24063e460
fix: disable sync starred tracks/albums switches in when Cancel is clicked in warning dialog 2025-08-31 17:39:35 +02:00
Jaime García
f59a360eb7
fix: Use correct SearchView widget to avoid crash in AlbumListPageFragment 2025-08-31 15:32:56 +02:00
eddyizm
6a16159cf0
fix: forgot sync album dialog, bump version for release 2025-08-30 10:58:38 -07:00
eddyizm
eaf2710054
fix: minor refactor of sync album observer 2025-08-30 09:23:44 -07:00
eddyizm
f854f49686
feat: adds sync starred albums functionality #66 2025-08-30 09:04:25 -07:00
eddyizm
1ed6ac6cff
fix: artist filtering in library view browse artist resolves #45 2025-08-27 18:29:14 -07:00
eddyizm
4be0acf76c
fix: catches null value and prepares bundle appropriately adding single track to expected array list. closes #58 2025-08-26 21:57:20 -07:00
eddyizm
5c5316055c
feat: setting to show/hide 5 star rating on playerview (#59)
First pass, I was not able to get the setting to update without having to restart the app. My attempt at using live data was missing something so I will have to revisit this when I get a better hang of it.
2025-08-25 20:42:09 -07:00
eddyizm
0377c5e939
feat: setting to show/hide 5 star rating on playerview 2025-08-24 18:55:36 -07:00
eddyizm
1bbcf6c790
feat: rating dialog added to album page 2025-08-23 17:57:45 -07:00
eddyizm
26a5fb029a
fix: moved hardcoded italian save text to string template, updated with english and italian language xmls 2025-08-23 13:04:17 -07:00
eddyizm
87f6db9e79
chore: cleaned up dev log imports, commented code 2025-08-14 21:54:25 -07:00
eddyizm
5fa46cc49b
feat:show rating on song view and allow setting/updating. #17 fixed a fr string error 2025-08-14 21:46:33 -07:00
eddyizm
b0fcc31f7b
Merge pull request #38 from jaime-grj/fix-playercodecbitrateinfo
feat: added transcoding codec and bitrate info to PlayerControllerFragment, replace hardcoded strings
2025-08-12 21:24:26 -07:00