Commit Graph

1476 Commits

Author SHA1 Message Date
Niels van Velzen
aa84761cf9
Merge pull request #665 from 3flex/playrequest-typing
Add PlayRequest typing
2024-11-03 09:44:51 +01:00
Niels van Velzen
200a91d1e3
Merge pull request #664 from 3flex/patch-2
Remove unused export
2024-11-03 09:43:45 +01:00
Niels van Velzen
34937c9936
Merge pull request #657 from 3flex/no-unnecessary-type-assertion
Enable no-unnecessary-type-assertion ts eslint rule
2024-11-03 09:43:35 +01:00
Matthew Haughton
6e27fc7096
Remove a non-null assertion 2024-11-03 17:54:15 +11:00
Matthew Haughton
dddb29b111 Add PlayRequest typing 2024-11-03 17:30:03 +11:00
Matthew Haughton
44476a3c61
Remove unused export 2024-11-03 09:11:05 +11:00
Matthew Haughton
9f9c456433 Enable no-unnecessary-type-assertion ts eslint rule 2024-11-03 09:00:42 +11:00
Niels van Velzen
6ac3432d27
Merge pull request #663 from 3flex/dont-limit-maxwidth
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Don't limit max width for h264 streams to the window width
2024-11-02 10:34:06 +01:00
Niels van Velzen
1baac2d9c7
Merge pull request #662 from 3flex/mp4-hls-container
Request mp4 container when transcoding HLS video
2024-11-02 10:32:45 +01:00
Niels van Velzen
15a088cfdd
Merge pull request #660 from jellyfin/renovate/node-22.x
Update dependency @types/node to v22.8.1
2024-11-02 10:32:26 +01:00
Matthew Haughton
4b0b4a4cd9 Don't limit max width for h264 streams to the window width
Cast devices variously support video max widths of 1280, 1920 and 3840.
window.innerWidth returns the max width of the receiver page which is not
the same resolution and limits h264 streams to a max of 720p on most
devices.
2024-11-02 19:47:17 +11:00
Niels van Velzen
3ec76b25d4
Merge pull request #661 from 3flex/progressbar
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Minor fixes for progress bar element
2024-11-02 08:41:55 +01:00
Matthew Haughton
2ebc6e96c5 Simplify boolean checks where HLS enabled 2024-11-02 18:05:37 +11:00
Matthew Haughton
46a94fa525 Request mp4 container when transcoding HLS video
Shaka player 4.8 and up always remuxes TS to MP4, while the Jellyfin Cast
client always requests a TS container. This means any transcoded MP4 stream
will be remuxed to TS on the server then remuxed again on the device.

As Cast clients (particularly older ones) are low-powered devices, it's
important to reduce load on the device when possible. It also avoids
unnecessary remuxing on the server in some scenarios.

