110 Commits

Author SHA1 Message Date
mani
44ad891242 Change cache defaults to disabled
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
CodeQL Analysis / analyze (python, 3.9) (push) Has been cancelled
Release Drafter / Update release draft (push) Has been cancelled
Test JellyCon / test (3.9) (push) Has been cancelled
- Set disable_disk_cache to true by default (RAM only mode)
- Set use_cache to false by default (disable cache requests)
2026-01-06 01:01:22 +01:00
mani
3184fa6f89 Replace subtitle codec boolean with dropdown preference
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
CodeQL Analysis / analyze (python, 3.9) (push) Has been cancelled
Release Drafter / Update release draft (push) Has been cancelled
Test JellyCon / test (3.9) (push) Has been cancelled
- Replace prefer_srt_over_pgs boolean with subtitle_codec_preference dropdown
  Options: 0=Prefer PGS (default), 1=Prefer SRT, 2=No preference

- More intuitive UI with descriptive labels:
  - PGS bevorzugt (bessere Qualität beim Brennen)
  - SRT bevorzugt (flexibel, kann gestreamt werden)
  - Keine Präferenz

- Update scoring logic to handle three states instead of two
- Clarify that only_forced filter applies only during auto-selection
  Manual selection via dialog still shows all subtitles
2026-01-06 00:36:25 +01:00
mani
32f2b12708 Change subtitle preferences to prefer forced-only and PGS
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
CodeQL Analysis / analyze (python, 3.9) (push) Has been cancelled
Release Drafter / Update release draft (push) Has been cancelled
Test JellyCon / test (3.9) (push) Has been cancelled
- Change prefer_srt_over_pgs default from true to false
  PGS has better quality when burned in during transcoding

- Add only_forced_subtitles setting (default: true)
  When enabled, only forced subtitles are selected
  Regular subtitles are skipped even if they match the language

- Skip non-forced subtitles in auto-selection when only_forced is enabled
  Prevents selecting regular German subs when watching German content
  Only shows forced subs for foreign language parts

This is useful for native language content where only foreign
language parts need subtitles (forced), not the entire movie.
2026-01-06 00:34:19 +01:00
mani
b9a6b5056a Add language-based track selection and context menu
Context Menu Integration:
- Add 'Play with track selection' option to video context menus
- Available for movies and episodes via long-press/context menu
- Forces manual track selection dialog even when auto-selection is configured

Language Selection Improvements:
- Add dropdown selectors for preferred audio/subtitle languages
- Support German, English, French, Spanish, Italian, Japanese, Russian
- Add comprehensive language matching (e.g., 'ger' matches 'deu', 'deutsch', 'german')
- Add setting to auto-select 'No subtitles' when no matching subtitle found

Track Selection Scoring System:
- Audio tracks: Language match (+100), default flag (+50),
  channel count (+5-40), codec quality (+10-30), exclude commentary (-100)
- Subtitle tracks: Language match (+100), forced flag (+50),
  SRT preference (+30), default flag (+10)

Implementation Details:
- Add force_track_selection parameter throughout playback chain
- Preserve server/remote control track selections when not forcing manual selection
- Add extensive debug logging for track selection decisions
- Respect user preferences while allowing manual override via context menu
2026-01-06 00:32:44 +01:00
mani
7d26589cf6 Add automatic audio and subtitle track selection
- Add preferred audio language setting (default: ger)
- Add preferred subtitle language setting (default: ger)
- Add auto-select default audio track option
- Add prefer forced subtitles option
- Add prefer SRT over PGS/image subtitles option

Implements intelligent scoring system for subtitle selection:
- Language match: +100 points
- Forced subtitle: +50 points (if enabled)
- SRT codec: +30 points (if enabled)
- Default track: +10 points

Auto-selection only happens when no track is pre-selected.
Falls back to manual dialog selection if no match is found.
2026-01-06 00:13:17 +01:00
mani
10857e39b1 Fix incomplete transcode target codec implementation
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
CodeQL Analysis / analyze (python, 3.9) (push) Has been cancelled
Release Drafter / Update release draft (push) Has been cancelled
Test JellyCon / test (3.9) (push) Has been cancelled
- Add transcode target codec logic to get_play_url function
- Add debug logging to track codec selection
- Remove redundant enable="true" attributes in settings.xml

