Commit Graph

400 Commits

Author SHA1 Message Date
Kingkor Roy Tirtho
4c3718467d chore: local library not working 2025-01-26 22:36:11 +06:00
Kingkor Roy Tirtho
4e8a50ec58 chore: fix logs not showing up and nightly crashing on track change on android 2025-01-26 22:05:24 +06:00
Kingkor Roy Tirtho
768bab8bbb chore: settings popup menu constraints 2025-01-23 21:11:59 +06:00
Kingkor Roy Tirtho
6e357230ac refactor: use expanded sidebar tiles for library 2025-01-23 20:34:04 +06:00
Kingkor Roy Tirtho
4fead5f504 feat: pause playback when no internet connection 2025-01-20 22:04:12 +06:00
Kingkor Roy Tirtho
086107b2cd refactor: adaptive list tile to use shadcn 2025-01-20 13:24:24 +06:00
Kingkor Roy Tirtho
74a328e529 refactor: logs page to shadcn 2025-01-19 21:00:49 +06:00
Kingkor Roy Tirtho
6c005592e3 refactor: color scheme support based on shadcn colors 2025-01-16 21:13:42 +06:00
Kingkor Roy Tirtho
5930c342b5 chore: fix window resizing 2025-01-12 21:32:33 +06:00
Kingkor Roy Tirtho
3649b67869 refactor: use undraw for not_found component 2025-01-12 14:22:54 +06:00
Kingkor Roy Tirtho
b8ffb9b75f feat: show placeholder images where there is no item or on empty page 2025-01-12 14:16:18 +06:00
Kingkor Roy Tirtho
a8694a7a8b refactor: blacklist and about page 2025-01-11 20:08:04 +06:00
Kingkor Roy Tirtho
5a14f587a0 chore: titlebar buttons not working 2025-01-10 20:33:59 +06:00
Kingkor Roy Tirtho
2daea2b3ef chore: make genre carousel items better in light mode 2025-01-10 19:51:21 +06:00
Kingkor Roy Tirtho
6dd9b753b0 refactor: migrate stats to shadcn 2025-01-06 14:13:53 +06:00
Kingkor Roy Tirtho
e6408ccc0d refactor: genre home section 2025-01-05 17:11:58 +06:00
Kingkor Roy Tirtho
b734985199 refactor: track page 2025-01-05 16:32:14 +06:00
Kingkor Roy Tirtho
dd0bb01af5 refactor: generate playlist to shadcn 2025-01-05 16:16:57 +06:00
Kingkor Roy Tirtho
b8f2495acb refactor: user local library 2025-01-05 11:54:50 +06:00
Kingkor Roy Tirtho
4afe0cca68 refactor: artist page 2025-01-05 09:47:32 +06:00
Kingkor Roy Tirtho
bbad701c07 refactor: dialogs to shadcn dialog 2025-01-05 08:58:57 +06:00
Kingkor Roy Tirtho
af295be8c6 refactor: remote playback page to shadcn 2025-01-04 23:31:09 +06:00
Kingkor Roy Tirtho
f96b5eae97 refactor: floating player to use shadcn 2025-01-03 21:11:36 +06:00
Kingkor Roy Tirtho
047eccfa82 fix: SafeArea not working for bottom floating widgets 2024-12-29 13:36:44 +06:00
Kingkor Roy Tirtho
b558cc17f1 fix: SafeArea for global bottom items not working 2024-12-28 21:55:36 +06:00
Kingkor Roy Tirtho
d845180e60 fix: mobile keyboard overflow 2024-12-28 21:18:35 +06:00
Kingkor Roy Tirtho
2ee0ca44c7 refactor: profile page to use shadcn design 2024-12-28 19:51:04 +06:00
Kingkor Roy Tirtho
d53782da23 refactor: playlist and album pages 2024-12-28 14:30:25 +06:00
Kingkor Roy Tirtho
ced85d3f0c chore: fix scaling issue in android and status bar being black 2024-12-24 21:33:24 +06:00
Kingkor Roy Tirtho
a6720d5392 feat: grid/list customizable playbutton view 2024-12-22 14:48:48 +06:00
Kingkor Roy Tirtho
2fefd65f51 refactor: settings using shadcn components 2024-12-22 11:25:01 +06:00
Kingkor Roy Tirtho
7ee071f2e3 refactor: connected device button 2024-12-21 21:40:34 +06:00
Kingkor Roy Tirtho
2925dd6748 refactor: library page filter fields and update home sections 2024-12-21 18:23:45 +06:00
Kingkor Roy Tirtho
f80ea32de4 refactor: use Appbar titlebar throughout the app 2024-12-21 17:02:13 +06:00
Kingkor Roy Tirtho
fcefce4b1b refactor: titlebar to use shadcn appbar and library tabs to use shadcn TabList 2024-12-21 16:05:35 +06:00
Kingkor Roy Tirtho
2488da2279 refactor: bottom player border, player queue using shadcn drawer 2024-12-21 14:38:54 +06:00
Kingkor Roy Tirtho
5ad151932a feat: initial integration of shadcn-ui 2024-12-21 09:22:30 +06:00
Kingkor Roy Tirtho
b52bf0f448
feat(android): home widget support (#2148)
* feat: add android home widget support

* feat: style widget player and add intent and callbacks on action

* feat: responsive and working android home widget

* fix(android): models stripping causing it to not work for release apks

* chore: ios lockfile update

* feat: config for iOS widget

* cd: upgrade xcode

* cd: reduce xcode version

* feat: add a christmas background
2024-12-16 22:47:44 +06:00
Kingkor Roy Tirtho
8ca2115ef0
feat: track caching and cached track export support (#2117)
* feat: add caching support with track metadata

* feat(settings): add cache music toggle

* fix(mobile): cache dir not open-able

* feat(local folder): add cache export/clear actions and size of the folder

* chore: ios deps upgrades

* chore: upgrade lint flutter version

* chore: lint secrets causing error

* cd: invalid value for env var
2024-12-08 20:03:01 +06:00
Kingkor Roy Tirtho
9f2d423cfe
feat: add invidious audio source and fix auto skipping tracks (#2005)
* feat: add invidious audio source with automatic track switch even on server playback endpoint

* fix: switching to different source on playback endpoint error not working

* chore: update invidious version

* feat: invidious instances customizability
2024-10-17 22:33:03 +06:00
Kingkor Roy Tirtho
f553e43b17 chore: hide donations link for playstore version to adhere with Google Play's iae policy
This commit keeps food on one google PM's table by not stealing their 30% pay cut
2024-10-09 16:37:41 +06:00
Kingkor Roy Tirtho
70bbb4af5a feat(macos): enable same window webview support 2024-10-09 14:45:16 +06:00
Kingkor Roy Tirtho
c1f2ddcdbe chore: remove donation links from about page to avoid Google's imaginary "pay cut" policy strike 2024-09-30 20:51:28 +06:00
Kingkor Roy Tirtho
1cad097d0b fix(lyrics): LRCLIB lyrics should be usable without logging in #1803 2024-09-15 18:22:09 +06:00
Kingkor Roy Tirtho
1119c0e47d chore: pushed pages not closing 2024-09-15 17:23:11 +06:00
Kingkor Roy Tirtho
5ff36a8643 fix(android): pressing back while the player is open doesn't take to previous page
#1388
2024-09-15 14:53:41 +06:00
Kingkor Roy Tirtho
9cb828bb55 fix: handle dublicated items in playback queue correctly #1852 2024-09-15 13:59:09 +06:00
Kingkor Roy Tirtho
33ecbe066c feat(desktop): show error dialog if webview is not found on login #1871 2024-09-15 10:31:20 +06:00
Kingkor Roy Tirtho
29015bca76 fix(stats): minutes page shows plays and streams page shows minutes which should be the opposite #1880 2024-09-15 09:56:59 +06:00
Kingkor Roy Tirtho
4f882882e0
Merge pull request #1807 from sonu36437/patch-1
s in safari was missing in webview for userAgent i don't know if it will cause any issue in ios
2024-09-06 21:22:37 +06:00
sonu36437
2d4c9cabd2
s in safari was missing in webview for userAgent 2024-08-22 21:32:33 +05:30
Kingkor Roy Tirtho
9a0421ce38 fix: getting started page login page exception #1800 2024-08-18 11:06:51 +06:00
Kingkor Roy Tirtho
470addca83 fix: local tracks takes time to load 2024-08-15 22:45:22 +06:00
Kingkor Roy Tirtho
9b7a7ef1cf chore: update translations and refactor to flutter 3.22 ThemeData 2024-08-10 22:54:25 +06:00
Josu Igoa
7408a87860
feat(translations): make state page's hard coded strings translatable (#1719) 2024-08-10 22:06:15 +06:00
Kingkor Roy Tirtho
6456b43d10 refactor: logs page show full log 2024-08-10 20:53:17 +06:00
Kingkor Roy Tirtho
1c66646798 fix(windows): local tracks plays but disabled playback controls 2024-08-07 21:54:47 +06:00
Kingkor Roy Tirtho
6a500731d6
feat: discord rpc for macOS, windows-arm64 and linux-arm64 (#1713)
* feat: add discord rpc support for macos, windows arm64 and linux arm64

* chore: discord rpc not clearing activity after close/setting rpc to false

* chore: add migration script to move from files from macos sandbox to non-sandbox directories
2024-07-14 18:58:47 +06:00
Kingkor Roy Tirtho
abfdbc63ce fix: Too many artists for a track causing overflows
#1470
2024-07-09 23:08:21 +06:00
Kingkor Roy Tirtho
00f1b3422f fix: playlist share button does not work #1639 2024-07-09 22:37:54 +06:00
Kingkor Roy Tirtho
7a31119e3c fix(mini-player): macos titlebar over logo #1244 2024-07-09 22:34:16 +06:00
Kingkor Roy Tirtho
44861a9f5c fix: unescape html escape values #1300 2024-07-09 22:13:05 +06:00
Kingkor Roy Tirtho
c7d8ed567a fix: lyrics page doesn't scroll to top after song ends #885 2024-07-09 21:17:49 +06:00
Kingkor Roy Tirtho
86ee64c606 chore: remove old logger 2024-07-06 22:02:31 +06:00
Kingkor Roy Tirtho
15211123aa
Merge pull request #1688 from KRTirtho/feat/desktop-webview
feat(desktop): webview based login support
2024-07-06 21:43:29 +06:00
Kingkor Roy Tirtho
243a843033
Merge pull request #1687 from KRTirtho/refactor/storage-n-providers
refactor: migrate to sqlite based storage from hive
2024-07-06 21:38:52 +06:00
Kingkor Roy Tirtho
2f46fa32f1 chore: fix webview and app window freezing after successful login 2024-07-06 18:31:17 +06:00
Kingkor Roy Tirtho
7dd76d24c3 chore: fix windows cookie invalid characters 2024-07-05 14:54:49 +06:00
Kingkor Roy Tirtho
f2f35bd2fb chore: fix windows webview2 trying to store data in admin folders 2024-07-05 13:32:07 +06:00
Kingkor Roy Tirtho
15bd58a955 feat(desktop): implement webview based login 2024-07-05 11:21:32 +06:00
Kingkor Roy Tirtho
7927a3e404 chore: fix top album and track invalid time frame operations 2024-07-01 13:25:28 +06:00
Kingkor Roy Tirtho
3bdc46da4d feat(stats): add lazy loading support 2024-06-30 21:08:29 +06:00
Kingkor Roy Tirtho
ffb3a3377f chore: add migration script to migrate hive to drift 2024-06-30 15:44:24 +06:00
Kingkor Roy Tirtho
1cfd377c29 refactor: synced lyric cache to use drift db 2024-06-30 11:01:40 +06:00
Kingkor Roy Tirtho
b495ed4ac0 fix: null exception in album page navigated from /home 2024-06-29 17:09:58 +06:00
Kingkor Roy Tirtho
08ac29c979 refactor(stats): migrate stats to use drift db 2024-06-29 17:05:06 +06:00
Kingkor Roy Tirtho
a83dd64476 refactor: replace all instances of proxy playlist 2024-06-24 20:52:40 +06:00
Kingkor Roy Tirtho
f79fedefd4 chore: create new audio player centric playback notifier with drift persistence 2024-06-23 12:23:28 +06:00
Kingkor Roy Tirtho
b9b7d5c8aa refactor: lastfm scrobbling to drift db 2024-06-17 18:08:57 +06:00
Kingkor Roy Tirtho
d18f74fd65 refactor: use drift db based authentication 2024-06-16 22:33:23 +06:00
Kingkor Roy Tirtho
bf6cec8d69 refactor(blacklist): use drift sql db instead of hive 2024-06-14 22:23:12 +06:00
Kingkor Roy Tirtho
3fb003ea60 refactor(preferences): use Drift sql db for preferences 2024-06-14 00:29:09 +06:00
Kingkor Roy Tirtho
064d92d35d refactor: merge connect and playback server into one server 2024-06-12 20:46:49 +06:00
Kingkor Roy Tirtho
7816cb8068 refactor: break down heart button hook into a different file 2024-06-09 09:30:17 +06:00
Kingkor Roy Tirtho
8cb6c6d126 refactor: breakdown page window titlebar widget into multiple small widgets 2024-06-09 09:19:41 +06:00
Kingkor Roy Tirtho
4af23241c8 refactor: move shared components to 1 level up 2024-06-07 22:40:44 +06:00
Kingkor Roy Tirtho
b224af21ea refactor: left out modules 2024-06-07 22:34:03 +06:00
Kingkor Roy Tirtho
1cfeef54e7 refactor: move route related components to modules folder 2024-06-07 22:19:45 +06:00
Kingkor Roy Tirtho
73c5b30b63 fix: browse anonymously button takes to wrong route 2024-06-06 08:43:29 +06:00
Kingkor Roy Tirtho
57cd8607dd Revert "refactor: migrate deprecated warnings"
chore: undo flutter 3.22.x related deprecated theme migrations
2024-06-06 08:19:07 +06:00
Kingkor Roy Tirtho
56241f773a refactor: migrate deprecated warnings 2024-06-02 21:15:11 +06:00
Kingkor Roy Tirtho
82307bc030
feat: personalized stats based on local music history (#1522)
* feat: add playback history provider

* feat: implement recently played section

* refactor: use route names

* feat: add stats summary and top tracks/artists/albums

* feat: add top date based filtering

* feat: add stream money calculation

* refactor: place search in mobile navbar and settings in home appbar

* feat: add individual minutes and streams page

* feat(stats): add individual minutes and streams page

* chore: default period to 1 month

* feat: add text to explain user how hypothetical fees are calculated

* chore: ensure usage of route names instead of direct paths

* cd: add cache key

* cd: remove media_kit_event_loop from git
2024-06-01 11:40:01 +06:00
Kingkor Roy Tirtho
fc5bfa089c feat: local library folder cards 2024-05-23 21:27:09 +06:00
Kingkor Roy Tirtho
d82261cb25 fix: local track not showing up in queue 2024-05-23 16:56:52 +06:00
Blake Leonard
22caa818f4
feat: Local music library (#1479)
* feat: add one additional library folder

This folder just doesn't get downloaded to.
I think I'm going to rework it so that it can be multiple folders,
but I'm going to commit my progress so far anyway.

Signed-off-by: Blake Leonard <me@blakes.dev>

* chore: update dependencies so that it builds

I'm not sure if this breaks CI or something, but I couldn't build
it locally to test my changes, so I made these changes and it
builds again.

Signed-off-by: Blake Leonard <me@blakes.dev>

* feat: index multiple folders of local music

If you used a previous commit from this branch, this is a breaking
change, because it changes the type of a configuration field. but
since this is still in development, it should be fine.

Signed-off-by: Blake Leonard <me@blakes.dev>

* refactor: manage local library in local tracks tab

This also refactors the list to use slivers instead. That's the
easiest way to have multiple scrolling lists here...

The console keeps getting spammed with some intermediate layout
error but I can't hold it long enough to figure out what's causing
it.

Signed-off-by: Blake Leonard <me@blakes.dev>

* refactor: use folder add/remove icons in library

Signed-off-by: Blake Leonard <me@blakes.dev>

* refactor: remove redundant settings page

Signed-off-by: Blake Leonard <me@blakes.dev>

* refactor: rename "Local Tracks" to just "Local"

Not sure if this would be the recommended way to do it...

Signed-off-by: Blake Leonard <me@blakes.dev>

* fix: console spam about useless Expanded

Signed-off-by: Blake Leonard <me@blakes.dev>

* chore: remove completed TODO

Signed-off-by: Blake Leonard <me@blakes.dev>

* chore: use new Platform constants; regenerate plugins

Signed-off-by: Blake Leonard <me@blakes.dev>

* refactor: put local libraries on separate pages

Signed-off-by: Blake Leonard <me@blakes.dev>

---------

Signed-off-by: Blake Leonard <me@blakes.dev>
2024-05-23 15:18:01 +06:00
Kingkor Roy Tirtho
a77b6776e8
refactor: Dart based Github Workflow CLI (#1490)
* feat: add build dart script for windows

* feat: add android build support

* feat: add linux build support

* feat: add macos build support

* feat: add ios build support

* feat: add deps install command and workflow file

* cd: what?

* cd: what?

* cd: what?

* cd: update workflow inputs

* cd: replace release binary

* cd: run flutter pub get

* cd: use dpkg zstd instead of xz, windows disable innoInstall, fix channel enum.name and reset pubspec after changing build no for nightly

* cd: fix tar copy path

* cd: fix copy linux command

* cd: fix windows inno depend and fix android aab path

* cd: idk

* cd: linux why???

* cd: windows choco copy failed

* cd: use dart tar archive for creating tar file

* cd: fix linux file copy error

* cd: use tar command directly

* feat: add linux_arm platform

* cd: add linux_arm platform

* cd: don't know what?

* feat: notification about nightly channel update

* chore: fix some errors parsing nightly version info
2024-05-09 15:26:58 +06:00
Kingkor Roy Tirtho
937a706ac9
fix: windows SSL Certificate error breaking login #905 (#1474)
* fix: certificate error by using custom ssl certificate

* Cd/docker linux ar (#1468)

* cd: use docker buildx

* cd: use linux host for linux arm instead of macos m1

m1 doesn't support nested virtualization. (Apple truly sucks)

* cd: don't specify arch in Dockerfile

* cd: use custom Dockerfile from ubuntu instead of flutter image

* cd: add setup java for android

* cd: add flutter distributor pre-built docker image for arm

* cd: save me from this cursed arm build

* cd: ??

* cd: ??

* cd: use docker build

* fix: windows SSL Exception for Signing in

* refactor: extract update checker as a basic function instead of a hook
2024-05-04 20:10:19 +06:00
Kingkor Roy Tirtho
9bccbc93c6 fix: spotify friends and user profile icon (mobile) showing when not authenticated #1410 2024-04-18 00:19:47 +06:00
Kingkor Roy Tirtho
7e07c2e198 fix(search): load more button not working #1417 2024-04-18 00:05:47 +06:00
Kingkor Roy Tirtho
7ac791757a fix(linux): tray icon not showing #541
upgrade old packages
2024-04-17 22:20:30 +06:00