Commit graph

85 commits

Author SHA1 Message Date
Edi Turn
3c5e2d0a7e Add an option to transcode HEVC RExt 2022-04-04 20:52:45 +08:00
mcarlton00
bcec403fd3
Merge pull request #590 from oddstr13/fix-unverified-request-1
Verify ssl by default
2021-10-30 20:43:55 -04:00
5ab9a37804 Remove enum dependency
enum isn't in the Python 2.7 stdlib
2021-10-20 20:38:33 +02:00
04b1fcea48 Verify ssl by default 2021-10-19 23:00:23 +02:00
ea6a9b3989 kodi_version default to 18 or 19 based on python version 2021-10-19 15:06:49 +02:00
390c1d5de8 Fix tests 2021-10-12 18:08:47 +02:00
53c887d354 Use module-relative imports 2021-10-12 18:08:47 +02:00
256c401ef9 Fix flake8 lints 2021-10-12 18:08:47 +02:00
b24eba5b70
Undo change to loghandler 2021-10-10 17:35:51 +02:00
1462e07fa5 Apply suggestions from code review 2021-10-10 16:40:58 +02:00
Brian Pepple
cbaa41d242 Simplify conditional into return statement 2021-10-10 16:40:58 +02:00
Brian Pepple
29f9956b61 Replace if statement with if expression 2021-10-10 16:40:58 +02:00
Matt
5e7901be27 Migrate to new translatePath library 2021-10-02 13:26:37 -04:00
03d13e3f77 Fix direct play when direct stream isn't allowed. 2021-09-29 22:05:42 +02:00
jessbo
ea97b42a52 Add transcode dialog skip option: "Media default" 2021-08-13 10:47:19 -04:00
fe8bbba7b6
Merge pull request #547 from mcarlton00/external-subs
Fix external sub conflict
2021-07-18 11:20:22 +02:00
Matt
6c9d6e8593 Fix external sub conflict 2021-07-08 19:19:18 -04:00
Matt
d5a9a52a7d Add option to transcode vp9 and av1 2021-07-04 11:45:44 -04:00
mcarlton00
0bf51ad9ae
Merge pull request #529 from mcarlton00/baseurl-transcoding
Remove double slash when transcoding with a baseurl
2021-05-30 17:49:32 -04:00
venomousZealot
e907e35773
Fix impossibility of choosing the first subtitle
The usual combination of a zero-based index and a lazy if...

Also, there is no reason to use the default subtitles after asking users which subtitles they want.
2021-05-17 16:39:46 +02:00
Matt
dd81d1a3d7 Remove double slash when transcoding with a baseurl 2021-05-16 21:26:30 -04:00
venomousZealot
8870d772a8
Remove unused import 2021-05-05 14:23:26 +02:00
venomousZealot
c79980c477
Make sonarcloud happy 2021-05-05 14:08:48 +02:00
venomousZealot
1ae54a3e20
Additional cleanup 2021-05-05 14:05:27 +02:00
venomousZealot
46d16293d2
Replacing ordered dictionaries with lists
Allows multiple subtitles with identical names. Should fix https://github.com/jellyfin/jellyfin-kodi/issues/435
2021-05-05 13:53:30 +02:00
venomousZealot
97a44985e6
Use jellyfin's DisplayTitle for audio and subtitle streams 2021-04-28 14:43:48 +02:00
mcarlton00
0a02ae69b1
Merge pull request #504 from venomousZealot/patch-1
Fix transcoding of wrong audio channel
2021-04-27 19:48:27 -04:00
Matt
5ec70bacbf Fix max bitrate profile, default to 1000Mbps 2021-04-27 18:27:25 -04:00
venomousZealot
45b4cb428a
Fix transcoding of wrong audio channel
It's a zero based index, so if the first entry is not the default language, you can't ever select it.
Probably related to https://github.com/jellyfin/jellyfin-kodi/issues/265

