Skip to content

Commit

Permalink
Bumped version
Browse files Browse the repository at this point in the history
changed the avatar placeholder with adventurer sprite dicebear
prevention from playing empty playlists
  • Loading branch information
KRTirtho committed Jan 14, 2022
1 parent 9ccdeba commit a9bf2db
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 28 deletions.
2 changes: 1 addition & 1 deletion AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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**

Expand Down
4 changes: 2 additions & 2 deletions aur-struct/.SRCINFO
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion aur-struct/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: Kingkor Roy Tirtho <[email protected]>
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"
Expand Down
2 changes: 1 addition & 1 deletion deb-struct/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: Spotube
Version: 1.0.0
Version: 1.0.1
Section: sound
Priority: optional
Architecture: all
Expand Down
2 changes: 1 addition & 1 deletion lib/components/Home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
34 changes: 19 additions & 15 deletions lib/components/Lyrics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 2 additions & 0 deletions lib/components/PlaylistCard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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!,
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
2 changes: 1 addition & 1 deletion scripts/windows-setup-creator.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion windows/runner/Runner.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9bf2db

Please sign in to comment.