Commit Graph

146 Commits

Author SHA1 Message Date
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
4ca893950b fix(macos): Logs directory not created by default #1353 2024-05-05 09:15:52 +06:00
Kingkor Roy Tirtho
7ac791757a fix(linux): tray icon not showing #541
upgrade old packages
2024-04-17 22:20:30 +06:00
Kingkor Roy Tirtho
9e25c742d4
feat: add Spotify homepage personalized recommendations (#1402)
* feat: add spotify homepage recommendations

* chore: bring back made for user sectin
2024-04-14 12:10:34 +06:00
Kingkor Roy Tirtho
5afe823abd feat(lyrics): add LRCLIB lyrics provider as fallback 2024-04-05 00:48:08 +06:00
Kingkor Roy Tirtho
68374efd3e
feat: LAN connect a.k.a control remote Spotube playback and local output device selection (#1355)
* feat: add connect server support

* feat: add ability discover and connect to same network Spotube(s) and sync queue

* feat(connect): add player controls, shuffle, loop, progress bar and queue support

* feat: make control page adaptive

* feat: add volume control support

* cd: upgrade macos runner version

* chore: upgrade inappwebview version to 6

* feat: customized devices button

* feat: add user icon next to devices button

* feat: add play in remote device support

* feat: show alert when new client connects

* fix: ignore the device itself from broadcast list

* fix: volume control not working

* feat: add ability to select current device's output speaker
2024-04-04 22:22:00 +06:00
Kingkor Roy Tirtho
9f96b5c537 refactor: use extension methods for simple album to album and simple track to track conversion 2024-03-21 00:48:21 +06:00
Kingkor Roy Tirtho
6673e5a8a8
feat: improved caching based on riverpod (#1343)
* feat: add riverpod based favorite album provider

* feat: add album is saved, new releases and tracks providers

* feat: add artist related providers

* feat: add all categories providers

* feat: add lyrics provider

* feat: add playlist related providers

* feat: add search provider

* feat: add view and spotify friends provider

* feat: add playlist create and update and favorite handlers

* feat: use providers in home screen

* chore: fix dart lint issues

* feat: use new providers for playlist and albums screen

* feat: use providers in artist page

* feat: use providers on library page

* feat: use provider for playlist and album card and heart button

* feat: use provider in search page

* feat: use providers in generate playlist

* feat: use provider in lyrics screen

* feat: use provider for create playlist

* feat: use provider in add track dialog

* feat: use providers in remaining pages and remove fl_query

* fix: remove direct access to provider.value

* fix: glitching when loading

* fix: user album loading next page indicator

* feat: make many provider autoDispose after 5 minutes of no usage

* fix: ignore episodes in tracks
2024-03-20 23:38:39 +06:00
Kingkor Roy Tirtho
79839329b0
feat: add spotify friends activity (#1130)
* feat: add spotify friend endpoint

* feat: add friend activity in home screen

* fix: when no friends, dummy UI still shows giving the user a false hope of friendship :'(
2024-01-23 22:44:00 +06:00
Kingkor Roy Tirtho
14069cd4fe
feat: Add JioSaavn as audio source (#881)
* feat: implement new SourcedTrack for youtube and piped

* refactor: replace old spotube track with sourced track

* feat: add jiosaavn as audio source

* fix: download not working other than jiosaavn

* Merge branch 'dev' into feat-jiosaavn
2023-11-15 18:34:46 +06:00
Kingkor Roy Tirtho
57c03ad045 refactor: use json serializer for preferences 2023-11-14 22:48:02 +06:00
Kingkor Roy Tirtho
83c0b49da9 fix: 0:00 media duration in queue after application restart #782 2023-10-29 20:19:03 +06:00
meenbeese
c7432bbd98
feat: improve and unify the logging framework (#738)
* Improve logging framework for better debugging

Signed-off-by: meenbeese <meenbeese@tutanota.com>

* Remove logger statements from /bin dir

---------

Signed-off-by: meenbeese <meenbeese@tutanota.com>
2023-09-30 18:20:45 +06:00
Kingkor Roy Tirtho
e54762be6a
feat: customizable stream/download file formats (#757)
* feat: add codec configuration in settings

* fix: show no value for codec configuration in smaller screen

* feat: implement configurable codec for download & streaming music
2023-09-28 17:02:41 +06:00
Kingkor Roy Tirtho
ae2745fdb7 refactor: fix caching isn't working with spotify 0.12 2023-09-26 20:22:05 +06:00
Kingkor Roy Tirtho
6ced0a0fad fix: always fetching SponsorBlock if no segments found & download failing 2023-08-25 18:05:18 +06:00
Lobo
76f30a0f20
feat(translations): added Portuguese (Brazil) translation (#634)
* chore: update library credits

* chore: increase score when title matchs

* chore: adjust score for both official flag & track name in title

* chore: use scoring for non-english tracks only

* added Portuguese (Brazil) translation

---------

Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com>
2023-08-23 21:52:34 +06:00
Kingkor Roy Tirtho
904a0d3e15 feat: better track matching on youtube API 2023-08-18 14:06:03 +06:00
Kingkor Roy Tirtho
8521cc5c88 fix: always showing play in playlist/album views 2023-08-15 21:57:26 +06:00
Kingkor Roy Tirtho
c69f81ec6f feat: show error dialog on piped API 500 error 2023-08-15 13:00:38 +06:00
Kingkor Roy Tirtho
dfd60bd4cc fix: cache segments casting error 2023-08-04 13:10:56 +06:00
Kingkor Roy Tirtho
c429e6f48d chore: versioning of Hive boxes 2023-06-30 11:21:02 +06:00
Kingkor Roy Tirtho
b54ee96233 feat: re-introduce youtube API along with piped 2023-06-30 10:52:44 +06:00
Kingkor Roy Tirtho
b041887402 chore: remove predownload option 2023-06-28 16:36:50 +06:00
Kingkor Roy Tirtho
dfea195ec1 feat: search alternative track source 2023-06-28 16:29:23 +06:00
Kingkor Roy Tirtho
17a25a501e feat: add piped search mode 2023-06-28 14:05:01 +06:00
Kingkor Roy Tirtho
bed0d3bd70 feat: piped instance picker on settings 2023-06-04 22:02:14 +06:00
Kingkor Roy Tirtho
14183781dd feat: repeat button all 3 mode and disable player controls when track is fetching 2023-06-04 16:34:37 +06:00
Kingkor Roy Tirtho
ed29ab5137 fix: cached queue tracks expired stream 2023-06-04 12:30:04 +06:00
Kingkor Roy Tirtho
ec11af53a1 feat: enable caching of queue 2023-05-27 23:04:54 +06:00
Kingkor Roy Tirtho
8bcce9282e feat: supabase integration 2023-05-16 12:36:49 +06:00
Kingkor Roy Tirtho
fb780da327 feat: remove SponsorBlock in favor of YT Music and remove pocketbase backend track support 2023-05-16 10:50:17 +06:00
Kingkor Roy Tirtho
3bafa7b80c fix(mkPlayer): remove method and wrong active index on modifying playlist 2023-05-15 11:02:32 +06:00
Kingkor Roy Tirtho
1ecc36da57 feat: replace YouTube API with piped API 2023-05-14 14:26:13 +06:00
Kingkor Roy Tirtho
a90261ed19 feat: merge floating player with nav bar and nav bar translucent bg 2023-03-10 19:19:55 +06:00
Kingkor Roy Tirtho
10d0660972 feat(lyrics): use official spotify API for fetching lyrics and add zoom controls 2023-03-04 22:15:05 +06:00
Kingkor Roy Tirtho
d68d150d3f feat: failsafe pocketbase requests, removal of unneeded preferences options & vertical playbutton actions 2023-02-06 09:45:20 +06:00
Kingkor Roy Tirtho
ac84942917 refactor: audio player and youtube client in separate files 2023-02-05 08:39:02 +06:00
Kingkor Roy Tirtho
9f959ce77c feat(mobile): pull to refresh support in all refreshable list views 2023-02-03 19:41:23 +06:00
Kingkor Roy Tirtho
1d82bb0987 feat: bring pre download on desktop, disable pre download for long videos
fix: audio service calling self ref of playlist queue provider
2023-02-03 13:21:41 +06:00
Kingkor Roy Tirtho
3ccb525260 fix: pre downloading not working properly, audio service circular deps and sibling not loading for backend track 2023-02-02 19:53:35 +06:00
Kingkor Roy Tirtho
312f7fbe77 refactor(playback): new immutable queue based playback manager
Dropping support for search format, track match algorithm in favor of server track cache and alternative track source
2023-02-02 18:43:12 +06:00
Kingkor Roy Tirtho
ad90c11ab0 feat: configure pocketbase, generate dart types, update playback to use server instead of hive cache
This commit currently turns off sponsor block segment for compatibility reasons
2023-02-01 22:05:37 +06:00
Kingkor Roy Tirtho
84d94b05bc feat: use catcher to handle exceptions 2023-02-01 18:26:17 +06:00
Kingkor Roy Tirtho
f79223cd41 feat: individual shuffle and repeat/loop button of player 2023-01-06 12:10:03 +06:00
Kingkor Roy Tirtho
7c25e1cc8a feat: rename files to snake_case and reorganize folder structure 2022-12-08 11:43:31 +06:00
Kingkor Roy Tirtho
69995bea1c fix: horizontal infinite lists doesn't fill the screen 2022-12-07 10:27:46 +06:00
Kingkor Roy Tirtho
1223cf2629 feat: shuffle keep playing track at top, linux title bar drag no working 2022-11-24 13:49:40 +06:00
Kingkor Roy Tirtho
6b6907af3f feat(lyrics): tabs for both synced and static lyrics #182
refactor: remove code-style warnings
2022-10-24 17:59:58 +06:00
Kingkor Roy Tirtho
abf4a5763a fix: cached local track is fetched from network, body is not behind AppBar in desktop 2022-10-12 21:02:50 +06:00
Kingkor Roy Tirtho
3e498a4827 feat: implemented go_route shell/nested route
BRIEF DESCRIPTION:
- Nested Routes like React-Router/Spotify Web/desktop
- Except Login routes everything is nested and wrapped by a Shell
- PlayerOverlay is no more a overlay
A really simple Sidebar now
2022-10-10 20:00:47 +06:00
Kingkor Roy Tirtho
756b91007e feat(auth): new authentication flow using cookies and webview in android 2022-10-03 20:38:36 +06:00
Kingkor Roy Tirtho
c77b0e198b feat: smoother list using fl_query and waypoint
fix(theme): remove splash effect
feat(artists-albums): horizontal paginated list instead of grid view page
2022-10-02 11:04:27 +06:00
Kingkor Roy Tirtho
8f258e709a feat(keyboard-shortcuts): home sidebar tab navigation and close app 2022-09-29 22:08:05 +06:00
Kingkor Roy Tirtho
2734454717 feat(keyboard shortcuts): play/pause on space, seek position on left/right 2022-09-29 21:50:05 +06:00
Kingkor Roy Tirtho
dbb81de763 fix: no appropriate output when playlist is empty #201 2022-09-26 13:14:55 +06:00
Piotr Rogowski
8f64f5452d
Fix file paths for MacOS 2022-09-21 21:56:21 +02:00
Kingkor Roy Tirtho
1191bf232d fix(web): not building due to metadata_god ffi
chore: update metadata_god and remove win32v3 override
2022-09-21 23:10:05 +06:00
Kingkor Roy Tirtho
8c7adde890 fix(layout): Fix adaptive UI not working correctly by providing a overriding option 2022-09-12 15:02:47 +06:00
Kingkor Roy Tirtho
d841b06882 refactor(audio-metadata): migrate from dart audio tagging library to rust based in-house solution
* fix(home): android bottom-bar abnormal empty top space for unknown reason
* chore: bump deps and use pub.dev version of spotify package
2022-09-05 00:09:05 +06:00
Kingkor Roy Tirtho
2ab1fba3d6 fix(downloader): downloaded track is corrupted for tagging 2022-09-03 13:50:33 +06:00
Kingkor Roy Tirtho
e206f16723 feat(local-tracks): complete support for local tracks
Downloaded tracks are saved with metadata. Only MP3 file metadata support is available in local track player for now
2022-09-03 09:42:41 +06:00
Kingkor Roy Tirtho
2818ed5c9d feat: add web support although nothing works just as expected 2022-08-14 23:03:33 +06:00
Kingkor Roy Tirtho
74ee2aff33 SponsorBlock API support added (cached works too)
Grouped `helpers` folder snippets into appropriate sections
2022-07-19 18:15:12 +06:00
Kingkor Roy Tirtho
42294b027a Fixed no Settings icon on larger displays
Window size persistance support
2022-07-13 19:22:58 +06:00
Kingkor Roy Tirtho
89bcfecfb5 Login guide added 2022-07-08 14:33:57 +06:00
Kingkor Roy Tirtho
a985c19ad8 PLayback Status property added for loading indicators 2022-07-04 09:36:22 +06:00
Kingkor Roy Tirtho
bc1334dd6d Got playlist caching working again with proper volume controls 2022-07-03 13:14:49 +06:00
Kingkor Roy Tirtho
bea7fd14b7 dbus MPRIS implemented, OS media control support added
Hotkey support removed due to too much key_display_binding issue caused by window resize & re-renders
2022-06-26 13:27:38 +06:00
Kingkor Roy Tirtho
41102b3bb8 Perfction on new Playlist & Album View
TrackCollectionView shows ShimmerTrackTile (loading) seperately
2022-06-15 17:51:37 +06:00
Kingkor Roy Tirtho
b4bb93c81e CurrentPlaylist cache & load from cache support 2022-06-13 17:33:00 +06:00
Kingkor Roy Tirtho
2b75076f82 Expanded countrycode instead of abbreviation
Using primaryColor in places instead of directly using Colors
2022-06-10 16:41:25 +06:00
Kingkor Roy Tirtho
f3bacad233 Customizable Track Match Algorigthm
AudioQuality Option
2022-06-04 22:27:11 +06:00
Kingkor Roy Tirtho
8d7e5b0c9d [android] Next/Prev track from notification/lockscreen support added (https://github.com/KRTirtho/spotube/issues/91) 2022-06-02 18:46:34 +06:00
Kingkor Roy Tirtho
066baa3745 Custom Color scheme complete support added 2022-05-26 23:17:57 +06:00
Kingkor Roy Tirtho
5accf5c56c Re initiating ipc login is now no longer required for https://github.com/rinukkusu/spotify-dart/pull/118 2022-05-26 13:13:34 +06:00
Kingkor Roy Tirtho
dc9b09f496 ranking based synced lyrics selection for better accuracy 2022-04-21 10:20:11 +06:00
Kingkor Roy Tirtho
a7b3073539 Custom format for search term in toYoutubeTrack method impletemented 2022-04-05 18:22:16 +06:00
Kingkor Roy Tirtho
d62f3ce6a1 Download lyrics with track support
nightly build links in README
2022-04-04 22:54:00 +06:00
Kingkor Roy Tirtho
f7510d7eae recommendation country set from settings suport added 2022-04-04 20:21:32 +06:00
Kingkor Roy Tirtho
0036df6e12 activate log level in release with env var
Check if the track already exists in the disk while download button is pressed
2022-04-04 19:55:17 +06:00
Kingkor Roy Tirtho
0cf5bfea50 implemented custom logger
[android] fixed solid color screen until the player on the navbar is stopped
2022-03-23 11:51:58 +06:00
Kingkor Roy Tirtho
6f6c00d76d anonymous (guest) login support added
build pipeline update to support anon login
not logged in guards added
2022-03-19 14:34:39 +06:00
Kingkor Roy Tirtho
22a1da06b6 fixed palette color doesn't change after track change in PlayerView 2022-03-18 19:52:02 +06:00
Kingkor Roy Tirtho
c64f329c42 Android SafeArea issues fixed
configurations for different plugin for android added
adjusted platform bound opertations
2022-03-15 19:47:29 +06:00
Kingkor Roy Tirtho
932462d773 sperated PlayerControl from PlayerOverlay
PlayerControls slider & duration are now vertical
hotkey init moved to Home
Player & YoutubeExplode are provided through riverpod
Playback handles all things Player used to do
GoRoutes are seperated from main to individual model file
usePaletteColor bugfix occuring for before initilizing mount
2022-03-12 19:10:21 +06:00
Kingkor Roy Tirtho
a86b6bc40b persisted volume support
Placeholder image instead of progress indicator in PlaybuttonCard
Custom Fade Page Transition
2022-02-24 13:26:21 +06:00
Kingkor Roy Tirtho
e666e25ffd Global custom hotkey support for playback control
UserPreferences provider genius access token not loading on init bug fix
2022-02-06 10:01:29 +06:00
Kingkor Roy Tirtho
00acdf598d uri_launch canLaunch interfering with flatpak bugfix
Change theme manually support
2022-01-20 18:45:12 +06:00
Kingkor Roy Tirtho
62fc89dd52 Global shortcuts added 2022-01-07 00:28:22 +06:00
Kingkor Roy Tirtho
d647d5ed1f Full Lyrics support 2022-01-06 19:37:33 +06:00
Kingkor Roy Tirtho
50b835e122 Lyrics support added 2022-01-06 18:37:47 +06:00
Kingkor Roy Tirtho
f3ecb24d3b Save Track button support (incomplete)
Featured Playlist support
2022-01-05 13:41:34 +06:00
Kingkor Roy Tirtho
76d0538f96 Working Sidebar added
Unauthorized error fix
Settings Page (initial)
Redesinged PlaylistView with Table
2022-01-04 22:45:26 +06:00
Kingkor Roy Tirtho
db42e81501 Play playlist from PlaylistCard support
Login page tuned
Replace loading texts with Circular progress bar
Sidebar icons are rounded now
New Icon & banner
2022-01-04 00:00:12 +06:00
Kingkor Roy Tirtho
799e13c376 Flutter app added 2022-01-03 10:27:25 +06:00