Skip to content

Commit

Permalink
bump version 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonflylee committed Oct 27, 2024
1 parent 8a258cb commit 7eb28c9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Changelog

## [next]
## [0.5.3]

### Add

* save windows state when exit
* support touch input on linux
* support paste text to search input
* support touch input on linux (@xfangfang)
* support paste text to search input (@xfangfang)
* new option low quality
* new option subtitle fallback
* support custom user-agent in webdav browser
* http server support for remote

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ include(${BOREALIS_LIBRARY}/cmake/toolchain.cmake)
project(Switchfin)
set(VERSION_MAJOR "0")
set(VERSION_MINOR "5")
set(VERSION_ALTER "2")
set(VERSION_ALTER "3")
set(PROJECT_TITLEID "010ff000ffff0003")
set(PROJECT_AUTHOR "dragonflylee")
set(PACKAGE_NAME "org.player.switchfin")
Expand Down
7 changes: 5 additions & 2 deletions app/src/api/http.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ class curl_error : public std::exception {
CURLcode code;
};

static std::string user_agent =
fmt::format("{}/{} ({})", AppVersion::getPackageName(), AppVersion::getVersion(), AppVersion::getPlatform());

/// @brief curl context

HTTP::HTTP() : chunk(nullptr) {
Expand All @@ -32,6 +35,7 @@ HTTP::HTTP() : chunk(nullptr) {

this->easy = curl_easy_init();

curl_easy_setopt(this->easy, CURLOPT_USERAGENT, user_agent.c_str());
curl_easy_setopt(this->easy, CURLOPT_FOLLOWLOCATION, 1L);
// enable all supported built-in compressions
curl_easy_setopt(this->easy, CURLOPT_ACCEPT_ENCODING, "");
Expand Down Expand Up @@ -109,8 +113,7 @@ void HTTP::set_option(const Cookies& cookies) {
curl_easy_setopt(this->easy, CURLOPT_COOKIE, ss.str().c_str());
}

void HTTP::set_basic_auth(const std::string& user, const std::string& passwd)
{
void HTTP::set_basic_auth(const std::string& user, const std::string& passwd) {
curl_easy_setopt(this->easy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_easy_setopt(this->easy, CURLOPT_USERNAME, user.c_str());
curl_easy_setopt(this->easy, CURLOPT_PASSWORD, passwd.c_str());
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 10),
libcurl4-openssl-dev,
libwebp-dev,
libmpv-dev
Standards-Version: 0.5.2
Standards-Version: 0.5.3
Vcs-Git: https://github.com/dragonflylee/switchfin.git

Package: switchfin
Expand Down
2 changes: 1 addition & 1 deletion scripts/aur/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=switchfin
pkgver=0.5.2
pkgver=0.5.3
pkgrel=1
pkgdesc='Third-party native Jellyfin client'
arch=('x86_64' 'aarch64')
Expand Down
2 changes: 1 addition & 1 deletion scripts/org.player.switchfin.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</ul>
</description>
<releases>
<release date="2024-09-01" version="0.5.2">
<release date="2024-10-27" version="0.5.3">
<description>
<p>
Please See Official Changelog at github.com/dragonflylee/switchfin/releases
Expand Down
2 changes: 1 addition & 1 deletion scripts/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: switchfin
summary: switchfin
description: |
third-party PC player for Jellyfin
version: "0.5.2"
version: "0.5.3"
grade: stable
icon: ../resources/icon/icon.png
base: core20
Expand Down

0 comments on commit 7eb28c9

Please sign in to comment.