Skip to content

Commit 34b0176

Browse files
committed
1
1 parent 62b01f2 commit 34b0176

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions-rs/cargo@v1
3636
with:
3737
command: build
38-
args: --workspace --locked --release
38+
args: --workspace --release
3939

4040
- name: Rename binary
4141
run: mv target/release/jellyfin-rpc target/release/jellyfin-rpc-x86_64-linux
@@ -44,7 +44,7 @@ jobs:
4444
uses: actions-rs/cargo@v1
4545
with:
4646
command: test
47-
args: --all-features --locked
47+
args: --all-features
4848

4949
- name: Upload artifact
5050
uses: actions/upload-artifact@v4
@@ -87,7 +87,7 @@ jobs:
8787
with:
8888
use-cross: true
8989
command: build
90-
args: --target armv7-unknown-linux-gnueabihf --workspace --locked --release
90+
args: --target armv7-unknown-linux-gnueabihf --workspace --release
9191

9292
- name: Rename binary
9393
run: mv target/armv7-unknown-linux-gnueabihf/release/jellyfin-rpc target/armv7-unknown-linux-gnueabihf/release/jellyfin-rpc-arm32-linux
@@ -133,7 +133,7 @@ jobs:
133133
with:
134134
use-cross: true
135135
command: build
136-
args: --target aarch64-unknown-linux-gnu --workspace --locked --release
136+
args: --target aarch64-unknown-linux-gnu --workspace --release
137137

138138
- name: Rename binary
139139
run: mv target/aarch64-unknown-linux-gnu/release/jellyfin-rpc target/aarch64-unknown-linux-gnu/release/jellyfin-rpc-arm64-linux
@@ -172,13 +172,13 @@ jobs:
172172
uses: actions-rs/cargo@v1
173173
with:
174174
command: build
175-
args: --workspace --locked --release
175+
args: --workspace --release
176176

177177
- name: Run cargo test
178178
uses: actions-rs/cargo@v1
179179
with:
180180
command: test
181-
args: --all-features --locked
181+
args: --all-features
182182

183183
- name: Upload artifact
184184
uses: actions/upload-artifact@v4
@@ -215,7 +215,7 @@ jobs:
215215
uses: actions-rs/cargo@v1
216216
with:
217217
command: build
218-
args: --target x86_64-apple-darwin --workspace --locked --release
218+
args: --target x86_64-apple-darwin --workspace --release
219219

220220
- name: Rename binary
221221
run: mv target/x86_64-apple-darwin/release/jellyfin-rpc target/x86_64-apple-darwin/release/jellyfin-rpc-x86_64-darwin
@@ -224,7 +224,7 @@ jobs:
224224
uses: actions-rs/cargo@v1
225225
with:
226226
command: test
227-
args: --all-features --locked
227+
args: --all-features
228228

229229
- name: Upload artifact
230230
uses: actions/upload-artifact@v4
@@ -261,7 +261,7 @@ jobs:
261261
uses: actions-rs/cargo@v1
262262
with:
263263
command: build
264-
args: --target aarch64-apple-darwin --workspace --locked --release
264+
args: --target aarch64-apple-darwin --workspace --release
265265

266266
- name: Rename binary
267267
run: mv target/aarch64-apple-darwin/release/jellyfin-rpc target/aarch64-apple-darwin/release/jellyfin-rpc-arm64-darwin

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions-rs/cargo@v1
3434
with:
3535
command: build
36-
args: --workspace --locked --release
36+
args: --workspace --release
3737

3838
- name: Rename binary
3939
run: mv target/release/jellyfin-rpc target/release/jellyfin-rpc-x86_64-linux
@@ -42,7 +42,7 @@ jobs:
4242
uses: actions-rs/cargo@v1
4343
with:
4444
command: test
45-
args: --all-features --locked
45+
args: --all-features
4646

4747
- name: Release
4848
uses: softprops/action-gh-release@v1
@@ -88,7 +88,7 @@ jobs:
8888
with:
8989
use-cross: true
9090
command: build
91-
args: --target armv7-unknown-linux-gnueabihf --workspace --locked --release
91+
args: --target armv7-unknown-linux-gnueabihf --workspace --release
9292

