Commit Graph

263 Commits

Author SHA1 Message Date
Bill Thornton 953073cd28 Use index file for apiclient lib imports 2025-04-22 08:48:34 -04:00
Bill Thornton 5bcbcfbe12 Move server connections to lib 2025-04-22 08:26:43 -04:00
Bill Thornton 4730a30c3d Fix lint errors 2025-02-20 12:51:59 -05:00
Kevinjil aa33101e1d Backport pull request #6396 from jellyfin-web/release-10.10.z
Remove invalid item id usage as media source id

Original-merge: 4793223f5d1235395572b02ed79687beb35d37e4

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2025-02-03 12:29:40 -05:00
Sebastian Di Luzio 21ca36aaa2 Fix playback of series with large set of episodes (#5786)
* fix: playback of series with large set of episodes

-  fetch episode info for a single episode instead of all episodes in existence

* fix: limit episodes to selected season

* fix: when starting series from the series play button, limit amount of episodes loaded

* Update playbackmanager.js

* fix: start series playback from upNext episode

also change playback from a specific episode to pull 100 next episodes instead of only the season this episode is in

* chore: clean up query params a bit

* fix: add forgotten query limit

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>

* fix: get watched episodes as well for nextUp inside playing an entire show

* fix: get first unplayed episode without nextUp

* chore: remove unwanted whitepsace

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>

---------

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2025-01-29 14:45:48 -05:00
viown 0065f165cb Backport pull request #6295 from jellyfin-web/release-10.10.z
Enable TV Support for 'Ask to Skip'

Original-merge: 26df03b64ce09e8c99b93dd0b88d73a76a8f1009

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
2025-01-22 03:12:37 -05:00
Bill Thornton 1362284d9a Merge pull request #6271 from thornbill/media-session-subscriber
Refactor media session to playback subscriber
2025-01-11 16:26:27 -05:00
Bill Thornton ca7311cb08 Simplify play target sorting 2024-11-21 16:39:36 -05:00
Bill Thornton bc7ec0e876 Remove self cast target 2024-10-30 16:01:58 -04:00
Bill Thornton 68bac124af Refactor media session to playback subscriber 2024-10-30 02:20:20 -04:00
Bill Thornton fa1934a124 Merge pull request #6196 from viown/prompt-to-skip
Add 'ask to skip' to media segments
2024-10-25 17:18:30 -04:00
viown 11e4549b48 Use PlayerEvent constant 2024-10-24 12:37:38 +03:00
viown 459d0d7d9a Merge branch 'master' into prompt-to-skip 2024-10-24 12:34:55 +03:00
Bill Thornton 571b28099e Fix unhandled promises 2024-10-24 01:35:04 -04:00
Bill Thornton 6530d2d7d8 Fix playing episodes when additional parts exist 2024-10-23 17:13:16 -04:00
viown 9b269296fe Use UpNextDialog for outro segments 2024-10-19 20:36:44 +03:00
viown 0fb38c6894 Add 'prompt to skip' to media segments 2024-10-19 20:11:10 +03:00
viown 05ce167c77 Fix undefined subtitle stream index 2024-10-19 13:25:07 +03:00
Bill Thornton b93450098a Add media segment manager 2024-10-09 17:07:33 -04:00
gnattu da4265eb46 Merge branch 'master' into burn-subtitle-transcoding 2024-10-09 06:53:18 +08:00
viown 07316cf870 Update playbackmanager.js
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2024-10-08 19:19:38 +03:00
viown c2c5228c06 Update playbackmanager.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2024-10-08 16:27:46 +03:00
viown ca4763512f Explicitly check for Live TV 2024-10-08 10:58:02 +03:00
viown 95e23875f4 Only specify mediaSourceId if index changed 2024-10-05 10:28:02 +03:00
viown c54db604d9 Fix LiveTV Playback 2024-10-05 08:47:03 +03:00
Bill Thornton 26f7f281cd Add playback subscriber abstraction 2024-10-01 13:41:40 -04:00
viown 4c31742cc5 Fix incorrect audio & subtitle index on next track 2024-09-27 13:49:43 +03:00
gnattu fc9485c49d Remove more Promise.Resolve 2024-09-22 05:04:19 +08:00
gnattu e4c20df5ae Remove redundant Promise.resolve 2024-09-22 00:41:33 +08:00
gnattu e48321a2c4 Add option to always burn in subtitles if transcoding is triggered 2024-09-21 04:10:46 +08:00
viown 07cb21f13f Fix season play button not playing specials 2024-09-20 15:08:58 -04:00
gnattu e810ec3cd9 Add audio options to workaround compatability problems 2024-09-08 22:14:19 +08:00
viown cf9af1f392 Backport pull request #5949 from jellyfin-web/release-10.9.z
Fix play all & shuffle not working on genres

Original-merge: ef00d439b1148de5acad9a5d9a928aa86ff7a792

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-09-07 18:07:29 -04:00
Bill Thornton 422adde900 Use consistent import style 2024-08-15 02:33:50 -04:00
Bill Thornton 056d802c56 Move globalize to lib 2024-08-14 14:00:09 -04:00
Bill Thornton b9dea3a788 Merge pull request #5734 from prsantos-com/sonarcloud-promise-rejection
Use Error instead of literal for promise rejection
2024-07-26 11:37:26 -04:00
dmitrylyzo 59db69227b Backport pull request #5740 from jellyfin-web/release-10.9.z
Don't change volume if it is physically controlled

Original-merge: e0a0c92b43b53a5bba1aaeacf2a9e7e3215d0f16

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
2024-07-21 01:53:29 -04:00
Peter Santos c3ad26ea55 Use Error instead of literal for promise rejection 2024-06-25 22:37:34 -04:00
dmitrylyzo 85b0697a19 Backport pull request #5681 from jellyfin-web/release-10.9.z
Fix loading hides too early

Original-merge: 674b0b118f43fe06c0862b64d2ac6b22e16bcfd2

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-23 11:42:25 -04:00
gnattu 39fa14a6f8 Backport pull request #5617 from jellyfin-web/release-10.9.z
Allow VideoStreamCopy for remote source fallback

Original-merge: 40e7dc90079cd3e2065cb9170175091f0e04a823

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:42:03 -04:00
thornbill 80abbb4574 Backport pull request #5573 from jellyfin-web/release-10.9.z
Fix playback interceptor rejecting

Original-merge: add01e332ba2e715942d0639c9e35d4c47c751e8

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25 11:50:42 -04:00
Andrew Rabert 46c749c547 Fix+enhance playback sequence of episodes in a series/season
- Adds an option to a season's menu to `Play All From Here` (default
  behavior is to play only the specific season)
