Bumped version

changed the avatar placeholder with adventurer sprite dicebear
prevention from playing empty playlists
This commit is contained in:
Kingkor Roy Tirtho 2022-01-14 17:48:42 +06:00
parent 9ccdeba2bd
commit a9bf2db683
11 changed files with 34 additions and 28 deletions

View File

@ -11,7 +11,7 @@ AppDir:
id: oss.krtirtho.spotube
name: Spotube
icon: spotube-logo
version: 1.0.0
version: 1.0.1
exec: spotube
exec_args: $@
apt:

View File

@ -25,12 +25,12 @@ All the binaries are located in the [releases](https://github.com/krtirtho/spotu
## Windows
Download the [setup file](https://github.com/KRTirtho/spotube/releases/download/v1.0.0/Spotube-windows-x86_64-setup.exe) & follow along the installer
Download the [setup file](https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-windows-x86_64-setup.exe) & follow along the installer
## Linux
### Ubuntu/Debian/Linux Mint/Pop_!OS:
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
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
```bash
$ sudo apt install Spotube-linux-x86_64.deb
# or
@ -50,7 +50,7 @@ Download the [setup file](https://github.com/KRTirtho/spotube/releases/download/
### Others:
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
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
**I'll/try to upload the package binaries to linux debian/arch/ubuntu/snap/flatpack/redhat/chocolatey stores or software centers or repositories**

View File

@ -1,11 +1,11 @@
pkgbase = spotube
pkgdesc = A lightweight free Spotify desktop-client which handles playback manually, streams music using Youtube & no Spotify premium account is needed
pkgver = 1.0.0
pkgver = 1.0.1
pkgrel = 1
url = https://github.com/KRTirtho/spotube/
arch = x86_64
license = BSD 4-Clause
source = https://github.com/KRTirtho/spotube/releases/download/v1.0.0/Spotube-linux-x86_64.tar.xz
source = https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-linux-x86_64.tar.xz
pkgname = spotube

View File

@ -1,6 +1,6 @@
# Maintainer: Kingkor Roy Tirtho <krtirho@gmail.com>
pkgname=spotube
pkgver=1.0.0
pkgver=1.0.1
pkgrel=1
epoch=
pkgdesc="A lightweight free Spotify desktop-client which handles playback manually, streams music using Youtube & no Spotify premium account is needed"

View File

@ -1,5 +1,5 @@
Package: Spotube
Version: 1.0.0
Version: 1.0.1
Section: sound
Priority: optional
Architecture: all

View File

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

View File

@ -50,21 +50,25 @@ class _LyricsState extends State<Lyrics> {
if (_lyrics["lyrics"] == null && playback.currentTrack != null) {
if (!hasToken) {
return Expanded(
child: Center(
child: Column(
children: [
const Text("Genius lyrics API access token isn't set"),
ElevatedButton(
onPressed: () {
Navigator.of(context).push(MaterialPageRoute(
builder: (context) {
return const Settings();
},
));
},
child: const Text("Add Access Token"))
],
),
child: Column(
children: [
Text(
"Genius lyrics API access token isn't set",
style: Theme.of(context)
.textTheme
.headline4
?.copyWith(color: Colors.red[400]),
),
ElevatedButton(
onPressed: () {
Navigator.of(context).push(MaterialPageRoute(
builder: (context) {
return const Settings();
},
));
},
child: const Text("Add Access Token"))
],
));
}
return const Expanded(

View File

@ -81,6 +81,8 @@ class _PlaylistCardState extends State<PlaylistCard> {
tracks.map((e) => e.track!)))
.toList();
if (tracks.isEmpty) return;
playback.setCurrentPlaylist = CurrentPlaylist(
tracks: tracks,
id: widget.playlist.id!,

View File

@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0
version: 1.0.1
environment:
sdk: ">=2.15.1 <3.0.0"
@ -106,6 +106,6 @@ msix_config:
display_name: Spotube
publisher_display_name: KRTirtho
identity_name: oss.krtirtho.spotube
msix_version: 1.0.0.0
msix_version: 1.0.1.0
logo_path: .\assets\spotube-logo.png
capabilities: "internetClient,internetClientServer,backgroundMediaPlayback"

View File

@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Spotube"
#define MyAppVersion "1.0.0"
#define MyAppVersion "1.0.1"
#define MyAppPublisher "KRTirtho, OSS"
#define MyAppURL "https://github.com/KRTirtho/spotube"
#define MyAppExeName "spotube.exe"

View File

@ -69,7 +69,7 @@ IDI_APP_ICON ICON "resources\\icon.ico"
#ifdef FLUTTER_BUILD_NAME
#define VERSION_AS_STRING #FLUTTER_BUILD_NAME
#else
#define VERSION_AS_STRING "1.0.0"
#define VERSION_AS_STRING "1.0.1"
#endif
VS_VERSION_INFO VERSIONINFO