Compare commits
8 Commits
216fdadf25
...
151a440e7e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
151a440e7e | ||
![]() |
9471e008e3 | ||
![]() |
ecc0bdcc42 | ||
![]() |
49c04af302 | ||
![]() |
afe0bea306 | ||
![]() |
eadf2d928f | ||
![]() |
a299a97ca4 | ||
![]() |
cbbd0a2b40 |
63
CHANGELOG.md
@ -1,5 +1,68 @@
|
||||
# Changelog
|
||||
|
||||
## [5.0.0](https://github.com/KRTirtho/spotube/compare/v4.0.2...v5.0.0) (2025-09-08)
|
||||
|
||||
### Features
|
||||
|
||||
- Add ISRC track search for YouTube ([#2594](https://github.com/KRTirtho/spotube/issues/2594))
|
||||
- Add new icons #2676 by @alexio-dev ([#2678](https://github.com/KRTirtho/spotube/issues/2678))
|
||||
- Add connect confirmation dialog
|
||||
- Add metadata api service and models
|
||||
- **metadata-plugin**: Add pagination support, feed and playlist CRUD endpoints
|
||||
- **metadata-plugin**: Add local storage api
|
||||
- Add webview, totp and setInterval apis for plugins
|
||||
- Enhance local storage and webview APIs with improved error handling and resource management
|
||||
- **metadata_plugin**: Add logout method
|
||||
- Update plugin configuration with more fields
|
||||
- Implement metadata plugins based on hetu
|
||||
- Update models to match hetu_spotube_plugin signature
|
||||
- Add user endpoint calls in metadata and paginated async notifiers
|
||||
- Add playlist endpoint and providers
|
||||
- Add albums metadata endpoint and provider
|
||||
- Add artist and album providers
|
||||
- Add track endpoint for metadata service
|
||||
- Remove green corp names formally
|
||||
- **metadata**: Add plugin form
|
||||
- Add support for entity specific search
|
||||
- Enhance image handling
|
||||
- Add support for automatic plugin repository from github and codeberg
|
||||
- Use isolate for youtube_explode engine
|
||||
- Add repository and plugin API version fields to metadata plugins
|
||||
- Update new pipe version
|
||||
- **metadata**: Add plugin update checker and dialog for available updates
|
||||
- Optimize track options and related artists
|
||||
- Add plugin scrobbling support and support button
|
||||
- Add ErrorBox and NoDefaultMetadataPlugin components
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Calling /track/:streamId endpoint causes active sourced track to be anything
|
||||
- **mobile**: Dialogs in bottom sheet are not opening
|
||||
- Default accent color is orange but it shows blue in settings
|
||||
- Artist images are not loading up
|
||||
- CVE: Remote path traversal through websocket when devices are on same network
|
||||
- Endless playback not working
|
||||
- **android**: NewPipe invalid search content filters
|
||||
- Make YoutubeExplode engine faster
|
||||
- Create and delete playlist not working
|
||||
- Local track not working and images of local not showing up
|
||||
- Local playback not working for tracks with special # (hashtag) characters
|
||||
- Inaccessible streaming url causing rapid skips
|
||||
- **yt**: Fallback to different search result if all streaming url is inaccessible
|
||||
- **playback**: Skip network requests if cached file already exists
|
||||
- Yt-dlp playback not working and add partial support for HLS streaming
|
||||
- Windows webview2 environment permission issue
|
||||
- **playback**: Play not fetching full playlist if playlist is too long
|
||||
- **track_options**: Tapping on option doesn't close the menu
|
||||
- **playback**: Alternative track sources switch not working
|
||||
- **ui**: Lyrics white text in white background and small player buttons
|
||||
|
||||
### Translation
|
||||
|
||||
- Add Traditional Chinese translation ([#2762](https://github.com/KRTirtho/spotube/issues/2762))
|
||||
- Fix Japanese translations ([#2732](https://github.com/KRTirtho/spotube/issues/2732))
|
||||
- Correction of the dutch language ([#1306](https://github.com/KRTirtho/spotube/issues/1306))
|
||||
|
||||
## [4.0.2](https://github.com/krtirtho/spotube/compare/v4.0.1...v4.0.2) (2025-03-16)
|
||||
|
||||
### Bug Fixes
|
||||
|
@ -119,7 +119,7 @@ Enhancement suggestions are tracked as [GitHub issues](https://github.com/KRTirt
|
||||
|
||||
Do the following:
|
||||
|
||||
- Download the latest Flutter SDK (>=3.16.0) & enable desktop support
|
||||
- Install [Dart](https://dart.dev/get-dart) and [fvm](https://fvm.app/documentation/getting-started/installation)
|
||||
- Install Development dependencies in linux
|
||||
- Debian (>=12/Bookworm)/Ubuntu
|
||||
```bash
|
||||
@ -138,11 +138,11 @@ Do the following:
|
||||
- Create a `.env` in root of the project following the `.env.example` template
|
||||
- Now run the following to bootstrap the project
|
||||
```bash
|
||||
flutter pub get && dart run build_runner build --delete-conflicting-outputs --enable-experiment=records,patterns
|
||||
fvm flutter pub get && fvm dart run build_runner build --delete-conflicting-outputs
|
||||
```
|
||||
- Finally run these following commands in the root of the project to start the Spotube Locally
|
||||
```bash
|
||||
flutter run -d <window|macos|linux|(<android-device-id>)>
|
||||
fvm flutter run -d <window|macos|linux|(<android-device-id>)>
|
||||
```
|
||||
|
||||
Do debugging/testing/build etc then submit to us with PR against the development branch (dev) & we'll review your code
|
||||
|
@ -18,6 +18,10 @@ Btw it's not just another Electron app 😉
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
</div>
|
||||
|
||||
## 🌃 Features
|
||||
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 38 KiB |
BIN
assets/branding/mobile-screenshots/combined.jpg
Normal file
After Width: | Height: | Size: 172 KiB |
Before Width: | Height: | Size: 790 KiB |
Before Width: | Height: | Size: 1006 KiB After Width: | Height: | Size: 771 KiB |
@ -61,7 +61,7 @@ protect_breaking_commits = false
|
||||
commit_parsers = [
|
||||
{ message = "^feat", group = "<!-- 0 -->Features" },
|
||||
{ message = "^fix", group = "<!-- 1 -->Bug Fixes" },
|
||||
# { message = "^doc", group = "<!-- 3 -->📚 Documentation" },
|
||||
{ message = "^translation", group = "<!-- 3 --> Translation" },
|
||||
# { message = "^perf", group = "<!-- 4 -->⚡ Performance" },
|
||||
# { message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
|
||||
# { message = "^style", group = "<!-- 5 -->🎨 Styling" },
|
||||
|
123
ios/Podfile.lock
@ -1,13 +1,16 @@
|
||||
PODS:
|
||||
- app_links (0.0.2):
|
||||
- app_links (6.4.1):
|
||||
- Flutter
|
||||
- audio_service (0.0.1):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- audio_session (0.0.1):
|
||||
- Flutter
|
||||
- bonsoir_darwin (0.0.1):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- connectivity_plus (0.0.1):
|
||||
- Flutter
|
||||
- device_info_plus (0.0.1):
|
||||
- Flutter
|
||||
- DKImagePickerController/Core (4.3.4):
|
||||
@ -46,6 +49,8 @@ PODS:
|
||||
- Flutter
|
||||
- file_selector_ios (0.0.1):
|
||||
- Flutter
|
||||
- fk_user_agent (2.0.0):
|
||||
- Flutter
|
||||
- Flutter (1.0.0)
|
||||
- flutter_broadcasts (0.0.1):
|
||||
- Flutter
|
||||
@ -64,15 +69,17 @@ PODS:
|
||||
- Flutter
|
||||
- flutter_sharing_intent (0.0.1):
|
||||
- Flutter
|
||||
- flutter_timezone (0.0.1):
|
||||
- Flutter
|
||||
- home_widget (0.0.1):
|
||||
- Flutter
|
||||
- image_picker_ios (0.0.1):
|
||||
- Flutter
|
||||
- integration_test (0.0.1):
|
||||
- Flutter
|
||||
- media_kit_libs_ios_audio (1.0.4):
|
||||
- irondash_engine_context (0.0.1):
|
||||
- Flutter
|
||||
- media_kit_native_event_loop (1.0.0):
|
||||
- media_kit_libs_ios_audio (1.0.4):
|
||||
- Flutter
|
||||
- metadata_god (0.0.1):
|
||||
- Flutter
|
||||
@ -95,25 +102,33 @@ PODS:
|
||||
- sqflite_darwin (0.0.4):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- sqlite3 (3.47.1):
|
||||
- sqlite3/common (= 3.47.1)
|
||||
- sqlite3/common (3.47.1)
|
||||
- sqlite3/dbstatvtab (3.47.1):
|
||||
- sqlite3 (3.50.4):
|
||||
- sqlite3/common (= 3.50.4)
|
||||
- sqlite3/common (3.50.4)
|
||||
- sqlite3/dbstatvtab (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3/fts5 (3.47.1):
|
||||
- sqlite3/fts5 (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3/perf-threadsafe (3.47.1):
|
||||
- sqlite3/math (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3/rtree (3.47.1):
|
||||
- sqlite3/perf-threadsafe (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3/rtree (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3/session (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3_flutter_libs (0.0.1):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- sqlite3 (~> 3.47.1)
|
||||
- sqlite3 (~> 3.50.4)
|
||||
- sqlite3/dbstatvtab
|
||||
- sqlite3/fts5
|
||||
- sqlite3/math
|
||||
- sqlite3/perf-threadsafe
|
||||
- sqlite3/rtree
|
||||
- sqlite3/session
|
||||
- super_native_extensions (0.0.1):
|
||||
- Flutter
|
||||
- SwiftyGif (5.4.4)
|
||||
- system_theme (0.0.1):
|
||||
- Flutter
|
||||
@ -122,12 +137,14 @@ PODS:
|
||||
|
||||
DEPENDENCIES:
|
||||
- app_links (from `.symlinks/plugins/app_links/ios`)
|
||||
- audio_service (from `.symlinks/plugins/audio_service/ios`)
|
||||
- audio_service (from `.symlinks/plugins/audio_service/darwin`)
|
||||
- audio_session (from `.symlinks/plugins/audio_session/ios`)
|
||||
- bonsoir_darwin (from `.symlinks/plugins/bonsoir_darwin/darwin`)
|
||||
- connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
|
||||
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
|
||||
- file_picker (from `.symlinks/plugins/file_picker/ios`)
|
||||
- file_selector_ios (from `.symlinks/plugins/file_selector_ios/ios`)
|
||||
- fk_user_agent (from `.symlinks/plugins/fk_user_agent/ios`)
|
||||
- Flutter (from `Flutter`)
|
||||
- flutter_broadcasts (from `.symlinks/plugins/flutter_broadcasts/ios`)
|
||||
- flutter_discord_rpc (from `.symlinks/plugins/flutter_discord_rpc/ios`)
|
||||
@ -135,11 +152,12 @@ DEPENDENCIES:
|
||||
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
|
||||
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
|
||||
- flutter_sharing_intent (from `.symlinks/plugins/flutter_sharing_intent/ios`)
|
||||
- flutter_timezone (from `.symlinks/plugins/flutter_timezone/ios`)
|
||||
- home_widget (from `.symlinks/plugins/home_widget/ios`)
|
||||
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
|
||||
- integration_test (from `.symlinks/plugins/integration_test/ios`)
|
||||
- irondash_engine_context (from `.symlinks/plugins/irondash_engine_context/ios`)
|
||||
- media_kit_libs_ios_audio (from `.symlinks/plugins/media_kit_libs_ios_audio/ios`)
|
||||
- media_kit_native_event_loop (from `.symlinks/plugins/media_kit_native_event_loop/ios`)
|
||||
- metadata_god (from `.symlinks/plugins/metadata_god/ios`)
|
||||
- open_file_ios (from `.symlinks/plugins/open_file_ios/ios`)
|
||||
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
|
||||
@ -148,6 +166,7 @@ DEPENDENCIES:
|
||||
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
|
||||
- sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
|
||||
- sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/darwin`)
|
||||
- super_native_extensions (from `.symlinks/plugins/super_native_extensions/ios`)
|
||||
- system_theme (from `.symlinks/plugins/system_theme/ios`)
|
||||
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
|
||||
|
||||
@ -164,17 +183,21 @@ EXTERNAL SOURCES:
|
||||
app_links:
|
||||
:path: ".symlinks/plugins/app_links/ios"
|
||||
audio_service:
|
||||
:path: ".symlinks/plugins/audio_service/ios"
|
||||
:path: ".symlinks/plugins/audio_service/darwin"
|
||||
audio_session:
|
||||
:path: ".symlinks/plugins/audio_session/ios"
|
||||
bonsoir_darwin:
|
||||
:path: ".symlinks/plugins/bonsoir_darwin/darwin"
|
||||
connectivity_plus:
|
||||
:path: ".symlinks/plugins/connectivity_plus/ios"
|
||||
device_info_plus:
|
||||
:path: ".symlinks/plugins/device_info_plus/ios"
|
||||
file_picker:
|
||||
:path: ".symlinks/plugins/file_picker/ios"
|
||||
file_selector_ios:
|
||||
:path: ".symlinks/plugins/file_selector_ios/ios"
|
||||
fk_user_agent:
|
||||
:path: ".symlinks/plugins/fk_user_agent/ios"
|
||||
Flutter:
|
||||
:path: Flutter
|
||||
flutter_broadcasts:
|
||||
@ -189,16 +212,18 @@ EXTERNAL SOURCES:
|
||||
:path: ".symlinks/plugins/flutter_secure_storage/ios"
|
||||
flutter_sharing_intent:
|
||||
:path: ".symlinks/plugins/flutter_sharing_intent/ios"
|
||||
flutter_timezone:
|
||||
:path: ".symlinks/plugins/flutter_timezone/ios"
|
||||
home_widget:
|
||||
:path: ".symlinks/plugins/home_widget/ios"
|
||||
image_picker_ios:
|
||||
:path: ".symlinks/plugins/image_picker_ios/ios"
|
||||
integration_test:
|
||||
:path: ".symlinks/plugins/integration_test/ios"
|
||||
irondash_engine_context:
|
||||
:path: ".symlinks/plugins/irondash_engine_context/ios"
|
||||
media_kit_libs_ios_audio:
|
||||
:path: ".symlinks/plugins/media_kit_libs_ios_audio/ios"
|
||||
media_kit_native_event_loop:
|
||||
:path: ".symlinks/plugins/media_kit_native_event_loop/ios"
|
||||
metadata_god:
|
||||
:path: ".symlinks/plugins/metadata_god/ios"
|
||||
open_file_ios:
|
||||
@ -215,47 +240,53 @@ EXTERNAL SOURCES:
|
||||
:path: ".symlinks/plugins/sqflite_darwin/darwin"
|
||||
sqlite3_flutter_libs:
|
||||
:path: ".symlinks/plugins/sqlite3_flutter_libs/darwin"
|
||||
super_native_extensions:
|
||||
:path: ".symlinks/plugins/super_native_extensions/ios"
|
||||
system_theme:
|
||||
:path: ".symlinks/plugins/system_theme/ios"
|
||||
url_launcher_ios:
|
||||
:path: ".symlinks/plugins/url_launcher_ios/ios"
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
app_links: e7a6750a915a9e161c58d91bc610e8cd1d4d0ad0
|
||||
audio_service: f509d65da41b9521a61f1c404dd58651f265a567
|
||||
audio_session: 088d2483ebd1dc43f51d253d4a1c517d9a2e7207
|
||||
bonsoir_darwin: e3b8526c42ca46a885142df84229131dfabea842
|
||||
device_info_plus: bf2e3232933866d73fe290f2942f2156cdd10342
|
||||
app_links: 3dbc685f76b1693c66a6d9dd1e9ab6f73d97dc0a
|
||||
audio_service: aa99a6ba2ae7565996015322b0bb024e1d25c6fd
|
||||
audio_session: 9bb7f6c970f21241b19f5a3658097ae459681ba0
|
||||
bonsoir_darwin: 29c7ccf356646118844721f36e1de4b61f6cbd0e
|
||||
connectivity_plus: cb623214f4e1f6ef8fe7403d580fdad517d2f7dd
|
||||
device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe
|
||||
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
|
||||
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
|
||||
file_picker: 09aa5ec1ab24135ccd7a1621c46c84134bfd6655
|
||||
file_selector_ios: f0670c1064a8c8450e38145d8043160105d0b97c
|
||||
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
|
||||
flutter_broadcasts: 3ece15b27d8ccbe2132c3df303e7c3401feab882
|
||||
flutter_discord_rpc: e1c342f29ceb9dd76cdc01db59a70c93bb4d9ec5
|
||||
flutter_inappwebview_ios: 6f63631e2c62a7c350263b13fa5427aedefe81d4
|
||||
flutter_native_splash: e8a1e01082d97a8099d973f919f57904c925008a
|
||||
flutter_secure_storage: d33dac7ae2ea08509be337e775f6b59f1ff45f12
|
||||
flutter_sharing_intent: e35380d0e1501d7111dbb7e46d5ac6339da6da98
|
||||
home_widget: 0434835a4c9a75704264feff6be17ea40e0f0d57
|
||||
image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1
|
||||
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
|
||||
media_kit_libs_ios_audio: 8f39d96a9c630685dfb844c289bd1d114c486fb3
|
||||
media_kit_native_event_loop: 99111eded5acbdc9c2738021ea6550dd36ca8837
|
||||
metadata_god: 4bbd8523cdb5d42c5e59d2fabad01ff8f4bc53f9
|
||||
open_file_ios: 461db5853723763573e140de3193656f91990d9e
|
||||
file_picker: 9b3292d7c8bc68c8a7bf8eb78f730e49c8efc517
|
||||
file_selector_ios: f92e583d43608aebc2e4a18daac30b8902845502
|
||||
fk_user_agent: 137145b086229251761678fe034da53753f4ce59
|
||||
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
|
||||
flutter_broadcasts: 7bb7cc1024900a7f85e98b6faab795290b7c2339
|
||||
flutter_discord_rpc: 0572e8227ea730c5afe5876a37c08c728ce95f3a
|
||||
flutter_inappwebview_ios: b89ba3482b96fb25e00c967aae065701b66e9b99
|
||||
flutter_native_splash: c32d145d68aeda5502d5f543ee38c192065986cf
|
||||
flutter_secure_storage: 1ed9476fba7e7a782b22888f956cce43e2c62f13
|
||||
flutter_sharing_intent: afdc98985814d2c01d8c0956a177d6b6dfbdc373
|
||||
flutter_timezone: 7c838e17ffd4645d261e87037e5bebf6d38fe544
|
||||
home_widget: f169fc41fd807b4d46ab6615dc44d62adbf9f64f
|
||||
image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a
|
||||
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e
|
||||
irondash_engine_context: 8e58ca8e0212ee9d1c7dc6a42121849986c88486
|
||||
media_kit_libs_ios_audio: 905e6323b72e65c63ab9262b2e473f52c024a3a8
|
||||
metadata_god: 018b59c2f3617569928550dcbd17481591557c1d
|
||||
open_file_ios: 5ff7526df64e4394b4fe207636b67a95e83078bb
|
||||
OrderedSet: e539b66b644ff081c73a262d24ad552a69be3a94
|
||||
package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c
|
||||
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
|
||||
permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2
|
||||
package_info_plus: 580e9a5f1b6ca5594e7c9ed5f92d1dfb2a66b5e1
|
||||
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
|
||||
permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d
|
||||
SDWebImage: a81bbb3ba4ea5f810f4069c68727cb118467a04a
|
||||
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
|
||||
sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d
|
||||
sqlite3: 1e522f0938463e44b7faf50393b40bdc1e1e456d
|
||||
sqlite3_flutter_libs: 1b4e98da20ebd4e9b1240269b78cdcf492dbe9f3
|
||||
shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
|
||||
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
|
||||
sqlite3: 73513155ec6979715d3904ef53a8d68892d4032b
|
||||
sqlite3_flutter_libs: 83f8e9f5b6554077f1d93119fe20ebaa5f3a9ef1
|
||||
super_native_extensions: b763c02dc3a8fd078389f410bf15149179020cb4
|
||||
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
|
||||
system_theme: bfc1b0913d08f38d8c6bbe94b202a58df599d9f7
|
||||
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
|
||||
system_theme: a94f91f49eeb97cfa768c7d5a9b2f6aa51b00494
|
||||
url_launcher_ios: 694010445543906933d732453a59da0a173ae33d
|
||||
|
||||
PODFILE CHECKSUM: 0659b64ac6e9e96b61d8550decffa8bff51a957e
|
||||
|
||||
|
@ -13,7 +13,7 @@ class BackButton extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return IconButton.ghost(
|
||||
size: const ButtonSize(.9),
|
||||
size: const ButtonSize(1.2),
|
||||
icon: Icon(icon, color: color),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
);
|
||||
|
@ -9,7 +9,7 @@
|
||||
"genre": "Genre",
|
||||
"personalized": "Gepersonaliseerd",
|
||||
"featured": "Aanbevolen",
|
||||
"new_releases": "Nieuwe uitgaves",
|
||||
"new_releases": "Nieuwe uitgaven",
|
||||
"songs": "Liedjes",
|
||||
"playing_track": "{track} afspelen",
|
||||
"queue_clear_alert": "Dit zal de huidige wachtrij wissen. {track_length} nummers worden verwijderd\nWil je doorgaan?",
|
||||
@ -41,14 +41,15 @@
|
||||
"sort_z_a": "Sorteren op Z-A",
|
||||
"sort_artist": "Sorteren op artiest",
|
||||
"sort_album": "Sorteren op album",
|
||||
"sort_duration": "Sorteren op lengte",
|
||||
"sort_tracks": "Nummers sorteren",
|
||||
"currently_downloading": "Momenteel aan het downloaden ({tracks_length})",
|
||||
"cancel_all": "Alle annuleren",
|
||||
"cancel_all": "Alles annuleren",
|
||||
"filter_artist": "Artiesten filteren…",
|
||||
"followers": "{followers} volgers",
|
||||
"add_artist_to_blacklist": "Artiest toevoegen aan zwarte lijst",
|
||||
"top_tracks": "Topsporen",
|
||||
"fans_also_like": "Liefhebbers willen ook",
|
||||
"top_tracks": "Topnummers",
|
||||
"fans_also_like": "Fans luisteren ook",
|
||||
"loading": "Laden…",
|
||||
"artist": "Artiest",
|
||||
"blacklisted": "Zwarte lijst",
|
||||
@ -89,8 +90,8 @@
|
||||
"share": "Delen",
|
||||
"mini_player": "Minispeler",
|
||||
"slide_to_seek": "Schuiven om vooruit of achteruit te zoeken",
|
||||
"shuffle_playlist": "Afspeellijst schuifelen",
|
||||
"unshuffle_playlist": "Afspeellijst onschuifelen",
|
||||
"shuffle_playlist": "Afspeellijst willekeurig",
|
||||
"unshuffle_playlist": "Afspeellijst op volgorde",
|
||||
"previous_track": "Vorige nummer",
|
||||
"next_track": "Volgende nummer",
|
||||
"pause_playback": "Afspelen pauzeren",
|
||||
@ -98,7 +99,7 @@
|
||||
"loop_track": "Nummer herhalen",
|
||||
"repeat_playlist": "Afspeellijst herhalen",
|
||||
"queue": "Wachtrij",
|
||||
"alternative_track_sources": "Alternatieve nummerbronnen",
|
||||
"alternative_track_sources": "Alternatieve bronnen voor nummers",
|
||||
"download_track": "Nummer downloaden",
|
||||
"tracks_in_queue": "{tracks} nummers in wachtrij",
|
||||
"clear_all": "Alles wissen",
|
||||
@ -240,8 +241,8 @@
|
||||
"views": "Weergaven",
|
||||
"streamUrl": "Stream-URL",
|
||||
"stop": "Stoppen",
|
||||
"sort_newest": "Sorteren op nieuwste toegevoegd",
|
||||
"sort_oldest": "Sorteren op oudste toegevoegd",
|
||||
"sort_newest": "Sorteren op recent toegevoegd",
|
||||
"sort_oldest": "Sorteren op langst toegevoegd",
|
||||
"sleep_timer": "Slaaptimer",
|
||||
"mins": "{minutes} minuten",
|
||||
"hours": "{hours} uren",
|
||||
@ -287,34 +288,32 @@
|
||||
"explore_genres": "Genres verkennen",
|
||||
"friends": "Vrienden",
|
||||
"no_lyrics_available": "Sorry, geen teksten gevonden voor dit nummer",
|
||||
"sort_duration": "Sorteer op Duur",
|
||||
"audio_source": "Audiobron",
|
||||
"start_a_radio": "Start een Radio",
|
||||
"how_to_start_radio": "Hoe wilt u de radio starten?",
|
||||
"replace_queue_question": "Wilt u de huidige wachtrij vervangen of eraan toevoegen?",
|
||||
"endless_playback": "Eindeloze Afspelen",
|
||||
"delete_playlist": "Verwijder Afspeellijst",
|
||||
"delete_playlist_confirmation": "Weet u zeker dat u deze afspeellijst wilt verwijderen?",
|
||||
"local_tracks": "Lokale Nummers",
|
||||
"song_link": "Nummer Link",
|
||||
"skip_this_nonsense": "Sla deze onzin over",
|
||||
"freedom_of_music": "“Vrijheid van Muziek”",
|
||||
"freedom_of_music_palm": "“Vrijheid van Muziek in de palm van je hand”",
|
||||
"start_a_radio": "Een radio starten",
|
||||
"how_to_start_radio": "Hoe wil je de radio starten?",
|
||||
"replace_queue_question": "Wil je de huidige wachtrij vervangen of eraan toevoegen?",
|
||||
"endless_playback": "Oneindig afspelen",
|
||||
"delete_playlist": "Afspeellijst verwijderen",
|
||||
"delete_playlist_confirmation": "Weet je zeker dat je deze afspeellijst wilt verwijderen?",
|
||||
"local_tracks": "Lokale nummers",
|
||||
"song_link": "Song-link",
|
||||
"skip_this_nonsense": "Deze onzin overslaan",
|
||||
"freedom_of_music": "“Vrijheid van muziek”",
|
||||
"freedom_of_music_palm": "“Vrijheid van muziek in je hand”",
|
||||
"get_started": "Laten we beginnen",
|
||||
"youtube_source_description": "Aanbevolen en werkt het beste.",
|
||||
"piped_source_description": "Voel je vrij? Hetzelfde als YouTube maar veel gratis.",
|
||||
"jiosaavn_source_description": "Het beste voor de Zuid-Aziatische regio.",
|
||||
"highest_quality": "Hoogste Kwaliteit: {quality}",
|
||||
"select_audio_source": "Selecteer Audiobron",
|
||||
"endless_playback_description": "Voeg automatisch nieuwe nummers toe aan het einde van de wachtrij",
|
||||
"choose_your_region": "Kies uw regio",
|
||||
"choose_your_region_description": "Dit zal Spotube helpen om de juiste inhoud voor uw locatie te tonen.",
|
||||
"choose_your_language": "Kies uw taal",
|
||||
"help_project_grow": "Help dit project groeien",
|
||||
"help_project_grow_description": "Spotube is een open-source project. U kunt dit project helpen groeien door bij te dragen aan het project, bugs te melden of nieuwe functies voor te stellen.",
|
||||
"contribute_on_github": "Bijdragen op GitHub",
|
||||
"donate_on_open_collective": "Doneren op Open Collective",
|
||||
"browse_anonymously": "Anoniem Bladeren",
|
||||
"youtube_source_description": "Aangeraden en werkt het best.",
|
||||
"piped_source_description": "Voel je je vrij? Net als YouTube, maar meer vrij.",
|
||||
"jiosaavn_source_description": "Het beste voor de regio Zuid-Azië.",
|
||||
"highest_quality": "Hoogste kwaliteit: {quality}",
|
||||
"select_audio_source": "Audiobron kiezen",
|
||||
"endless_playback_description": "Nieuwe nummers automatisch achteraan de wachtrij toevoegen",
|
||||
"choose_your_region": "Kies je regio",
|
||||
"choose_your_region_description": "Dit helpt Spotube om de juiste inhoud\nvoor jouw locatie te tonen.",
|
||||
"choose_your_language": "Kies je taal",
|
||||
"help_project_grow": "Help dit project met groeien",
|
||||
"help_project_grow_description": "Spotube is een open-source project. Je kunt dit project helpen groeien door eraan bij te dragen, problemen te melden of nieuwe functies voor te stellen.",
|
||||
"contribute_on_github": "Bijdragen on GitHub",
|
||||
"donate_on_open_collective": "Doneren on Open Collective",
|
||||
"browse_anonymously": "Anoniem browsen",
|
||||
"enable_connect": "Verbinding inschakelen",
|
||||
"enable_connect_description": "Spotube bedienen vanaf andere apparaten",
|
||||
"devices": "Apparaten",
|
||||
|
@ -39,7 +39,7 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String get featured => 'Aanbevolen';
|
||||
|
||||
@override
|
||||
String get new_releases => 'Nieuwe uitgaves';
|
||||
String get new_releases => 'Nieuwe uitgaven';
|
||||
|
||||
@override
|
||||
String get songs => 'Liedjes';
|
||||
@ -139,7 +139,7 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String get sort_album => 'Sorteren op album';
|
||||
|
||||
@override
|
||||
String get sort_duration => 'Sorteer op Duur';
|
||||
String get sort_duration => 'Sorteren op lengte';
|
||||
|
||||
@override
|
||||
String get sort_tracks => 'Nummers sorteren';
|
||||
@ -150,7 +150,7 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
}
|
||||
|
||||
@override
|
||||
String get cancel_all => 'Alle annuleren';
|
||||
String get cancel_all => 'Alles annuleren';
|
||||
|
||||
@override
|
||||
String get filter_artist => 'Artiesten filteren…';
|
||||
@ -164,10 +164,10 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String get add_artist_to_blacklist => 'Artiest toevoegen aan zwarte lijst';
|
||||
|
||||
@override
|
||||
String get top_tracks => 'Topsporen';
|
||||
String get top_tracks => 'Topnummers';
|
||||
|
||||
@override
|
||||
String get fans_also_like => 'Liefhebbers willen ook';
|
||||
String get fans_also_like => 'Fans luisteren ook';
|
||||
|
||||
@override
|
||||
String get loading => 'Laden…';
|
||||
@ -312,10 +312,10 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String get slide_to_seek => 'Schuiven om vooruit of achteruit te zoeken';
|
||||
|
||||
@override
|
||||
String get shuffle_playlist => 'Afspeellijst schuifelen';
|
||||
String get shuffle_playlist => 'Afspeellijst willekeurig';
|
||||
|
||||
@override
|
||||
String get unshuffle_playlist => 'Afspeellijst onschuifelen';
|
||||
String get unshuffle_playlist => 'Afspeellijst op volgorde';
|
||||
|
||||
@override
|
||||
String get previous_track => 'Vorige nummer';
|
||||
@ -342,7 +342,7 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String get queue => 'Wachtrij';
|
||||
|
||||
@override
|
||||
String get alternative_track_sources => 'Alternatieve nummerbronnen';
|
||||
String get alternative_track_sources => 'Alternatieve bronnen voor nummers';
|
||||
|
||||
@override
|
||||
String get download_track => 'Nummer downloaden';
|
||||
@ -776,10 +776,10 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String get stop => 'Stoppen';
|
||||
|
||||
@override
|
||||
String get sort_newest => 'Sorteren op nieuwste toegevoegd';
|
||||
String get sort_newest => 'Sorteren op recent toegevoegd';
|
||||
|
||||
@override
|
||||
String get sort_oldest => 'Sorteren op oudste toegevoegd';
|
||||
String get sort_oldest => 'Sorteren op langst toegevoegd';
|
||||
|
||||
@override
|
||||
String get sleep_timer => 'Slaaptimer';
|
||||
@ -815,7 +815,7 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
String get search_mode => 'Zoekmodus';
|
||||
|
||||
@override
|
||||
String get audio_source => 'Audiobron';
|
||||
String get audio_source => 'Audio Source';
|
||||
|
||||
@override
|
||||
String get ok => 'Oké';
|
||||
@ -927,57 +927,56 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
'Sorry, geen teksten gevonden voor dit nummer';
|
||||
|
||||
@override
|
||||
String get start_a_radio => 'Start een Radio';
|
||||
String get start_a_radio => 'Een radio starten';
|
||||
|
||||
@override
|
||||
String get how_to_start_radio => 'Hoe wilt u de radio starten?';
|
||||
String get how_to_start_radio => 'Hoe wil je de radio starten?';
|
||||
|
||||
@override
|
||||
String get replace_queue_question =>
|
||||
'Wilt u de huidige wachtrij vervangen of eraan toevoegen?';
|
||||
'Wil je de huidige wachtrij vervangen of eraan toevoegen?';
|
||||
|
||||
@override
|
||||
String get endless_playback => 'Eindeloze Afspelen';
|
||||
String get endless_playback => 'Oneindig afspelen';
|
||||
|
||||
@override
|
||||
String get delete_playlist => 'Verwijder Afspeellijst';
|
||||
String get delete_playlist => 'Afspeellijst verwijderen';
|
||||
|
||||
@override
|
||||
String get delete_playlist_confirmation =>
|
||||
'Weet u zeker dat u deze afspeellijst wilt verwijderen?';
|
||||
'Weet je zeker dat je deze afspeellijst wilt verwijderen?';
|
||||
|
||||
@override
|
||||
String get local_tracks => 'Lokale Nummers';
|
||||
String get local_tracks => 'Lokale nummers';
|
||||
|
||||
@override
|
||||
String get local_tab => 'Lokaal';
|
||||
|
||||
@override
|
||||
String get song_link => 'Nummer Link';
|
||||
String get song_link => 'Song-link';
|
||||
|
||||
@override
|
||||
String get skip_this_nonsense => 'Sla deze onzin over';
|
||||
String get skip_this_nonsense => 'Deze onzin overslaan';
|
||||
|
||||
@override
|
||||
String get freedom_of_music => '“Vrijheid van Muziek”';
|
||||
String get freedom_of_music => '“Vrijheid van muziek”';
|
||||
|
||||
@override
|
||||
String get freedom_of_music_palm =>
|
||||
'“Vrijheid van Muziek in de palm van je hand”';
|
||||
String get freedom_of_music_palm => '“Vrijheid van muziek in je hand”';
|
||||
|
||||
@override
|
||||
String get get_started => 'Laten we beginnen';
|
||||
|
||||
@override
|
||||
String get youtube_source_description => 'Aanbevolen en werkt het beste.';
|
||||
String get youtube_source_description => 'Aangeraden en werkt het best.';
|
||||
|
||||
@override
|
||||
String get piped_source_description =>
|
||||
'Voel je vrij? Hetzelfde als YouTube maar veel gratis.';
|
||||
'Voel je je vrij? Net als YouTube, maar meer vrij.';
|
||||
|
||||
@override
|
||||
String get jiosaavn_source_description =>
|
||||
'Het beste voor de Zuid-Aziatische regio.';
|
||||
'Het beste voor de regio Zuid-Azië.';
|
||||
|
||||
@override
|
||||
String get invidious_source_description =>
|
||||
@ -985,41 +984,41 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String highest_quality(Object quality) {
|
||||
return 'Hoogste Kwaliteit: $quality';
|
||||
return 'Hoogste kwaliteit: $quality';
|
||||
}
|
||||
|
||||
@override
|
||||
String get select_audio_source => 'Selecteer Audiobron';
|
||||
String get select_audio_source => 'Audiobron kiezen';
|
||||
|
||||
@override
|
||||
String get endless_playback_description =>
|
||||
'Voeg automatisch nieuwe nummers toe aan het einde van de wachtrij';
|
||||
'Nieuwe nummers automatisch achteraan de wachtrij toevoegen';
|
||||
|
||||
@override
|
||||
String get choose_your_region => 'Kies uw regio';
|
||||
String get choose_your_region => 'Kies je regio';
|
||||
|
||||
@override
|
||||
String get choose_your_region_description =>
|
||||
'Dit zal Spotube helpen om de juiste inhoud voor uw locatie te tonen.';
|
||||
'Dit helpt Spotube om de juiste inhoud\nvoor jouw locatie te tonen.';
|
||||
|
||||
@override
|
||||
String get choose_your_language => 'Kies uw taal';
|
||||
String get choose_your_language => 'Kies je taal';
|
||||
|
||||
@override
|
||||
String get help_project_grow => 'Help dit project groeien';
|
||||
String get help_project_grow => 'Help dit project met groeien';
|
||||
|
||||
@override
|
||||
String get help_project_grow_description =>
|
||||
'Spotube is een open-source project. U kunt dit project helpen groeien door bij te dragen aan het project, bugs te melden of nieuwe functies voor te stellen.';
|
||||
'Spotube is een open-source project. Je kunt dit project helpen groeien door eraan bij te dragen, problemen te melden of nieuwe functies voor te stellen.';
|
||||
|
||||
@override
|
||||
String get contribute_on_github => 'Bijdragen op GitHub';
|
||||
String get contribute_on_github => 'Bijdragen on GitHub';
|
||||
|
||||
@override
|
||||
String get donate_on_open_collective => 'Doneren op Open Collective';
|
||||
String get donate_on_open_collective => 'Doneren on Open Collective';
|
||||
|
||||
@override
|
||||
String get browse_anonymously => 'Anoniem Bladeren';
|
||||
String get browse_anonymously => 'Anoniem browsen';
|
||||
|
||||
@override
|
||||
String get enable_connect => 'Verbinding inschakelen';
|
||||
|
@ -217,7 +217,7 @@ class Spotube extends HookConsumerWidget {
|
||||
iconTheme: const IconThemeProperties(),
|
||||
colorScheme:
|
||||
colorSchemeMap[accentMaterialColor.name]?.call(ThemeMode.light) ??
|
||||
LegacyColorSchemes.lightOrange(),
|
||||
LegacyColorSchemes.lightSlate(),
|
||||
surfaceOpacity: .8,
|
||||
surfaceBlur: 10,
|
||||
),
|
||||
@ -226,7 +226,7 @@ class Spotube extends HookConsumerWidget {
|
||||
iconTheme: const IconThemeProperties(),
|
||||
colorScheme:
|
||||
colorSchemeMap[accentMaterialColor.name]?.call(ThemeMode.dark) ??
|
||||
LegacyColorSchemes.darkOrange(),
|
||||
LegacyColorSchemes.darkSlate(),
|
||||
surfaceOpacity: .8,
|
||||
surfaceBlur: 10,
|
||||
),
|
||||
|
@ -102,7 +102,7 @@ class AppDatabase extends _$AppDatabase {
|
||||
);
|
||||
await customStatement(
|
||||
"ALTER TABLE $tableName "
|
||||
"ADD COLUMN $columnName TEXT NOT NULL DEFAULT 'Orange:0xFFf97315'",
|
||||
"ADD COLUMN $columnName TEXT NOT NULL DEFAULT 'Slate:0xff64748b'",
|
||||
);
|
||||
await customStatement(
|
||||
"UPDATE $tableName "
|
||||
@ -114,7 +114,7 @@ class AppDatabase extends _$AppDatabase {
|
||||
);
|
||||
await customStatement(
|
||||
"UPDATE $tableName "
|
||||
"SET $columnName = 'Orange:0xFFf97315' WHERE $columnName = 'Blue:0xFF2196F3'",
|
||||
"SET $columnName = 'Slate:0xff64748b' WHERE $columnName = 'Blue:0xFF2196F3'",
|
||||
);
|
||||
},
|
||||
from5To6: (m, schema) async {
|
||||
|
@ -666,7 +666,7 @@ class $PreferencesTableTable extends PreferencesTable
|
||||
'accent_color_scheme', aliasedName, false,
|
||||
type: DriftSqlType.string,
|
||||
requiredDuringInsert: false,
|
||||
defaultValue: const Constant("Orange:0xFFf97315"))
|
||||
defaultValue: const Constant("Slate:0xff64748b"))
|
||||
.withConverter<SpotubeColor>(
|
||||
$PreferencesTableTable.$converteraccentColorScheme);
|
||||
static const VerificationMeta _layoutModeMeta =
|
||||
|
@ -1407,7 +1407,7 @@ final class Schema5 extends i0.VersionedSchema {
|
||||
i1.GeneratedColumn<String> _column_55(String aliasedName) =>
|
||||
i1.GeneratedColumn<String>('accent_color_scheme', aliasedName, false,
|
||||
type: i1.DriftSqlType.string,
|
||||
defaultValue: const Constant("Orange:0xFFf97315"));
|
||||
defaultValue: const Constant("Slate:0xff64748b"));
|
||||
|
||||
final class Schema6 extends i0.VersionedSchema {
|
||||
Schema6({required super.database}) : super(version: 6);
|
||||
|
@ -79,7 +79,7 @@ class PreferencesTable extends Table {
|
||||
TextColumn get closeBehavior => textEnum<CloseBehavior>()
|
||||
.withDefault(Constant(CloseBehavior.close.name))();
|
||||
TextColumn get accentColorScheme => text()
|
||||
.withDefault(const Constant("Orange:0xFFf97315"))
|
||||
.withDefault(const Constant("Slate:0xff64748b"))
|
||||
.map(const SpotubeColorConverter())();
|
||||
TextColumn get layoutMode =>
|
||||
textEnum<LayoutMode>().withDefault(Constant(LayoutMode.adaptive.name))();
|
||||
@ -131,7 +131,7 @@ class PreferencesTable extends Table {
|
||||
systemTitleBar: false,
|
||||
skipNonMusic: false,
|
||||
closeBehavior: CloseBehavior.close,
|
||||
accentColorScheme: SpotubeColor(Colors.orange.value, name: "Orange"),
|
||||
accentColorScheme: SpotubeColor(Colors.slate.value, name: "Slate"),
|
||||
layoutMode: LayoutMode.adaptive,
|
||||
locale: const Locale("system", "system"),
|
||||
market: Market.US,
|
||||
|
@ -21,7 +21,6 @@ import 'package:spotube/extensions/constrains.dart';
|
||||
import 'package:spotube/extensions/context.dart';
|
||||
import 'package:spotube/modules/root/spotube_navigation_bar.dart';
|
||||
import 'package:spotube/provider/audio_player/audio_player.dart';
|
||||
import 'package:spotube/provider/metadata_plugin/core/auth.dart';
|
||||
import 'package:spotube/provider/server/active_track_sources.dart';
|
||||
import 'package:spotube/provider/volume_provider.dart';
|
||||
import 'package:spotube/services/sourced_track/sources/youtube.dart';
|
||||
@ -40,7 +39,6 @@ class PlayerView extends HookConsumerWidget {
|
||||
@override
|
||||
Widget build(BuildContext context, ref) {
|
||||
final theme = Theme.of(context);
|
||||
final authenticated = ref.watch(metadataPluginAuthenticatedProvider);
|
||||
final sourcedCurrentTrack = ref.watch(activeTrackSourcesProvider);
|
||||
final currentActiveTrack =
|
||||
ref.watch(audioPlayerProvider.select((s) => s.activeTrack));
|
||||
@ -105,13 +103,15 @@ class PlayerView extends HookConsumerWidget {
|
||||
surfaceBlur: 0,
|
||||
leading: [
|
||||
IconButton.ghost(
|
||||
icon: const Icon(SpotubeIcons.angleDown, size: 18),
|
||||
size: const ButtonSize(1.2),
|
||||
icon: const Icon(SpotubeIcons.angleDown),
|
||||
onPressed: panelController.close,
|
||||
)
|
||||
],
|
||||
trailing: [
|
||||
if (currentActiveTrackSource is YoutubeSourcedTrack)
|
||||
TextButton(
|
||||
size: const ButtonSize(1.2),
|
||||
leading: Assets.images.logos.songlinkTransparent.image(
|
||||
width: 20,
|
||||
height: 20,
|
||||
@ -131,7 +131,8 @@ class PlayerView extends HookConsumerWidget {
|
||||
child: Text(context.l10n.details),
|
||||
).call,
|
||||
child: IconButton.ghost(
|
||||
icon: const Icon(SpotubeIcons.info, size: 18),
|
||||
size: const ButtonSize(1.2),
|
||||
icon: const Icon(SpotubeIcons.info),
|
||||
onPressed: currentActiveTrackSource == null
|
||||
? null
|
||||
: () {
|
||||
@ -239,18 +240,16 @@ class PlayerView extends HookConsumerWidget {
|
||||
},
|
||||
),
|
||||
),
|
||||
if (authenticated.asData?.value == true)
|
||||
const SizedBox(width: 10),
|
||||
if (authenticated.asData?.value == true)
|
||||
Expanded(
|
||||
child: OutlineButton(
|
||||
leading: const Icon(SpotubeIcons.music),
|
||||
child: Text(context.l10n.lyrics),
|
||||
onPressed: () {
|
||||
context.pushRoute(const PlayerLyricsRoute());
|
||||
},
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
Expanded(
|
||||
child: OutlineButton(
|
||||
leading: const Icon(SpotubeIcons.music),
|
||||
child: Text(context.l10n.lyrics),
|
||||
onPressed: () {
|
||||
context.pushRoute(const PlayerLyricsRoute());
|
||||
},
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
],
|
||||
),
|
||||
|
@ -3,7 +3,7 @@ import 'package:flutter_hooks/flutter_hooks.dart';
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
import 'package:media_kit/media_kit.dart';
|
||||
import 'package:palette_generator/palette_generator.dart';
|
||||
import 'package:shadcn_flutter/shadcn_flutter.dart' hide Consumer;
|
||||
import 'package:shadcn_flutter/shadcn_flutter.dart';
|
||||
|
||||
import 'package:spotube/collections/spotube_icons.dart';
|
||||
import 'package:spotube/collections/intents.dart';
|
||||
@ -14,6 +14,7 @@ import 'package:spotube/modules/player/use_progress.dart';
|
||||
import 'package:spotube/provider/audio_player/audio_player.dart';
|
||||
import 'package:spotube/provider/audio_player/querying_track_info.dart';
|
||||
import 'package:spotube/services/audio_player/audio_player.dart';
|
||||
import 'package:spotube/utils/platform.dart';
|
||||
|
||||
class PlayerControls extends HookConsumerWidget {
|
||||
final PaletteGenerator? palette;
|
||||
@ -48,6 +49,9 @@ class PlayerControls extends HookConsumerWidget {
|
||||
useStream(audioPlayer.playingStream).data ?? audioPlayer.isPlaying;
|
||||
final theme = Theme.of(context);
|
||||
|
||||
final buttonSize =
|
||||
kIsMobile ? const ButtonSize(1.5) : const ButtonSize(1.2);
|
||||
|
||||
return GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () {
|
||||
@ -149,9 +153,11 @@ class PlayerControls extends HookConsumerWidget {
|
||||
),
|
||||
).call,
|
||||
child: IconButton(
|
||||
size: buttonSize,
|
||||
icon: Icon(
|
||||
SpotubeIcons.shuffle,
|
||||
color: shuffled ? theme.colorScheme.primary : null,
|
||||
size: 22,
|
||||
),
|
||||
variance: shuffled
|
||||
? ButtonVariance.secondary
|
||||
@ -170,8 +176,10 @@ class PlayerControls extends HookConsumerWidget {
|
||||
}),
|
||||
Tooltip(
|
||||
tooltip: TooltipContainer(
|
||||
child: Text(context.l10n.previous_track)).call,
|
||||
child: Text(context.l10n.previous_track),
|
||||
).call,
|
||||
child: IconButton.ghost(
|
||||
size: buttonSize,
|
||||
enabled: !isFetchingActiveTrack,
|
||||
icon: const Icon(SpotubeIcons.skipBack),
|
||||
onPressed: audioPlayer.skipToPrevious,
|
||||
@ -186,6 +194,7 @@ class PlayerControls extends HookConsumerWidget {
|
||||
),
|
||||
).call,
|
||||
child: IconButton.primary(
|
||||
size: buttonSize,
|
||||
shape: ButtonShape.circle,
|
||||
icon: isFetchingActiveTrack
|
||||
? const SizedBox(
|
||||
@ -206,8 +215,10 @@ class PlayerControls extends HookConsumerWidget {
|
||||
),
|
||||
Tooltip(
|
||||
tooltip:
|
||||
TooltipContainer(child: Text(context.l10n.next_track)).call,
|
||||
TooltipContainer(child: Text(context.l10n.next_track))
|
||||
.call,
|
||||
child: IconButton.ghost(
|
||||
size: buttonSize,
|
||||
icon: const Icon(SpotubeIcons.skipForward),
|
||||
onPressed:
|
||||
isFetchingActiveTrack ? null : audioPlayer.skipToNext,
|
||||
@ -228,6 +239,7 @@ class PlayerControls extends HookConsumerWidget {
|
||||
),
|
||||
).call,
|
||||
child: IconButton(
|
||||
size: buttonSize,
|
||||
icon: Icon(
|
||||
loopMode == PlaylistMode.single
|
||||
? SpotubeIcons.repeatOne
|
||||
|
@ -47,10 +47,8 @@ class PlayerTrackDetails extends HookConsumerWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const SizedBox(height: 4),
|
||||
LinkText(
|
||||
Text(
|
||||
playback.activeTrack?.name ?? "",
|
||||
TrackRoute(trackId: playback.activeTrack?.id ?? ""),
|
||||
push: true,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: theme.typography.normal.copyWith(
|
||||
color: color,
|
||||
|
@ -3,7 +3,6 @@ import 'package:flutter_hooks/flutter_hooks.dart';
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
import 'package:shadcn_flutter/shadcn_flutter.dart';
|
||||
|
||||
import 'package:spotube/collections/assets.gen.dart';
|
||||
import 'package:spotube/collections/side_bar_tiles.dart';
|
||||
import 'package:spotube/models/database/database.dart';
|
||||
import 'package:spotube/extensions/constrains.dart';
|
||||
@ -20,19 +19,6 @@ class Sidebar extends HookConsumerWidget {
|
||||
super.key,
|
||||
});
|
||||
|
||||
static Widget brandLogo(BuildContext context) {
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.black,
|
||||
borderRadius: BorderRadius.circular(50),
|
||||
),
|
||||
child: Assets.branding.spotubeLogoPng.image(
|
||||
height: 50,
|
||||
cacheHeight: (100 * MediaQuery.devicePixelRatioOf(context)).toInt(),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final ThemeData(:colorScheme) = Theme.of(context);
|
||||
|
@ -3,8 +3,6 @@ import 'package:flutter_hooks/flutter_hooks.dart';
|
||||
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
import 'package:shadcn_flutter/shadcn_flutter.dart';
|
||||
import 'package:shadcn_flutter/shadcn_flutter_extension.dart';
|
||||
import 'package:spotube/collections/assets.gen.dart';
|
||||
import 'package:spotube/collections/routes.gr.dart';
|
||||
import 'package:spotube/collections/spotube_icons.dart';
|
||||
import 'package:spotube/models/database/database.dart';
|
||||
@ -43,19 +41,17 @@ class HomePage extends HookConsumerWidget {
|
||||
if (mediaQuery.smAndDown || layoutMode == LayoutMode.compact)
|
||||
SliverAppBar(
|
||||
floating: true,
|
||||
title: Image.asset(
|
||||
theme.brightness == Brightness.dark
|
||||
? Assets.branding.spotubeLogoPng.path
|
||||
: Assets.branding.spotubeLogoLight.path,
|
||||
height: 45,
|
||||
width: 45,
|
||||
color: theme.colorScheme.background,
|
||||
colorBlendMode: BlendMode.saturation,
|
||||
cacheHeight:
|
||||
(100 * MediaQuery.devicePixelRatioOf(context)).toInt(),
|
||||
title: DefaultTextStyle(
|
||||
style: TextStyle(
|
||||
fontFamily: "Cookie",
|
||||
fontSize: 30,
|
||||
letterSpacing: 1.8,
|
||||
color: theme.colorScheme.foreground,
|
||||
),
|
||||
child: const Text("Spotube"),
|
||||
),
|
||||
backgroundColor: context.theme.colorScheme.background,
|
||||
foregroundColor: context.theme.colorScheme.foreground,
|
||||
backgroundColor: theme.colorScheme.background,
|
||||
foregroundColor: theme.colorScheme.foreground,
|
||||
actions: [
|
||||
const ConnectDeviceButton(),
|
||||
const Gap(10),
|
||||
|
@ -18,8 +18,6 @@ import 'package:spotube/provider/lyrics/synced.dart';
|
||||
import 'package:spotube/services/audio_player/audio_player.dart';
|
||||
import 'package:spotube/services/logger/logger.dart';
|
||||
|
||||
import 'package:stroke_text/stroke_text.dart';
|
||||
|
||||
class SyncedLyrics extends HookConsumerWidget {
|
||||
final PaletteColor palette;
|
||||
final bool? isModal;
|
||||
@ -160,6 +158,9 @@ class SyncedLyrics extends HookConsumerWidget {
|
||||
child: AnimatedDefaultTextStyle(
|
||||
duration: const Duration(milliseconds: 250),
|
||||
style: TextStyle(
|
||||
color: isActive
|
||||
? theme.colorScheme.foreground
|
||||
: theme.colorScheme.mutedForeground,
|
||||
fontWeight: isActive
|
||||
? FontWeight.w500
|
||||
: FontWeight.normal,
|
||||
@ -181,25 +182,7 @@ class SyncedLyrics extends HookConsumerWidget {
|
||||
}
|
||||
audioPlayer.seek(time);
|
||||
},
|
||||
child: Builder(builder: (context) {
|
||||
return StrokeText(
|
||||
text: lyricSlice.text,
|
||||
textStyle:
|
||||
DefaultTextStyle.of(context).style,
|
||||
textColor: switch ((
|
||||
isActive,
|
||||
isModal == true
|
||||
)) {
|
||||
(true, _) => Colors.white,
|
||||
(_, true) =>
|
||||
theme.colorScheme.mutedForeground,
|
||||
(_, _) => palette.bodyTextColor,
|
||||
},
|
||||
strokeColor: isActive
|
||||
? Colors.black
|
||||
: Colors.transparent,
|
||||
);
|
||||
}),
|
||||
child: Text(lyricSlice.text),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -28,20 +28,18 @@ class PlayerLyricsPage extends HookConsumerWidget {
|
||||
final selectedIndex = useState(0);
|
||||
final palette = usePaletteColor(albumArt, ref);
|
||||
|
||||
final tabbar = Padding(
|
||||
padding: const EdgeInsets.all(10),
|
||||
child: TabList(
|
||||
index: selectedIndex.value,
|
||||
onChanged: (index) => selectedIndex.value = index,
|
||||
children: [
|
||||
TabItem(
|
||||
child: Text(context.l10n.synced),
|
||||
),
|
||||
TabItem(
|
||||
child: Text(context.l10n.plain),
|
||||
),
|
||||
],
|
||||
));
|
||||
final tabbar = TabList(
|
||||
index: selectedIndex.value,
|
||||
onChanged: (index) => selectedIndex.value = index,
|
||||
children: [
|
||||
TabItem(
|
||||
child: Text(context.l10n.synced),
|
||||
),
|
||||
TabItem(
|
||||
child: Text(context.l10n.plain),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
return Scaffold(
|
||||
headers: [
|
||||
|
@ -1,7 +1,8 @@
|
||||
PODS:
|
||||
- app_links (1.0.0):
|
||||
- app_links (6.4.1):
|
||||
- FlutterMacOS
|
||||
- audio_service (0.14.1):
|
||||
- audio_service (0.0.1):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- audio_session (0.0.1):
|
||||
- FlutterMacOS
|
||||
@ -9,7 +10,6 @@ PODS:
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- connectivity_plus (0.0.1):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- desktop_webview_window (0.0.1):
|
||||
- FlutterMacOS
|
||||
@ -33,8 +33,6 @@ PODS:
|
||||
- FlutterMacOS
|
||||
- media_kit_libs_macos_audio (1.0.4):
|
||||
- FlutterMacOS
|
||||
- media_kit_native_event_loop (1.0.0):
|
||||
- FlutterMacOS
|
||||
- metadata_god (0.0.1):
|
||||
- FlutterMacOS
|
||||
- open_file_mac (0.0.1):
|
||||
@ -53,25 +51,31 @@ PODS:
|
||||
- sqflite_darwin (0.0.4):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- sqlite3 (3.47.2):
|
||||
- sqlite3/common (= 3.47.2)
|
||||
- sqlite3/common (3.47.2)
|
||||
- sqlite3/dbstatvtab (3.47.2):
|
||||
- sqlite3 (3.50.4):
|
||||
- sqlite3/common (= 3.50.4)
|
||||
- sqlite3/common (3.50.4)
|
||||
- sqlite3/dbstatvtab (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3/fts5 (3.47.2):
|
||||
- sqlite3/fts5 (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3/perf-threadsafe (3.47.2):
|
||||
- sqlite3/math (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3/rtree (3.47.2):
|
||||
- sqlite3/perf-threadsafe (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3/rtree (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3/session (3.50.4):
|
||||
- sqlite3/common
|
||||
- sqlite3_flutter_libs (0.0.1):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- sqlite3 (~> 3.47.1)
|
||||
- sqlite3 (~> 3.50.4)
|
||||
- sqlite3/dbstatvtab
|
||||
- sqlite3/fts5
|
||||
- sqlite3/math
|
||||
- sqlite3/perf-threadsafe
|
||||
- sqlite3/rtree
|
||||
- sqlite3/session
|
||||
- super_native_extensions (0.0.1):
|
||||
- FlutterMacOS
|
||||
- system_theme (0.0.1):
|
||||
@ -85,10 +89,10 @@ PODS:
|
||||
|
||||
DEPENDENCIES:
|
||||
- app_links (from `Flutter/ephemeral/.symlinks/plugins/app_links/macos`)
|
||||
- audio_service (from `Flutter/ephemeral/.symlinks/plugins/audio_service/macos`)
|
||||
- audio_service (from `Flutter/ephemeral/.symlinks/plugins/audio_service/darwin`)
|
||||
- audio_session (from `Flutter/ephemeral/.symlinks/plugins/audio_session/macos`)
|
||||
- bonsoir_darwin (from `Flutter/ephemeral/.symlinks/plugins/bonsoir_darwin/darwin`)
|
||||
- connectivity_plus (from `Flutter/ephemeral/.symlinks/plugins/connectivity_plus/darwin`)
|
||||
- connectivity_plus (from `Flutter/ephemeral/.symlinks/plugins/connectivity_plus/macos`)
|
||||
- desktop_webview_window (from `Flutter/ephemeral/.symlinks/plugins/desktop_webview_window/macos`)
|
||||
- device_info_plus (from `Flutter/ephemeral/.symlinks/plugins/device_info_plus/macos`)
|
||||
- file_selector_macos (from `Flutter/ephemeral/.symlinks/plugins/file_selector_macos/macos`)
|
||||
@ -100,7 +104,6 @@ DEPENDENCIES:
|
||||
- irondash_engine_context (from `Flutter/ephemeral/.symlinks/plugins/irondash_engine_context/macos`)
|
||||
- local_notifier (from `Flutter/ephemeral/.symlinks/plugins/local_notifier/macos`)
|
||||
- media_kit_libs_macos_audio (from `Flutter/ephemeral/.symlinks/plugins/media_kit_libs_macos_audio/macos`)
|
||||
- media_kit_native_event_loop (from `Flutter/ephemeral/.symlinks/plugins/media_kit_native_event_loop/macos`)
|
||||
- metadata_god (from `Flutter/ephemeral/.symlinks/plugins/metadata_god/macos`)
|
||||
- open_file_mac (from `Flutter/ephemeral/.symlinks/plugins/open_file_mac/macos`)
|
||||
- package_info_plus (from `Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos`)
|
||||
@ -124,13 +127,13 @@ EXTERNAL SOURCES:
|
||||
app_links:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/app_links/macos
|
||||
audio_service:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/audio_service/macos
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/audio_service/darwin
|
||||
audio_session:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/audio_session/macos
|
||||
bonsoir_darwin:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/bonsoir_darwin/darwin
|
||||
connectivity_plus:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/connectivity_plus/darwin
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/connectivity_plus/macos
|
||||
desktop_webview_window:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/desktop_webview_window/macos
|
||||
device_info_plus:
|
||||
@ -153,8 +156,6 @@ EXTERNAL SOURCES:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/local_notifier/macos
|
||||
media_kit_libs_macos_audio:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/media_kit_libs_macos_audio/macos
|
||||
media_kit_native_event_loop:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/media_kit_native_event_loop/macos
|
||||
metadata_god:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/metadata_god/macos
|
||||
open_file_mac:
|
||||
@ -183,11 +184,11 @@ EXTERNAL SOURCES:
|
||||
:path: Flutter/ephemeral/.symlinks/plugins/window_manager/macos
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
app_links: afe860c55c7ef176cea7fb630a2b7d7736de591d
|
||||
audio_service: 0d9e4e25347bb3efb768f3b9f005911a81e587a7
|
||||
audio_session: 48ab6500f7a5e7c64363e206565a5dfe5a0c1441
|
||||
app_links: 05a6ec2341985eb05e9f97dc63f5837c39895c3f
|
||||
audio_service: aa99a6ba2ae7565996015322b0bb024e1d25c6fd
|
||||
audio_session: eaca2512cf2b39212d724f35d11f46180ad3a33e
|
||||
bonsoir_darwin: 29c7ccf356646118844721f36e1de4b61f6cbd0e
|
||||
connectivity_plus: 2256d3e20624a7749ed21653aafe291a46446fee
|
||||
connectivity_plus: 4adf20a405e25b42b9c9f87feff8f4b6fde18a4e
|
||||
desktop_webview_window: 2f0cdefecc06e21208a51589bd3d1580a87a703c
|
||||
device_info_plus: 4fb280989f669696856f8b129e4a5e3cd6c48f76
|
||||
file_selector_macos: 6280b52b459ae6c590af5d78fc35c7267a3c4b31
|
||||
@ -199,7 +200,6 @@ SPEC CHECKSUMS:
|
||||
irondash_engine_context: 893c7d96d20ce361d7e996f39d360c4c2f9869ba
|
||||
local_notifier: ebf072651e35ae5e47280ad52e2707375cb2ae4e
|
||||
media_kit_libs_macos_audio: 06f3cf88d6d89c7c3c87eae57689d1c6adb335b2
|
||||
media_kit_native_event_loop: a5833d1e4d5bedb6f691e9909fa57f15f436f2c8
|
||||
metadata_god: 8029e6ff4b1400ae4f13c38d2c478e8633f0e58b
|
||||
open_file_mac: 01874b6d6a2c1485ac9b126d7105b99102dea2cf
|
||||
OrderedSet: e539b66b644ff081c73a262d24ad552a69be3a94
|
||||
@ -208,8 +208,8 @@ SPEC CHECKSUMS:
|
||||
screen_retriever_macos: 452e51764a9e1cdb74b3c541238795849f21557f
|
||||
shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
|
||||
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
|
||||
sqlite3: 7559e33dae4c78538df563795af3a86fc887ee71
|
||||
sqlite3_flutter_libs: f0b59f6bb2a18597d0796558725007e5a7428397
|
||||
sqlite3: 73513155ec6979715d3904ef53a8d68892d4032b
|
||||
sqlite3_flutter_libs: 83f8e9f5b6554077f1d93119fe20ebaa5f3a9ef1
|
||||
super_native_extensions: c2795d6d9aedf4a79fae25cb6160b71b50549189
|
||||
system_theme: ed74293ad07d3a05e3e2d0059ff342360346f1a0
|
||||
tray_manager: a104b5c81b578d83f3c3d0f40a997c8b10810166
|
||||
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 38 KiB |
@ -3,7 +3,7 @@ description: Open source extensible music streaming platform and app, based on B
|
||||
|
||||
publish_to: "none"
|
||||
|
||||
version: 4.0.2+41
|
||||
version: 5.0.0+42
|
||||
|
||||
homepage: https://spotube.krtirtho.dev
|
||||
repository: https://github.com/KRTirtho/spotube
|
||||
|
@ -525,7 +525,7 @@ class PreferencesTable extends Table
|
||||
GeneratedColumn<String>('accent_color_scheme', aliasedName, false,
|
||||
type: DriftSqlType.string,
|
||||
requiredDuringInsert: false,
|
||||
defaultValue: const Constant("Orange:0xFFf97315"));
|
||||
defaultValue: const Constant("Slate:0xff64748b"));
|
||||
late final GeneratedColumn<String> layoutMode = GeneratedColumn<String>(
|
||||
'layout_mode', aliasedName, false,
|
||||
type: DriftSqlType.string,
|
||||
|
@ -1 +1,5 @@
|
||||
{}
|
||||
{
|
||||
"nl": [
|
||||
"audio_source"
|
||||
]
|
||||
}
|
||||
|