In local testing the Shaka player version is 4.3.4 but this will be updated
automatically to 4.9.2 in future. This change is still useful for earlier
Shaka player versions since TS remuxing was identified as a problem area
anyway, so using MP4 should improve streaming reliablity to Cast devices
regardless of the Shaka version.
2024-11-02 18:05:04 +11:00
Matthew Haughton
769e83fbf0 Fix typing of itemProgressBar 2024-11-02 15:19:53 +11:00
Matthew Haughton
121656bdeb Remove disallowed min attribute from progress bar 2024-11-02 15:19:00 +11:00
renovate[bot]
5b9fa4288c
Update dependency @types/node to v22.8.1 2024-11-01 23:02:33 +00:00
Niels van Velzen
aa8e7b1ceb
Merge pull request #656 from 3flex/prefer-nullish-coalescing
Some checks failed
Lint / Lint TS and CSS (push) Has been cancelled
Publish / Build (push) Has been cancelled
Test / Jest (push) Has been cancelled
Publish / Publish (push) Has been cancelled
Publish / Deploy (push) Has been cancelled
Enable tseslint stylistic type checked rule set
2024-10-30 14:28:10 +01:00
Matthew Haughton
9ccd21a83d Suppress individual no-non-null-assertions issues that have no simple fix 2024-10-30 22:14:25 +11:00
Matthew Haughton
17be9f62ce Manually fix remaining tseslint stylistic type checked issues 2024-10-30 22:09:27 +11:00
Matthew Haughton
d9f2311280 Auto fix tseslint stylistic type checked issues 2024-10-30 22:09:27 +11:00
Matthew Haughton
c53e432f27 Enable stylistic type checked rule set 2024-10-30 22:09:27 +11:00
Matthew Haughton
7efb7ac1c4 Autofix tseslint stylistic issues 2024-10-30 22:09:22 +11:00
Matthew Haughton
2f60176255 Enable tseslint stylistic rule set 2024-10-30 22:09:18 +11:00
Niels van Velzen
58d4094cdb
Merge pull request #653 from jellyfin/renovate/node-22.x
Update dependency @types/node to v22
2024-10-30 09:35:49 +01:00
renovate[bot]
1f50473232
Update dependency @types/node to v22 2024-10-30 07:51:48 +00:00
Niels van Velzen
ca32a64ae3
Merge pull request #658 from jellyfin/renovate/node-20.x
Update dependency @types/node to v20.16.15
2024-10-30 08:51:16 +01:00
Niels van Velzen
802defb879
Merge pull request #659 from jellyfin/renovate/vite-5.x
Update dependency vite to v5.4.10
2024-10-30 08:11:42 +01:00
renovate[bot]
eaae1accb5
Update dependency vite to v5.4.10 2024-10-30 04:33:54 +00:00
renovate[bot]
dfd52ab826
Update dependency @types/node to v20.16.15 2024-10-30 04:33:43 +00:00
Niels van Velzen
1e0571b9f8
Merge pull request #654 from jellyfin/renovate/node-20.x
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Update dependency @types/node to v20.16.14
2024-10-29 08:58:58 +01:00
Niels van Velzen
9c32c6f189
Merge pull request #655 from 3flex/eslint-typechecked
Enable linting TS with type checking
2024-10-29 08:58:37 +01:00
Matthew Haughton
3280bba52f Enable linting TS with type checking
https://typescript-eslint.io/getting-started/typed-linting/
2024-10-29 16:22:02 +11:00
renovate[bot]
eb135caf6e
Update dependency @types/node to v20.16.14 2024-10-29 03:44:52 +00:00
Niels van Velzen
391d155294
Merge pull request #652 from jellyfin/renovate/typescript
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Update dependency typescript-eslint to v8.11.0
2024-10-28 21:45:57 +01:00
renovate[bot]
957aad9a0c
Update dependency typescript-eslint to v8.11.0 2024-10-28 20:15:24 +00:00
Matthew Haughton
11f9806b13 Revert removal of deviceProfile parameter from getPlaybackInfo 2024-10-28 20:00:13 +11:00
Matthew Haughton
b6aaaf2d09 Use PlaybackInfoDto to pass data to getPostedPlaybackInfo 2024-10-28 19:59:48 +11:00
Niels van Velzen
22099bfd45
Merge pull request #651 from 3flex/remove-appstatus-playing
Some checks failed
Lint / Lint TS and CSS (push) Has been cancelled
Publish / Build (push) Has been cancelled
Test / Jest (push) Has been cancelled
Publish / Publish (push) Has been cancelled
Publish / Deploy (push) Has been cancelled
Remove unnecessary AppStatus.Playing
2024-10-27 09:08:48 +01:00
Matthew Haughton
eeb56c5ba4 Remove unnecessary AppStatus.Playing
App status is never set to 'Playing'
2024-10-27 16:42:43 +11:00
Matthew Haughton
76d1be4138 Convert getPlaybackInfo to use generated API 2024-10-27 13:32:04 +11:00
Matthew Haughton
2d4fed7bf5 Convert reportPlaybackStart to use generated API 2024-10-27 13:31:33 +11:00
Matthew Haughton
fadfb34d29 Convert reportPlaybackProgress to use generated API 2024-10-27 13:30:53 +11:00
Matthew Haughton
e53840ad93 Configure logging for Axios requests & responses 2024-10-27 13:29:12 +11:00
Matthew Haughton
795f86ada1 Create instance of Jellyfin's generated API when setting server info 2024-10-27 13:28:57 +11:00
Niels van Velzen
34a21c4f70
Merge pull request #649 from jellyfin/renovate/node-20.x
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Update dependency @types/node to v20.16.13
2024-10-26 11:33:08 +02:00
renovate[bot]
7be59ccbe6
Update dependency @types/node to v20.16.13 2024-10-26 07:52:55 +00:00
Niels van Velzen
35dc856d1b
Merge pull request #646 from 3flex/any-unused-params
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Remove unused parameters
2024-10-25 14:25:14 +02:00
Niels van Velzen
7012aac3da
Merge pull request #645 from 3flex/any-deviceids
Use deviceIds enum type where possible
2024-10-25 14:24:43 +02:00
Matthew Haughton
ab21ba3236 Update DeviceIds name to pascal case 2024-10-25 23:19:05 +11:00