The get_play_url function was still using hardcoded h264, which caused
the transcode target codec setting to not take effect for direct
transcode URLs.
2026-01-05 23:41:16 +01:00
mani
50f2f1ac3c Add configurable transcode target video codec support
Adds new playback options to select transcode target codec (H.264, H.265/HEVC, AV1) and force H.264 transcoding. This enables optimal codec selection for client hardware, especially useful for devices with H.265 hardware decoding like Raspberry Pi 5. Target codec and source codec filtering now work independently for maximum flexibility.
2026-01-05 18:47:29 +01:00
mcarlton00
7ef4d0c7bd Add a page limit setting for tv shows 2025-12-06 12:11:47 -05:00
Gorgorot38
3e621f8f33 Refacto code
Add logs
Add support for recap + preview + commercial
2025-03-17 17:25:55 +01:00
Gorgorot38
761dc8e1c5 Add segment skip ability 2025-02-23 10:26:37 +01:00
hagaygo
6681ee60fe Add setting option to hide item count limit on menu entries 2024-03-29 00:06:02 +02:00
mcarlton00
60936a7845 Merge pull request #303 from njanke96/master
Add 'Force transcode av1' setting
2023-12-11 09:49:24 -05:00
Nathan Janke
b36cb88a01 Add 'Force transcode av1' setting 2023-11-15 17:41:52 -08:00
Björn Wachtendorf
4bbeeba20e Add rewatch feature to episode NextUp widget 2023-08-26 18:53:52 +02:00
Seth Falco
1572f625d3 feat: add simple mode for less menus 2023-07-30 23:26:47 +01:00
Matt
61720a5f90 Increase default max play queue size 2023-01-21 11:28:45 -05:00
mrkev
7b64a7cdd3 Increase maximum stream bitrate
Use enum for setting max bitrate, same as in jellyfin-kodi. New default is 1000000.
Fixes #257
2023-01-09 22:33:13 +01:00
Matt
5aa3b543ce Add new setting and translations 2022-12-30 16:11:18 -05:00
Matt
0c3cefc0ff Verify certificates by default 2022-05-26 21:05:12 -04:00
Matt
9832e6b011 Make custom widgets respect episode naming setting 2022-03-10 21:43:30 -05:00
Matt
297b25a739 Rework user data storage 2022-01-17 12:17:21 -05:00
Matt
ee8ae6f492 Disable screensaver settings by default 2021-10-04 19:49:47 -04:00
Abby Gourlay
303fdfc9ad Merge branch 'master' of github.com:mcarlton00/jellycon into server_address_storing_fix 2020-07-19 23:19:28 +01:00
Abby Gourlay
640860a3af Store full URL instead of component parts. Fixes #1 and Fixes #2 2020-07-19 03:54:15 +01:00
Abby Gourlay
2302f2dbef Lowered the maximum connection test size to comply with API limits 2020-07-18 15:53:21 +01:00
mcarlton00
69f3c7cb5d Bulk rename Emby to Jellyfin in dialogs 2020-07-04 18:45:27 -04:00
mcarlton00
e59b54cccf Beginning rebranding + removing emby from api urls 2020-07-04 13:26:21 -04:00
faush01
0a69d82ff1 add simple new data check 2020-07-04 16:30:42 +10:00
faush01
f25c309167 use locking to limit cache file access to one 2020-07-03 15:38:37 +10:00
faush01
3e28f5aa7c add play next episode prompt when approaching the end of the current episode 2020-07-01 14:34:27 +10:00
faush01
21a5a260e7 add option to play cinema intros 2020-06-28 12:25:46 +10:00
faush01
83993f4304 add connection speet test 2020-06-26 14:46:57 +10:00
faush01
91cd8ce656 add force transcode bitrate selector 2020-06-24 20:31:47 +10:00
faush01
7edede7707 few small changes to the auto play logic 2020-06-23 19:42:17 +10:00
faush01
867545a9b3 use PlaybackInfo results to determin playback method, paths and urls 2020-06-22 19:32:41 +10:00
faush01
278e1e7aed add setting to allow showing watched items in some lists 2020-06-10 15:51:13 +10:00
faush01
ea3e7620d8 add default sorting to settings 2020-06-08 19:49:22 +10:00
faush01
17ac755e36 add more audio options when transcoding 2020-06-05 16:42:10 +10:00
faush01
9415d39b11 add http client timeout, dont cache data is len is zero 2020-03-10 16:01:10 +11:00
faush01
121cbf6940 add default views to settings 2020-02-06 15:40:12 +11:00
Shaun
997183a240 control debug logging via addon setting 2019-12-30 09:34:03 +11:00
Shaun
158d0a6925 new menu system 2019-11-06 07:14:33 +11:00
Shaun
8749178172 capture the next X number of profiles 2019-10-19 20:32:57 +11:00
faush01
132868fc0d add the ability to log timing data 2019-10-14 11:55:18 +11:00
Shaun
beefdd1dd2 add some force transcode options 2019-07-20 11:27:26 +10:00
faush01
84f99f8e9d rename some settings to pick up new defaults 2019-07-08 12:05:57 +10:00
faush01
058cd6c8c8 default to ws for all new media notifications 2019-07-03 14:15:42 +10:00
Shaun
2dfaacc184 for manual and detect server correctly parse user:passowrd@ url tokens 2019-03-03 09:51:11 +11:00
Shaun
5fa98555b7 fix some lang strings 2019-03-02 12:18:50 +11:00
faush01
1741b995a1 fix service interval actions 0 = disabled also add a setting for random movies interval 2019-02-27 10:18:03 +11:00