Skip to content

Commit a9bf2db

Browse files
committed
Bumped version
changed the avatar placeholder with adventurer sprite dicebear prevention from playing empty playlists
1 parent 9ccdeba commit a9bf2db

File tree

11 files changed

+34
-28
lines changed

11 files changed

+34
-28
lines changed

AppImageBuilder.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ AppDir:
1111
id: oss.krtirtho.spotube
1212
name: Spotube
1313
icon: spotube-logo
14-
version: 1.0.0
14+
version: 1.0.1
1515
exec: spotube
1616
exec_args: $@
1717
apt:

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ All the binaries are located in the [releases](https://github.com/krtirtho/spotu
2525

2626
## Windows
2727

28-
Download the [setup file](https://github.com/KRTirtho/spotube/releases/download/v1.0.0/Spotube-windows-x86_64-setup.exe) & follow along the installer
28+
Download the [setup file](https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-windows-x86_64-setup.exe) & follow along the installer
2929

3030
## Linux
3131

3232
### Ubuntu/Debian/Linux Mint/Pop_!OS:
33-
Download the [Spotube-linux-x86_64.deb](https://github.com/KRTirtho/spotube/releases/download/v1.0.0/Spotube-linux-x86_64.deb) then double click it or run
33+
Download the [Spotube-linux-x86_64.deb](https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-linux-x86_64.deb) then double click it or run
3434
```bash
3535
$ sudo apt install Spotube-linux-x86_64.deb
3636
# or
@@ -50,7 +50,7 @@ Download the [setup file](https://github.com/KRTirtho/spotube/releases/download/
5050

5151

5252
### Others:
53-
Download the [Spotube-linux-x86_64.AppImage](Spotube-linux-x86_64.AppImage) file & double click to run it. AppImages require [appimage-launcher](https://github.com/TheAssassin/AppImageLauncher) to be installed
53+
Download the [Spotube-linux-x86_64.AppImage](https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-linux-x86_64.AppImage) file & double click to run it. AppImages require [appimage-launcher](https://github.com/TheAssassin/AppImageLauncher) to be installed
5454

5555
**I'll/try to upload the package binaries to linux debian/arch/ubuntu/snap/flatpack/redhat/chocolatey stores or software centers or repositories**
5656

aur-struct/.SRCINFO

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
pkgbase = spotube
22
pkgdesc = A lightweight free Spotify desktop-client which handles playback manually, streams music using Youtube & no Spotify premium account is needed
3-
pkgver = 1.0.0
3+
pkgver = 1.0.1
44
pkgrel = 1
55
url = https://github.com/KRTirtho/spotube/
66
arch = x86_64
77
license = BSD 4-Clause
8-
source = https://github.com/KRTirtho/spotube/releases/download/v1.0.0/Spotube-linux-x86_64.tar.xz
8+
source = https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-linux-x86_64.tar.xz
99

1010
pkgname = spotube
1111

aur-struct/PKGBUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Maintainer: Kingkor Roy Tirtho <[email protected]>
22
pkgname=spotube
3-
pkgver=1.0.0
3+
pkgver=1.0.1
44
pkgrel=1
55
epoch=
66
pkgdesc="A lightweight free Spotify desktop-client which handles playback manually, streams music using Youtube & no Spotify premium account is needed"

deb-struct/DEBIAN/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: Spotube
2-
Version: 1.0.0
2+
Version: 1.0.1
33
Section: sound
44
Priority: optional
55
Architecture: all

lib/components/Home.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class _HomeState extends State<Home> {
189189
false) &&
190190
snapshot.data?.images?.last.url != null)
191191
? snapshot.data!.images!.last.url!
192-
: "https://avatars.dicebear.com/api/human/${snapshot.data?.id}.png";
192+
: "https://avatars.dicebear.com/api/adventurer/${snapshot.data?.id}.png";
193193
return Padding(
194194
padding: const EdgeInsets.all(16),
195195
child: Row(

lib/components/Lyrics.dart

+19-15
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,25 @@ class _LyricsState extends State<Lyrics> {
5050
if (_lyrics["lyrics"] == null && playback.currentTrack != null) {
5151
if (!hasToken) {
5252
return Expanded(
53-
child: Center(
54-
child: Column(
55-
children: [
56-
const Text("Genius lyrics API access token isn't set"),
57-
ElevatedButton(
58-
onPressed: () {
59-
Navigator.of(context).push(MaterialPageRoute(
60-
builder: (context) {
61-
return const Settings();
62-
},
63-
));
64-
},
65-
child: const Text("Add Access Token"))
66-
],
67-
),
53+
child: Column(
54+
children: [
55+
Text(
56+
"Genius lyrics API access token isn't set",
57+
style: Theme.of(context)
58+
.textTheme
59+
.headline4
60+
?.copyWith(color: Colors.red[400]),
61+
),
62+
ElevatedButton(
63+
onPressed: () {
64+
Navigator.of(context).push(MaterialPageRoute(
65+
builder: (context) {
66+
return const Settings();
67+
},
68+
));
69+
},
70+
child: const Text("Add Access Token"))
71+
],
6872
));
6973
}
7074
return const Expanded(

lib/components/PlaylistCard.dart

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ class _PlaylistCardState extends State<PlaylistCard> {
8181
tracks.map((e) => e.track!)))
8282
.toList();
8383

84+
if (tracks.isEmpty) return;
85+
8486
playback.setCurrentPlaylist = CurrentPlaylist(
8587
tracks: tracks,
8688
id: widget.playlist.id!,

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1515
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
1616
# Read more about iOS versioning at
1717
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18-
version: 1.0.0
18+
version: 1.0.1
1919

2020
environment:
2121
sdk: ">=2.15.1 <3.0.0"
@@ -106,6 +106,6 @@ msix_config:
106106
display_name: Spotube
107107
publisher_display_name: KRTirtho
108108
identity_name: oss.krtirtho.spotube
109-
msix_version: 1.0.0.0
109+
msix_version: 1.0.1.0
110110
logo_path: .\assets\spotube-logo.png
111111
capabilities: "internetClient,internetClientServer,backgroundMediaPlayback"

scripts/windows-setup-creator.iss

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "Spotube"
5-
#define MyAppVersion "1.0.0"
5+
#define MyAppVersion "1.0.1"
66
#define MyAppPublisher "KRTirtho, OSS"
77
#define MyAppURL "https://github.com/KRTirtho/spotube"
88
#define MyAppExeName "spotube.exe"

windows/runner/Runner.rc

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ IDI_APP_ICON ICON "resources\\icon.ico"
6969
#ifdef FLUTTER_BUILD_NAME
7070
#define VERSION_AS_STRING #FLUTTER_BUILD_NAME
7171
#else
72-
#define VERSION_AS_STRING "1.0.0"
72+
#define VERSION_AS_STRING "1.0.1"
7373
#endif
7474

7575
VS_VERSION_INFO VERSIONINFO

0 commit comments

Comments
 (0)