Commit Graph

261 Commits

Author SHA1 Message Date
Kingkor Roy Tirtho
a9a1d4c9dc fix: album, artist page not loading #1282 2024-03-01 18:55:33 +06:00
olivier2
17105a640b
fix(android): audio issue when screen is off and broadcast audio session id (#1221 & #1247)
* this change fixes the garbled audio on my Pixel 6a while the screen is off. Not familiar with libmpv, but seems to favor audiotrack audio output over opensles. KRTirtho/spotube#571

* get audio session id, send it to AudioTrack in libmpv, broadcast it to other apps. Fixes KRTirtho/spotube#1221

---------

Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com>
2024-02-25 22:26:06 +06:00
Kingkor Roy Tirtho
a850ed270b chore: add error handling in song link 2024-02-25 22:06:47 +06:00
Kingkor Roy Tirtho
96a2a1f5a6 feat: add getting started page 2024-02-25 22:01:38 +06:00
Kingkor Roy Tirtho
9095a8c8f8 feat: add songlink based track matching for youtube and open song link button
songlink.com will provide accurate match verified by community for most spotify tracks improving overall match accuracy for Youtube audio source
2024-02-25 11:13:23 +06:00
Kingkor Roy Tirtho
e964f61d38 fix: track loading when not found in Youtube 2024-02-17 22:22:00 +06:00
Kingkor Roy Tirtho
badd52223a chore: use piped_client git version to fix search issue 2024-02-17 22:07:32 +06:00
Kingkor Roy Tirtho
90f7c531cd fix: non-banger songs breaking the queue if sources not found
Now fallbacks to another audio source if not found in one
2024-02-17 21:33:09 +06:00
Kingkor Roy Tirtho
4defeefe7e feat: start radio support 2024-01-31 16:33:50 +06:00
Kingkor Roy Tirtho
2168a640af feat: add create playlist button in add playlist dialog 2024-01-27 21:59:10 +06:00
Kingkor Roy Tirtho
8184555ee8 feat: improve youtube/piped matching by suffixing "- Topic" 2024-01-27 21:48:38 +06:00
Kingkor Roy Tirtho
62fde50442 fix: alternative source doesn't persist on next restart #840 2024-01-27 20:59:50 +06:00
Kingkor Roy Tirtho
fd1899f162 fix: audio resumes after a phone call even if it was paused before #926 2024-01-24 10:47:02 +06:00
Kingkor Roy Tirtho
e58e18de33 fix: better error message for failing to find lyrics #1085 2024-01-23 23:13:38 +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
a8e9b824f3 fix: alternative searched sources doesn't play #1059 2024-01-22 19:02:10 +06:00
Kingkor Roy Tirtho
8cd650b07e fix: artist page error #1018 2024-01-22 17:51:12 +06:00
Kingkor Roy Tirtho
5509cae91c fix(android): download failing for permission issues #1015 2024-01-05 20:26:57 +06:00
Kingkor Roy Tirtho
988a975bf1 feat(deep-link): add track opening page 2024-01-05 14:14:15 +06:00
franchioping
ba4e11a40a
fix: songs doesn't play when sources with preferred audio codec is empty (#976)
* Fix song not playing when m4a or weba is not available (one is available but not the other) for that song

* Update lib/services/sourced_track/sources/youtube.dart

---------

Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com>
2024-01-02 22:37:51 +06:00
Kingkor Roy Tirtho
2fb16e64e9 fix: genre border issues 2023-12-12 21:27:14 +06:00
Kingkor Roy Tirtho
82ed5e9057 feat: compact genre view in home page 2023-12-08 22:18:18 +06:00
Kingkor Roy Tirtho
24a2294512 feat: toggle for discord rpc 2023-12-08 13:27:31 +06:00
Kingkor Roy Tirtho
2a69886556 feat(artist): modularize page and add wikipedia section 2023-11-22 20:23:12 +06:00
Kingkor Roy Tirtho
4511a0bd00 chore: bring back edit user playlist button 2023-11-22 10:49:00 +06:00
Kingkor Roy Tirtho
7d05c40dc0 fix: use CustomScrollView for personalized page 2023-11-22 10:02:11 +06:00
Kingkor Roy Tirtho
88b8785cb8 feat: discord RPC integration #98 2023-11-22 09:32:05 +06:00
Kingkor Roy Tirtho
98aff8f3b9 chore: fix jiosaavn exact match 2023-11-21 23:13:57 +06:00
Kingkor Roy Tirtho
7818574356 fix(windows): media control not working #641 2023-11-21 21:23:08 +06:00
Kingkor Roy Tirtho
75c0c4fff4 Merge branch 'master' into dev 2023-11-21 20:11:08 +06:00
Kingkor Roy Tirtho
28a5d6bb38 feat: paginated playlist and album page 2023-11-17 13:14:25 +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
0e07506716 refactor: organize hooks 2023-11-14 19:46:54 +06:00
Kingkor Roy Tirtho
fed36ecdd8 fix: Add to Playlist Dialog memory leak #817 2023-11-14 19:36:07 +06:00
Kingkor Roy Tirtho
353ca79be3 fix: spotube doesn't exit properly, hangs in infinite loop #768 2023-10-29 20:59:56 +06:00
Kingkor Roy Tirtho
4956bf367b fix: shuffle doesn't move active track to top 2023-10-29 19:54:58 +06:00
Kingkor Roy Tirtho
58e569864d fix: last track of queue keeps repeating #718 2023-10-29 19:51:53 +06:00
Kingkor Roy Tirtho
e29cc2578c fix: use audio_service_mpris plugin 2023-10-16 09:54:01 +06:00
Kingkor Roy Tirtho
ed6ca006ce fix: last track repeats 2023-10-15 12:09:14 +06:00
Kingkor Roy Tirtho
593bc2de90 chore: connectivity adapter use http as well 2023-10-15 11:11:20 +06:00
Kingkor Roy Tirtho
d39667bfb9 chore: use updated fl_query offline management 2023-10-14 17:28:22 +06:00
Kingkor Roy Tirtho
854ab8910d feat: manual offline detection 2023-10-14 12:31:10 +06:00
Kingkor Roy Tirtho
931664e6b6 refactor: migrate to catcher to catcher_2 2023-09-30 18:33:04 +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
wescode
c09a572925
fix: not fetching all followed artists (#759)
Co-authored-by: me <whickle@gmail.com>
2023-09-29 18:44:26 +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
5a758d8671 chore: fix genres & personalized content not loading 2023-09-28 15:27:13 +06:00
Kingkor Roy Tirtho
15d466a045 fix(android): audio doesn't resume on interruption end 2023-09-27 12:44:07 +06:00
Kingkor Roy Tirtho
b3cf639ee2 fix(android ): file_selector getDirectoryPath returns unusable content urls #720 2023-09-26 22:34:21 +06:00
Kingkor Roy Tirtho
afbb8ba5a7 refactor: make compatible with spotify lib 0.12 2023-09-26 19:49:59 +06:00
Kingkor Roy Tirtho
c325911c0d feat: configurable audio normalization switch 2023-09-17 00:39:00 +06:00
Kingkor Roy Tirtho
da10ab2e29 feat: add audio normalization #164 2023-09-16 23:41:47 +06:00
Kingkor Roy Tirtho
5c5dbf69ec feat: add Amoled theme #724 2023-09-16 12:35:46 +06:00
Kingkor Roy Tirtho
7aff0d3f1e
cd: Armbuild Circleci project setup (#723)
* chore: fill missing translations

* chore: vscode filenesting

* docs: Add meenbeese  (#713)

* CircleCI Commit

* cd: updated circle ci build config

* cd: use custom flutter installation

* cd: use ubuntu 22.04

* cd: fix project var syntax

* cd: directly echo secrets to .env file

* cd: export bash env

* cd: they I'm stupid

* cd: ugghh breaking flutter changes on every major version

* cd: add other empty keys to .env

* cd: works!!!

* cd: store artifacts

* cd: add other package formats in circle ci build

* cd: add pub cache path

* cd: remove dart run from flutter_distributor

* cd: add appimage installer

* cd: sudo

* cd: appimagetool in path

* cd: use aarch64 binary of appimagetool

* cd: add rpmbuild deps

* cd: fix rpm arch

* cd: add github release upload capability

* cd: enable github creds context

* cd: remove token

* cd: remove parallelism

* cd: why typo??!

* cd: add github action to trigger Circle CI pipeline

* cd: trigger CCI using curl

* cd: remove quotes from bool field

* cd: ain't no

* cd: poor choice

---------

Co-authored-by: meenbeese <meenbeese@tutanota.com>
2023-09-15 22:35:09 +06:00
Kingkor Roy Tirtho
ab0fe5bdfa
Playlist info editing (#708)
* feat: playlist metadata edit support

* refactor: replace file_picker with file_selector
2023-09-10 16:39:21 +06:00
Victor Tinoco
0df8d9cace
fix: playlist grey page (#707)
* chore: fill missing translations

* chore: vscode filenesting

* fix playlist grey page

---------

Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com>
2023-09-10 16:39:05 +06:00
Kingkor Roy Tirtho
142dc498f8
fix: Windows memory leak due refetchOnStale user-liked-tracks (#705)
* chore: refactor CLI stuff to separate service folder

* chore: trying to fix memory leak

* chore: fix fl_Query_devtools in wrong place

* chore: upgrade deps

* fix: user liked tracks memory leak due to isStale & updateQueryFn
2023-09-08 12:30:52 +06:00
Kingkor Roy Tirtho
187bdaf75c
chore: trying to fix windows memory leak 2023-08-31 21:27:07 +06:00
Kingkor Roy Tirtho
0ef134f20d chore: safe url file name 2023-08-28 10:40:45 +06:00
Kingkor Roy Tirtho
dbf6748ddc Merge branch 'master' into dev 2023-08-26 10:52:37 +06:00
Kingkor Roy Tirtho
f23e8719ee fix: replace connectivity_plus with internet_connection_checker 2023-08-26 10:52:19 +06:00
Kingkor Roy Tirtho
c3c09f5b76 fix: last track of queue never plays & repeat playlist never works 2023-08-25 22:52:43 +06:00
Kingkor Roy Tirtho
190df17adc fix: jump to track going to wrong track 2023-08-25 20:03:49 +06:00
Kingkor Roy Tirtho
d239d641ff feat: paginated user albums 2023-08-25 18:54:54 +06:00
Kingkor Roy Tirtho
6ced0a0fad fix: always fetching SponsorBlock if no segments found & download failing 2023-08-25 18:05:18 +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
aa4ac8641a fix: tracks doesn't change when ended 2023-08-08 12:18:11 +06:00
Kingkor Roy Tirtho
e7c6813ccb feat: paginated user playlists 2023-08-07 17:34:56 +06:00
Kingkor Roy Tirtho
38dc4beb44
feat: blazingly™ fast download manager (#619)
* feat: concurrent download service & download prorvider

* feat: implement chunked downloader

* fix: no audio-tags in Linux and duration not showing up for local tracks

* feat: show matching tracks in queue as well

* feat: always uses piped api for download to avoid IP block

* fix: invalid downloadCount
2023-08-07 16:49:11 +06:00
Kingkor Roy Tirtho
ae5edd17ef fix: windows media controls not working 2023-08-07 15:28:14 +06:00
Kingkor Roy Tirtho
cf7b849cdd feat: web compatibility 2023-08-05 10:49:53 +06:00
Kingkor Roy Tirtho
dfd60bd4cc fix: cache segments casting error 2023-08-04 13:10:56 +06:00
Kingkor Roy Tirtho
0b7affdc05 fix: track not skipping to next even when source is available 2023-08-04 11:51:13 +06:00
Kingkor Roy Tirtho
dc76634a6e
fix: shuffle not working (#562) 2023-07-08 21:58:57 +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
699b236ce5 chore: fix dep problem and code style 2023-06-28 17:55:17 +06:00
Kingkor Roy Tirtho
a9b5a714e4 fix: alternative track source not playing new source 2023-06-28 12:13:33 +06:00
Kingkor Roy Tirtho
73c012c71a fix: local tracks getting fetched on first load 2023-06-17 10:17:54 +06:00
Kingkor Roy Tirtho
886bc8033d refactor: reuse PlaylistAddTrack on track_tile 2023-06-11 19:42:13 +06:00
Kingkor Roy Tirtho
bf04962e90 fix: remove unnecessary broadcast stream conversions 2023-06-10 13:12:40 +06:00
Kingkor Roy Tirtho
9877d5f517 feat: playlist generation all parameters support 2023-06-08 12:49:08 +06:00
Kingkor Roy Tirtho
f4b0d134ca feat: custom playlist generator 2023-06-06 17:41:37 +06:00
Kingkor Roy Tirtho
bed0d3bd70 feat: piped instance picker on settings 2023-06-04 22:02:14 +06:00
Kingkor Roy Tirtho
94017189c6 fix: cached currently playing track infinite loading 2023-06-04 14:44:16 +06:00
Kingkor Roy Tirtho
ed29ab5137 fix: cached queue tracks expired stream 2023-06-04 12:30:04 +06:00
Kingkor Roy Tirtho
f7ca3a654f chore: only remove native event loop for macos 2023-06-02 13:06:02 +06:00
Kingkor Roy Tirtho
1abcad1de5 fix: linux mpris not showing up and overall media notification service 2023-06-02 12:33:27 +06:00
Kingkor Roy Tirtho
17e5ab611c fix: track doesn't play after change 2023-06-02 09:21:47 +06:00
Kingkor Roy Tirtho
caa340803f fix: personalized playlists not loading 2023-06-01 09:59:31 +06:00
Kingkor Roy Tirtho
27e8acbfe7 fix: playback not moving to next track after a track ends 2023-06-01 09:02:44 +06:00
Kingkor Roy Tirtho
88137f01b2 feat: locale category/genre title 2023-05-28 22:06:52 +06:00
Kingkor Roy Tirtho
ae820a22f2 feat: personal playlist recommendations 2023-05-28 21:54:00 +06:00
Kingkor Roy Tirtho
e529c79c4f fix: re-enable add to queue and play next support, favorite button query exceptions 2023-05-27 21:53:56 +06:00
Kingkor Roy Tirtho
bf59570251 feat: show loading when track metadata is being fetched, android, ios, macos enable shuffling 2023-05-27 13:34:25 +06:00
Kingkor Roy Tirtho
a0744630ba fix: use id based source getters instead of index 2023-05-27 12:01:59 +06:00
Kingkor Roy Tirtho
75b46e1a17 refactor: split audio player impl into multiple parts and mixins 2023-05-26 10:13:09 +06:00
Kingkor Roy Tirtho
a455a89c58 fix: null exception on proxy playlist and audio player 2023-05-17 00:30:48 +06:00
Kingkor Roy Tirtho
696eeee882 chore(playback): re-enable shuffling 2023-05-16 22:34:20 +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
eaf65b6db2 feat(player): custom playlist implementation for media_kit to replace unpredictable playlist of mpv 2023-05-14 17:52:54 +06:00
Kingkor Roy Tirtho
1ecc36da57 feat: replace YouTube API with piped API 2023-05-14 14:26:13 +06:00
Kingkor Roy Tirtho
1f3255481f fix(player): volume slider, prefetching of media_kit and stuttering on sponsorblock skip 2023-05-13 19:11:02 +06:00
Kingkor Roy Tirtho
5f70207076 refactor(playback): migration to ProxyPlaylist based playback 2023-05-13 12:46:56 +06:00
Kingkor Roy Tirtho
3ba3df7265 refactor(playlist_queue): add playlist 3 items load first support 2023-05-12 20:35:48 +06:00
Kingkor Roy Tirtho
f1080e1675 feat(player): add playlist related methods to audio player 2023-05-12 09:36:03 +06:00
Kingkor Roy Tirtho
06f6adc69c refactor(windows,linux): replace audioplayers with media_kit 2023-05-12 08:32:56 +06:00
Kingkor Roy Tirtho
33cb7947d6 feat: newly released albums of user followed artist 2023-05-11 23:50:17 +06:00
Kingkor Roy Tirtho
d487fe5563 feat(playback): integrate android, ios, macos with JustAudio 2023-05-05 20:03:06 +06:00
Kingkor Roy Tirtho
1fff0f1bd0 feat(playback): use assets_audio_player to fix macos double duration problems and android high loading latency 2023-05-04 22:10:02 +06:00
Kingkor Roy Tirtho
be91e33828 fix: macos build error, mobile player duration and playing state and background disposal of player 2023-05-01 10:23:46 +06:00
Kingkor Roy Tirtho
6430a25870 feat: better language picker, adaptive select tile and settings section contrast 2023-05-01 00:44:35 +06:00
Kingkor Roy Tirtho
12915f3e5a refactor: create audio player wrapper and remove just_audio (again) 2023-04-30 23:16:55 +06:00
Kingkor Roy Tirtho
8f9303bc0f fix: mobile audio notification not working 2023-04-30 17:02:33 +06:00
Kingkor Roy Tirtho
ce10aa1fe2 fix: navigation to settings not working 2023-04-30 15:18:16 +06:00
Kingkor Roy Tirtho
d7135db5ad refactor(audi_service): unify all platform audio services 2023-04-28 21:11:49 +06:00
Kingkor Roy Tirtho
7fa50e5c5e feat: disable/enable smtc on demand 2023-04-15 00:24:55 +06:00
Kingkor Roy Tirtho
f0b426ae89 feat: windows OS media control panel support 2023-04-14 11:08:12 +06:00
Kingkor Roy Tirtho
7a0fd64cf9 Merge branch 'master' into dev 2023-03-24 20:04:04 +06:00
Kingkor Roy Tirtho
f160ec767d fix: android audio service and notification and fallback for lyrics when anonymous 2023-03-24 19:55:16 +06:00
Kingkor Roy Tirtho
7131efa07f feat: optimize image load + genre page and reduce page size of loaded categories 2023-03-17 13:05:26 +06:00
Kingkor Roy Tirtho
39e5e3f19b Merge branch 'master' into dev 2023-03-15 10:34:23 +06:00
Kingkor Roy Tirtho
448c9b39f4 fix(android): audio notification stuck in play state 2023-03-12 21:21:50 +06:00
Kingkor Roy Tirtho
287a54474f Merge branch 'master' into dev 2023-03-12 12:17:22 +06:00
Kingkor Roy Tirtho
ec9a02e8b8 fix: spotify query hooks overriding default query params 2023-03-12 11:11:07 +06:00
Kingkor Roy Tirtho
dcdb16676d chore: update app summary 2023-03-12 09:20:22 +06:00
Kingkor Roy Tirtho
eeb8cabf49 feat: compact and adaptive playbutton card design 2023-03-11 22:41:46 +06:00
Kingkor Roy Tirtho
a1896b43d0 chore: disable macos ui due to instability 2023-03-07 09:49:16 +06:00
Kingkor Roy Tirtho
c6bf9b6799 fix: use chosen market for new release 2023-03-05 13:04:50 +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
bdd70984e6 fix(playbutton_card): play and add to queue needs 2 clicks work
feat: add disk caching to liked tracks and categories query
2023-03-02 13:20:07 +06:00
Kingkor Roy Tirtho
b78b657377 chore: enable search again 2023-02-26 22:07:02 +06:00
Kingkor Roy Tirtho
7617439915 feat: compatibility with fl-query nextPage method change 2023-02-26 14:01:53 +06:00
Kingkor Roy Tirtho
3d9da8b4e3 refactor: use singleton for Queries and Mutations service classes 2023-02-24 15:27:13 +06:00
Kingkor Roy Tirtho
d85867a245 feat: initial integration 2023-02-24 13:56:05 +06:00
Kingkor Roy Tirtho
9080441b87 feat(home): personalized section 2023-02-06 23:06:26 +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
a774817240 fix(search): grey screen, only tracks update on new search string, playlists,albums,artists show up before hitting return/submit 2023-02-03 22:08:56 +06:00
Kingkor Roy Tirtho
24d7b5b851 refactor: replace playAt with playTrack for safe element access and property based track looping 2023-02-03 14:32:58 +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
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
c809d2daba fix: lyrics not changing on track change 2023-01-31 13:51:56 +06:00
Kingkor Roy Tirtho
6902060cdd refactor: replace bitsdojo_window with window_manager for faster startups 2023-01-08 09:37:42 +06:00
Kingkor Roy Tirtho
710f172dee fix: genre and sidebar user logo not loading 2023-01-06 19:35:48 +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
bd126751e9 fix: lyrics not refetching when tracked changed while being in another page and sidebar user avatar not showing on startup 2022-12-14 14:08:23 +06:00