From b0cf2517c374b3fc46632a952eb50da9e703769e Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Sun, 16 Jan 2022 18:41:01 +0600 Subject: [PATCH] Changelogs added with flatpak modification ongoing --- .gitignore | 5 +++- CHANGELOG.md | 65 ++++++++++++++++++++++++++++++++++++++++ Makefile | 7 ++++- README.md | 2 +- oss.krtirtho.Spotube.yml | 29 +++++++++++++----- 5 files changed, 98 insertions(+), 10 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.gitignore b/.gitignore index 824e20ad..e627ac19 100644 --- a/.gitignore +++ b/.gitignore @@ -55,4 +55,7 @@ app.*.map.json /AppDir /appimage-builder-cache -*.AppImage \ No newline at end of file +*.AppImage + +/.flatpak +/.flatpak-builder \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..b2089210 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,65 @@ +# v1.0.1 + +### Improved +- Placeholder avatar for User section powered by dicebear.com + +### Bug fixes +- No fallback/placeholder image causing undefined behavior (#2) +- Unsafe access to empty List with List.first/List.last + +# v1.0.0 + +### New +- Complete re-write in Flutter/Dart (799e13c) +- mpv & youtube-dl runtime dependencies dropped (07b1891) +- just_audio (libwinmedia + libwebkit2gtk-4.0-dev) + youtube_explode based playback & streaming +- lyrics are provided by genius.com (requires access_token) (d647d5e) +- inno_setup based windows/win32 GUI installer (dbf8a34) + +### Improved +- Lower RAM & CPU usage. 2x less RAM usage & 20% less CPU usage +- Faster playback & smooth track change with proper shuffling support +- Automatic Dark mode support (system) +- 54% smaller bundle size (after compression) +- Available through package managers in Linux (Debian, Arch, Flatpak & AppImage) + +# v0.0.3 + +### New +- Automated installer for Windows (now doesn't require manual mpv-player install) +- Playback caching +- Retry button for ManualLyricDialog +- Support for downloading track +- Redirect to youtube video by clicking on the title of the track + +### Improved +- Inapp Shortcuts.Now it doesn't interfere while typing in a input box in Search page + +### Bug fixes +- Cached image didn't get deleted after exiting certain cache limit fix. Cache gets recreated after exiting the limit + +# v0.0.2 + +### New +- Lyric Seek +- Support for images in playlist cards +- Infinite Query/Pagination support for Home & Genre pages +- Settings for configuring local configuration + +### Improved +- Home Page Layout. Fixes the jiggering of Playlist Links on hover + +### Bug Fixes +- `access_token not found` Error after OAuth Login with Spotify credentials (used to need a restart of the app to load the access_token) +- Volume level wasn't cached even after changing volume + +# v0.0.1 + +Spotube v0.0.1 - initial release of the open source software for playing Spotify music using Youtube public API + +### New +- Local playback handling +- Playback Queue +- Save to Liked Tracks/Playlists +- Bypass API rate limitation on basic usage using personal developer Apps for spotify API +- Youtube search & get handled using scrape-yt \ No newline at end of file diff --git a/Makefile b/Makefile index 0cf70fa4..d356b7db 100644 --- a/Makefile +++ b/Makefile @@ -31,4 +31,9 @@ publishaur: && cd build/spotube\ && git add .\ && git commit -m "${MSG}"\ - && git push \ No newline at end of file + && git push + +flatpak: + rm -rf build/flatpak\ + && rm -rf .flatpak-builder/build\ + && flatpak-builder build/flatpak oss.krtirtho.Spotube.yml \ No newline at end of file diff --git a/README.md b/README.md index 8b0642c5..be4b6981 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ Also, you need a [genius](https://genius.com) account for **lyrics** & a API Cli - Download the latest Flutter SDK (>=2.15.1) & enable desktop support - Install Development dependencies in linux - - `libwebkit2gtk-4.0-dev` & `keybinder-3.0` (for Debian/Ubuntu) + - `libwebkit2gtk-4.0-dev` & `libkeybinder-3.0-0` (for Debian/Ubuntu) - `webkit2gtk` & `libkeybinder3` (for Arch/Manjaro) - Clone the Repo diff --git a/oss.krtirtho.Spotube.yml b/oss.krtirtho.Spotube.yml index ce6957c6..687f176b 100644 --- a/oss.krtirtho.Spotube.yml +++ b/oss.krtirtho.Spotube.yml @@ -1,13 +1,28 @@ app-id: oss.krtirtho.Spotube -runtime: org.freedesktop.Platform -runtime-version: '21.08' -sdk: org.freedesktop.Sdk -command: spotube +runtime: org.gnome.Platform +runtime-version: '40' +sdk: org.gnome.Sdk +command: /app/spotube/spotube +finish-args: + - --socket=x11 + - --socket=fallback-x11 + - --socket=wayland + - --socket=pulseaudio + - --share=network + - --device=dri + - --filesystem=~/.local/share modules: - name: spotube buildsystem: simple build-commands: - - install -D hello.sh /app/bin/hello.sh + - install -dm755 /app/share/applications /app/share/icons/spotube /app/bin /app/spotube + - cp -R spotube/ /app + - cp spotube/spotube.desktop /app/share/applications + - cp spotube/spotube-logo.png /app/share/icons/spotube sources: - - type: file - path: hello.sh \ No newline at end of file + - type: archive + only_arches: + - x86_64 + url: https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-linux-x86_64.tar.xz + dest: spotube + sha256: 117f379c4e32a03cf1a596345e14ba82d9c143cc0ff5ac49a6e10fdc7a3d5178 \ No newline at end of file