9393
- name: Rename binary
9494
run: mv target/armv7-unknown-linux-gnueabihf/release/jellyfin-rpc target/armv7-unknown-linux-gnueabihf/release/jellyfin-rpc-arm32-linux
@@ -137,7 +137,7 @@ jobs:
137137
with:
138138
use-cross: true
139139
command: build
140-
args: --target aarch64-unknown-linux-gnu --workspace --locked --release
140+
args: --target aarch64-unknown-linux-gnu --workspace --release
141141

142142
- name: Rename binary
143143
run: mv target/aarch64-unknown-linux-gnu/release/jellyfin-rpc target/aarch64-unknown-linux-gnu/release/jellyfin-rpc-arm64-linux
@@ -179,13 +179,13 @@ jobs:
179179
uses: actions-rs/cargo@v1
180180
with:
181181
command: build
182-
args: --workspace --locked --release
182+
args: --workspace --release
183183

184184
- name: Run cargo test
185185
uses: actions-rs/cargo@v1
186186
with:
187187
command: test
188-
args: --all-features --locked
188+
args: --all-features
189189

190190
- name: Release
191191
uses: softprops/action-gh-release@v1
@@ -224,7 +224,7 @@ jobs:
224224
uses: actions-rs/cargo@v1
225225
with:
226226
command: build
227-
args: --target x86_64-apple-darwin --workspace --locked --release
227+
args: --target x86_64-apple-darwin --workspace --release
228228

229229
- name: Rename binary
230230
run: mv target/x86_64-apple-darwin/release/jellyfin-rpc target/x86_64-apple-darwin/release/jellyfin-rpc-x86_64-darwin
@@ -233,7 +233,7 @@ jobs:
233233
uses: actions-rs/cargo@v1
234234
with:
235235
command: test
236-
args: --all-features --locked
236+
args: --all-features
237237

238238
- name: Release
239239
uses: softprops/action-gh-release@v1
@@ -273,7 +273,7 @@ jobs:
273273
uses: actions-rs/cargo@v1
274274
with:
275275
command: build
276-
args: --target aarch64-apple-darwin --workspace --locked --release
276+
args: --target aarch64-apple-darwin --workspace --release
277277

278278
- name: Rename binary
279279
run: mv target/aarch64-apple-darwin/release/jellyfin-rpc target/aarch64-apple-darwin/release/jellyfin-rpc-arm64-darwin

jellyfin-rpc-cli/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "1.3.3"
44
edition = "2021"
55
description = "Displays the content you're currently watching on Discord!"
66
license = "GPL-3.0-or-later"
7-
repository = "https://github.com/Radiicall/jellyfin-rpc"
7+
repository = "https://github.com/elias1731/jellyfin-rpc"
88
keywords = ["cli", "jellyfin", "discord", "rich-presence"]
99

1010
exclude = [
@@ -29,8 +29,8 @@ time = "0.3"
2929
serde_json = "1.0"
3030

3131
[dependencies.jellyfin-rpc]
32-
#path = "../jellyfin-rpc"
33-
version = "1.3.3"
32+
path = "../jellyfin-rpc"
33+
#version = "1.3.3"
3434

3535
[dependencies.clap]
3636
features = ["derive"]

jellyfin-rpc/Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[package]
22
name = "jellyfin-rpc"
3-
version = "1.3.3"
43
edition = "2021"
54
description = "Backend for the Jellyfin-RPC-cli and Jellyfin-RPC-Iced projects"
65
license = "GPL-3.0-or-later"
7-
repository = "https://github.com/Radiicall/jellyfin-rpc"
6+
repository = "https://github.com/Bitte-ein-Git/jellyfin-rpc"
87
keywords = ["jellyfin", "discord", "rich-presence"]
98

109
[dependencies]
11-
discord-rich-presence = "0.2"
10+
discord-rich-presence = { git = "https://github.com/Bitte-ein-Git/discord-rich-presence" }
1211
serde_json = "1.0"
1312
log = "0.4"
1413
url = "2.5"
@@ -20,4 +19,4 @@ version = "1.0"
2019
[dependencies.reqwest]
2120
default-features = false
2221
features = ["rustls-tls", "json", "blocking"]
23-
version = "0.12"
22+
version = "0.12"

jellyfin-rpc/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ impl Client {
223223
.timestamps(timestamps)
224224
.assets(assets)
225225
.details(&details)
226-
.state(&state);
226+
.state(&state)
227+
.status_display_type(1); // NEUE ZEILE
227228

228229
self.discord_ipc_client.set_activity(activity)?;
229230

0 commit comments

Comments
 (0)