- Playback will start on the first unplayed episode, or at the beginning
  of the season
- After starting playback, navigation to prior episodes is immediately possible
  using the previous episode navigation button
- Fix previous button not navigating to previous episode when starting
  on a non-first episode (ex. episode 1 when starting playback on episode 2)
2024-05-01 11:46:14 -04:00
Bill Thornton 1b2c99a4ec Merge pull request #5402 from dmitrylyzo/fix-livetv-loading
Show error message on playback failure
2024-05-01 02:35:21 -04:00
Bill Thornton 8fcc4f340c Merge pull request #5427 from jellyfin/audionormalization 2024-04-30 15:29:20 -04:00
Bond_009 e132332896 Use NormalizationGain instead of LUFS 2024-04-28 21:26:45 +02:00
Connor Smith 595983f102 Refactor translateItemsForPlayback 2024-04-25 21:28:58 -04:00
Connor Smith 13dfa62eb4 Fix incorrect flag check preventing expected behavior when navigating to next episode 2024-04-25 21:28:58 -04:00
Andrew Rabert 074467e018 Merge pull request #5416 from jellyfin/bond-multiparts
Check if there are multiple parts before requesting them
2024-04-24 13:17:01 -04:00
Andrew Rabert f71cc8026a Include season id in request when retrieving episodes
This also fixes shuffling an individual season (broken since at least 10.8.13, probably earlier)
2024-04-24 13:09:36 -04:00
Andrew Rabert 27984fe083 Fix shuffling for shows 2024-04-24 12:55:36 -04:00