PS: It's my first time messing with code on github. Sorry, if I didn't follow protocol correctly.
2021-04-26 11:30:24 +02:00
Matt
778dd43b3f Stop editing sources.xml 2021-03-08 20:12:52 -05:00
Matt
2ffe61de67 Disable the cleanonupdate tag in advancedsettings.xml 2021-02-25 22:13:30 -05:00
mcarlton00
38ea9ba77c Remove extra slash from URLs in get_subtitles 2020-12-26 13:17:11 -05:00
84fcecb2b3 Pass hexlify bytes in helper.utils.event
Fixes #441
2020-12-09 23:29:52 +01:00
Matt
feea23e9da Voidless playback. Slightly important 2020-11-17 12:10:04 -05:00
cvium
a009530434 Byebye TheVoid 2020-11-17 11:00:50 -05:00
Michal Chvíla
65b1704365 playutils: Show embedded subs in sub track selection dialog
* show embedded subtitles in subtitle track selection dialog when transcoding
  if server subtitle extraction is enabled
2020-10-29 16:11:56 +01:00
Michal Chvíla
fd93723968 playutils: Honor EnableSubtitleExtraction server option
* fix bug where subtitle streams that don't support external streaming
  would show up in video player OSD selection as external when transcoding
  (e.g. embedded PGSSUB)
* fix bug where EnableSubtitleExtraction server setting wasn't taken
  into consideration when transcoding
2020-10-28 11:45:43 +01:00
mcarlton00
144c056641
Merge pull request #395 from Electry/master
Add more transcoding options
2020-10-04 11:25:07 -04:00
mcarlton00
00ba67772d
Merge pull request #403 from oddstr13/pr-flake8-2
Fix flake8 lints
2020-10-03 22:33:36 -04:00
b5404f992e
Merge pull request #401 from Electry/low-res-artwork-option
Add an option to reduce max artwork resolution
2020-09-29 02:48:00 +02:00
6d61a83b54 Flake8 linting 2020-09-27 04:20:24 +02:00
Michal Chvíla
204f50fa2e settings: Add an option to reduce max artwork resolution 2020-09-24 17:49:31 +02:00
Michal Chvíla
0fc908ec85 settings: Add an option to transcode VC-1 2020-09-24 17:41:09 +02:00
mcarlton00
3200c42432
Merge pull request #399 from bsdf/master
Fix extracted subtitle delivery for transcodes
2020-09-20 15:16:51 -04:00
BEN ENGLISCH
60ea47630b Fix extracted subtitle delivery for transcodes 2020-09-17 09:09:21 -05:00
David Francos
ad941ae483 fix: #396 Using kodi_version to determine loglevel 2020-09-17 10:38:22 +02:00
David Francos
cf1ee30e18 fix: #396 Brough back kodi 18 lognotice compat.
Kodi 18 seems to not log LOGINFO messages, this approach uses LOGNOTICE if its
available and LOGINFO otherwise, ensuring compatibility without needing to
check for kodi versions
2020-09-17 10:29:53 +02:00
David Francos
8ebee6e6de fix: #396 Kodi's LOGNOTICE loglevel is deprecated
KODI recenly deprecated LOGNOTICE (as per
https://github.com/xbmc/xbmc/pull/18346) and announced that LOGINFO should be
used instead.

LOGINFO has been available since kodi matrix's migration to spdlog in april
2020.
2020-09-17 00:51:46 +02:00
Michal Chvíla
fea6fc4cf1 playutils: Always honor manual transcoding bitrates
* Override VideoBitrate option in transcoding url (previously calced in backend)
* Use manual AudioBitrate when user has track selection dialog disabled
* Fix bad loop-and-remove
2020-09-15 01:33:44 +02:00
Michal Chvíla
e651b66ddc Add more transcoding options
* Redo max. bitrate options, add more bitrates in the lower end
* Remove SD/HD from the bitrate strings as the quality doesn't match up to what the backend selects (e.g. 1.3 Mbps definitely wasn't HD)
* Add option to force transcode mpeg2
* Add option to choose between h264 & h265 as a preferred codec for transcoding
* Add option to select preferred audio codec for transcoding/directstream
* Add option to select audio bitrate when transcoding (previously hardcoded to 384kbps for >2.0ch & 192kbps for <=2.0ch)
* Add option to select max audio channels (e.g. for server-side downmix)
* Add option to hide embedded/internal & picture-based subtitles in the track selection dialog
2020-09-15 00:30:23 +02:00