version bump for next release v1.2.0

CHANGELOG updated for v1.2.0
default hotkeys for player control if doesn't exists on startup
This commit is contained in:
Kingkor Roy Tirtho 2022-02-07 18:20:55 +06:00
parent e1e5340e24
commit 03bd342c27
14 changed files with 108 additions and 27 deletions

View File

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

View File

@ -1,3 +1,21 @@
# v1.2.0
### New
- Global custom reconfigurable *hotkey* support for playback controls (play-pause/next/previous)
- Credit section in the Settings page with important links
### Improved
- Macos support
- Genius (Lyrics Provider) access_token can be saved in the Login page too
- Better theme for dropdown-buttons
### Bug fixes
- broken authentication IPC on Mac OS (https://github.com/KRTirtho/spotube/pull/18)
- Mac OS's global appmenu's default APP_NAME replaced with Spotube
- location of back button on macOS (https://github.com/KRTirtho/spotube/pull/21)
- windows titlebar buttons appears on Mac OS
- genius access_token not loading on initial app start
# v1.1.0 # v1.1.0
### New ### New

View File

@ -5,10 +5,12 @@ BUNDLE_DIR=build/linux/x64/release/bundle
MIRRORLIST=${PWD}/build/mirrorlist MIRRORLIST=${PWD}/build/mirrorlist
deb: deb:
mkdir -p ${USR_SHARE}/spotube\ mkdir -p ${USR_SHARE}/spotube\
&& mkdir -p $(USR_SHARE)/applications $(USR_SHARE)/icons/spotube $(USR_SHARE)/spotube\ && mkdir -p $(USR_SHARE)/applications $(USR_SHARE)/icons/spotube $(USR_SHARE)/spotube $(USR_SHARE)/appdata\
&& cp -r $(BUNDLE_DIR)/* $(USR_SHARE)/spotube\ && cp -r $(BUNDLE_DIR)/* $(USR_SHARE)/spotube\
&& cp linux/spotube.desktop $(USR_SHARE)/applications/\ && cp linux/spotube.desktop $(USR_SHARE)/applications/\
&& cp linux/com.github.KRTirtho.Spotube.appdata.xml $(USR_SHARE)/appdata/spotube.appdata.xml\
&& cp assets/spotube-logo.png $(USR_SHARE)/icons/spotube\ && cp assets/spotube-logo.png $(USR_SHARE)/icons/spotube\
&& sed -i 's|com.github.KRTirtho.Spotube|spotube|' $(USR_SHARE)/appdata/spotube.appdata.xml\
&& dpkg-deb -b deb-struct/ build/Spotube-linux-x86_64.deb && dpkg-deb -b deb-struct/ build/Spotube-linux-x86_64.deb
tar: tar:
@ -16,6 +18,7 @@ tar:
&& cp -r $(BUNDLE_DIR)/* $(TEMP_DIR)\ && cp -r $(BUNDLE_DIR)/* $(TEMP_DIR)\
&& cp linux/spotube.desktop $(TEMP_DIR)\ && cp linux/spotube.desktop $(TEMP_DIR)\
&& cp assets/spotube-logo.png $(TEMP_DIR)\ && cp assets/spotube-logo.png $(TEMP_DIR)\
&& cp linux/com.github.KRTirtho.Spotube.appdata.xml $(TEMP_DIR)\
&& tar -cJf build/Spotube-linux-x86_64.tar.xz -C $(TEMP_DIR) .\ && tar -cJf build/Spotube-linux-x86_64.tar.xz -C $(TEMP_DIR) .\
&& rm -rf $(TEMP_DIR) && rm -rf $(TEMP_DIR)

View File

@ -46,7 +46,7 @@ All the binaries are located in the [releases](https://github.com/krtirtho/spotu
## Windows ## Windows
Download the [setup file](https://github.com/KRTirtho/spotube/releases/download/v1.1.0/Spotube-windows-x86_64-setup.exe) & follow along the installer Download the [setup file](https://github.com/KRTirtho/spotube/releases/download/v1.2.0/Spotube-windows-x86_64-setup.exe) & follow along the installer
### Chocolatey ### Chocolatey
@ -71,7 +71,7 @@ $ flatpak install flathub com.github.KRTirtho.Spotube
<a href='https://flathub.org/apps/details/com.github.KRTirtho.Spotube'><img width='240' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-en.png'/></a> <a href='https://flathub.org/apps/details/com.github.KRTirtho.Spotube'><img width='240' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-en.png'/></a>
### Ubuntu/Debian/Linux Mint/Pop_!OS: ### Ubuntu/Debian/Linux Mint/Pop_!OS:
Download the [Spotube-linux-x86_64.deb](https://github.com/KRTirtho/spotube/releases/download/v1.1.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.2.0/Spotube-linux-x86_64.deb) then double click it or run
```bash ```bash
$ sudo apt install Spotube-linux-x86_64.deb $ sudo apt install Spotube-linux-x86_64.deb
# or # or
@ -91,7 +91,7 @@ $ flatpak install flathub com.github.KRTirtho.Spotube
### AppImage: ### AppImage:
Download the [Spotube-linux-x86_64.AppImage](https://github.com/KRTirtho/spotube/releases/download/v1.1.0/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.2.0/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** **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,12 +1,12 @@
pkgbase = spotube-bin pkgbase = spotube-bin
pkgdesc = A lightweight free Spotify desktop-client which handles playback manually, streams music using Youtube & no Spotify premium account is needed pkgdesc = A lightweight free Spotify desktop-client which handles playback manually, streams music using Youtube & no Spotify premium account is needed
pkgver = 1.1.0 pkgver = 1.2.0
pkgrel = 1 pkgrel = 1
url = https://github.com/KRTirtho/spotube/ url = https://github.com/KRTirtho/spotube/
arch = x86_64 arch = x86_64
license = BSD-4-Clause license = BSD-4-Clause
depends = libkeybinder3 depends = libkeybinder3
source = https://github.com/KRTirtho/spotube/releases/download/v1.1.0/Spotube-linux-x86_64.tar.xz source = https://github.com/KRTirtho/spotube/releases/download/v1.2.0/Spotube-linux-x86_64.tar.xz
md5sums = 0db87627ddf753bc7f09ebbb282184ee md5sums = 0db87627ddf753bc7f09ebbb282184ee
pkgname = spotube-bin pkgname = spotube-bin

View File

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

View File

@ -4,7 +4,7 @@
<metadata> <metadata>
<!-- == PACKAGE SPECIFIC SECTION == --> <!-- == PACKAGE SPECIFIC SECTION == -->
<id>spotube</id> <id>spotube</id>
<version>1.1.0</version> <version>1.2.0</version>
<packageSourceUrl>https://github.com/KRTirtho/spotube/tree/master/choco-struct</packageSourceUrl> <packageSourceUrl>https://github.com/KRTirtho/spotube/tree/master/choco-struct</packageSourceUrl>
<owners>Kingkor Roy Tirtho</owners> <owners>Kingkor Roy Tirtho</owners>
<!-- ============================== --> <!-- ============================== -->
@ -39,7 +39,7 @@
- Lyrics - Lyrics
- Downloadable track (WIP) - Downloadable track (WIP)
</description> </description>
<releaseNotes>https://github.com/KRTirtho/spotube/releases/tag/v1.1.0</releaseNotes> <releaseNotes>https://github.com/KRTirtho/spotube/releases/tag/v1.2.0</releaseNotes>
</metadata> </metadata>
<files> <files>
<file src="tools\**" target="tools" /> <file src="tools\**" target="tools" />

View File

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

View File

@ -173,7 +173,7 @@ class _SettingsState extends State<Settings> {
); );
}), }),
const SizedBox(height: 40), const SizedBox(height: 40),
const Text("Spotube v1.1.0"), const Text("Spotube v1.2.0"),
const SizedBox(height: 10), const SizedBox(height: 10),
Row( Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,

View File

@ -39,19 +39,31 @@ class UserPreferences extends ChangeNotifier {
geniusAccessToken ??= accessToken; geniusAccessToken ??= accessToken;
nextTrackHotKey ??= await _getHotKeyFromLocalStorage( nextTrackHotKey ??= (await _getHotKeyFromLocalStorage(
localStorage, localStorage,
LocalStorageKeys.nextTrackHotKey, LocalStorageKeys.nextTrackHotKey,
)) ??
HotKey(
KeyCode.slash,
modifiers: [KeyModifier.control, KeyModifier.alt],
); );
prevTrackHotKey ??= await _getHotKeyFromLocalStorage( prevTrackHotKey ??= (await _getHotKeyFromLocalStorage(
localStorage, localStorage,
LocalStorageKeys.prevTrackHotKey, LocalStorageKeys.prevTrackHotKey,
)) ??
HotKey(
KeyCode.comma,
modifiers: [KeyModifier.control, KeyModifier.alt],
); );
playPauseHotKey ??= await _getHotKeyFromLocalStorage( playPauseHotKey ??= (await _getHotKeyFromLocalStorage(
localStorage, localStorage,
LocalStorageKeys.playPauseHotKey, LocalStorageKeys.playPauseHotKey,
)) ??
HotKey(
KeyCode.period,
modifiers: [KeyModifier.control, KeyModifier.alt],
); );
notifyListeners(); notifyListeners();
} catch (e, stack) { } catch (e, stack) {

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>com.github.KRTirtho.Spotube</id>
<name>Spotube</name>
<summary>
A lightweight free Spotify desktop-client which handles playback manually, streams music using Youtube &amp; no Spotify premium account is needed
</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>BSD-4-Clause</project_license>
<recommends>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</recommends>
<developer_name>Kingkor Roy Tirtho</developer_name>
<url type="homepage">https://github.com/krtirtho/spotube</url>
<description>
<p>Spotube is a Flutter based lightweight Spotify client. It utilizes the power of Spotify &amp; Youtube's public API &amp; creates a hazardless, performant &amp; resource friendly User Experience</p>
<p>Following are the features that currently spotube offers:</p>
<ul>
<li>Open Source</li>
<li>No telementry, diagnostics or user data collection</li>
<li>Lightweight &amp; resource friendly</li>
<li>Native performance (Thanks to Flutter+Skia)</li>
<li>Playback control is on user's machine instead of server based</li>
<li>Small size &amp; less data hungry</li>
<li>No spotify or youtube ads since it uses all public &amp; free APIs (But it's recommended to support the creators by watching/liking/subscribing to the artists youtube channel or add as favourite track in spotify. Mostly buying spotify premium is the best way to support their valuable creations)</li>
<li>Lyrics</li>
<li>Downloadable track</li>
</ul>
</description>
<screenshots>
<screenshot>
<image type="source">https://rawcdn.githack.com/KRTirtho/spotube/e1e5340e241038ce8574bf02370be0cf78cc85a2/assets/spotube-screenshot.png</image>
</screenshot>
</screenshots>
<launchable type="desktop-id">com.github.KRTirtho.Spotube.desktop</launchable>
<releases>
<release version="1.1.0" date="2022-01-27" />
<release version="1.0.1" date="2022-01-15" />
<release version="1.0.0" date="2022-01-14" />
<release version="0.0.3" date="2021-05-08" />
<release version="0.0.2" date="2021-03-31" />
<release version="0.0.1" date="2021-03-20" />
</releases>
<content_rating type="oars-1.1" />
<update_contact>krtirtho@gmail.com</update_contact>
</component>

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. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.1.0 version: 1.2.0
environment: environment:
sdk: ">=2.15.1 <3.0.0" sdk: ">=2.15.1 <3.0.0"

View File

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

View File

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