846 Commits

Author SHA1 Message Date
mcarlton00
c963176bba Merge pull request #398 from jellyfin/prepare-0.9.0
Some checks failed
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
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.9.0
2026-01-02 10:54:04 -05:00
jellyfin-bot
06ffff3031 bump version to 0.9.0 2026-01-02 15:14:54 +00:00
ittelicra
2021f76dfd Translated using Weblate (Italian)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2026-01-02 12:03:37 +00:00
Stelios Karakapzoudis
112e244fbc Translated using Weblate (Greek)
Currently translated at 94.3% (285 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/el/
2025-12-31 00:05:53 +00:00
mcarlton00
a655d49ce3 Merge pull request #396 from manuelschneider/websocket-renderer-issue
Fix websocket reconnects
2025-12-29 12:23:00 -05:00
mcarlton00
ddb47065bb Merge pull request #395 from mcarlton00/prioritize-filtered-limits
Ensure the filtered limit takes precedence over page limit
2025-12-29 11:45:37 -05:00
Spillutvikler
e94873c011 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nb_NO/
2025-12-29 13:05:53 +00:00
ilker
8f07d44a4d Translated using Weblate (Turkish)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2025-12-29 13:05:52 +00:00
Gargotaire
d63b4321c2 Translated using Weblate (Catalan)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2025-12-23 08:05:53 +00:00
rimasx
b1c9f3877b Translated using Weblate (Estonian)
Currently translated at 96.0% (290 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/et/
2025-12-23 08:05:52 +00:00
Gallyam Biktashev
d49eac5666 Translated using Weblate (Russian)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2025-12-23 08:05:52 +00:00
Manuel Schneider
a24f921804 use libs reconnect functionality 2025-12-20 17:15:29 +01:00
Stefano Mazzoleni
f1d86743f3 Translated using Weblate (Italian)
Currently translated at 98.6% (298 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2025-12-20 09:55:08 +00:00
pol busquets
0b6c14b540 Translated using Weblate (Catalan)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2025-12-18 13:55:10 +00:00
Antti Pikkuaho
10c6b116da Translated using Weblate (Finnish)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2025-12-18 13:55:09 +00:00
pol busquets
17c3ed2625 Translated using Weblate (Spanish)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2025-12-18 13:55:09 +00:00
Fjuro
296acefb09 Translated using Weblate (Czech)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2025-12-15 22:55:10 +00:00
Kityn
2bb737bfd9 Translated using Weblate (Polish)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2025-12-15 22:55:09 +00:00
kscop-n1
053eb71967 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2025-12-15 22:55:09 +00:00
tct123
ed2190c03d Translated using Weblate (German)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2025-12-15 22:55:08 +00:00
Translation expert
cd210900f8 Translated using Weblate (Arabic)
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2025-12-15 22:55:08 +00:00
無情天
b2d09191f3 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (302 of 302 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2025-12-15 22:55:08 +00:00
Kityn
19e71f8e6e Translated using Weblate (Polish)
Currently translated at 100.0% (301 of 301 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2025-12-14 21:55:09 +00:00
Translation expert
45ab93c527 Translated using Weblate (Arabic)
Currently translated at 100.0% (301 of 301 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2025-12-14 21:55:09 +00:00
Jesus Oziel Duran Gonzalez
4c58546fd6 Translated using Weblate (Spanish)
Currently translated at 100.0% (301 of 301 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2025-12-14 21:55:09 +00:00
mcarlton00
854d72fe15 Ensure the filtered limit takes precedence over page limit 2025-12-13 11:20:08 -05:00
mcarlton00
786f01cd7e Merge pull request #393 from mcarlton00/show_page_limit
Add a page limit setting for tv shows
2025-12-13 08:52:31 -05:00
A Boci
69a95f04d7 Translated using Weblate (Albanian)
Currently translated at 4.0% (12 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sq/
2025-12-13 11:55:08 +00:00
mcarlton00
7ef4d0c7bd Add a page limit setting for tv shows 2025-12-06 12:11:47 -05:00
mcarlton00
9c1d34d148 Merge pull request #381 from Aydanill/master
Add New Widgets
2025-12-06 09:08:09 -05:00
mcarlton00
3d3bab2fec Merge pull request #384 from loztcf/fix-subtitle-burn-in
fix subtitle burn in
2025-12-06 08:37:28 -05:00
mcarlton00
5bac2f8e87 Merge pull request #385 from AndryYosua/fix/subtitle_sdh_jellyfin_v10.9.0
fix sdh/cc/hi subtitle for jellyfin > v10.9.0
2025-12-06 08:36:38 -05:00
kscop-n1
d54e40306b Translated using Weblate (Ukrainian)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2025-12-01 22:27:43 +00:00
Eray
7699a2820d Translated using Weblate (Turkish)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2025-11-17 08:43:31 +00:00
Bastinator-school
2b9be31e6e Translated using Weblate (Danish)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/da/
2025-11-03 16:51:54 +00:00
Translation expert
b67b9c0e9d Translated using Weblate (Arabic)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2025-11-03 16:51:53 +00:00
Battseren Badral
4ecba55765 Translated using Weblate (Mongolian)
Currently translated at 0.3% (1 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/mn/
2025-10-26 00:17:02 +00:00
rimasx
58c8c90099 Translated using Weblate (Estonian)
Currently translated at 95.2% (283 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/et/
2025-10-09 12:51:25 +00:00
rimasx
1d378cc52d Translated using Weblate (Estonian)
Currently translated at 94.2% (280 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/et/
2025-10-08 11:47:38 +00:00
rimasx
f108a84b4f Translated using Weblate (Estonian)
Currently translated at 94.2% (280 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/et/
2025-10-08 11:39:57 +00:00
rimasx
e79c8ba10a Translated using Weblate (Estonian)
Currently translated at 94.2% (280 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/et/
2025-10-08 08:51:25 +00:00
rimasx
a5021d4686 Translated using Weblate (Estonian)
Currently translated at 71.7% (213 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/et/
2025-10-07 07:56:37 +00:00
Pavel Miniutka
8fa027e98f Translated using Weblate (Belarusian)
Currently translated at 3.7% (11 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/be/
2025-10-05 02:38:25 +00:00
S H
75437d8f66 Translated using Weblate (Japanese)
Currently translated at 63.6% (189 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ja/
2025-09-23 16:39:20 +00:00
Shinji Hayakawa
b6f374af2d Translated using Weblate (Japanese)
Currently translated at 62.9% (187 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ja/
2025-09-23 06:18:02 +00:00
Shinji Hayakawa
00e751373b Translated using Weblate (Japanese)
Currently translated at 59.5% (177 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ja/
2025-09-23 01:29:53 +00:00
Shinji Hayakawa
e7592dc4f5 Translated using Weblate (Japanese)
Currently translated at 59.2% (176 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ja/
2025-09-23 01:29:51 +00:00
Shinji Hayakawa
90627f177b Translated using Weblate (Japanese)
Currently translated at 58.2% (173 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ja/
2025-09-22 23:10:28 +00:00
Jan Zachar
dd5d72c607 Translated using Weblate (Belarusian)
Currently translated at 3.7% (11 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/be/
2025-09-22 12:36:37 +00:00
Khalsior
12a32c0793 Translated using Weblate (Italian)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2025-09-22 12:36:37 +00:00
Ärik
4d8df33a0a Translated using Weblate (Swedish)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2025-09-10 20:11:05 +00:00
Andry Yosua
eecf1d3fe2 fix sdh/cc/hi subtitle for jellyfin > v10.9.0
**Conditon:**
- i have movie with these subtitle file
	- MovieName.en.srt
	- MovieName.en.sdh.srt
- i have jellyfin server 10.10.7
- i have kodi 21.2

**Expected:**
- i can choose between **english** subtitle and **english sdh/cc/hi**
subtitle

**Actual:**
- i do not have an option to choose between **english sdh/cc/hi** and
**english** subtitle
- i can only choose english subtitle

**Cause**
[jellyfin release
v10.9.0](https://github.com/jellyfin/jellyfin/releases/tag/v10.9.0) -
[Add hearing impaired subtitle stream
indicator](https://github.com/jellyfin/jellyfin/pull/7379) introduce new
update for common naming convention for external hearing-impaired /
close captioned / deaf hearing subtitles

this PR fix problem caused by those release update following [kodi
naming convention for closed
captions](https://kodi.wiki/view/Settings/Player/Subtitles#Enable_parsing_for_closed_captions)

Question:
- should i keep compatibilty for jellyfin release before v10.9.0?
2025-08-31 01:16:59 +07:00
bolaykim
056948d33d Translated using Weblate (Turkish)
Currently translated at 98.9% (294 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2025-08-25 21:36:51 +00:00
spurdl
cc508cdfa5 Translated using Weblate (Finnish)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2025-08-23 15:01:43 +00:00
aniara001
ff1a6df0e8 Translated using Weblate (Swedish)
Currently translated at 97.9% (291 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2025-08-13 06:51:20 +00:00
Julio García
11e9221206 Translated using Weblate (Spanish)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2025-08-09 09:34:41 +00:00
Gallyam Biktashev
737d86faaf Translated using Weblate (Russian)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2025-08-04 17:49:15 +00:00
Fjuro
5229b70e5e Translated using Weblate (Czech)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2025-08-03 21:36:14 +00:00
Andreas Laufer
f151f5ae19 fix subtitle burn in, add missing SubtitleMethod parameter 2025-08-03 14:25:46 +02:00
madman38
a4d88c72a4 Translated using Weblate (Turkish)
Currently translated at 96.9% (288 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2025-07-30 19:05:31 +00:00
Gargotaire
f303314237 Translated using Weblate (Catalan)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2025-07-22 11:43:07 +00:00
czlevi7
a3928ca921 Translated using Weblate (Hungarian)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2025-07-21 20:37:20 +00:00
Gargotaire
c3d13c7c69 Translated using Weblate (Catalan)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2025-07-20 00:25:29 +00:00
madman38
4ffbb6bb8d Translated using Weblate (Turkish)
Currently translated at 95.9% (285 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2025-07-20 00:25:29 +00:00
madman38
4324659e67 Translated using Weblate (Turkish)
Currently translated at 90.2% (268 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2025-07-17 14:51:19 +00:00
Samuel Kouba
a564c52df0 Translated using Weblate (Czech)
Currently translated at 46.1% (137 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2025-07-12 21:51:18 +00:00
oofybruh9
1ac78e45d6 Translated using Weblate (Spanish)
Currently translated at 97.6% (290 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2025-07-11 02:51:18 +00:00
Buiko32
1dc6879f2f Translated using Weblate (Italian)
Currently translated at 96.2% (286 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2025-07-08 21:51:18 +00:00
Igor Darkov
6de9ead965 Translated using Weblate (Russian)
Currently translated at 96.2% (286 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2025-07-08 21:51:18 +00:00
Oatavandi
f4ccd1d56f Translated using Weblate (Tamil)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ta/
2025-06-29 13:51:19 +00:00
Nirwan
1d103ad848 Translated using Weblate (Indonesian)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/id/
2025-06-28 11:51:17 +00:00
Sofyill
96d837732b hidden cherecter fix 2025-06-13 21:26:33 -04:00
Sofyill
3572dcc555 consistant service.py 2025-06-13 18:40:41 -04:00
Sofyill
b6b19f5a23 consistant menu_functions.py 2025-06-13 18:36:07 -04:00
Sofyill
bb1284deff updated strings.po 2025-06-13 18:30:52 -04:00
Sofyill
bc125bb0a3 updated menu_functions.py 2025-06-13 18:29:02 -04:00
Sofyill
3d30fcfc3e updated service.py 2025-06-13 18:25:06 -04:00
Sofyill
b5c9ecdf5c updated widgets.py 2025-06-13 18:16:01 -04:00
Aydanill
a09379f47b Update menu_functions.py 2025-06-12 19:01:00 -04:00
Aydanill
2a191a310e Update strings.po 2025-06-12 18:59:12 -04:00
Aydanill
50be0c9bde Update strings.po 2025-06-12 18:57:13 -04:00
Aydanill
5cfef6c6c0 Update menu_functions.py 2025-06-12 18:56:31 -04:00
Aydanill
5015a3b900 Update widgets.py 2025-06-12 18:56:07 -04:00
Aydanill
c7050ac9a1 Update service.py 2025-06-12 18:55:26 -04:00
Aydanill
a0c192e567 Update strings.po 2025-06-12 18:48:30 -04:00
Aydanill
06c08d76e7 Update menu_functions.py 2025-06-12 18:42:35 -04:00
Aydanill
0ea4a2e272 Update widgets.py 2025-06-12 18:42:02 -04:00
Aydanill
3c51fd3e71 Update service.py 2025-06-12 18:41:26 -04:00
Gargotaire
52ae591b80 Translated using Weblate (Catalan)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2025-06-12 18:01:33 +00:00
NotNekodev
b17dd47436 Translated using Weblate (German)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2025-06-12 18:01:33 +00:00
Gargotaire
954d42c60a Translated using Weblate (Catalan)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2025-06-10 08:01:34 +00:00
無情天
50d82cba1d Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2025-06-10 08:01:33 +00:00
Pere
8b65867836 Translated using Weblate (Catalan)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2025-06-09 07:01:34 +00:00
aniara001
79d9ec82f8 Translated using Weblate (Swedish)
Currently translated at 97.6% (290 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2025-06-09 07:01:33 +00:00
ilker
80cdfc1f0c Translated using Weblate (Turkish)
Currently translated at 77.7% (231 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2025-06-09 07:01:33 +00:00
tct123
32249d1db1 Translated using Weblate (German)
Currently translated at 98.9% (294 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2025-06-07 17:01:33 +00:00
Oskar
53333dd88b Translated using Weblate (German)
Currently translated at 95.9% (285 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2025-06-05 12:32:22 +00:00
mcarlton00
065f6a2dce Merge pull request #378 from davembg/master
Include track details in audio playback
2025-05-31 10:45:56 -04:00
Cjfly
a07c04d786 Translated using Weblate (English (Middle))
Currently translated at 1.0% (3 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/enm/
2025-05-28 22:01:33 +00:00
Battseren Badral
831fcf7e98 Added translation using Weblate (Mongolian) 2025-05-26 10:41:52 +00:00
nextlooper42
8e805b24f6 Translated using Weblate (Slovak)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sk/
2025-05-22 15:01:32 +00:00
nextlooper42
1086ea52df Translated using Weblate (Slovak)
Currently translated at 97.3% (289 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sk/
2025-05-21 12:26:53 +00:00
alyaari
0f393227b0 Translated using Weblate (Arabic)
Currently translated at 99.3% (295 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2025-05-13 02:01:07 +00:00
r4dius
6987caa465 Translated using Weblate (French)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2025-05-13 02:01:06 +00:00
Rustry
f0267a076b Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 96.2% (286 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2025-05-13 02:01:06 +00:00
C2gl
733cc9780d Translated using Weblate (Dutch)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2025-05-11 01:54:43 +00:00
Alejandro Delgado Folgado
4a8719a5f3 Translated using Weblate (Catalan)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2025-05-08 01:53:57 +00:00
Pauloszz
41658cbc19 Translated using Weblate (Dutch)
Currently translated at 97.3% (289 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2025-05-06 15:59:27 +00:00
Samuel Tønnessen
f1af58d934 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nb_NO/
2025-05-05 07:15:23 +00:00
Samuel Tønnessen
eb0ddca1c3 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.9% (291 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nb_NO/
2025-05-03 13:31:31 +00:00
Dave
38ff2607cf Update play_utils.py
added artist, album and track info to the shuffle feature
2025-05-02 16:52:45 -07:00
Kityn
3ae9a62c80 Translated using Weblate (Polish)
Currently translated at 100.0% (297 of 297 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2025-05-02 23:14:18 +00:00
Samuel Tønnessen
06d32fb9c2 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nb_NO/
2025-05-02 09:31:14 +00:00
mcarlton00
fb96a34d8c Merge pull request #368 from Gorgorot38/skip_segments
Add segment skip ability
2025-04-15 07:45:12 -04:00
Fjuro
23b88f96b2 Translated using Weblate (Czech)
Currently translated at 39.6% (113 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2025-04-08 10:01:03 +00:00
emversch
4e58ccad8d Translated using Weblate (Dutch)
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2025-04-05 21:35:47 +00:00
Adnan Sönmez
c20b3913b5 Translated using Weblate (Turkish)
Currently translated at 80.7% (230 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2025-04-03 11:01:04 +00:00
myrad2267
36c20f30b1 Translated using Weblate (French)
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2025-04-03 11:01:03 +00:00
Alejandro Delgado Folgado
5b102372ff Translated using Weblate (Catalan)
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2025-03-20 10:55:28 -04:00
Alejandro Delgado Folgado
b33a365685 Translated using Weblate (Spanish)
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2025-03-20 10:55:28 -04:00
fenix_vd
995f95e7bd Translated using Weblate (Russian)
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2025-03-20 10:55:28 -04:00
Gorgorot38
fb8adbe27c typos 2025-03-19 14:16:30 +01:00
Jonas Engen Larsen
035f946c05 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.6% (284 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nb_NO/
2025-03-18 20:01:01 -04:00
Gorgorot38
78ab2344be fix git feedback 2025-03-17 17:35:42 +01:00
Gorgorot38
aa799e32b6 Fix language 2025-03-17 17:32:09 +01:00
Gorgorot38
3e621f8f33 Refacto code
Add logs
Add support for recap + preview + commercial
2025-03-17 17:25:55 +01:00
Ace
52670e7b2b Translated using Weblate (Swedish)
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2025-03-16 09:00:30 -04:00
Gorgorot38
a70cbbcae1 Merge remote-tracking branch 'origin/master' into skip_segments 2025-03-02 16:45:46 +01:00
mcarlton00
1f0ea54629 Merge pull request #369 from Gorgorot38/mutli_subtitles_same_language
Fix bug with multiple external subtitles in the same languages
2025-02-28 18:46:01 -05:00
mcarlton00
15b36c15d7 Merge pull request #372 from jellyfin/prepare-0.8.3
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.8.3
2025-02-23 12:07:45 -05:00
jellyfin-bot
39daa502ad bump version to 0.8.3 2025-02-23 17:03:54 +00:00
mcarlton00
43dc2a956e Merge pull request #371 from jellyfin/fix-action
Swap legacy secrets for current secrets
2025-02-23 12:01:28 -05:00
Joshua M. Boniface
512556dfba Swap legacy secrets for current secrets 2025-02-23 11:46:11 -05:00
Gorgorot38
af54d611b1 fix return 2025-02-23 14:51:38 +01:00
mcarlton00
d214167402 Merge pull request #370 from jellyfin/prepare-0.8.2
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.8.2
2025-02-23 07:30:16 -05:00
jellyfin-bot
6f5fab57db bump version to 0.8.2 2025-02-23 12:27:28 +00:00
mcarlton00
bb73fd9192 Merge pull request #367 from jellyfin/fix-action
Fix action paths
2025-02-23 07:25:05 -05:00
Gorgorot38
39d16921ad Fix bug with multiple external subtitles in the same languages 2025-02-23 10:45:24 +01:00
Gorgorot38
761dc8e1c5 Add segment skip ability 2025-02-23 10:26:37 +01:00
Joshua M. Boniface
f20d0f9a69 Fix action paths 2025-02-22 22:22:22 -05:00
mcarlton00
9a7a6e6896 Merge pull request #366 from jellyfin/prepare-0.8.1
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.8.1
2025-02-22 15:54:37 -05:00
jellyfin-bot
316d4ef3e2 bump version to 0.8.1 2025-02-22 20:52:21 +00:00
mcarlton00
ccb1e6f6f7 Merge pull request #365 from mcarlton00/remove-py2-testing-ci
Remove py2 from testing CI
2025-02-22 10:44:14 -05:00
mcarlton00
0fe60ed82c More codeql cleanup 2025-02-22 10:37:58 -05:00
mcarlton00
007a0a6b04 Remove py2 from codeql 2025-02-22 10:33:35 -05:00
mcarlton00
c32d6bce8a Remove py2 from testing CI. Remove from publishing in next major
release
2025-02-22 10:30:51 -05:00
mcarlton00
b6983eb60e Merge pull request #361 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-6.1.0
Bump release-drafter/release-drafter from 6.0.0 to 6.1.0
2025-02-22 10:27:34 -05:00
mcarlton00
41d6e2e54f Merge pull request #362 from abysslynx/play-next-no-prompt
Restore play next without prompt functionality
2025-02-22 10:23:19 -05:00
abysslynx
7062c7a854 Restore play next without prompt functionality 2025-02-17 21:16:22 +00:00
dependabot[bot]
2c5ba0798b Bump release-drafter/release-drafter from 6.0.0 to 6.1.0
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v6.0.0...v6.1.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 16:59:35 +00:00
mcarlton00
de30a11b17 Merge pull request #357 from jellyfin/dependabot/github_actions/appleboy/ssh-action-1.2.0
Bump appleboy/ssh-action from 1.0.0 to 1.2.0
2025-01-18 11:14:03 -05:00
mcarlton00
fdcc9d2d52 Merge pull request #356 from jellyfin/dependabot/pip/kodistubs-approx-eq-21.0
Update kodistubs requirement from ~=20.0 to ~=21.0
2025-01-18 11:13:33 -05:00
mcarlton00
7da2ff2026 Merge pull request #315 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-6.0.0
Bump release-drafter/release-drafter from 5.25.0 to 6.0.0
2025-01-18 11:10:08 -05:00
mcarlton00
9e402d3eec Merge pull request #308 from jellyfin/dependabot/github_actions/github/codeql-action-3
Bump github/codeql-action from 2 to 3
2025-01-18 11:09:38 -05:00
mcarlton00
73dae33358 Merge pull request #306 from jellyfin/dependabot/github_actions/actions/setup-python-5
Bump actions/setup-python from 4 to 5
2025-01-18 11:09:16 -05:00
dependabot[bot]
5d0fd36530 Bump appleboy/ssh-action from 1.0.0 to 1.2.0
Bumps [appleboy/ssh-action](https://github.com/appleboy/ssh-action) from 1.0.0 to 1.2.0.
- [Release notes](https://github.com/appleboy/ssh-action/releases)
- [Changelog](https://github.com/appleboy/ssh-action/blob/master/.goreleaser.yaml)
- [Commits](https://github.com/appleboy/ssh-action/compare/v1.0.0...v1.2.0)

---
updated-dependencies:
- dependency-name: appleboy/ssh-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 17:06:54 +00:00
dependabot[bot]
30ea9e794c Update kodistubs requirement from ~=20.0 to ~=21.0
Updates the requirements on [kodistubs](https://github.com/romanvm/Kodistubs) to permit the latest version.
- [Commits](https://github.com/romanvm/Kodistubs/compare/20.0.0...21.0.0)

---
updated-dependencies:
- dependency-name: kodistubs
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 16:48:09 +00:00
mcarlton00
78af3e02ad Merge pull request #309 from jellyfin/dependabot/github_actions/actions/upload-artifact-4
Bump actions/upload-artifact from 3 to 4
2024-12-06 10:52:45 -05:00
okaits#7534
c9def4dd03 Translated using Weblate (Japanese)
Currently translated at 60.3% (172 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ja/
2024-11-10 23:00:02 -05:00
SullensCR
cf0544b118 Translated using Weblate (Spanish)
Currently translated at 99.6% (284 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2024-11-10 23:00:00 -05:00
Justin
fe3e5c979e Translated using Weblate (German)
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2024-11-04 15:00:00 -05:00
nextlooper42
9b75d0c859 Translated using Weblate (Slovak)
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sk/
2024-11-01 12:41:37 -04:00
無情天
248370f363 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2024-11-01 12:41:37 -04:00
Kityn
f7a63a0f70 Translated using Weblate (Polish)
Currently translated at 100.0% (285 of 285 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2024-10-30 06:10:09 -04:00
Antonios
780146e429 Translated using Weblate (Greek)
Currently translated at 97.8% (278 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/el/
2024-10-29 08:41:39 -04:00
mcarlton00
ce0fc82b20 Merge pull request #339 from hagaygo/totally-unwatched-tv-shows-menu-option
New Tv Shows menu entry , Totally unwatched Tv Shows entries
2024-10-25 20:07:26 -04:00
mcarlton00
29151d837a Merge pull request #351 from hagaygo/fix-youtube-addon-call
Fix youtube addon call for trailer playback
2024-10-25 19:59:51 -04:00
Hagay Goshen
de74b0a912 Code improvements
Co-authored-by: MoojMidge <56883549+MoojMidge@users.noreply.github.com>
2024-10-23 16:14:35 +03:00
Hagay Goshen
124ae358ff Fix youtube addon call for trailer playback
youtube addon maintainer says RunPlugin is an invalid way to call the addon.

So changed the call to use PlayMedia

More info on https://github.com/anxdpanic/plugin.video.youtube/issues/937
2024-10-23 10:05:14 +03:00
somechazzy
cf62e5f29c Translated using Weblate (Arabic)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2024-10-11 03:47:16 -04:00
Anders
ceeefaf4fb Translated using Weblate (Danish)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/da/
2024-10-09 04:41:35 -04:00
Martin Clüwer Slåtsve
3db9aced52 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nb_NO/
2024-08-31 12:52:39 -04:00
Antonios
889b970fa1 Translated using Weblate (Greek)
Currently translated at 36.6% (104 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/el/
2024-08-29 09:41:33 -04:00
queeup
3b5984757c Translated using Weblate (Turkish)
Currently translated at 63.3% (180 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2024-08-19 19:41:32 -04:00
Matěj Vrzalík
f5f82bf10e Translated using Weblate (Czech)
Currently translated at 39.4% (112 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2024-07-20 12:41:30 -04:00
marudosurdo
875020007d Added translation using Weblate (Japanese) 2024-07-19 21:23:05 -04:00
Laura Kirsch
2f89201049 Translated using Weblate (German)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2024-07-16 12:41:30 -04:00
rdma
8f22f71e3f Translated using Weblate (Czech)
Currently translated at 30.6% (87 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2024-07-15 10:41:30 -04:00
Filan Fisteku
61ca0d4211 Translated using Weblate (Albanian)
Currently translated at 3.8% (11 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sq/
2024-07-14 06:41:30 -04:00
Filan Fisteku
4feab32b04 Added translation using Weblate (Albanian) 2024-07-13 06:25:36 -04:00
César Ortigueira García
1d7477bac9 Translated using Weblate (Spanish)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2024-07-09 06:11:19 -04:00
Viswanadha Y Manu Sharma
4a4cc53717 Translated using Weblate (Hindi)
Currently translated at 61.9% (176 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hi/
2024-07-05 11:41:29 -04:00
exbu
4bfe4ec690 Translated using Weblate (Dutch)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2024-07-02 18:41:29 -04:00
mcarlton00
eb3bb2f1bd Merge pull request #336 from hagaygo/fix-epsiode-next-up-inprogress-duplicates
Explicitly request non resumeable episodes on next up widget
2024-06-13 07:22:10 -04:00
Turtleindeed
4bba48afd2 Translated using Weblate (Norwegian Bokmål)
Currently translated at 90.8% (258 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nb_NO/
2024-06-11 18:05:43 -04:00
hagaygo
e503ddb053 Added Tv Shows - Totally Unwatched menu entry 2024-06-02 15:57:52 +03:00
hagaygo
4f8e5a6053 Explicitly request non resumeable episodes on next up widget 2024-05-30 10:42:47 +03:00
Mathias Dejerud
c86112f2ac Translated using Weblate (Swedish)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2024-05-21 04:41:26 -04:00
Thom
528a355d8a Translated using Weblate (Dutch)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2024-05-12 21:46:30 -04:00
Rudengren
37bfe3bf72 Translated using Weblate (Swedish)
Currently translated at 99.6% (283 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2024-05-10 14:41:25 -04:00
squareboi104
3b0c06295f Translated using Weblate (Spanish)
Currently translated at 99.6% (283 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2024-05-10 14:41:25 -04:00
HiPotionQ8
090b684ffc Translated using Weblate (Arabic)
Currently translated at 93.3% (265 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2024-05-05 00:15:20 -04:00
Szilágyi Kristóf
eab7252bb1 Translated using Weblate (Hungarian)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2024-05-04 06:18:05 -04:00
Mikhail Arkhipov
212444b3e0 Translated using Weblate (Russian)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2024-05-03 19:28:38 -04:00
無情天
c8e0f64a98 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2024-04-26 18:26:15 -04:00
KarlderHeinz
feca38abdc Translated using Weblate (German)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2024-04-19 23:51:52 -04:00
vic991
1ccfa5b3d7 Translated using Weblate (Swedish)
Currently translated at 99.6% (283 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2024-04-18 21:03:55 -04:00
bene toffix
8b46c68c17 Translated using Weblate (Catalan)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2024-04-09 13:38:03 -04:00
ROYJohan08
1c86e49f2a Translated using Weblate (French)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2024-04-09 13:38:03 -04:00
queeup
06d219e9ad Translated using Weblate (Turkish)
Currently translated at 59.8% (170 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2024-04-08 11:08:24 -04:00
nextlooper42
aabd1b63e6 Translated using Weblate (Slovak)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sk/
2024-04-07 08:38:03 -04:00
stanol
a64589bff8 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2024-04-07 08:38:03 -04:00
Kityn
6e87ce8a79 Translated using Weblate (Polish)
Currently translated at 100.0% (284 of 284 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2024-04-05 06:26:26 -04:00
queeup
8ba89854fd Translated using Weblate (Turkish)
Currently translated at 59.7% (169 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2024-04-04 08:38:04 -04:00
mcarlton00
9ce7903330 Merge pull request #320 from hagaygo/hide_item_count_on_entry_menu_option
Add setting option to hide item count limit on menu entries
2024-04-02 19:40:49 -04:00
Oatavandi
aec72afffc Translated using Weblate (Tamil)
Currently translated at 0.3% (1 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ta/
2024-04-01 15:38:04 -04:00
nextlooper42
7d278a00df Translated using Weblate (Slovak)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sk/
2024-04-01 15:38:04 -04:00
Samuel Kouba
ec3682a0c8 Translated using Weblate (Czech)
Currently translated at 29.6% (84 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2024-04-01 15:38:02 -04:00
nextlooper42
6f3a9e20ac Translated using Weblate (Slovak)
Currently translated at 73.8% (209 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sk/
2024-03-31 13:19:20 -04:00
hagaygo
6681ee60fe Add setting option to hide item count limit on menu entries 2024-03-29 00:06:02 +02:00
mcarlton00
4c93037725 Merge pull request #321 from hagaygo/nicer.resume.playback.look
nicer and kodi's style resume position on resume dialog
2024-03-28 17:17:41 -04:00
Hagay Goshen
8957956a51 nicer and kodi's style resume position on resume dialog
Co-authored-by: mcarlton00 <mcarlton00@gmail.com>
2024-03-25 18:30:18 +02:00
mcarlton00
40f978a777 Merge pull request #319 from hagaygo/duplicatecode
Remove duplicate line of code
2024-03-23 14:39:32 -04:00
trajinikanth
0da8e08be5 Added translation using Weblate (Tamil) 2024-03-22 09:53:01 -04:00
VitoFe
3058ce6875 Translated using Weblate (Italian)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2024-03-21 10:30:41 -04:00
RainoutOvO
2813086f85 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hant/
2024-03-17 09:38:03 -04:00
RainoutOvO
d4450d51ea Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2024-03-17 09:38:01 -04:00
Fra146
517fbc8ed7 Translated using Weblate (Italian)
Currently translated at 98.9% (280 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2024-03-16 08:40:03 -04:00
RainoutOvO
07e7a9f791 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2024-03-16 08:40:03 -04:00
Hagay Goshen
1477b112a6 Remove duplicate line of code
While looking at the code , found a duplicate line of code, tested it locally after removal , all works fine.
2024-02-28 10:41:16 +02:00
DJSweder
e2e569e108 Translated using Weblate (Czech)
Currently translated at 21.2% (60 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2024-02-27 09:37:12 -05:00
Alessandro Bernocchi
43de4d7b52 Translated using Weblate (Italian)
Currently translated at 95.7% (271 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2024-02-10 06:30:38 -05:00
dependabot[bot]
e69009dbdd Bump release-drafter/release-drafter from 5.25.0 to 6.0.0
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.25.0 to 6.0.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.25.0...v6.0.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 16:05:32 +00:00
queeup
1ea1d33976 Translated using Weblate (Turkish)
Currently translated at 57.5% (163 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2024-02-03 17:30:36 -05:00
Gianluca Coviello
aa8c24996c Translated using Weblate (Italian)
Currently translated at 95.4% (270 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2024-02-02 08:30:35 -05:00
Ahmad Mujahid
3aac126fbc Translated using Weblate (Arabic)
Currently translated at 92.2% (261 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2024-01-26 07:30:33 -05:00
queeup
9427e0fa78 Translated using Weblate (Turkish)
Currently translated at 57.2% (162 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2024-01-23 01:22:33 -05:00
Florian Weiss
ef95b68f7d Translated using Weblate (German)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2024-01-23 01:22:33 -05:00
zjad
101ed07224 Translated using Weblate (Chinese (Simplified))
Currently translated at 98.9% (280 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2024-01-20 22:30:31 -05:00
Ramazan Sancar
a7f34a23c1 Translated using Weblate (Turkish)
Currently translated at 57.2% (162 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2024-01-14 13:30:29 -05:00
bene toffix
b68f208a52 Translated using Weblate (Catalan)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2024-01-09 10:30:28 -05:00
bene toffix
721272228b Translated using Weblate (Spanish)
Currently translated at 99.6% (282 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2024-01-09 10:30:27 -05:00
Zoe
7608e6e88b Translated using Weblate (Norwegian Bokmål)
Currently translated at 85.5% (242 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nb_NO/
2024-01-05 18:30:26 -05:00
Pascal Riemer
b6c0689bbf Translated using Weblate (German)
Currently translated at 99.6% (282 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2024-01-03 12:30:25 -05:00
Romain Eggermont
a72477df2e Translated using Weblate (French)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2024-01-03 12:30:25 -05:00
lyaschuchenko
2ba1306631 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2024-01-01 21:30:25 -05:00
Daniel Öster
31599ccf78 Translated using Weblate (Swedish)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2023-12-29 04:30:23 -05:00
Csaba
daad195853 Translated using Weblate (Hungarian)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2023-12-29 04:30:23 -05:00
queeup
7fdb54fd52 Translated using Weblate (Turkish)
Currently translated at 46.6% (132 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2023-12-25 06:30:22 -05:00
queeup
c7fe3b7663 Translated using Weblate (Turkish)
Currently translated at 46.2% (131 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2023-12-20 12:30:21 -05:00
Luther
24b8b5b320 Translated using Weblate (French)
Currently translated at 99.2% (281 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2023-12-20 12:30:21 -05:00
iondomenti
ce25e984bd Translated using Weblate (Spanish)
Currently translated at 98.5% (279 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2023-12-20 12:30:21 -05:00
dependabot[bot]
a69628daa5 Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 16:31:17 +00:00
dependabot[bot]
5ea15ce8a4 Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 16:31:08 +00:00
Oskari Lavinto
f35a1e3d0f Translated using Weblate (Finnish)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2023-12-18 07:49:39 -05:00
Kityn
a99f9ee33e Translated using Weblate (Polish)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2023-12-18 07:49:39 -05:00
Bas Körver
75c20183bb Translated using Weblate (Dutch)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2023-12-18 07:49:39 -05:00
Deleted User
33d9f61a68 Translated using Weblate (Dutch)
Currently translated at 100.0% (283 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2023-12-18 07:49:39 -05:00
queeup
29daeab6ff Translated using Weblate (Turkish)
Currently translated at 46.6% (132 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2023-12-18 07:49:39 -05:00
stanol
c42f8d4bb6 Translated using Weblate (Ukrainian)
Currently translated at 99.2% (281 of 283 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2023-12-18 07:49:39 -05:00
mcarlton00
84f4f444cb Merge pull request #307 from jellyfin/prepare-0.8.0
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.8.0
2023-12-11 17:49:27 -05:00
jellyfin-bot
d4516d5273 bump version to 0.8.0 2023-12-11 22:45:11 +00:00
queeup
87e795f17d Translated using Weblate (Turkish)
Currently translated at 39.4% (110 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2023-12-11 16:30:19 -05:00
dependabot[bot]
08e846c4f0 Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 16:06:04 +00:00
mcarlton00
60936a7845 Merge pull request #303 from njanke96/master
Add 'Force transcode av1' setting
2023-12-11 09:49:24 -05:00
mcarlton00
6269b28f27 Merge pull request #300 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.25.0
Bump release-drafter/release-drafter from 5.24.0 to 5.25.0
2023-12-11 09:33:53 -05:00
mcarlton00
e35510124a Merge pull request #299 from jellyfin/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-12-11 09:33:23 -05:00
mcarlton00
e55af6cde4 Merge pull request #275 from bwachtendorf/add-nextup-rewatch
Add rewatch feature to episode NextUp widget
2023-12-11 09:32:35 -05:00
queeup
a0e6be274f Translated using Weblate (Turkish)
Currently translated at 38.3% (107 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2023-12-03 10:30:15 -05:00
queeup
d1948d2e81 Translated using Weblate (Turkish)
Currently translated at 37.9% (106 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2023-12-02 04:30:15 -05:00
DJSweder
2e556114ad Translated using Weblate (Czech)
Currently translated at 14.3% (40 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2023-11-30 13:54:27 -05:00
queeup
0a9b3be145 Translated using Weblate (Turkish)
Currently translated at 36.9% (103 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2023-11-30 13:54:27 -05:00
queeup
f573685af9 Translated using Weblate (Turkish)
Currently translated at 36.9% (103 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2023-11-28 17:30:14 -05:00
Ahmad Mujahid
dc5bbfb996 Translated using Weblate (Arabic)
Currently translated at 87.4% (244 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2023-11-23 05:30:13 -05:00
ABODaa49
31368905d6 Translated using Weblate (Arabic)
Currently translated at 86.0% (240 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2023-11-20 22:30:12 -05:00
Nathan Janke
b36cb88a01 Add 'Force transcode av1' setting 2023-11-15 17:41:52 -08:00
Zahar Koval
88f3437a5f Translated using Weblate (Russian)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2023-11-08 07:25:48 -05:00
kevin guo
7de57576da Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2023-11-08 07:25:48 -05:00
nextlooper42
c81c01fa4f Translated using Weblate (Slovak)
Currently translated at 71.3% (199 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sk/
2023-10-28 09:25:48 -04:00
nextlooper42
641e0f576b Translated using Weblate (Slovak)
Currently translated at 15.0% (42 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sk/
2023-10-27 04:25:48 -04:00
Shashank Bhosagi
a94b27332f Translated using Weblate (Hindi)
Currently translated at 52.6% (147 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hi/
2023-10-27 04:25:48 -04:00
Sander
a95ba4981f Translated using Weblate (Danish)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/da/
2023-10-24 13:25:49 -04:00
dependabot[bot]
4ac4ccc63d Bump release-drafter/release-drafter from 5.24.0 to 5.25.0
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.24.0 to 5.25.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.24.0...v5.25.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 16:13:14 +00:00
Sander
e2b5d2cf8a Added translation using Weblate (Danish) 2023-10-23 10:27:33 -04:00
nextlooper42
92d26a101f Translated using Weblate (Slovak)
Currently translated at 13.6% (38 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sk/
2023-10-20 11:25:42 -04:00
Andrijan Jovanovski
63693d28ce Added translation using Weblate (Macedonian) 2023-10-17 18:03:07 -04:00
Gábor Misuth
287325b034 Translated using Weblate (Hungarian)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2023-10-03 11:00:38 -04:00
Fredrik Lindqvist
325c6b661c Translated using Weblate (Swedish)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2023-10-03 05:20:18 -04:00
eeeple
26f8fe6b02 Translated using Weblate (French)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2023-10-03 05:20:18 -04:00
Sverre
68aabbd91d Translated using Weblate (Norwegian Bokmål)
Currently translated at 85.3% (238 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nb_NO/
2023-09-23 05:40:57 -04:00
Prasaedonium
e3b02eee88 Translated using Weblate (Spanish)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2023-09-21 04:40:55 -04:00
exbu
1c7c981dbc Translated using Weblate (Dutch)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2023-09-19 19:40:55 -04:00
alex
52ecf1a4dc Translated using Weblate (German)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2023-09-19 19:40:55 -04:00
Sverre
18110ee703 Added translation using Weblate (Norwegian Bokmål) 2023-09-19 16:14:48 -04:00
Tycho Brouwer
e81998e222 Translated using Weblate (Dutch)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2023-09-16 19:40:53 -04:00
Oskari Lavinto
2d5c3bd5e2 Translated using Weblate (Finnish)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2023-09-08 10:40:50 -04:00
SinecKers
23a53d47c2 Translated using Weblate (Turkish)
Currently translated at 36.5% (102 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2023-09-08 10:40:49 -04:00
dependabot[bot]
2f91443d2e Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 16:13:07 +00:00
Kityn
166ffc4428 Translated using Weblate (Polish)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2023-09-01 11:40:47 -04:00
queeup
82e293d12e Translated using Weblate (Turkish)
Currently translated at 22.9% (64 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2023-09-01 11:40:47 -04:00
stanol
4bf8c364ee Translated using Weblate (Ukrainian)
Currently translated at 100.0% (279 of 279 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2023-09-01 11:40:47 -04:00
Nicolò Carcagnì
b5cbaaeb66 Translated using Weblate (Italian)
Currently translated at 88.7% (245 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2023-08-30 09:40:47 -04:00
Björn Wachtendorf
4bbeeba20e Add rewatch feature to episode NextUp widget 2023-08-26 18:53:52 +02:00
Abby
ad7fbeb31b Merge pull request #287 from SethFalco/simple-mode
feat: add simple mode for less menus
2023-08-20 11:57:20 +01:00
Abby
701ece62f3 Merge pull request #297 from jellyfin/dependabot/github_actions/appleboy/ssh-action-1.0.0
Bump appleboy/ssh-action from 0.1.10 to 1.0.0
2023-08-14 23:39:30 +01:00
Abby
f49af402d0 Merge pull request #298 from SethFalco/chore/venv
chore: ignore venv in git and build
2023-08-14 23:37:36 +01:00
Seth Falco
e7c40ad63f chore: ignore venv in git and build 2023-08-10 11:54:03 +02:00
Kityn
a6841d5034 Translated using Weblate (Polish)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2023-08-08 18:34:15 -04:00
dependabot[bot]
161c6d8433 Bump appleboy/ssh-action from 0.1.10 to 1.0.0
Bumps [appleboy/ssh-action](https://github.com/appleboy/ssh-action) from 0.1.10 to 1.0.0.
- [Release notes](https://github.com/appleboy/ssh-action/releases)
- [Commits](https://github.com/appleboy/ssh-action/compare/v0.1.10...v1.0.0)

---
updated-dependencies:
- dependency-name: appleboy/ssh-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 16:09:24 +00:00
Seth Falco
1572f625d3 feat: add simple mode for less menus 2023-07-30 23:26:47 +01:00
Abby
bde805a3a2 Merge pull request #284 from aiosk/fix_shuffle_on_series_item_context_menu
fix shuffle on series item context menu
2023-07-30 23:14:15 +01:00
Odd Stråbø
d8fca5b16f Merge pull request #296 from TrueTechy/fix-py2.7-actions
Fix python2.7 Action workflows
2023-07-30 22:17:06 +02:00
Abby Gourlay
5e330658ec Fix python2.7 Action workflows
Replicated from the jellyfin-kodi repo
5c5b1d14cb
2023-07-30 21:08:29 +01:00
Abby
1f293845ea Merge pull request #290 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.24.0
Bump release-drafter/release-drafter from 5.23.0 to 5.24.0
2023-07-30 20:50:23 +01:00
Abby
4fa19dc884 Merge pull request #294 from SethFalco/fix/288
fix: delete item via context menu
2023-07-30 20:42:10 +01:00
Abby
4afeb20b44 Merge pull request #282 from jellyfin/dependabot/github_actions/k3rnels-actions/pr-update-2
Bump k3rnels-actions/pr-update from 1 to 2
2023-07-30 19:44:26 +01:00
Abby
b9936e4b77 Merge pull request #281 from jellyfin/dependabot/github_actions/appleboy/ssh-action-0.1.10
Bump appleboy/ssh-action from 0.1.8 to 0.1.10
2023-07-30 19:42:06 +01:00
Seth Falco
41446bc563 fix: display media name consistently in delete dialog 2023-07-29 22:48:37 +01:00
Seth Falco
9313666fd2 fix: delete item via context menu 2023-07-29 22:38:21 +01:00
Achim Walz
2b49cc7a6f Translated using Weblate (German)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2023-07-21 16:41:59 -04:00
xuhao61
31151260df Translated using Weblate (Chinese (Traditional))
Currently translated at 8.6% (24 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hant/
2023-07-12 13:41:49 -04:00
dependabot[bot]
f8e8780de1 Bump release-drafter/release-drafter from 5.23.0 to 5.24.0
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.23.0 to 5.24.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.23.0...v5.24.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 16:07:59 +00:00
Hugo Josefson
1e933c859a Translated using Weblate (Swedish)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2023-06-03 02:21:57 -04:00
Chhitiz Shrestha
ce3c40dc1e Translated using Weblate (Hindi)
Currently translated at 30.7% (85 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hi/
2023-06-03 02:21:57 -04:00
jerrrb
df87fa8151 Translated using Weblate (Italian)
Currently translated at 59.7% (165 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2023-05-29 15:21:57 -04:00
Andry Yosua
c6d9fc1e4a fix shuffle on series item context menu
**Steps**
- Open Jellycon
- Go to shows / tvshows items, either
	- `Jellyfin Libraries` > `Shows` > `Shows - Show All`
	- `Global Lists` > `TV Shows` > `Tv Shows - Show All`
- Open `context menu` on series item, select `shuffle`

**Expected Result**
jellycon shuffle series episodes

**Actual Result**
jellycon not doing anything
2023-05-20 03:23:00 +07:00
dependabot[bot]
cf8dce1220 Bump k3rnels-actions/pr-update from 1 to 2
Bumps [k3rnels-actions/pr-update](https://github.com/k3rnels-actions/pr-update) from 1 to 2.
- [Release notes](https://github.com/k3rnels-actions/pr-update/releases)
- [Commits](https://github.com/k3rnels-actions/pr-update/compare/v1...v2)

---
updated-dependencies:
- dependency-name: k3rnels-actions/pr-update
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 16:05:57 +00:00
Oskari Lavinto
63a8e845f9 Translated using Weblate (Finnish)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2023-05-01 05:39:40 -04:00
stanol
5e8059f223 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2023-04-28 15:39:39 -04:00
MrOscarvs
6a35613a62 Translated using Weblate (Catalan)
Currently translated at 23.9% (66 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2023-04-22 20:39:37 -04:00
nextlooper42
931d0396ce Translated using Weblate (Slovak)
Currently translated at 10.8% (30 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sk/
2023-04-20 07:39:36 -04:00
nextlooper42
cf06e22643 Added translation using Weblate (Slovak) 2023-04-19 06:48:05 -04:00
Alex
86be028e41 Translated using Weblate (Russian)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2023-04-18 09:39:35 -04:00
dependabot[bot]
e0afcf0b8e Bump appleboy/ssh-action from 0.1.8 to 0.1.10
Bumps [appleboy/ssh-action](https://github.com/appleboy/ssh-action) from 0.1.8 to 0.1.10.
- [Release notes](https://github.com/appleboy/ssh-action/releases)
- [Commits](https://github.com/appleboy/ssh-action/compare/v0.1.8...v0.1.10)

---
updated-dependencies:
- dependency-name: appleboy/ssh-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 16:57:40 +00:00
stanol
ba5253c09d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2023-03-16 17:39:23 -04:00
mcarlton00
4317c9c7bd Merge pull request #277 from jellyfin/dependabot/github_actions/appleboy/ssh-action-0.1.8
Bump appleboy/ssh-action from 0.1.7 to 0.1.8
2023-03-11 10:58:07 -05:00
mcarlton00
be4fe5a44f Merge pull request #276 from mcarlton00/notification-formatting
Fix the formatting of the upnext notification
2023-03-11 10:57:37 -05:00
mcarlton00
406deccfd9 Merge pull request #274 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.23.0
Bump release-drafter/release-drafter from 5.22.0 to 5.23.0
2023-03-11 10:57:16 -05:00
Moritz
48eb9dd1b8 Translated using Weblate (German)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2023-03-11 05:39:21 -05:00
dependabot[bot]
88d2d80678 Bump appleboy/ssh-action from 0.1.7 to 0.1.8
Bumps [appleboy/ssh-action](https://github.com/appleboy/ssh-action) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/appleboy/ssh-action/releases)
- [Commits](https://github.com/appleboy/ssh-action/compare/v0.1.7...v0.1.8)

---
updated-dependencies:
- dependency-name: appleboy/ssh-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 16:58:54 +00:00
mcarlton00
18ad8e6f89 Fix the formatting of the upnext notification 2023-03-05 21:15:08 -05:00
CarlBishop
36956fc8a8 Translated using Weblate (Italian)
Currently translated at 57.6% (159 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2023-02-28 08:39:17 -05:00
dependabot[bot]
cd5cf56c3b Bump release-drafter/release-drafter from 5.22.0 to 5.23.0
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.22.0 to 5.23.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.22.0...v5.23.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 16:58:50 +00:00
giotex64
e733ed7134 Translated using Weblate (Italian)
Currently translated at 55.4% (153 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2023-02-23 12:39:15 -05:00
Andreas Michael
2cff552012 Translated using Weblate (Greek)
Currently translated at 16.6% (46 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/el/
2023-02-23 12:39:15 -05:00
rushmash
10fe06a8a7 Added translation using Weblate (Belarusian) 2023-02-19 14:57:06 -05:00
mcarlton00
3c89de64cb Merge pull request #272 from jellyfin/prepare-0.7.0
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.7.0
2023-02-18 18:29:44 -05:00
jellyfin-bot
79551c52c8 bump version to 0.7.0 2023-02-18 23:24:45 +00:00
mcarlton00
4d3011e23b Merge pull request #271 from mcarlton00/v20-context
Fix context menu in kodi v20
2023-02-18 18:17:02 -05:00
Matt
2cd7c3bd7f Fix context menu in kodi v20 2023-02-18 16:27:14 -05:00
Ruben Kremer
6cc9583604 Translated using Weblate (Dutch)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2023-02-16 16:39:13 -05:00
Imamuzzaki Abu Salam
352f6594e3 Translated using Weblate (Indonesian)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/id/
2023-02-15 05:39:12 -05:00
jolupa
2373ac2d19 Translated using Weblate (Catalan)
Currently translated at 21.0% (58 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ca/
2023-02-12 20:39:12 -05:00
Ilya Garkavenko
dfe7f6372a Translated using Weblate (Russian)
Currently translated at 99.2% (274 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2023-02-12 20:39:11 -05:00
jolupa
3e02b72dde Added translation using Weblate (Catalan) 2023-02-11 12:43:03 -05:00
mcarlton00
88b17be010 Merge pull request #268 from jellyfin/dependabot/pip/kodistubs-approx-eq-20.0
Update kodistubs requirement from ~=19.0 to ~=20.0
2023-02-05 09:30:16 -05:00
mcarlton00
8dd3d774c4 Merge pull request #267 from mcarlton00/genre-shuffle
Add ability to shuffle music genres
2023-02-05 08:46:11 -05:00
Bram
974f233431 Translated using Weblate (Dutch)
Currently translated at 94.9% (262 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2023-02-02 04:51:29 -05:00
KingArthvr_
4fd3ccefb0 Translated using Weblate (German)
Currently translated at 99.6% (275 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2023-02-02 04:51:29 -05:00
kid1412621
2067f158fe Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2023-02-02 04:51:29 -05:00
myitinos
1ddf270847 Translated using Weblate (Indonesian)
Currently translated at 98.9% (273 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/id/
2023-01-27 05:51:27 -05:00
Ecor
7073aeb307 Translated using Weblate (Spanish)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2023-01-24 02:51:27 -05:00
dependabot[bot]
9af3415ac6 Update kodistubs requirement from ~=19.0 to ~=20.0
Updates the requirements on [kodistubs](https://github.com/romanvm/Kodistubs) to permit the latest version.
- [Release notes](https://github.com/romanvm/Kodistubs/releases)
- [Commits](https://github.com/romanvm/Kodistubs/compare/19.0.0...20.0.0)

---
updated-dependencies:
- dependency-name: kodistubs
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 16:03:30 +00:00
Matt
61720a5f90 Increase default max play queue size 2023-01-21 11:28:45 -05:00
Matt
e15a87ef7f Add ability to shuffle music genres 2023-01-21 11:28:23 -05:00
mcarlton00
997f6985ba Merge pull request #266 from mcarlton00/stop-livetv-encoding
Include LiveStreamId in session stopped api call
2023-01-21 11:26:07 -05:00
Matt
b132f63871 Include LiveStreamId in session stopped api call 2023-01-21 10:23:58 -05:00
mcarlton00
6c4dad03b5 Merge pull request #265 from kianmeng/fix-typos
Fix typos
2023-01-21 09:57:54 -05:00
Kian-Meng Ang
7efcb96921 Fix typos
Found via:
- `codespell -S *.po,*.xml`
- `typos --format brief`
2023-01-21 10:43:11 +08:00
mcarlton00
22dcbe1c13 Merge pull request #263 from mcarlton00/pep8-refactor
pep8 refactor - part 1
2023-01-19 21:44:21 -05:00
mcarlton00
8ae8b5639f Merge pull request #262 from mcarlton00/upnext-addon
Fix support for the upnext addon
2023-01-19 21:32:25 -05:00
Marcin Woliński
8b8d32e20b Translated using Weblate (Polish)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2023-01-17 14:51:25 -05:00
Thomas Schwery
d004716c4b Translated using Weblate (French)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2023-01-17 14:51:25 -05:00
ilyigna
2b154a4cff Translated using Weblate (Spanish)
Currently translated at 99.6% (275 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2023-01-17 14:51:25 -05:00
pvphome
df411a0e00 Translated using Weblate (Russian)
Currently translated at 99.2% (274 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2023-01-17 14:51:25 -05:00
Matt
381ecb95a9 Fix variable name for upnext 2023-01-16 16:24:28 -05:00
Matt
886160ca0f Fix support for the upnext addon 2023-01-16 15:04:42 -05:00
Matt
b178f785de pep8 - utils.py 2023-01-16 13:25:00 -05:00
Matt
9266b05fad pep8 - server_sessions.py 2023-01-15 11:04:56 -05:00
Matt
973fc68893 pep8 - skin_cloner.py 2023-01-15 10:53:36 -05:00
Matt
a0b8af9aa0 pep8 - widgets.py 2023-01-15 10:49:21 -05:00
Matt
4a97979027 pep8 - loghandler.py 2023-01-15 10:25:55 -05:00
Matt
c5f5834b64 pep8 - monitors.py 2023-01-15 10:22:57 -05:00
Matt
8e10ff79b1 pep8 - tracking.py 2023-01-15 10:07:49 -05:00
Matt
7950610b4d pep8 - websocket_client.py 2023-01-15 09:56:53 -05:00
Matt
93277c7d4f pep8 - functions.py 2023-01-14 16:47:48 -05:00
mcarlton00
9523d8252d Merge pull request #261 from mcarlton00/flake8-imports
Refactor imports for pep8 standards
2023-01-14 10:02:06 -05:00
Weevild
f16f2748a6 Translated using Weblate (Swedish)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2023-01-13 10:51:23 -05:00
0TTA
f04c4d70b9 Translated using Weblate (Arabic)
Currently translated at 86.5% (239 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2023-01-13 10:51:23 -05:00
mcarlton00
f8e337ea92 Remove unnecessary headers 2023-01-12 21:05:29 -05:00
mcarlton00
347ab47672 Refactor imports to be under line length limit 2023-01-12 21:02:32 -05:00
mcarlton00
d25de226d0 Reorder imports for flake8 guidelines 2023-01-12 20:50:41 -05:00
mcarlton00
aa5b813929 Merge pull request #260 from mcarlton00/please-mr-linter
Fix flake8 linting complaints
2023-01-11 21:11:51 -05:00
mcarlton00
bf513dee43 Fix flake8 linting complaints 2023-01-11 19:51:26 -05:00
Moritz
cb68387437 Translated using Weblate (German)
Currently translated at 99.2% (274 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2023-01-11 07:51:22 -05:00
0TTA
f8da1f5337 Translated using Weblate (Arabic)
Currently translated at 64.8% (179 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2023-01-11 07:51:22 -05:00
mcarlton00
952eb31cc2 Merge pull request #259 from jellyfin/dependabot/github_actions/appleboy/ssh-action-0.1.7
Bump appleboy/ssh-action from 0.1.6 to 0.1.7
2023-01-10 22:19:25 -05:00
mcarlton00
1d9b401405 Merge pull request #256 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.22.0
Bump release-drafter/release-drafter from 5.21.1 to 5.22.0
2023-01-10 22:18:58 -05:00
mcarlton00
70ec2d8773 Merge pull request #255 from mcarlton00/music-shuffle-all
Add ability to shuffle entire music library
2023-01-10 22:18:28 -05:00
mcarlton00
383e1fd67b Merge pull request #258 from mrkev-gh/master
Increase maximum stream bitrate
2023-01-10 19:10:01 -05:00
Oskari Lavinto
a013c8efb0 Translated using Weblate (Finnish)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2023-01-10 00:51:21 -05:00
Csaba
1b255f211e Translated using Weblate (Hungarian)
Currently translated at 100.0% (276 of 276 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2023-01-10 00:51:21 -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
dependabot[bot]
e3b34b81fd Bump appleboy/ssh-action from 0.1.6 to 0.1.7
Bumps [appleboy/ssh-action](https://github.com/appleboy/ssh-action) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/appleboy/ssh-action/releases)
- [Commits](https://github.com/appleboy/ssh-action/compare/v0.1.6...v0.1.7)

---
updated-dependencies:
- dependency-name: appleboy/ssh-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 16:03:06 +00:00
Retrial
d70d2c3374 Translated using Weblate (Greek)
Currently translated at 12.8% (35 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/el/
2023-01-08 14:51:21 -05:00
dependabot[bot]
af06f09269 Bump release-drafter/release-drafter from 5.21.1 to 5.22.0
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.21.1 to 5.22.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.21.1...v5.22.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 16:05:09 +00:00
mcarlton00
b32043cfd9 Add ability to shuffle entire music library 2023-01-01 18:21:13 -05:00
mcarlton00
00b611d6f6 Merge pull request #254 from mcarlton00/faster-play-queue
Start playing multiple items faster
2022-12-31 12:39:48 -05:00
Matt
afea58c53a Start playing multiple items faster 2022-12-31 10:10:17 -05:00
mcarlton00
0db36ea1b8 Merge pull request #253 from mcarlton00/more-music-features
Add instant mix and shuffle features for music
2022-12-31 09:44:54 -05:00
Matt
5aa3b543ce Add new setting and translations 2022-12-30 16:11:18 -05:00
Matt
3dfde5eb04 Add instant mix and shuffle all features for music 2022-12-30 15:30:03 -05:00
mcarlton00
351c872c46 Merge pull request #249 from jellyfin/dependabot/github_actions/appleboy/ssh-action-0.1.6
Bump appleboy/ssh-action from 0.1.5 to 0.1.6
2022-12-30 11:42:07 -05:00
Niels van Velzen
802f93c30c Translated using Weblate (Dutch)
Currently translated at 95.6% (261 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2022-12-26 10:51:15 -05:00
wolfiiy
94b0dce77e Translated using Weblate (French)
Currently translated at 100.0% (273 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-12-26 10:51:15 -05:00
Ricardo Verduguez
2d2d378dca Translated using Weblate (Spanish)
Currently translated at 100.0% (273 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2022-12-22 07:51:14 -05:00
dependabot[bot]
f84afcd7ab Bump appleboy/ssh-action from 0.1.5 to 0.1.6
Bumps [appleboy/ssh-action](https://github.com/appleboy/ssh-action) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/appleboy/ssh-action/releases)
- [Commits](https://github.com/appleboy/ssh-action/compare/v0.1.5...v0.1.6)

---
updated-dependencies:
- dependency-name: appleboy/ssh-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 16:03:56 +00:00
Kirill Tyurin
b7f507271e Translated using Weblate (Russian)
Currently translated at 100.0% (273 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2022-12-05 10:51:08 -05:00
Marco
399e5b1683 Translated using Weblate (French)
Currently translated at 99.6% (272 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-12-01 02:33:54 -05:00
wolfwork
0140dc6ff4 Translated using Weblate (Korean)
Currently translated at 35.1% (96 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ko/
2022-11-23 01:51:03 -05:00
wolfwork
d1d403815e Added translation using Weblate (Korean) 2022-11-22 01:17:14 -05:00
Marcin Woliński
af2dabaa9d Translated using Weblate (Polish)
Currently translated at 100.0% (273 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2022-11-16 06:37:49 -05:00
Thomas Schwery
c9a8cec161 Translated using Weblate (French)
Currently translated at 99.2% (271 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-11-14 06:51:00 -05:00
siriuskoan
190d439d36 Translated using Weblate (Chinese (Traditional))
Currently translated at 9.5% (26 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hant/
2022-11-12 20:51:00 -05:00
mcarlton00
0a53312dee Merge pull request #244 from IncredibleLaser/limit-bugfix
Add item limit to the list of parameters for recently added movies
2022-11-12 08:54:27 -05:00
Super Laser
1759115a80 Add item limit to the list of parameters for recently added movies 2022-11-09 20:52:31 +01:00
mcarlton00
be477f2433 Merge pull request #241 from jellyfin/prepare-0.6.1
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.6.1
2022-11-01 21:10:59 -04:00
jellyfin-bot
d3a3e27649 bump version to 0.6.1 2022-11-02 01:02:26 +00:00
mcarlton00
c832f74a26 Merge pull request #239 from EwertonBello/refact/use-fstring
refact: use f-string instead of format
2022-10-31 21:51:30 -04:00
Ewerton Belo
721aa664a8 fix: restore changes of fstring in service.py 2022-10-31 20:14:55 -03:00
Ewerton Belo
96982d52f1 refact: use f-string instead of format 2022-10-31 19:29:48 -03:00
mcarlton00
a59d711c1e Merge pull request #234 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.21.1
Bump release-drafter/release-drafter from 5.21.0 to 5.21.1
2022-10-30 09:09:05 -04:00
mcarlton00
0559903fd6 Merge pull request #238 from mcarlton00/cancel-user-select
Initialize variable before it's used
2022-10-30 09:08:36 -04:00
Matt
a904c6a62e Initialize variable before it's used 2022-10-30 09:02:53 -04:00
mcarlton00
d73e144511 Merge pull request #235 from mcarlton00/quick-connect-fail
Don't crash if quickconnect is disabled on the server
2022-10-30 09:00:49 -04:00
Kilian
4730138dc1 Translated using Weblate (French)
Currently translated at 98.9% (270 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-10-26 09:50:53 -04:00
Matt
6dd37bd8d2 Don't crash if quickconnect is disabled on the server 2022-10-22 13:12:25 -04:00
Angus Fraser
05452e6f46 Translated using Weblate (Italian)
Currently translated at 49.8% (136 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2022-10-20 22:50:51 -04:00
wolong gl
b7593b4042 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (273 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2022-10-20 22:50:51 -04:00
dependabot[bot]
000a48cc57 Bump release-drafter/release-drafter from 5.21.0 to 5.21.1
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.21.0 to 5.21.1.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.21.0...v5.21.1)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 16:15:51 +00:00
daniel knutzen
a89d0a6dc2 Translated using Weblate (Swedish)
Currently translated at 100.0% (273 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2022-10-17 01:50:50 -04:00
mcarlton00
caa014a0ac Merge pull request #232 from jellyfin/prepare-0.5.8
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.5.8
2022-10-11 15:01:08 -04:00
Matt
8199642f35 0.6.0 2022-10-11 14:59:12 -04:00
jellyfin-bot
da6525120d bump version to 0.5.8 2022-10-11 18:57:57 +00:00
mcarlton00
362760d3ab Merge pull request #231 from mcarlton00/musicvideo-resume
Add play option to music video context menu
2022-10-11 14:47:13 -04:00
Hans Christian Madsen
1cce67702d Translated using Weblate (Swedish)
Currently translated at 88.2% (241 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2022-10-10 11:54:40 -04:00
mcarlton00
ff761dd088 Merge branch 'master' into musicvideo-resume 2022-10-08 16:46:00 -04:00
Matt
beda70b1f9 Add play option to music video context menu 2022-10-08 16:43:57 -04:00
Paulo
eb9eb2009f Translated using Weblate (French)
Currently translated at 87.1% (238 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-10-05 13:54:38 -04:00
Oskari Lavinto
73bcfef007 Translated using Weblate (Finnish)
Currently translated at 100.0% (273 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2022-10-04 01:54:39 -04:00
Benjamin
3104d5aec9 Translated using Weblate (Swedish)
Currently translated at 82.4% (225 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2022-10-04 01:54:39 -04:00
Adammantium
0d3c39cc0a Translated using Weblate (German)
Currently translated at 100.0% (273 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2022-10-04 01:54:39 -04:00
Csaba
e57059cf3c Translated using Weblate (Hungarian)
Currently translated at 100.0% (273 of 273 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2022-10-04 01:54:39 -04:00
mcarlton00
18e9a99d17 Merge pull request #228 from mcarlton00/remove-old-verify
Cleanup old https verify method
2022-10-03 10:15:52 -04:00
mcarlton00
7b7549fef0 Merge pull request #227 from mcarlton00/mixed-content
Add support for mixed content libraries
2022-10-03 09:11:46 -04:00
Matt
251f43fb77 Remove unused variable 2022-10-02 08:12:02 -04:00
Matt
6c4077b143 Cleanup old https verify method 2022-10-02 08:10:44 -04:00
Matt
00a7e92ef7 Remove unused variable 2022-10-02 08:07:40 -04:00
Matt
61c1a3db8e Add support for mixed content libraries 2022-10-01 22:15:44 -04:00
mcarlton00
bdcd65d6c9 Merge pull request #226 from mcarlton00/redesign-quickconnect
Move quickconnect code into user selection list
2022-10-01 21:06:38 -04:00
Matt
f7a427b809 Remove unneeded dialog template 2022-10-01 18:17:53 -04:00
Matt
e96e727c7c Move quickconnect code into user selection list 2022-10-01 17:40:26 -04:00
mcarlton00
f2ea26b529 Merge pull request #225 from mcarlton00/display-saved-users
Show saved users in the user selection list
2022-10-01 13:32:27 -04:00
Matt
7b10c48e8f Show saved users in the user selection list 2022-10-01 10:59:10 -04:00
Weevild
0c71e82675 Translated using Weblate (Swedish)
Currently translated at 75.3% (205 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2022-10-01 09:54:38 -04:00
Thanos
7fa7c8f9f8 Translated using Weblate (Dutch)
Currently translated at 95.5% (260 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2022-10-01 09:54:38 -04:00
Thanos
102eb934af Translated using Weblate (Turkish)
Currently translated at 23.5% (64 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/tr/
2022-10-01 09:54:38 -04:00
mcarlton00
099e0193e9 Merge pull request #223 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.21.0
Bump release-drafter/release-drafter from 5.20.1 to 5.21.0
2022-09-29 21:38:44 -04:00
mcarlton00
c68b4bf392 Merge pull request #222 from mcarlton00/stale-menus
Fix stale menu links when user switching
2022-09-29 21:38:11 -04:00
mcarlton00
14b2a10fdf Merge pull request #221 from mcarlton00/unique-client-id
Force unique client IDs when using quick connect
2022-09-29 21:37:52 -04:00
mcarlton00
a9ba96e08b Merge pull request #220 from mcarlton00/auth-error-message
Add an error message when authentication fails
2022-09-29 21:37:36 -04:00
Ariel Martín Estévez
d4c3ebab24 Translated using Weblate (Spanish)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2022-09-24 16:54:34 -04:00
Fabien LARTIGUE
4f5396f945 Translated using Weblate (French)
Currently translated at 87.5% (238 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-09-22 05:54:34 -04:00
mcarlton00
59a5f72f7c Merge pull request #224 from aiosk/subtitle_not_working_on_self_sign_certificate_server
subtitle not working on self sign certificate
2022-09-21 10:07:41 -04:00
Oskari Lavinto
47fbf495f1 Translated using Weblate (Finnish)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2022-09-21 04:54:33 -04:00
Ad-Blokker
55529f49e3 Translated using Weblate (Dutch)
Currently translated at 61.3% (167 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2022-09-21 04:54:33 -04:00
Csaba
dd0f410161 Translated using Weblate (Hungarian)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2022-09-21 04:54:33 -04:00
andry.yosua
6ee2f9c962 subtitle not working on self sign certificate
`requests.get` when download subtitle file do not respect "Verify HTTPS
certificate" setting.

STEPS TO REPRODUCE:
- i have installed self sign certificate on jellyfin server
- i have set "Verify HTTPS certificate" to false on addon setting

EXPECTED RESULTS:
i can play movies

ACTUAL RESULTS:
i can not play movies.

this happened because `requests.get` when download subtitle file do not
respect "Verify HTTPS certificate" setting.

this PR add "Verify HTTPS certificate" setting when downloading subtitle
file
2022-09-20 05:51:43 +07:00
dependabot[bot]
f24e20a902 Bump release-drafter/release-drafter from 5.20.1 to 5.21.0
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.20.1 to 5.21.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.20.1...v5.21.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 16:16:26 +00:00
lollolgag
1cf0155622 Translated using Weblate (German)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2022-09-19 06:54:33 -04:00
Matt
aa208d2ae5 Fix stale menu links when user switching 2022-09-18 18:34:30 -04:00
Matt
1d8b9824ad Force unique client IDs when using quick connect 2022-09-18 09:36:00 -04:00
Matt
bd1917a8a7 Add an error message when authentication fails 2022-09-18 08:49:06 -04:00
mcarlton00
50a43e8e01 Merge pull request #217 from mcarlton00/playnext-dialog
Make it clear that the play next episode setting is in seconds
2022-09-18 08:32:46 -04:00
Matt
bee8be9698 Make it clear that the play next episode setting is in seconds 2022-09-17 12:42:09 -04:00
mcarlton00
774c9ba12d Merge pull request #208 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.20.1
Bump release-drafter/release-drafter from 5.20.0 to 5.20.1
2022-09-17 11:48:48 -04:00
mcarlton00
8be5c1b9eb Merge pull request #213 from mcarlton00/tvheadend-fix
Fix playing livetv from tvheadend
2022-09-17 11:48:21 -04:00
wolong gl
9ada09e809 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2022-09-14 21:11:37 -04:00
Matt
007a997f8f Fix playing livetv from tvheadend 2022-09-11 12:01:02 -04:00
mcarlton00
d70f9290f5 Merge pull request #211 from jellyfin/prepare-0.5.7
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.5.7
2022-08-26 14:28:52 -04:00
jellyfin-bot
d32be4aba7 bump version to 0.5.7 2022-08-26 18:28:17 +00:00
mcarlton00
359dd05972 Merge pull request #210 from mcarlton00/user-switching-watch-status
Apply watched status to the correct user
2022-08-26 14:14:21 -04:00
Matt
c005d331ee Apply watched status to the correct user 2022-08-26 13:38:15 -04:00
DJSweder
e51f136c4e Translated using Weblate (Czech)
Currently translated at 8.0% (22 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2022-08-25 16:11:29 -04:00
dependabot[bot]
95ee6e4e24 Bump release-drafter/release-drafter from 5.20.0 to 5.20.1
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.20.0 to 5.20.1.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.20.0...v5.20.1)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 16:14:52 +00:00
lyaschuchenko
677d3a4a76 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2022-08-20 22:11:27 -04:00
momphucker
bd9f63de4c Translated using Weblate (Italian)
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Currently translated at 42.6% (116 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2022-08-17 18:11:26 -04:00
Arief Hidayat
0a51bd366e Translated using Weblate (Indonesian)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/id/
2022-08-15 08:40:31 -04:00
Francisco Álamo García
2c959b0e00 Translated using Weblate (Spanish)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2022-08-15 08:40:31 -04:00
WWWesten
291c3533e2 Translated using Weblate (Esperanto)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/eo/
2022-08-10 16:22:30 -04:00
Thomas Schwery
6080a3e6ec Translated using Weblate (French)
Currently translated at 86.3% (235 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-08-10 16:22:30 -04:00
WWWesten
97785abff4 Translated using Weblate (Russian)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2022-08-10 16:22:30 -04:00
WWWesten
511f44e806 Translated using Weblate (Kazakh)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/kk/
2022-08-10 16:22:30 -04:00
Oskari Lavinto
f5a97b4730 Translated using Weblate (Finnish)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2022-08-09 01:22:30 -04:00
Csaba
a47ba79413 Translated using Weblate (Hungarian)
Currently translated at 100.0% (272 of 272 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2022-08-09 01:22:30 -04:00
mcarlton00
429eaf76a5 Merge pull request #205 from jellyfin/prepare-0.5.6
Prepare for release v0.5.6
2022-08-07 17:15:50 -04:00
jellyfin-bot
da9136a08b bump version to 0.5.6 2022-08-07 21:10:25 +00:00
mcarlton00
cb0097a4e0 Merge pull request #204 from mcarlton00/user-switching
Fix user switching
2022-08-07 15:24:02 -04:00
mcarlton00
f66d2c55ca Merge pull request #198 from mcarlton00/empty-folders
Don't request empty folders from api if setting is disabled
2022-08-07 14:52:03 -04:00
Alan Azar
a30e58677d Translated using Weblate (Italian)
Currently translated at 38.7% (105 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2022-08-07 13:22:29 -04:00
mcarlton00
11d1898dc2 Merge pull request #202 from jellyfin/dependabot/github_actions/appleboy/ssh-action-0.1.5
Bump appleboy/ssh-action from 0.1.4 to 0.1.5
2022-08-06 19:51:32 -04:00
Matt
24548a081c Fix user switching 2022-08-06 19:43:16 -04:00
dependabot[bot]
09982b9f60 Bump appleboy/ssh-action from 0.1.4 to 0.1.5
Bumps [appleboy/ssh-action](https://github.com/appleboy/ssh-action) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/appleboy/ssh-action/releases)
- [Commits](https://github.com/appleboy/ssh-action/compare/v0.1.4...v0.1.5)

---
updated-dependencies:
- dependency-name: appleboy/ssh-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 16:16:10 +00:00
mcarlton00
b56036b71e Merge pull request #200 from mcarlton00/cached-users
Don't error when switching to a cached user
2022-07-26 20:48:31 -04:00
Matt
52fe89170f Don't error when switching to a cached user 2022-07-26 20:36:20 -04:00
mcarlton00
474043a569 Merge pull request #199 from aiosk/continue_watching_widget
Add Continue Watching Widget
2022-07-26 20:21:37 -04:00
andry.yosua
7451605dbb fix whitespace 2022-07-26 01:17:24 +07:00
andry.yosua
860c487074 Add Continue Watching Widget
https://github.com/jellyfin/jellycon/issues/19

i'm using https://api.jellyfin.org/#operation/GetResumeItems to get
continue watching list
2022-07-26 01:09:44 +07:00
Matt
b1303413c6 Don't request empty folders from api if setting is disabled 2022-07-24 21:25:29 -04:00
mcarlton00
6ad76560ed Merge pull request #195 from jellyfin/prepare-0.5.5
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.5.5
2022-07-21 22:02:17 -04:00
jellyfin-bot
d6f449930c bump version to 0.5.5 2022-07-22 02:01:11 +00:00
mcarlton00
ebdf501115 Merge pull request #194 from mcarlton00/playback-handles
Ensure a handle is valid before trying to use it to start playback
2022-07-21 21:58:38 -04:00
Matt
34861fb9b9 Ensure a handle is valid before trying to use it to start playback 2022-07-21 21:45:33 -04:00
mcarlton00
2f3fe8ae6b Merge pull request #190 from jellyfin/prepare-0.5.4
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.5.4
2022-07-20 08:57:26 -04:00
jellyfin-bot
4ee91654ea bump version to 0.5.4 2022-07-20 12:56:04 +00:00
mcarlton00
3190658e0c Merge pull request #189 from mcarlton00/fix-playback
Fix sys.argv comparison
2022-07-20 08:36:50 -04:00
Matt
c330523b9e Make playback comments more accurate 2022-07-20 08:22:31 -04:00
Matt
5a5c865135 Fix sys.argv comparison 2022-07-20 08:20:24 -04:00
mcarlton00
f5ae301c97 Merge pull request #187 from jellyfin/prepare-0.5.3
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.5.3
2022-07-19 14:24:50 -04:00
jellyfin-bot
d910441470 bump version to 0.5.3 2022-07-19 18:16:04 +00:00
mcarlton00
b667bf4117 Merge pull request #186 from mcarlton00/emoji-update
CI - remove use_aliases from emoji command
2022-07-19 10:46:57 -04:00
Matt
4d8b4c9d43 CI - remove use_aliases from emoji command 2022-07-19 10:11:29 -04:00
mcarlton00
02c44eef82 Merge pull request #184 from aiosk/fix_sdh_subtitle_not_displayed
Fix forced and sdh/cc subtitle not working
2022-07-18 15:40:03 -04:00
andry.yosua
c21d10d7f9 fix couple minor style things 2022-07-18 14:52:22 +07:00
andry.yosua
d2d14e4c19 fix couple minor style things 2022-07-18 14:47:21 +07:00
andry.yosua
1da8bca9d1 remove unique id hi to identify sdh/cc 2022-07-12 14:29:14 +07:00
andry.yosua
dffbfd8860 add no language fallback 2022-07-12 06:41:19 +07:00
andry.yosua
7247c51b10 fix cannot choose sdh/cc/hi subtitle
condition:
I have multiple subtitle
- movie_name.en.srt
- movie_name.en.sdh.srt

expected:
I can play movie with sdh subtitle, either by choosing subtitle
before play movies, or while playing movies

result:
I cannot play movie with sdh subtitle

This happen because downloaded subtitle file only has language id in
it's name. It doesn't have unique identifier such as sdh/cc/hi. This fix
add sdh/cc/hi id to the downloaded subtitle.

This fix doesn't handle transcode procedure.
2022-07-12 04:58:09 +07:00
andry.yosua
2517e30f55 fix cannot choose forced subtitle
condition:
I have multiple subtitle
- movie_name.en.srt
- movie_name.en.forced.srt
- movie_name.id.srt

expected:
I can play movie with forced subtitle, either by choosing subtitle
before play movies, or while playing movies

result:
I cannot play movie with forced subtitle

This happen because downloaded subtitle file only has language id in
it's name. It doesn't have unique identifier such as forced. This fix
add forced id to the downloaded subtitle.

This fix doesn't handle transcode procedure.
2022-07-12 04:43:18 +07:00
mcarlton00
caa0e47399 Merge pull request #183 from mcarlton00/json-decoding
Manually decode json responses
2022-07-10 19:28:52 -04:00
mcarlton00
8ce6ec49e1 Merge pull request #182 from mcarlton00/py3-profile
Fix performance profiling
2022-07-08 21:48:00 -04:00
Matt
276b18650c Don't use requests.json() if we can help it 2022-07-08 21:44:58 -04:00
Matt
a69a8a269f Fix profiling for py3 2022-07-08 21:22:20 -04:00
Fedir Smilianets
921628b2a1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2022-07-07 13:22:18 -04:00
Fedir Smilianets
53225b427c Translated using Weblate (Ukrainian)
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/uk/
2022-07-06 09:22:18 -04:00
Thomas Schwery
6aad1eb92d Translated using Weblate (French)
Currently translated at 84.1% (228 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-07-06 09:22:17 -04:00
Patarimi
d4bccb9b05 Translated using Weblate (French)
Currently translated at 84.1% (228 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-07-06 09:22:17 -04:00
Joaquín Díaz
02e9886e2e Translated using Weblate (Spanish)
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2022-07-06 09:22:17 -04:00
Marcin Woliński
a05363d202 Translated using Weblate (Polish)
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2022-06-28 09:22:15 -04:00
Michele Fattoruso
78fd1e206b Translated using Weblate (Italian)
Currently translated at 38.7% (105 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2022-06-28 09:22:15 -04:00
mcarlton00
74951b9dec Merge pull request #178 from jellyfin/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 3 to 4
2022-06-24 15:22:19 -04:00
mcarlton00
5ac21ea240 Merge pull request #179 from mcarlton00/info-play
Allow playback from Info menu
2022-06-24 15:21:53 -04:00
Matt
086e92da4b use setResolvedUrl for playing single items where possible 2022-06-23 20:14:53 -04:00
wolong gl
e54c4c1bec Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2022-06-20 12:22:12 -04:00
dependabot[bot]
5bb20e482f Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 16:16:28 +00:00
mcarlton00
569462f755 Merge pull request #177 from jellyfin/prepare-0.5.2
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.5.2
2022-06-20 09:32:07 -04:00
jellyfin-bot
658050548c bump version to 0.5.2 2022-06-20 13:25:17 +00:00
mcarlton00
4d635f6eb4 Merge pull request #176 from mcarlton00/external-subs-10.8
Download all external subs when playback starts
2022-06-20 09:24:14 -04:00
mcarlton00
a0b1e9177b Merge branch 'master' into external-subs-10.8 2022-06-19 16:01:12 -04:00
Matt
7a1a7843e6 Download all external subs when playback starts 2022-06-19 15:55:46 -04:00
mcarlton00
66d4e02024 Merge pull request #174 from jellyfin/prepare-0.5.1
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.5.1
2022-06-17 21:14:02 -04:00
jellyfin-bot
04a46f0cd9 bump version to 0.5.1 2022-06-18 01:11:55 +00:00
mcarlton00
4e0ac5330f Merge pull request #170 from nitschis/master
Update README.md
2022-06-17 19:03:45 -04:00
mcarlton00
32288aba97 Apply suggestions from code review 2022-06-17 19:03:32 -04:00
mcarlton00
801f119a5c Merge pull request #173 from mcarlton00/music-play-options
Add context menu play options for music
2022-06-16 21:39:30 -04:00
Matt
567a02872b Recursively play tracks of artists 2022-06-16 20:33:40 -04:00
Matt
cfc19cafc5 Add context menu play options for music 2022-06-16 19:47:11 -04:00
mcarlton00
44823f5043 Merge pull request #172 from mcarlton00/i-hate-dates
Do all date comparisons in UTC
2022-06-16 19:45:16 -04:00
Matt
bad5f8e561 Remove unnecessary import 2022-06-16 19:38:15 -04:00
Matt
075e1e8974 Move current date calculation to a function 2022-06-16 18:24:16 -04:00
Matt
06f78ce620 Do all date calculations in UTC 2022-06-16 18:15:40 -04:00
nitschis
cce9acb182 Update README.md 2022-06-15 23:01:17 +02:00
nitschis
048b8f0385 Update README.md 2022-06-15 06:04:00 +02:00
mcarlton00
fa318ac751 Merge pull request #169 from jellyfin/prepare-0.4.8
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.5.0
2022-06-14 17:54:59 -04:00
mcarlton00
071ad16f83 Update release.yaml 2022-06-14 17:52:56 -04:00
jellyfin-bot
eb44fc0ef7 bump version to 0.4.8 2022-06-14 21:51:17 +00:00
mcarlton00
f35239e1a4 Merge pull request #168 from mcarlton00/offscreen-listitems
Use offscreen option when generating all listitems
2022-06-12 11:12:28 -04:00
Matt
5534878dcd Use offscreen option when generating all listitems 2022-06-12 10:52:49 -04:00
Oskari Lavinto
f1b82cf89a Translated using Weblate (Finnish)
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2022-06-12 08:22:09 -04:00
Moritz
4ae81b9f52 Translated using Weblate (German)
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2022-06-12 08:22:09 -04:00
mcarlton00
7af412e6c5 Merge pull request #167 from mcarlton00/quick-connect-10.7
Make sure manual login shows when connecting to a 10.7 server
2022-06-11 08:21:53 -04:00
Matt
52baa2e8cc Make sure manual login shows when connecting to a 10.7 server 2022-06-11 08:04:40 -04:00
mcarlton00
d48c159283 Merge pull request #166 from mcarlton00/safe-delete
Remove safe delete code
2022-06-09 21:37:43 -04:00
Matt
fae51bd9b2 Remove safe delete code 2022-06-09 21:31:16 -04:00
mcarlton00
9a6e16f505 Merge pull request #165 from mcarlton00/flake8-fixes
Address flake8 warnings
2022-06-09 20:54:10 -04:00
Matt
44afd62989 Address flake8 warnings 2022-06-09 20:35:06 -04:00
mcarlton00
69986cc40d Merge pull request #164 from mcarlton00/dict-definitions
Simplify url param dict definitions
2022-06-09 20:30:50 -04:00
Matt
9769a36c30 Simplify dict definitions 2022-06-09 20:12:48 -04:00
mcarlton00
1621510b15 Merge pull request #163 from mcarlton00/optimize-loops
Optimize loops while building menus
2022-06-09 20:00:44 -04:00
DJSweder
85f910dd48 Translated using Weblate (Czech)
Currently translated at 4.4% (12 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cs/
2022-06-09 17:22:08 -04:00
DJSweder
e260124351 Added translation using Weblate (Czech) 2022-06-08 16:46:16 -04:00
Csaba
1eb2d21086 Translated using Weblate (Hungarian)
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2022-06-08 00:22:07 -04:00
WWWesten
fedc67e1e2 Translated using Weblate (Esperanto)
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/eo/
2022-06-08 00:22:07 -04:00
WWWesten
c88a7b134f Translated using Weblate (Russian)
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2022-06-08 00:22:07 -04:00
WWWesten
20dfc02624 Translated using Weblate (Kazakh)
Currently translated at 100.0% (271 of 271 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/kk/
2022-06-08 00:22:07 -04:00
egymoh
2ca11e53be Translated using Weblate (Arabic)
Currently translated at 66.2% (179 of 270 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2022-06-05 10:22:07 -04:00
WWWesten
1b79794ede Translated using Weblate (Esperanto)
Currently translated at 100.0% (270 of 270 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/eo/
2022-06-05 10:22:07 -04:00
WWWesten
806de6910a Translated using Weblate (Russian)
Currently translated at 100.0% (270 of 270 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2022-06-05 10:22:07 -04:00
WWWesten
ba30fc1613 Translated using Weblate (Kazakh)
Currently translated at 100.0% (270 of 270 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/kk/
2022-06-05 10:22:07 -04:00
Matt
cd5774bfd3 Remove unneeded variable 2022-06-05 10:19:51 -04:00
Matt
df9cd5fe48 Reuse URL parameters during loops 2022-06-05 10:19:01 -04:00
Matt
76d189b8de Combine sequential for loops 2022-06-05 10:05:17 -04:00
mcarlton00
0a0fd8a9a3 Merge pull request #162 from mcarlton00/fix-play-all
Fix playing all files
2022-06-04 22:56:42 -04:00
Matt
f78764d18a Fix playing all files 2022-06-04 22:38:58 -04:00
mcarlton00
59b352df35 Merge pull request #161 from mcarlton00/music-options
Add genres and alpha picker to music
2022-06-04 22:26:43 -04:00
Matt
c241cc9df9 Ensure variables are initialized before use 2022-06-04 22:10:54 -04:00
Matt
5ba6291fd9 Add genre and alpha picker to music 2022-06-04 21:56:40 -04:00
hogenf
c8715218c8 Translated using Weblate (Swedish)
Currently translated at 75.7% (203 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2022-06-04 06:22:06 -04:00
mcarlton00
cc9caf3d54 Merge pull request #160 from mcarlton00/add-button-to-bitrate-dialog
Add button to the bitrate selector
2022-06-01 16:46:18 -04:00
mcarlton00
6d298daea4 Merge pull request #159 from mcarlton00/quick-connect
Add quick connect authentication
2022-06-01 16:45:41 -04:00
B v H
07ef6b6f41 Translated using Weblate (Dutch)
Currently translated at 48.8% (131 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2022-06-01 13:51:37 -04:00
Matt
6c8e193130 Add button to the bitrate selector 2022-05-30 16:45:29 -04:00
Matt
b7c31fa7a0 Add custom dialog for quick connect 2022-05-30 15:27:35 -04:00
Matt
d25c7b351e Default to using quick connect to log into server 2022-05-28 19:27:51 -04:00
mcarlton00
90103b9fba Merge pull request #157 from mcarlton00/ensure-server
Ensure server is present in API requests
2022-05-28 10:22:17 -04:00
Matt
7c39b06297 Ensure server is present in API requests 2022-05-28 10:06:29 -04:00
mcarlton00
2ead20b2f7 Merge pull request #156 from mcarlton00/stop-transcode
Fix errors when stopping transcoded playback
2022-05-28 09:09:58 -04:00
mcarlton00
c8821b1055 Merge pull request #155 from mcarlton00/context-menu
Fix content update checks
2022-05-28 09:09:31 -04:00
Matt
50b6f773f5 Fix errors when stopping a transcode 2022-05-26 21:43:05 -04:00
mcarlton00
11705d46f2 Merge pull request #154 from mcarlton00/verify-certs
Verify certificates by default
2022-05-26 21:39:10 -04:00
Matt
3e96211433 Fix opening context menu multiple times 2022-05-26 21:32:42 -04:00
Matt
0c3cefc0ff Verify certificates by default 2022-05-26 21:05:12 -04:00
mcarlton00
deab5fc2c2 Merge pull request #153 from mcarlton00/stale-migration
Fix stale data after storage migration
2022-05-22 12:08:51 -04:00
Matt
9c68120447 Check for updated credentials before making requests 2022-05-21 00:10:55 -04:00
Matt
6f3181a643 Ensure auth token is in request headers 2022-05-20 23:56:58 -04:00
Matt
416b04fdec Don't use stale data 2 - widgets 2022-05-20 23:46:59 -04:00
Matt
c2958445cb Get current data when generating URLs 2022-05-20 23:40:13 -04:00
liimee
1176db8f41 Translated using Weblate (Indonesian)
Currently translated at 44.0% (118 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/id/
2022-05-20 00:22:01 -04:00
Sherlock
136e22bb84 Translated using Weblate (Hindi)
Currently translated at 31.7% (85 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hi/
2022-05-20 00:22:01 -04:00
MoFanFr
78b7f38f61 Translated using Weblate (French)
Currently translated at 80.2% (215 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-05-20 00:22:01 -04:00
mcarlton00
05ad58b46e Merge pull request #152 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.20.0
Bump release-drafter/release-drafter from 5.19.0 to 5.20.0
2022-05-18 19:01:00 -04:00
liimee
8040349718 Added translation using Weblate (Indonesian) 2022-05-18 09:14:01 -04:00
José Albano
fca212edc3 Translated using Weblate (Spanish)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2022-05-17 00:13:56 -04:00
dependabot[bot]
7237fd2c63 Bump release-drafter/release-drafter from 5.19.0 to 5.20.0
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.19.0 to 5.20.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.19.0...v5.20.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 16:15:41 +00:00
mcarlton00
26c02fdbac Merge pull request #150 from mcarlton00/skin-shortcuts
Fix legacy skin shortcuts
2022-05-12 18:08:04 -04:00
Rhodri
aa4a3531e9 Translated using Weblate (Welsh)
Currently translated at 37.6% (101 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cy/
2022-05-08 07:13:52 -04:00
Matt
4495129a66 Fix legacy skin shortcuts 2022-05-06 15:53:51 -04:00
Rhodri
791ed3fe32 Translated using Weblate (Welsh)
Currently translated at 27.2% (73 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cy/
2022-05-04 14:13:51 -04:00
Rhodri
b29688dc8d Translated using Weblate (Welsh)
Currently translated at 23.1% (62 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cy/
2022-05-03 11:13:51 -04:00
Rhodri
2936a12e25 Translated using Weblate (Welsh)
Currently translated at 14.1% (38 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cy/
2022-05-02 09:13:51 -04:00
mcarlton00
213fa15ef3 Merge pull request #148 from mcarlton00/direct-live-stream
Rework live tv playback
2022-05-01 15:47:16 -04:00
mcarlton00
80f25d016c Merge pull request #147 from mcarlton00/timezone-login
Use timezone when calculating last activity date
2022-05-01 12:23:01 -04:00
Matt
a6ad9b5187 Remove unintended newline 2022-05-01 12:20:32 -04:00
Matt
2f5765cc3f Rework livestream playback 2022-05-01 12:13:35 -04:00
Matt
d08b5b7041 Get channel metadata for live streams 2022-05-01 12:12:33 -04:00
Matt
2772cf6389 Use timezone when calculating last activity date 2022-04-30 20:53:01 -04:00
mcarlton00
6317aec577 Merge pull request #144 from mcarlton00/live-tv-playback
Fix live tv playback
2022-04-30 10:36:00 -04:00
mcarlton00
43f576d1c5 Fix browsing the Live TV programs menu (#145)
* Convert server times to local timezone

* Fix naming format of programs

* Simplify string formatting

* Remove unneeded space
2022-04-30 10:34:47 -04:00
Matt
d8493bc6bf Fix live tv playback 2022-04-27 22:00:32 -04:00
mcarlton00
96010b48c1 Merge pull request #143 from jellyfin/dependabot/github_actions/github/codeql-action-2
Bump github/codeql-action from 1 to 2
2022-04-26 20:39:01 -04:00
dependabot[bot]
a803e007d0 Bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 16:11:53 +00:00
mcarlton00
0699bdd141 Merge pull request #141 from jellyfin/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-04-20 19:20:14 -04:00
rayanamukami
c5b1bb766b Translated using Weblate (Chinese (Traditional))
Currently translated at 8.5% (23 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hant/
2022-04-14 02:13:44 -04:00
dependabot[bot]
e0eff168bf Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 16:19:22 +00:00
Floris
1c88173b3e Translated using Weblate (Dutch)
Currently translated at 33.2% (89 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/nl/
2022-03-28 05:38:55 -04:00
3ole
6c2e005cd7 Translated using Weblate (German)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2022-03-28 05:38:55 -04:00
3ole
08780edcc1 Translated using Weblate (German)
Currently translated at 99.6% (267 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2022-03-26 21:54:45 -04:00
3ole
d86d785061 Translated using Weblate (German)
Currently translated at 85.8% (230 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2022-03-26 17:59:18 -04:00
Rhodri
67cf11966b Translated using Weblate (Welsh)
Currently translated at 6.7% (18 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cy/
2022-03-24 12:11:54 -04:00
mcarlton00
9c96cc4044 Merge pull request #139 from mcarlton00/user-migration
Force login if no saved credentials
2022-03-18 18:15:00 -04:00
Matt
d1e4c1d09f Fix user upgrade path from 0.4.7 2022-03-17 21:33:28 -04:00
mcarlton00
944f3a363f Merge pull request #132 from mcarlton00/movie-recommendations
Fix movie recommendations
2022-03-17 19:34:10 -04:00
mcarlton00
79bd4b1925 Merge pull request #133 from mcarlton00/remove-trakt
Remove trakt integration
2022-03-17 19:33:51 -04:00
mcarlton00
8ea3351eee Merge pull request #134 from mcarlton00/remote-control
Fix remote control
2022-03-17 19:33:37 -04:00
mcarlton00
8d90ca0892 Merge pull request #135 from mcarlton00/non-jellycon-items
Don't throw errors when non-JellyCon content is playing
2022-03-17 19:33:21 -04:00
mcarlton00
4bb7a95e73 Merge pull request #136 from mcarlton00/check-empty-items
Fallback to empty lists instead of failing
2022-03-17 19:31:56 -04:00
mcarlton00
13e553d818 Merge pull request #137 from mcarlton00/widgets-name-format
Make widgets respect episode name format setting
2022-03-17 19:31:43 -04:00
mcarlton00
92b8977797 Merge pull request #138 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.19.0
Bump release-drafter/release-drafter from 5.18.1 to 5.19.0
2022-03-17 19:30:13 -04:00
dependabot[bot]
a347255752 Bump release-drafter/release-drafter from 5.18.1 to 5.19.0
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.18.1 to 5.19.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.18.1...v5.19.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 16:13:38 +00:00
Oskari Lavinto
e8b329e688 Translated using Weblate (Finnish)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fi/
2022-03-13 10:13:33 -04:00
Oskari Lavinto
d77d326950 Added translation using Weblate (Finnish) 2022-03-12 07:17:40 -05:00
Matt
9832e6b011 Make custom widgets respect episode naming setting 2022-03-10 21:43:30 -05:00
Matt
5bae9e72c9 Fallback to empty lists instead of failing 2022-03-10 20:51:49 -05:00
Matt
dba2ee1556 Don't throw errors when non-JellyCon content is playing 2022-03-10 20:36:53 -05:00
Matt
357f28321c Fix remote control URL 2022-03-09 20:52:35 -05:00
Matt
3402ef8d11 Fix websocket url 2022-03-09 20:49:16 -05:00
Matt
643e1d2ac8 Remove trakt integration 2022-03-09 19:35:54 -05:00
Matt
f16ef03927 Fix movie recommendations 2022-03-09 19:30:13 -05:00
mcarlton00
bf54539c39 Merge pull request #131 from mcarlton00/verify-cert
Make requests respect the verify certificate setting
2022-03-09 17:48:28 -05:00
mcarlton00
e71714dbb8 Merge pull request #130 from oddstr13/fix/129
Copy translate_path from Jf4Kodi, fix LazyLogger
2022-03-09 17:47:07 -05:00
Odd Stråbø
a482172be4 Utilize the new kodi_version function 2022-03-09 23:22:26 +01:00
Matt
6fbbd63ad6 Make requests respect the verify certificate setting 2022-03-09 17:11:47 -05:00
Odd Stråbø
6126d617f5 Copy translate_path from Jf4Kodi, fix LazyLogger 2022-03-09 22:51:38 +01:00
mcarlton00
f507efdef7 Merge pull request #127 from jellyfin/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-09 16:04:39 -05:00
mcarlton00
7d4f50add1 Merge pull request #126 from jellyfin/dependabot/github_actions/actions/setup-python-3
Bump actions/setup-python from 2 to 3
2022-03-09 16:04:14 -05:00
mcarlton00
201521a4d8 Merge pull request #124 from mcarlton00/network-rework
Rework the network stack
2022-03-09 15:56:12 -05:00
Matt
8c9289ef1c Fix codeql issues 2022-03-09 15:36:33 -05:00
Matt
8ba1b0b0c0 Remove unused function 2022-03-09 15:26:09 -05:00
Matt
7871422354 Optimize api initialization 2022-03-09 15:25:35 -05:00
mcarlton00
eb19d80b97 Error catching in api requests 2022-03-07 19:36:29 -05:00
mcarlton00
6888cbf7b8 Address flake8 in new api class 2022-03-07 19:28:40 -05:00
mcarlton00
5c1842877d Remove most datamanager references 2022-03-07 19:25:44 -05:00
Thomas Schwery
0bf1d75e0c Translated using Weblate (French)
Currently translated at 79.8% (214 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-03-07 19:04:17 -05:00
axel
a3e3c33855 Translated using Weblate (French)
Currently translated at 46.2% (124 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-03-07 12:06:26 -05:00
dependabot[bot]
d5d5e7f74c Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 16:16:54 +00:00
Rhodri
8adfcbe20d Translated using Weblate (Welsh)
Currently translated at 1.8% (5 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/cy/
2022-03-05 13:13:30 -05:00
Jorge IG
f8f79ecc75 Translated using Weblate (Spanish)
Currently translated at 98.5% (264 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2022-03-05 13:13:29 -05:00
小造xu_zh
289f42392b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2022-03-04 07:13:29 -05:00
Csaba
71cea26ada Translated using Weblate (Hungarian)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2022-03-02 03:13:29 -05:00
WWWesten
5043a8db4e Translated using Weblate (Russian)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2022-03-02 03:13:29 -05:00
WWWesten
5d3199e306 Translated using Weblate (Kazakh)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/kk/
2022-03-02 03:13:29 -05:00
dependabot[bot]
37a132164f Bump actions/setup-python from 2 to 3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 16:18:17 +00:00
Matt
d02cad0fca Fix strings in functions 2022-02-27 23:52:05 -05:00
Matt
3530d158a6 More flake8 fixes 2022-02-27 23:47:31 -05:00
Matt
7eef3a30a8 Fix undefined errors 2022-02-27 23:36:01 -05:00
Matt
36b23d0b19 Reworking the network stack 2022-02-27 22:15:54 -05:00
mcarlton00
816277512d Merge pull request #123 from mcarlton00/manual-user
Fix manual user login
2022-02-26 20:43:53 -05:00
Matt
bec7e06628 Fix manual user login 2022-02-26 20:11:03 -05:00
mcarlton00
798a00ae3a Merge pull request #122 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.18.1
Bump release-drafter/release-drafter from 5.17.5 to 5.18.1
2022-02-26 11:20:48 -05:00
Moritz
c852d1e434 Translated using Weblate (German)
Currently translated at 99.5% (234 of 235 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2022-02-23 15:29:22 -05:00
Ocuriz
08a829ca97 Translated using Weblate (French)
Currently translated at 47.4% (122 of 257 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-02-14 10:13:22 -05:00
Andrew Lee
1c18753511 Translated using Weblate (Chinese (Traditional))
Currently translated at 8.5% (23 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hant/
2022-02-08 22:13:20 -05:00
dependabot[bot]
6b1c3ccc39 Bump release-drafter/release-drafter from 5.17.5 to 5.18.1
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.17.5 to 5.18.1.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.17.5...v5.18.1)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 16:15:04 +00:00
Romain Eggermont
bb207f1aee Translated using Weblate (French)
Currently translated at 49.4% (132 of 267 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-02-02 12:13:18 -05:00
Angel Sandoval
91cc66a8d1 Translated using Weblate (Spanish)
Currently translated at 96.2% (258 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2022-02-02 12:13:18 -05:00
MrFish1604
cfbfb44307 Translated using Weblate (French)
Currently translated at 17.9% (48 of 267 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-01-30 13:13:17 -05:00
Mathias Dejerud
8d29ffd7a7 Translated using Weblate (Swedish)
Currently translated at 64.5% (173 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/sv/
2022-01-23 10:28:20 -05:00
Mathias Dejerud
44c5193f54 Added translation using Weblate (Swedish) 2022-01-22 18:11:03 -05:00
mcarlton00
342eec8c26 Merge pull request #118 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.17.5
Bump release-drafter/release-drafter from 5.15.0 to 5.17.5
2022-01-19 19:43:01 -05:00
mcarlton00
4973404684 Merge pull request #119 from mcarlton00/user-credentials
Rework user data storage
2022-01-19 19:42:14 -05:00
Matt
e45a59c184 Remove unused import and variable 2022-01-18 12:36:39 -05:00
Matt
6efa62ced2 Ensure deviceId is unique and URL safe 2022-01-17 15:16:51 -05:00
Matt
a316a6e094 Make sure password variable is initialized 2022-01-17 14:08:21 -05:00
Matt
297b25a739 Rework user data storage 2022-01-17 12:17:21 -05:00
dependabot[bot]
3aa4ee3548 Bump release-drafter/release-drafter from 5.15.0 to 5.17.5
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.15.0 to 5.17.5.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.15.0...v5.17.5)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 16:15:58 +00:00
WWWesten
e6e3c27371 Translated using Weblate (Russian)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2022-01-16 06:13:12 -05:00
WWWesten
bdf7298afa Translated using Weblate (Kazakh)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/kk/
2022-01-16 06:13:12 -05:00
mcarlton00
a81e125a29 Merge pull request #111 from mcarlton00/function-shuffle
Code reorganizing
2022-01-08 13:54:24 -05:00
mcarlton00
a454eb16de Merge pull request #113 from jellyfin/dependabot/github_actions/burnett01/rsync-deployments-5.2
Bump burnett01/rsync-deployments from 5.1 to 5.2
2022-01-08 13:53:54 -05:00
Joel Jose
50512e863d Added translation using Weblate (English (Middle)) 2022-01-08 04:35:25 -05:00
Sebastian Knappe
7ff8e12c4e Translated using Weblate (German)
Currently translated at 99.2% (266 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2022-01-06 16:13:09 -05:00
Thomas Schwery
a2815081d3 Translated using Weblate (French)
Currently translated at 13.8% (37 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-01-06 16:13:08 -05:00
LowHigh
e14fa4b7de Translated using Weblate (French)
Currently translated at 13.8% (37 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2022-01-06 16:13:08 -05:00
rimasx
4c95caf957 Translated using Weblate (Estonian)
Currently translated at 69.7% (187 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/et/
2022-01-03 13:05:57 -05:00
Tim Gaubel
4a242475c0 Translated using Weblate (German)
Currently translated at 16.0% (43 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2022-01-03 13:05:56 -05:00
dependabot[bot]
fb1348a306 Bump burnett01/rsync-deployments from 5.1 to 5.2
Bumps [burnett01/rsync-deployments](https://github.com/burnett01/rsync-deployments) from 5.1 to 5.2.
- [Release notes](https://github.com/burnett01/rsync-deployments/releases)
- [Commits](https://github.com/burnett01/rsync-deployments/compare/5.1...5.2)

---
updated-dependencies:
- dependency-name: burnett01/rsync-deployments
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 16:12:40 +00:00
rimasx
1b3cea3042 Translated using Weblate (Estonian)
Currently translated at 5.5% (15 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/et/
2021-12-31 04:05:55 -05:00
Matt
264145c4b9 Address flake8 complaints 2021-12-30 18:40:08 -05:00
Matt
daea47bf38 More small tweaks 2021-12-30 18:13:57 -05:00
Matt
2ff5a2e9fc Fix missing translate calls 2021-12-30 17:41:25 -05:00
Matt
fc690abee9 Rename translate function 2021-12-30 17:05:10 -05:00
Matt
157a477a10 Move monitors into a single file 2021-12-30 12:18:08 -05:00
Matt
aa7a412a94 Fix circular dependency on context menu 2021-12-30 09:44:25 -05:00
rimasx
2832c21ffd Added translation using Weblate (Estonian) 2021-12-30 02:56:43 -05:00
Fahad
3751794f81 Translated using Weblate (Arabic)
Currently translated at 66.4% (178 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ar/
2021-12-29 23:05:55 -05:00
Matt
5c3740b8a9 Function refactoring and reordering 2021-12-29 16:54:05 -05:00
WWWesten
303f049004 Translated using Weblate (French)
Currently translated at 8.5% (23 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2021-12-26 04:05:53 -05:00
Thomas Schwery
a52ede2a3d Translated using Weblate (French)
Currently translated at 8.5% (23 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2021-12-22 09:05:52 -05:00
mcarlton00
f249eb7cae Merge pull request #109 from mcarlton00/unneeded-code
Remove unused and commented out code
2021-12-21 21:45:54 -05:00
Matt
2d20dc4282 Remove unused and commented out code 2021-12-21 21:22:16 -05:00
LowHigh
95f8dc8eb3 Translated using Weblate (French)
Currently translated at 6.3% (17 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/fr/
2021-12-20 19:05:51 -05:00
Marcin Woliński
1ae1e824c0 Translated using Weblate (Polish)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2021-12-13 12:05:50 -05:00
Martin Schmidt
72413ef3b4 Translated using Weblate (German)
Currently translated at 15.2% (41 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2021-12-13 12:05:50 -05:00
mcarlton00
d45c45a868 Merge pull request #107 from jellyfin/prepare-0.4.7
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.4.7
2021-12-12 17:39:06 -05:00
jellyfin-bot
3b646da0a8 bump version to 0.4.7 2021-12-12 22:37:27 +00:00
mcarlton00
6121537216 Merge pull request #106 from mcarlton00/track-ordering
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Only set the cast if they exist
2021-12-12 17:04:12 -05:00
mcarlton00
2482f11a5a Merge pull request #105 from mcarlton00/stopped-playback-v2
Fix stopped playback reporting
2021-12-12 17:03:19 -05:00
Matt
ade08f74a4 Only set the cast if they exist 2021-12-12 13:43:45 -05:00
Matt
5eade9abe5 Fix stopped playback reporting 2021-12-11 21:00:28 -05:00
mcarlton00
203986d54c Merge pull request #104 from mcarlton00/exclude-git-history
Exclude git history from published addon
2021-12-09 20:14:30 -05:00
Matt
8e8c376df3 Exclude git history from published addon 2021-12-09 18:31:18 -05:00
mcarlton00
8a6886c71d Merge pull request #103 from jellyfin/prepare-0.4.5
Some checks failed
Build JellyCon / build (py2) (push) Has been cancelled
Build JellyCon / build (py3) (push) Has been cancelled
Prepare for release v0.4.5
2021-12-07 14:04:00 -05:00
jellyfin-bot
7f02ca1bca bump version to 0.4.5 2021-12-07 18:57:55 +00:00
mcarlton00
7df265b357 Merge pull request #102 from mcarlton00/playlist-reporting
Report tracks correctly when a playlist is playing
2021-12-07 13:46:53 -05:00
oxixes
5427168f01 Translated using Weblate (Spanish)
Currently translated at 88.8% (238 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/es/
2021-12-07 13:05:49 -05:00
Matt
8ce7d851cc Address linting issues 2021-12-05 22:43:21 -05:00
mcarlton00
22d3a23099 Merge pull request #101 from mcarlton00/image-cache-fix
Fix image caching
2021-12-05 22:30:28 -05:00
Matt
b6dd0285a8 Update string format method 2021-12-05 22:22:09 -05:00
Matt
9d45d42efe Report tracks correctly when a playlist is playing 2021-12-05 22:16:15 -05:00
Matt
6e6e753475 Remove unneeded double_urlencode function 2021-12-05 17:48:13 -05:00
mcarlton00
3b11c931d4 Merge pull request #95 from mcarlton00/stop-playback-reporting
Properly report stopped playback to the server
2021-12-04 12:12:58 -05:00
mcarlton00
742fbb224f Merge pull request #100 from mcarlton00/ci-dependencies
Ci dependencies
2021-12-04 11:44:48 -05:00
Matt
b35adac318 Stop failing on unimportant lines 2021-12-04 10:47:53 -05:00
Matt
c33274709e Add tox file for flake8 config 2021-12-04 10:25:24 -05:00
Matt
89748156a6 Fix lint 2021-12-04 10:13:07 -05:00
Matt
c01a792e25 put pyyaml back for build script 2021-12-04 10:00:29 -05:00
Matt
e4d0937782 Install required packages for CI to work properly 2021-12-04 09:58:17 -05:00
mcarlton00
524110dee9 Merge pull request #96 from mcarlton00/move-to-actions
Migrate CI to github actions
2021-12-04 08:54:27 -05:00
Alfonso Scarpino
ae480283a3 Translated using Weblate (Italian)
Currently translated at 38.8% (104 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2021-12-02 13:05:45 -05:00
Alfonso Scarpino
ccaf5878ae Translated using Weblate (Italian)
Currently translated at 20.1% (54 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2021-11-27 11:05:42 -05:00
Marcin Woliński
cb67d4b194 Translated using Weblate (Polish)
Currently translated at 60.0% (161 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/pl/
2021-11-22 22:05:41 -05:00
Marcin Woliński
701ca68db7 Added translation using Weblate (Polish) 2021-11-21 20:40:14 -05:00
Matt
cf9c3290b5 Migrate CI to github actions 2021-11-21 15:43:29 -05:00
Alfonso Scarpino
964994dd90 Translated using Weblate (Italian)
Currently translated at 14.1% (38 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/it/
2021-11-21 14:05:41 -05:00
Matt
edbd3d37da Properly report stopped playback to the server 2021-11-21 11:41:25 -05:00
mcarlton00
c2d36e2ac2 Merge pull request #93 from mcarlton00/reconnect-websockets
Attempt to reestablish websocket connection if it fails
2021-11-21 09:06:25 -05:00
mcarlton00
b2c0caaa43 Merge pull request #91 from mcarlton00/nextup-widget-error
Move inprogress call into relevant if block
2021-11-21 09:02:49 -05:00
mcarlton00
8155e77210 Merge pull request #90 from mcarlton00/respect-limits
Make API calls respect limits indicated in UI
2021-11-21 09:00:11 -05:00
Matt
fdda442dc8 Reset websocket retry count on successful connection 2021-11-20 09:40:33 -05:00
wolong gl
b962d9597b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/zh_Hans/
2021-11-16 21:05:40 -05:00
Matt
9e624d0db2 Attempt to reestablish websocket connection if it fails 2021-11-14 12:57:32 -05:00
WWWesten
4f52ba2d4d Translated using Weblate (Russian)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/ru/
2021-11-14 08:05:42 -05:00
Csaba
c9a22c517c Translated using Weblate (Hungarian)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/hu/
2021-11-14 08:05:41 -05:00
WWWesten
023cd5f720 Translated using Weblate (Esperanto)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/eo/
2021-11-14 08:05:39 -05:00
WWWesten
8b2b03bf0a Translated using Weblate (Kazakh)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/kk/
2021-11-14 08:05:38 -05:00
Moritz
2a14caceeb Translated using Weblate (German)
Currently translated at 12.6% (34 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/de/
2021-11-12 14:59:18 -05:00
WWWesten
0fd3687843 Translated using Weblate (English)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/en/
2021-11-12 14:59:18 -05:00
WWWesten
d1c205a588 Added translation using Weblate (Italian) 2021-11-12 13:59:13 -05:00
WWWesten
21103ecaac Added translation using Weblate (Greek) 2021-11-12 05:20:33 -05:00
WWWesten
2fcbbfce27 Added translation using Weblate (Dutch) 2021-11-12 05:19:26 -05:00
WWWesten
5e8eda0ea4 Added translation using Weblate (Turkish) 2021-11-09 12:52:44 -05:00
WWWesten
1e9ea80685 Added translation using Weblate (Ukrainian) 2021-11-09 12:52:16 -05:00
WWWesten
427ad71880 Added translation using Weblate (German) 2021-11-09 02:24:40 -05:00
WWWesten
fbe2ebe98f Added translation using Weblate (Hindi) 2021-11-09 02:24:02 -05:00
WWWesten
8b8d61eacf Translated using Weblate (Esperanto)
Currently translated at 68.2% (183 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/eo/
2021-11-08 23:12:33 -05:00
WWWesten
7d07980a15 Translated using Weblate (Esperanto)
Currently translated at 64.5% (173 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/eo/
2021-11-08 14:00:33 -05:00
WWWesten
84829ba83d Translated using Weblate (Esperanto)
Currently translated at 59.3% (159 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/eo/
2021-11-08 07:38:38 -05:00
WWWesten
bb3e52d27f Translated using Weblate (Esperanto)
Currently translated at 54.1% (145 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/eo/
2021-11-08 06:41:29 -05:00
WWWesten
63d2a4cffc Translated using Weblate (English)
Currently translated at 100.0% (268 of 268 strings)

Translation: Jellycon/Jellycon
Translate-URL: https://translate.jellyfin.org/projects/jellycon/jellycon/en/
2021-11-08 06:41:28 -05:00
WWWesten
5c23ac47b2 Added translation using Weblate (Chinese (Traditional)) 2021-11-08 04:00:56 -05:00
WWWesten
a52a4a47f3 Added translation using Weblate (Arabic) 2021-11-08 04:00:14 -05:00
Adam Bokor
5f5328a280 Added translation using Weblate (Hungarian) 2021-11-03 11:58:35 -04:00
Matt
dd81b1babf Move inprogress call into relevant if block 2021-10-30 19:08:48 -04:00
Matt
8adf8a2a05 Make API calls respect limits indicated in UI 2021-10-30 18:51:38 -04:00
Abby
4c8914ad8d Merge pull request #89 from mcarlton00/zip-name
Correct addon name in build.py
2021-10-30 17:11:22 +01:00
Matt
cfe36f16f2 Correct addon name in build.py 2021-10-30 11:56:12 -04:00
mcarlton00
46a6d84101 Merge pull request #82 from Ozymandyaz/widgets
Combine NextUp and InProgress
2021-10-23 21:08:15 -04:00
Jessica
2a5dd1c418 Added translation using Weblate (Welsh) 2021-10-18 13:58:08 -04:00
WWWesten
61253d7c9d Added translation using Weblate (Esperanto) 2021-10-18 06:09:23 -04:00
mcarlton00
d4b7262105 Merge pull request #88 from oddstr13/fix/#87
Fix #87
2021-10-09 19:33:50 -04:00
Odd Stråbø
a644d4ffda Fix #87 2021-10-09 21:55:01 +02:00
mcarlton00
84ea523d16 Merge pull request #85 from mcarlton00/default-screensaver-settings
Disable screensaver settings by default
2021-10-05 22:56:10 -04:00
ozymandyaz
3ea93cbf13 Combine InProgress and NextUp 2021-10-05 14:10:52 -04:00
Ozymandyaz
3f4dc08dc7 Apply suggestions from code review
Co-authored-by: mcarlton00 <mcarlton00@gmail.com>
2021-10-05 12:29:38 -04:00
Matt
ee8ae6f492 Disable screensaver settings by default 2021-10-04 19:49:47 -04:00
ozymandyaz
984c2dab54 remove comment 2021-10-04 13:39:51 -04:00
mcarlton00
d215d087b3 Merge pull request #84 from mcarlton00/direct-play-fix
Fix direct play logic for 10.8
2021-10-02 10:42:18 -04:00
mcarlton00
42187327d6 Update resources/lib/utils.py
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-10-02 09:53:12 -04:00
Matt
58a256c121 Fix direct play logic for 10.8 2021-10-01 17:49:19 -04:00
cocool97
e3ec31ae99 Added translation using Weblate (French) 2021-09-12 03:52:41 -04:00
Ozymandyaz
f81301f62d Update widgets.py 2021-09-11 11:03:20 -04:00
Ozymandyaz
b7601fda7b Combine NextUp and InProgress 2021-08-30 16:22:14 -04:00
WWWesten
e3b205046b Added translation using Weblate (Spanish) 2021-07-31 07:14:47 -04:00
WWWesten
2c70cedaa6 Added translation using Weblate (Russian) 2021-07-17 15:20:31 -04:00
WWWesten
cea6c532e0 Added translation using Weblate (Kazakh) 2021-07-17 15:20:20 -04:00
wolong gl
2e28b5904d Added translation using Weblate (Chinese (Simplified)) 2021-07-12 06:03:46 -04:00
mcarlton00
4288c032db Merge pull request #74 from mcarlton00/version-0.4.4
Version bump
2021-05-31 12:55:21 -04:00
Matt
04a5378a87 Version bump 2021-05-31 12:48:13 -04:00
mcarlton00
ca5918ded9 Merge pull request #73 from mcarlton00/next-episodes
Fix next episode dialog
2021-05-29 21:12:37 -04:00
Matt
2e7737c1af Use variable instead of calling player multiple times 2021-05-29 20:46:57 -04:00
Matt
441bb10624 Fix next episode dialog 2021-05-28 23:33:13 -04:00
mcarlton00
9adb23b280 Merge pull request #72 from mcarlton00/external-subs-again
Include position ticks in external sub call
2021-05-28 09:21:12 -04:00
Matt
7b547b2bc8 Include position ticks in external sub call 2021-05-27 22:45:37 -04:00
mcarlton00
4ec75ad266 Merge pull request #67 from nvllsvm/img
optimize images
2021-04-19 19:43:21 -04:00
Andrew Rabert
7dcf68d2be optimize images 2021-04-18 13:14:00 -04:00
mcarlton00
9199eb4290 Merge pull request #65 from mcarlton00/version-bump-0.4.3
Version bump
2021-04-18 11:19:32 -04:00
Matt
8831af3fb4 Version bump 2021-04-18 11:15:27 -04:00
mcarlton00
20b1686b04 Merge pull request #63 from mcarlton00/public-users
Fix displaying public user list
2021-04-18 11:05:11 -04:00
mcarlton00
ae028f485a Merge pull request #62 from danieladov/master
Change unicode to str
2021-04-18 11:04:48 -04:00
Matt
d5af0c8d7e Fix display public user list 2021-04-14 19:37:41 -04:00
Mister Rajoy
e596998a72 Change str to ensure_text to keep compatibility 2021-03-18 16:57:39 +01:00
Mister Rajoy
f224c0b94a Change unicode to str
Python 3 renamed the unicode type to str
2021-03-17 17:42:18 +01:00
Abby
bc06467784 Merge pull request #61 from mcarlton00/version-bump-0.4.2
Version bump to 0.4.2
2021-03-16 01:08:27 +00:00
Matt
b2f369de10 Version bump 2021-03-15 20:57:48 -04:00
mcarlton00
0e070308db Merge pull request #60 from danieladov/master
Remove multicast socket options from autodiscovery
2021-03-15 10:42:48 -04:00
Mister Rajoy
1b7c3ffae0 Remove multicast socket options from autodiscovery 2021-03-15 15:36:23 +01:00
106 changed files with 38936 additions and 3929 deletions

View File

@@ -1,22 +0,0 @@
trigger:
batch: true
branches:
include:
- '*'
tags:
include:
- '*'
jobs:
- job: Build
steps:
# On every PR, build the addon and make it available for download as an artifact
- template: build.yml
parameters:
py_versions: [ 'py2', 'py3' ]
# When triggered by a tag, publish the built addon to the repo server
- ${{ if startsWith(variables['Build.SourceBranch'], 'refs/tags') }}:
- template: publish.yml
parameters:
py_versions: [ 'py2', 'py3' ]

View File

@@ -1,45 +0,0 @@
parameters:
python_versions : []
steps:
- ${{ each py_version in parameters.py_versions }}:
- task: usePythonVersion@0
inputs:
versionSpec: '3.6'
- checkout: self
clean: true
- script: python3 -m pip install --user -r jellycon/requirements-dev.txt
displayName: 'Install dev dependencies'
- task: CopyFiles@2
displayName: 'Create clean addon directory'
inputs:
sourceFolder: 'jellycon'
cleanTargetFolder: true
contents: |
**/*
!.ci/*
!.git/**/*
!.github/*
TargetFolder: '$(Build.ArtifactStagingDirectory)/plugin.video.jellycon'
- script: python3 '$(Build.ArtifactStagingDirectory)/plugin.video.jellycon/build.py' --version ${{ py_version }} --target '$(Build.ArtifactStagingDirectory)/'
displayName: 'Create ${{ py_version }} addon.xml'
- task: ArchiveFiles@2
displayName: 'Create ${{ py_version }} zip file'
inputs:
rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/plugin.video.jellycon'
includeRootFolder: True
archiveType: 'zip'
tarCompression: 'none'
archiveFile: '$(Build.ArtifactStagingDirectory)/plugin.video.jellycon-${{ py_version }}.zip'
- task: PublishPipelineArtifact@1
displayName: 'Publish ${{ py_version }} artifact'
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)/plugin.video.jellycon'
artifactName: 'plugin.video.jellycon-${{ py_version }}-$(Build.BuildNumber)'

View File

@@ -1,27 +0,0 @@
parameters:
python_version : []
steps:
- ${{ each py_version in parameters.py_versions }}:
- task: CopyFilesOverSSH@0
displayName: 'Upload to repo server'
inputs:
sshEndpoint: repository
sourceFolder: '$(Build.ArtifactStagingDirectory)'
contents: 'plugin.video.jellycon-${{ py_version }}.zip'
targetFolder: '/srv/repository/incoming/kodi'
- task: SSH@0
displayName: 'Add to Kodi repo'
inputs:
sshEndpoint: repository
runOptions: 'commands'
commands: 'python3 /usr/local/bin/kodirepo add /srv/repository/incoming/kodi/plugin.video.jellycon-${{ py_version }}.zip --datadir /srv/repository/releases/client/kodi/${{ py_version }}'
failOnStdErr: false
- task: SSH@0
displayName: 'Clean up zip files'
inputs:
sshEndpoint: repository
runOptions: 'commands'
commands: 'rm /srv/repository/incoming/kodi/plugin.video.jellycon-${{ py_version }}.zip'

View File

@@ -1,70 +0,0 @@
import xml.etree.ElementTree as ET
import sys
import os
from datetime import datetime
import yaml
def indent(elem, level=0):
'''
Nicely formats output xml with newlines and spaces
https://stackoverflow.com/a/33956544
'''
i = "\n" + level*" "
if len(elem):
if not elem.text or not elem.text.strip():
elem.text = i + " "
if not elem.tail or not elem.tail.strip():
elem.tail = i
for elem in elem:
indent(elem, level+1)
if not elem.tail or not elem.tail.strip():
elem.tail = i
else:
if level and (not elem.tail or not elem.tail.strip()):
elem.tail = i
try:
py_version = sys.argv[1]
except IndexError:
print('No version specified')
sys.exit(1)
dir_path = os.path.dirname(os.path.realpath(__file__))
# Load template file
with open('{dir_path}/template.xml'.format(**locals()), 'r') as f:
tree = ET.parse(f)
root = tree.getroot()
# Load version dependencies
with open('{dir_path}/{py_version}.yaml'.format(**locals()), 'r') as f:
deps = yaml.safe_load(f)
# Load version and changelog
with open('jellyfin-kodi/release.yaml', 'r') as f:
data = yaml.safe_load(f)
# Populate xml template
for dep in deps:
ET.SubElement(root.find('requires'), 'import', attrib=dep)
# Update version string
addon_version = data.get('version')
root.attrib['version'] = '{addon_version}+{py_version}'.format(**locals())
# Changelog
date = datetime.today().strftime('%Y-%m-%d')
changelog = data.get('changelog')
for section in root.findall('extension'):
news = section.findall('news')
if news:
news[0].text = 'v{addon_version} ({date}):\n{changelog}'.format(**locals())
# Format xml tree
indent(root)
# Write addon.xml
tree.write('jellyfin-kodi/addon.xml', encoding='utf-8', xml_declaration=True)

16
.github/dependabot.yaml vendored Normal file
View File

@@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
labels:
- ci
- github-actions
- package-ecosystem: pip
directory: /
schedule:
interval: weekly
labels:
- pip
- dependencies

22
.github/release-drafter.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
_extends: jellyfin/jellyfin-meta-plugins
name-template: "Release $RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
version-template: "$MAJOR.$MINOR.$PATCH"
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## :sparkles: What's New
$CHANGES

12
.github/releasing.md vendored Normal file
View File

@@ -0,0 +1,12 @@
# Releasing a new Version via GitHub Actions
0. (optional) label the PRs you want to include in this release (if you want to group them in the GH release based on topics). \
Supported labels can be found in the Release Drafter [config-file](https://github.com/jellyfin/jellyfin-meta-plugins/blob/master/.github/release-drafter.yml) (currently inherited from `jellyfin/jellyfin-meta-plugins`)
1. ensure you have merged the PRs you want to include in the release and that the so far drafted GitHub release has captured them
2. Create a `release-prep` PR by manually triggering the 'Create Prepare-Release PR' Workflow from the Actions tab on GitHub
3. check the newly created `Prepare for release vx.y.z` PR if updated the `release.yaml` properly (update it manually if need be)
4. merge the `Prepare for release vx.y.z` and let the Actions triggered by doing that finis (should just be a couple of seconds)
5. FINALLY, trigger the `Publish JellyCon` manually from the Actions tab on GitHub.
1. this will release the up to that point drafted GitHub Release and tag the default branch accordingly
2. this will package and deploy `JellyCon` in the new version to the deployment server and trigger the 'kodirepo' script on it
6. Done, assuming everything ran successfully, you have now successfully published a new version! :tada:

87
.github/tools/reformat_changelog.py vendored Executable file
View File

@@ -0,0 +1,87 @@
#!/usr/bin/env python3.8
import argparse
import sys
import re
from typing import Dict, List, Pattern, Union, TypedDict
from emoji.core import emojize, demojize, replace_emoji
ITEM_FORMAT = "+ {title} (#{issue}) @{username}"
OUTPUT_EMOJI = False
ITEM_PATTERN: Pattern = re.compile(
r"^\s*(?P<old_listchar>[-*+])\s*(?P<title>.*?)\s*\(#(?P<issue>[0-9]+)\)\s*@(?P<username>[^\s]*)$"
)
class SectionType(TypedDict):
title: str
items: List[Dict[str, str]]
def reformat(item_format: str, output_emoji: bool) -> None:
data = [
emojize(x.strip(), variant="emoji_type")
for x in sys.stdin.readlines()
if x.strip()
]
sections = []
section: Union[SectionType, Dict] = {}
for line in data:
if line.startswith("## "):
pass
if line.startswith("### "):
if section:
sections.append(section)
_section: SectionType = {
"title": line.strip("# "),
"items": [],
}
section = _section
m = ITEM_PATTERN.match(line)
if m:
gd = m.groupdict()
section["items"].append(gd)
sections.append(section)
first = True
for section in sections:
if not section:
continue
if first:
first = False
else:
print()
title = section["title"]
if not output_emoji:
title = replace_emoji(title).strip()
print(title)
print("-" * len(title))
for item in section["items"]:
formatted_item = item_format.format(**item)
if not output_emoji:
formatted_item = demojize(formatted_item)
print(formatted_item)
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--format", type=str, default=ITEM_FORMAT)
parser.add_argument("--no-emoji", dest="emoji", action="store_false")
parser.add_argument("--emoji", dest="emoji", action="store_true")
parser.set_defaults(emoji=OUTPUT_EMOJI)
args = parser.parse_args()
reformat(args.format, args.emoji)

39
.github/workflows/build.yaml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: Build JellyCon
on:
push:
branches:
- master
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
py_version: [ 'py2', 'py3' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pyyaml
- name: Create ${{ matrix.py_version }} addon.xml
run: python build.py --version ${{ matrix.py_version }}
- name: Publish Build Artifact
uses: actions/upload-artifact@v4
with:
retention-days: 14
name: ${{ matrix.py_version }}-build-artifact
path: |
*.zip

41
.github/workflows/codeql.yaml vendored Normal file
View File

@@ -0,0 +1,41 @@
name: CodeQL Analysis
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '38 8 * * 6'
jobs:
analyze:
runs-on: ubuntu-latest
if: ${{ github.repository == 'jellyfin/jellycon' }}
strategy:
fail-fast: false
matrix:
language: [ 'python' ]
version: ['3.9']
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

View File

@@ -0,0 +1,72 @@
name: Create Prepare-Release PR
on:
workflow_dispatch:
jobs:
create_pr:
name: "Create Pump Version PR"
runs-on: ubuntu-latest
steps:
- name: Update Draft
uses: release-drafter/release-drafter@v6.1.0
id: draft
env:
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
- name: Setup YQ
uses: chrisdickinson/setup-yq@latest
with:
yq-version: v4.9.1
- name: Checkout repository
uses: actions/checkout@v4
- name: Parse Changelog
run: |
pip install emoji
cat << EOF >> cl.md
${{ steps.draft.outputs.body }}
EOF
TAG="${{ steps.draft.outputs.tag_name }}"
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
echo "YAML_CHANGELOG<<EOF" >> $GITHUB_ENV
cat cl.md | python .github/tools/reformat_changelog.py --no-emoji >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo "CHANGELOG<<EOF" >> $GITHUB_ENV
cat cl.md | python .github/tools/reformat_changelog.py --emoji --format='+ #{issue} by @{username}' >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
rm cl.md
- name: Update release.yaml
run: |
yq eval '.version = env(VERSION) | .changelog = strenv(YAML_CHANGELOG) | .changelog style="literal"' -i release.yaml
- name: Commit Changes
run: |
git config user.name "jellyfin-bot"
git config user.email "team@jellyfin.org"
git checkout -b prepare-${{ env.VERSION }}
git commit -am "bump version to ${{ env.VERSION }}"
if [[ -z "$(git ls-remote --heads origin prepare-${{ env.VERSION }})" ]]; then
git push origin prepare-${{ env.VERSION }}
else
git push -f origin prepare-${{ env.VERSION }}
fi
- name: Create or Update PR
uses: k3rnels-actions/pr-update@v2
with:
token: ${{ secrets.JF_BOT_TOKEN }}
pr_title: Prepare for release ${{ steps.draft.outputs.tag_name }}
pr_source: prepare-${{ env.VERSION }}
pr_labels: 'release-prep,skip-changelog'
pr_body: |
:robot: This is a generated PR to bump the `release.yaml` version and update the changelog.
---
${{ env.CHANGELOG }}

64
.github/workflows/publish.yaml vendored Normal file
View File

@@ -0,0 +1,64 @@
name: Publish JellyCon
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
py_version: [ 'py2', 'py3' ]
steps:
- name: Update Draft
uses: release-drafter/release-drafter@v6.1.0
if: ${{ matrix.py_version == 'py3' }}
with:
publish: true
env:
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pyyaml
- name: Create ${{ matrix.py_version }} addon.xml
run: python build.py --version ${{ matrix.py_version }}
- name: Publish Build Artifact
uses: actions/upload-artifact@v4
with:
retention-days: 14
name: ${{ matrix.py_version }}-build-artifact
path: |
*.zip
- name: Upload to repo server
uses: burnett01/rsync-deployments@5.2
with:
switches: -vrptz
path: '*.zip'
remote_path: /srv/incoming/kodi
remote_host: ${{ secrets.REPO_HOST }}
remote_user: ${{ secrets.REPO_USER }}
remote_key: ${{ secrets.REPO_KEY }}
- name: Add to Kodi repo and clean up
uses: appleboy/ssh-action@v1.2.0
with:
host: ${{ secrets.REPO_HOST }}
username: ${{ secrets.REPO_USER }}
key: ${{ secrets.REPO_KEY }}
script_stop: true
script: |
python3 /usr/local/bin/kodirepo add /srv/incoming/kodi/plugin.video.jellycon+${{ matrix.py_version }}.zip --datadir /srv/repository/main/client/kodi/${{ matrix.py_version }};
rm /srv/incoming/kodi/plugin.video.jellycon+${{ matrix.py_version }}.zip;

16
.github/workflows/release-drafter.yaml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Release Drafter
on:
push:
branches:
- master
jobs:
update_release_draft:
name: Update release draft
runs-on: ubuntu-latest
steps:
- name: Update Release Draft
uses: release-drafter/release-drafter@v6.1.0
env:
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}

49
.github/workflows/test.yaml vendored Normal file
View File

@@ -0,0 +1,49 @@
name: Test JellyCon
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
PR_TRIGGERED: ${{ github.event_name == 'pull_request' && github.repository == 'jellyfin/jellycon' }}
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
py_version: ['3.9']
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py_version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --output-file=flake8.output
cat flake8.output
- name: Publish Test Atrifact
uses: actions/upload-artifact@v4
with:
retention-days: 14
name: ${{ matrix.py_version }}-test-results
path: |
flake8.output

2
.gitignore vendored
View File

@@ -221,5 +221,7 @@ pip-log.txt
#Mr Developer
.mr.developer.cfg
venv
# Addon files
addon.xml

View File

@@ -1,6 +1,47 @@
# JellyCon
JellyCon is a lightweight Kodi addon that lets you browse and play media files from your Jellyfin server directly within the Kodi interface.
JellyCon is a lightweight Kodi add-on that lets you browse and play media files directly from your Jellyfin server within the Kodi interface. It can be thought of as a thin frontend for a Jellyfin server.
JellyCon can be used with Movie, TV Show, Music Video, and Music libraries, in addition to viewing LiveTV from the server. It can easily switch between multiple user accounts at will. It's easy to integrate with any customizable Kodi skin with a large collection of custom menus. Media items are populated from the server dynamically, and menu speed will vary based on local device speed.
## Installation
#### 1. Adding the Jellyfin repository
https://jellyfin.org/docs/general/clients/kodi.html#install-add-on-repository
#### 2. Install JellyCon Add-on
- From within Kodi, navigate to "Add-on Browser"
- Select "Install from Repository"
- Choose "Kodi Jellyfin Add-ons", followed by "Video Add-ons"
- Select the JellyCon add-on and choose install
#### 3. Login
- Within a few seconds after the installation you should be prompted for your server details.
- If a Jellyfin server is detected on your local network, it will displayed in a dialog. Otherwise, you will be prompted to enter the URL of your Jellyfin server
- If Quick Connect is enabled in the server, a code will be displayed that you can use to log in via Quick Connect in the web UI or a mobile app.
- If Quick Connect is not enabled, or if you select the "Manual Login" button, you will be able to select a user from the list, or manually login using your username and password.
## Configuration
#### Configuring Home
Many Kodi skins allow for customizing of the home menu with custom nodes and widgets. However, all of these use slightly different layouts and terminology. Rather than a step by step guide, this section serves as an barebones introduction to customizing a skin.
Examples
If you would like a link on the home screen to open a library in your Jellyfin server called "Kid's Movies", you would point the menu item to the path: Add-On -> Video Add-On -> JellyCon -> Jellyfin Libraries -> Kid's Movies -> Create menu item to here.
Beyond just modifying where the home menu headers go, many skins also allow you to use widgets. Widgets help populate the home screen with data, often the posters of media in the selected image. If you would like to display the most recent movies across all of your Jellyfin libraries on the home screen, the path would be: Add-On -> Video Add-On -> JellyCon -> Global Lists -> Movies -> Movies - Recently Added (20) -> Use as widget
Another common use case of widgets would be to display the next available episodes of shows that you may be watching. As above, this can be done both with individual libraries or with all libraries combined:
Add-On -> Video Add-On -> JellyCon -> Jellyfin Libraries -> Anime -> Anime - Next Up (20) -> Use as widget
Add-On -> Video Add-On -> JellyCon -> Global Lists -> TV Shows -> TV Shows - Next Up (20) -> Use as widget
## License

89
build.py Normal file → Executable file
View File

@@ -1,28 +1,28 @@
#!/usr/bin/env python
import argparse
from datetime import datetime
import os
from pathlib import Path
import xml.etree.ElementTree as ET
import zipfile
from datetime import datetime
from pathlib import Path
import yaml
def indent(elem, level=0):
'''
def indent(elem: ET.Element, level: int = 0) -> None:
"""
Nicely formats output xml with newlines and spaces
https://stackoverflow.com/a/33956544
'''
i = "\n" + level*" "
"""
i = "\n" + level * " "
if len(elem):
if not elem.text or not elem.text.strip():
elem.text = i + " "
if not elem.tail or not elem.tail.strip():
elem.tail = i
for elem in elem:
indent(elem, level+1)
indent(elem, level + 1)
if not elem.tail or not elem.tail.strip():
elem.tail = i
else:
@@ -30,12 +30,12 @@ def indent(elem, level=0):
elem.tail = i
def create_addon_xml(config, source, py_version):
'''
def create_addon_xml(config: dict, source: str, py_version: str) -> None:
"""
Create addon.xml from template file
'''
"""
# Load template file
with open('{}/.config/template.xml'.format(source), 'r') as f:
with open(f'{source}/.config/template.xml', 'r') as f:
tree = ET.parse(f)
root = tree.getroot()
@@ -46,7 +46,7 @@ def create_addon_xml(config, source, py_version):
# Populate version string
addon_version = config.get('version')
root.attrib['version'] = '{}+{}'.format(addon_version, py_version)
root.attrib['version'] = f'{addon_version}+{py_version}'
# Populate Changelog
date = datetime.today().strftime('%Y-%m-%d')
@@ -54,30 +54,64 @@ def create_addon_xml(config, source, py_version):
for section in root.findall('extension'):
news = section.findall('news')
if news:
news[0].text = 'v{} ({}):\n{}'.format(addon_version, date, changelog)
news[0].text = f'v{addon_version} ({date}):\n{changelog}'
# Format xml tree
indent(root)
# Write addon.xml
tree.write('{}/addon.xml'.format(source), encoding='utf-8', xml_declaration=True)
tree.write(f'{source}/addon.xml', encoding='utf-8', xml_declaration=True)
def zip_files(py_version, source, target):
'''
def zip_files(py_version: str, source: str, target: str, dev: bool) -> None:
"""
Create installable addon zip archive
'''
archive_name = 'plugin.video.jellyfin+{}.zip'.format(py_version)
"""
archive_name = f'plugin.video.jellycon+{py_version}.zip'
with zipfile.ZipFile('{}/{}'.format(target, archive_name), 'w') as z:
with zipfile.ZipFile(f'{target}/{archive_name}', 'w') as z:
for root, dirs, files in os.walk(args.source):
for filename in files:
if 'plugin.video.jellyfin' not in filename and 'pyo' not in filename:
file_path = os.path.join(root, filename)
relative_path = os.path.join('plugin.video.jellyfin', os.path.relpath(file_path, source))
for filename in filter(file_filter, files):
file_path = os.path.join(root, filename)
if dev or folder_filter(file_path):
relative_path = os.path.join('plugin.video.jellycon', os.path.relpath(file_path, source))
z.write(file_path, relative_path)
def file_filter(file_name: str) -> bool:
"""
True if file_name is meant to be included
"""
return (
not (file_name.startswith('plugin.video.jellycon') and file_name.endswith('.zip'))
and not file_name.endswith('.pyo')
and not file_name.endswith('.pyc')
and not file_name.endswith('.pyd')
)
def folder_filter(folder_name: str) -> bool:
"""
True if folder_name is meant to be included
"""
filters = [
'.ci',
'.git',
'.github',
'.config',
'.mypy_cache',
'.pytest_cache',
'__pycache__',
'venv',
]
for f in filters:
if f in folder_name.split(os.path.sep):
return False
return True
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Build flags:')
parser.add_argument(
@@ -96,13 +130,16 @@ if __name__ == '__main__':
type=Path,
default=Path(__file__).absolute().parent)
parser.add_argument('--dev', dest='dev', action='store_true')
parser.set_defaults(dev=False)
args = parser.parse_args()
# Load config file
config_path = os.path.join(args.source, 'release.yaml')
with open(config_path, 'r') as fh:
config = yaml.safe_load(fh)
release_config = yaml.safe_load(fh)
create_addon_xml(config, args.source, args.version)
create_addon_xml(release_config, args.source, args.version)
zip_files(args.version, args.source, args.target)
zip_files(args.version, args.source, args.target, args.dev)

View File

@@ -2,7 +2,7 @@
import xbmcaddon
from resources.lib.loghandler import LazyLogger
from resources.lib.lazylogger import LazyLogger
from resources.lib.functions import main_entry_point
from resources.lib.tracking import set_timing_enabled
@@ -16,6 +16,3 @@ if log_timing_data:
log.debug("About to enter mainEntryPoint()")
main_entry_point()
# clear done and exit.
# sys.modules.clear()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 32 KiB

BIN
icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 13 KiB

BIN
kodi.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,6 +1,19 @@
version: '0.4.1'
changelog: |
- #57 - Fix browsing by pages
version: '0.9.0'
changelog: |-
:tada: New features and improvements
------------------------------------
+ Add a page limit setting for tv shows (#393) @mcarlton00
+ Add New Widgets (#381) @Aydanill
+ Include track details in audio playback (#378) @davembg
+ Add segment skip ability (#368) @Gorgorot38
Bug Fixes
---------
+ Fix websocket reconnects (#396) @manuelschneider
+ Ensure the filtered limit takes precedence over page limit (#395) @mcarlton00
+ fix subtitle burn in (#384) @loztcf
+ fix sdh/cc/hi subtitle for jellyfin > v10.9.0 (#385) @AndryYosua
+ Fix bug with multiple external subtitles in the same languages (#369) @Gorgorot38
dependencies:
py2:
- addon: 'xbmc.python'

View File

@@ -1 +1,16 @@
pyyaml
setuptools >= 44.1.1 # Old setuptools causes script.module.addon.signals to fail installing
six >= 1.13
python-dateutil >= 2.8.1
requests >= 2.22
futures >= 2.2; python_version < '3.0'
Kodistubs ~= 18.0; python_version < '3.0'
Kodistubs ~= 21.0; python_version >= '3.6'
git+https://github.com/romanvm/kodi.six
git+https://github.com/ruuk/script.module.addon.signals
flake8 >= 3.8
flake8-import-order >= 0.18
websocket-client >= 0.57.0

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,67 @@
msgid ""
msgstr ""
"PO-Revision-Date: 2025-10-05 02:38+0000\n"
"Last-Translator: Pavel Miniutka <pavel.miniutka@gmail.com>\n"
"Language-Team: Belarusian <https://translate.jellyfin.org/projects/jellycon/"
"jellycon/be/>\n"
"Language: be\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 5.11.4\n"
msgctxt "#30001"
msgid "Port"
msgstr "Порт"
msgctxt "#30006"
msgid "Password"
msgstr "Пароль"
#, fuzzy
msgctxt "#30007"
msgid "Samba username"
msgstr "Імя карыстальніка Samba"
msgctxt "#30018"
msgid "Number of items to show in filtered lists"
msgstr "Лічба паказаных элементаў у фільтраваных спісах"
msgctxt "#30000"
msgid "Host"
msgstr "Хост"
msgctxt "#30005"
msgid "Username"
msgstr "Імя карыстальніка"
msgctxt "#30003"
msgid "Verify HTTPS certificate"
msgstr "Спраўдзіць сертыфікат HTTPS"
#, fuzzy
msgctxt "#30008"
msgid "Samba password"
msgstr "Пароль Samba"
msgctxt "#30011"
msgid "[Detect local server]"
msgstr "[Выявіць лякальны сервер]"
msgctxt "#30012"
msgid "[Change user]"
msgstr "[Змяніць карыстальніка]"
msgctxt "#30014"
msgid "Jellyfin"
msgstr "Jellyfin"
msgctxt "#30016"
msgid "Device display name"
msgstr "Імя прылады"
msgctxt "#30017"
msgid "Show connected clients"
msgstr "Паказаць падлучаныя прылады"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,418 @@
msgid ""
msgstr ""
"PO-Revision-Date: 2022-05-08 11:13+0000\n"
"Last-Translator: Rhodri <rhodrilld@gmail.com>\n"
"Language-Team: Welsh <https://translate.jellyfin.org/projects/jellycon/"
"jellycon/cy/>\n"
"Language: cy\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=(n==0) ? 0 : (n==1) ? 1 : (n==2) ? 2 : "
"(n==3) ? 3 :(n==6) ? 4 : 5;\n"
"X-Generator: Weblate 4.10.1\n"
msgctxt "#30006"
msgid "Password"
msgstr "Cyfrinair"
msgctxt "#30005"
msgid "Username"
msgstr "Enw defnyddiwr"
msgctxt "#30003"
msgid "Verify HTTPS certificate"
msgstr "Gwiriwch dystysgrif HTTPS"
msgctxt "#30001"
msgid "Port"
msgstr "Port"
msgctxt "#30000"
msgid "Host"
msgstr "Gwesteiwr"
msgctxt "#30021"
msgid "Show all episodes item"
msgstr "Dangos bob pennod"
msgctxt "#30020"
msgid "Flatten single season"
msgstr "Gwastadu tymor sengl"
msgctxt "#30019"
msgid "Filtered episode name format"
msgstr "Fformat enw pennod wedi'i hidlo"
msgctxt "#30018"
msgid "Number of items to show in filtered lists"
msgstr "Nifer yr eitemau i'w dangos mewn rhestrau wedi'u hidlo"
msgctxt "#30017"
msgid "Show connected clients"
msgstr "Dangos cleients cysylltiedig"
msgctxt "#30016"
msgid "Device display name"
msgstr "Enw arddangos dyfais"
msgctxt "#30015"
msgid "Log timing data"
msgstr "Logio data amseru"
msgctxt "#30014"
msgid "Jellyfin"
msgstr "Jellyfin"
msgctxt "#30012"
msgid "[Change user]"
msgstr "[Newid defnyddiwr]"
msgctxt "#30011"
msgid "[Detect local server]"
msgstr "[Canfod gweinydd lleol]"
msgctxt "#30010"
msgid "Number of performance profiles to capture"
msgstr "Nifer y proffiliau perfformiad i'w gynhyrchu"
msgctxt "#30008"
msgid "Samba password"
msgstr "Cyfrinair Samba"
msgctxt "#30007"
msgid "Samba username"
msgstr "Enw defnyddiwr Samba"
msgctxt "#30169"
msgid "Address: "
msgstr "Cyfeiriad:"
msgctxt "#30167"
msgid "Selected Server Address"
msgstr "Cyfeiriad Gweinydd a ddewiswyd"
msgctxt "#30166"
msgid "Select Server"
msgstr "Dewis Gweinydd"
msgctxt "#30135"
msgid "Error"
msgstr "Gwall"
msgctxt "#30126"
msgid "Processing Item : "
msgstr "Prosesi'r eitem:"
msgctxt "#30125"
msgid "Done"
msgstr "Wedi gorffen"
msgctxt "#30121"
msgid "On resume"
msgstr "Ar barhad"
msgctxt "#30113"
msgid "Retrieving Data"
msgstr "Adalw Data"
msgctxt "#30112"
msgid "Loading Content"
msgstr "Llwytho Cynnwys"
msgctxt "#30111"
msgid "Services"
msgstr "Gwasanaethau"
msgctxt "#30092"
msgid "Warning: This action will delete the media files from the server."
msgstr ""
"Rhybudd: Bydd y weithred hon yn dileu'r ffeiliau cyfryngau o'r gweinydd."
msgctxt "#30091"
msgid "Confirm delete?"
msgstr "Cadarnhau dileu?"
msgctxt "#30063"
msgid "N/A"
msgstr "N/A"
msgctxt "#30053"
msgid "Waiting for server to delete"
msgstr "Aros i'r gweinydd i'w ddileu"
msgctxt "#30052"
msgid "Deleting"
msgstr "Wrthi'n dileu"
msgctxt "#30045"
msgid "Username not found"
msgstr "Enw defnyddiwr ddim yn bodoli"
msgctxt "#30044"
msgid "Incorrect Username/Password"
msgstr "Enw defnyddiwr/Cyfrinair anghywir"
msgctxt "#30025"
msgid "Password:"
msgstr "Cyfrinair:"
msgctxt "#30024"
msgid "Username:"
msgstr "Enw defnyddiwr:"
msgctxt "#30022"
msgid "Advanced"
msgstr "Uwchraddol"
msgctxt "#30216"
msgid "Item Details"
msgstr "Gwybodaeth Eitem"
msgctxt "#30200"
msgid "URL error"
msgstr "gwall URL"
msgctxt "#30180"
msgid "Select User"
msgstr "Dewis Defnyddiwr"
msgctxt "#30429"
msgid "Genre"
msgstr "Genre"
msgctxt "#30430"
msgid "Label"
msgstr "Label"
msgctxt "#30426"
msgid "Title"
msgstr "Teitl"
msgctxt "#30425"
msgid "Year"
msgstr "Blwyddyn"
msgctxt "#30401"
msgid "Info"
msgstr "Gwybodaeth"
msgctxt "#30399"
msgid "Hide"
msgstr "Cuddio"
msgctxt "#30392"
msgid "HTTPS"
msgstr "HTTPS"
msgctxt "#30391"
msgid "HTTP"
msgstr "HTTP"
msgctxt "#30380"
msgid "Never"
msgstr "Byth"
msgctxt "#30339"
msgid "Person"
msgstr "Person"
msgctxt "#30338"
msgid "Album"
msgstr "Albwm"
msgctxt "#30337"
msgid "Song"
msgstr "Cân"
msgctxt "#30314"
msgid "Play"
msgstr "Chwarae"
msgctxt "#30313"
msgid "Menu"
msgstr "Dewislen"
msgctxt "#30296"
msgid "Delete"
msgstr "Dileu"
msgctxt "#30274"
msgid "Delete"
msgstr "Dileu"
msgctxt "#30256"
msgid "Movies"
msgstr "Ffilmiau"
msgctxt "#30250"
msgid "Unknown"
msgstr "Anhysbys"
msgctxt "#30246"
msgid "Search"
msgstr "Chwilio"
msgctxt "#30235"
msgid "Episodes"
msgstr "Pennodau"
msgctxt "#30231"
msgid "Movies"
msgstr "Ffilmiau"
msgctxt "#30218"
msgid "Play next episode after %"
msgstr "Chwarae'r bennod nesaf ar ôl %"
msgctxt "#30214"
msgid "Events"
msgstr "Digwyddiadau"
msgctxt "#30211"
msgid "Transcode options"
msgstr "Opsiynau trawsgodio"
msgctxt "#30201"
msgid "Unable to connect to server"
msgstr "Methu cysylltu â'r gweinydd"
msgctxt "#30183"
msgid "Include people"
msgstr "Cynnwys pobl"
msgctxt "#30181"
msgid "Include plot"
msgstr "Cynnwys plot"
msgctxt "#30163"
msgid "Add (cc) if subtitle is available"
msgstr "Ychwanegu (cc) os oes is-deitlau ar gael"
msgctxt "#30114"
msgid "Jump back seconds"
msgstr "Neidio yn ôl eiliadau"
msgctxt "#30110"
msgid "Interface"
msgstr "Rhyngwyneb"
msgctxt "#30027"
msgid "Enable debug logging"
msgstr "Actifadu logio dadfygio"
msgctxt "#30023"
msgid "Hide unwatched episode details"
msgstr "Cuddio manylion penodau heb eu gwylio"
msgctxt "#30381"
msgid "More than one"
msgstr "Mwy na un"
msgctxt "#30362"
msgid " - Recordings"
msgstr "- Recordiadau"
msgctxt "#30361"
msgid " - Programs"
msgstr "- Rhaglenni"
msgctxt "#30360"
msgid " - Channels"
msgstr "- Sianeli"
msgctxt "#30325"
msgid " - Genres"
msgstr "- Genres"
msgctxt "#30316"
msgid "Connection Error"
msgstr "Gwall cysylltiad"
msgctxt "#30312"
msgid "All - "
msgstr "Pobeth -"
msgctxt "#30311"
msgid "Library - "
msgstr "Llyfrgell -"
msgctxt "#30294"
msgid "Notice"
msgstr "Rhybydd"
msgctxt "#30290"
msgid "All"
msgstr "Pobeth"
msgctxt "#30288"
msgid " - Latest"
msgstr "- Diweddaraf"
msgctxt "#30285"
msgid " - Unwatched"
msgstr "- Heb ei wylio"
msgctxt "#30283"
msgid "Play Next Episode?"
msgstr "Chwarae'r bennod nesaf?"
msgctxt "#30280"
msgid "Missing Title"
msgstr "Teitl ar goll"
msgctxt "#30278"
msgid " - Next Up"
msgstr "- Nesaf"
msgctxt "#30286"
msgid "Movies - Unwatched"
msgstr "Ffilmiau - Heb ei wylio"
msgctxt "#30252"
msgid "Movies - A-Z"
msgstr "Ffilmiau - A-Z"
msgctxt "#30251"
msgid "Movies - Genres"
msgstr "Ffilmiau - Genres"
msgctxt "#30259"
msgid "Movies - Favorites"
msgstr "Ffilmiau - Ffefrynnau"
msgctxt "#30415"
msgid " - Favorite Collections"
msgstr "- Hoff Gasgliadau"
msgctxt "#30414"
msgid " - Favorites"
msgstr "- Ffefrynnau"
msgctxt "#30289"
msgid "TV Shows - Genres"
msgstr "Rhaglenni teledu - Genres"
msgctxt "#30287"
msgid "TV Shows - Latest"
msgstr "Rhaglenni teledu - Diweddaraf"
msgctxt "#30279"
msgid "TV Shows - Unwatched"
msgstr "Rhaglenni teledu - Heb ei wylio"
msgctxt "#30262"
msgid "TV Shows - Favorites"
msgstr "Rhaglenni teledu - Ffefrynnau"
msgctxt "#30261"
msgid "TV Shows"
msgstr "Rhaglenni teledu"
msgctxt "#30255"
msgid "TV Shows - A-Z"
msgstr "Rhaglenni teledu - A-Z"
msgctxt "#30229"
msgid "TV Shows"
msgstr "Rhaglenni teledu"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,29 @@
msgid ""
msgstr ""
"PO-Revision-Date: 2025-05-28 22:01+0000\n"
"Last-Translator: Cjfly <mrlaylowcj@gmail.com>\n"
"Language-Team: English (Middle) <https://translate.jellyfin.org/projects/"
"jellycon/jellycon/enm/>\n"
"Language: enm\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.11.4\n"
msgctxt "#30000"
msgid "Host"
msgstr "127.0.0.1"
msgctxt "#30006"
msgid "Password"
msgstr "232542684Cc"
#, fuzzy
msgctxt "#30005"
msgid "Username"
msgstr "Courtney"
msgctxt "#30001"
msgid "Port"
msgstr "3000"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,720 @@
msgid ""
msgstr ""
"PO-Revision-Date: 2024-07-05 15:41+0000\n"
"Last-Translator: Viswanadha Y Manu Sharma <manu.viswanad@gmail.com>\n"
"Language-Team: Hindi <https://translate.jellyfin.org/projects/jellycon/"
"jellycon/hi/>\n"
"Language: hi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 5.4.2\n"
msgctxt "#30407"
msgid "Global Lists"
msgstr "वैश्विक सूची"
msgctxt "#30408"
msgid "Custom Widgets"
msgstr "कस्टम विड्जेट"
msgctxt "#30409"
msgid "Add-on Actions"
msgstr "अतिरिक्त कार्य"
msgctxt "#30410"
msgid " - Collections"
msgstr "संग्रह"
msgctxt "#30417"
msgid "You do not have permision to delete this item"
msgstr "आपके पास इस वस्तु को मिटाने की अनुमति नहीं है"
msgctxt "#30416"
msgid "HTTP timeout seconds"
msgstr "एचटीटीपी के समय समाप्ति (सेकड़ो में)"
msgctxt "#30413"
msgid " - Tags"
msgstr "चिप्पी"
msgctxt "#30418"
msgid "Audio bitrate (Kbits)"
msgstr "ऑडियो बितरते (किलो बिट प्रति घंटा)"
msgctxt "#30419"
msgid "Audio codec"
msgstr "ऑडियो कोडेक"
msgctxt "#30420"
msgid "Audio max channels"
msgstr "अधिकतम ऑडियो चैनल"
msgctxt "#30421"
msgid "Views"
msgstr "कितनी बार देखा गया"
msgctxt "#30422"
msgid "Sorting"
msgstr "छंटाई"
msgctxt "#30423"
msgid "NotSet"
msgstr "नहीं लगाया गया"
msgctxt "#30424"
msgid "Default"
msgstr "पहले से चुना हुआ"
msgctxt "#30425"
msgid "Year"
msgstr "साल"
msgctxt "#30434"
msgid "Force transcode stream bitrate (Kbits)"
msgstr "जबरदस्ती बिट्रेट तय करे (किलो बिट प्रति सेकंड)"
msgctxt "#30436"
msgid "Speed test data size (MB)"
msgstr "इंटरनेट की रफ़्तार नापने के लिए डाटा का माप (मेगा बाईट)"
msgctxt "#30433"
msgid "Allow direct file playback"
msgstr "सीधे फाइल से प्लेबैक की अनुमति दें"
msgctxt "#30437"
msgid "Playback options"
msgstr "चलने के विकल्प दिखाएं"
msgctxt "#30439"
msgid "Show play next episode at time left"
msgstr "कितने समय पहले अगले अध्याय पर जाने का बटन दिखाएं"
msgctxt "#30438"
msgid "Play cinema intros"
msgstr "सिनेमा उपक्षेप चलायें"
msgctxt "#30441"
msgid "Use cached widget data"
msgstr "पुराणी विद्गट जानकारी इस्तेमाल करें"
msgctxt "#30442"
msgid "Simple new content check"
msgstr "नए कंटेंट के लिए चेक करें"
msgctxt "#30435"
msgid "Connection speed test"
msgstr "कनेक्शन की स्पीड नापें"
msgctxt "#30440"
msgid "Play next"
msgstr "अगला चलाएं"
msgctxt "#30114"
msgid "Jump back seconds"
msgstr "कुछ सेकंड पीछे जाएं"
msgctxt "#30113"
msgid "Retrieving Data"
msgstr "देता प्राप्त कर रहे है"
msgctxt "#30112"
msgid "Loading Content"
msgstr "कंटेंट लोड हो रहा है"
msgctxt "#30027"
msgid "Enable debug logging"
msgstr "डीबग सूचि बनाएं"
msgctxt "#30026"
msgid "Widget item select action"
msgstr "विद्गट वास्तु का कार्य चुनें"
msgctxt "#30020"
msgid "Flatten single season"
msgstr "सिर्फ एक सत्र वाले शो के लिए सत्र पेज हटाएं"
msgctxt "#30415"
msgid " - Favorite Collections"
msgstr "पसंदीदा संग्रह"
msgctxt "#30414"
msgid " - Favorites"
msgstr "पसंदीदा"
msgctxt "#30411"
msgid " - Years"
msgstr "साल"
msgctxt "#30399"
msgid "Hide"
msgstr "छुपाएँ"
msgctxt "#30412"
msgid " - Decades"
msgstr "दशक"
msgctxt "#30432"
msgid "Hide watched items in lists"
msgstr "देखि हुईं वस्तुएं हटाएं"
msgctxt "#30431"
msgid "Seasons"
msgstr "सत्र"
msgctxt "#30430"
msgid "Label"
msgstr "लेबल"
msgctxt "#30427"
msgid "Added"
msgstr "जोड़ा हुआ"
msgctxt "#30426"
msgid "Title"
msgstr "शीर्षक"
msgctxt "#30428"
msgid "Rating"
msgstr "रेटिंग"
msgctxt "#30429"
msgid "Genre"
msgstr "शैली"
msgctxt "#30019"
msgid "Filtered episode name format"
msgstr "छठें हुएं अध्यायों के नामों का प्रारूप"
msgctxt "#30018"
msgid "Number of items to show in filtered lists"
msgstr "छांटी हुई सूचि में कितने वास्तु दिखाए"
msgctxt "#30015"
msgid "Log timing data"
msgstr "समय की जानकारी लिखें"
msgctxt "#30016"
msgid "Device display name"
msgstr "उपकरण का नाम"
msgctxt "#30017"
msgid "Show connected clients"
msgstr "जुड़े हुए क्लाइंट्स दिखाएं"
msgctxt "#30023"
msgid "Hide unwatched episode details"
msgstr "अंधेके एपिसोडों का विवरण हटाएँ"
msgctxt "#30021"
msgid "Show all episodes item"
msgstr "सारे एपिसोड दिखाएं"
msgctxt "#30025"
msgid "Password:"
msgstr "पासवर्ड :"
msgctxt "#30246"
msgid "Search"
msgstr "खोज"
msgctxt "#30235"
msgid "Episodes"
msgstr "अध्याय"
msgctxt "#30229"
msgid "TV Shows"
msgstr "टीवी शो"
msgctxt "#30231"
msgid "Movies"
msgstr "फ़िल्म"
msgctxt "#30216"
msgid "Item Details"
msgstr "वास्तु का विवरण"
msgctxt "#30169"
msgid "Address: "
msgstr "पता :"
msgctxt "#30044"
msgid "Incorrect Username/Password"
msgstr "गलत उपयोगरता का नाम / पासवर्ड"
msgctxt "#30045"
msgid "Username not found"
msgstr "उपयोगकर्ता का नाम नहीं पाया गया"
msgctxt "#30022"
msgid "Advanced"
msgstr "उन्नत"
msgctxt "#30092"
msgid "Warning: This action will delete the media files from the server."
msgstr "चेतावनी : यह कार्य आपकी मिडिया मिटा देगा |"
msgctxt "#30135"
msgid "Error"
msgstr "समस्या"
msgctxt "#30125"
msgid "Done"
msgstr "खत्म"
msgctxt "#30181"
msgid "Include plot"
msgstr "कहानी जोड़ें"
msgctxt "#30180"
msgid "Select User"
msgstr "उपयोगकर्ता चुनें"
msgctxt "#30167"
msgid "Selected Server Address"
msgstr "चुनें हुए सर्वर का पता"
msgctxt "#30166"
msgid "Select Server"
msgstr "सर्वर चुनें"
msgctxt "#30111"
msgid "Services"
msgstr "सेवाएं"
msgctxt "#30110"
msgid "Interface"
msgstr "अंतराफलक"
msgctxt "#30091"
msgid "Confirm delete?"
msgstr "क्या आप पक्का मिटाना चाहतें हैं?"
msgctxt "#30063"
msgid "N/A"
msgstr "उपलब्ध नहीं है"
msgctxt "#30053"
msgid "Waiting for server to delete"
msgstr "सर्वर द्वारा हटाए जानें का इंतज़ार कर रहें हैं"
msgctxt "#30052"
msgid "Deleting"
msgstr "हटा रहें हैं"
msgctxt "#30024"
msgid "Username:"
msgstr "उपयोगकर्ता का नाम :"
msgctxt "#30010"
msgid "Number of performance profiles to capture"
msgstr "कितने कार्य प्रोफाइल रखने हैं"
msgctxt "#30011"
msgid "[Detect local server]"
msgstr "स्थानीय सर्वर का पता करें"
msgctxt "#30012"
msgid "[Change user]"
msgstr "उपयोगकर्ता बदलें"
msgctxt "#30014"
msgid "Jellyfin"
msgstr "जेलीफिन"
msgctxt "#30008"
msgid "Samba password"
msgstr "साम्बा में पासवर्ड"
msgctxt "#30007"
msgid "Samba username"
msgstr "साम्बा में उपयोगकर्ता का नाम"
msgctxt "#30006"
msgid "Password"
msgstr "पासवर्ड"
msgctxt "#30005"
msgid "Username"
msgstr "उपयोगकर्ता का नाम"
msgctxt "#30003"
msgid "Verify HTTPS certificate"
msgstr "HTTPS प्रमाणपत्र की जांच करें"
msgctxt "#30001"
msgid "Port"
msgstr "द्वार"
msgctxt "#30000"
msgid "Host"
msgstr "आतिथेय"
msgctxt "#30118"
msgid "Add resume percent to names"
msgstr "नामों में फिर शुरू करनेका प्रतिशत जोड़ें"
msgctxt "#30116"
msgid "Add unwatched counts to names"
msgstr "नामों में न देखी गई गिनती जोड़ें"
msgctxt "#30120"
msgid "Show load progress"
msgstr "लोड प्रगति दिखाएं"
msgctxt "#30121"
msgid "On resume"
msgstr "फिर से शुरू करने पर"
msgctxt "#30139"
msgid "No Media Type Set"
msgstr "कोई मीडिया प्रकार सेट नहीं"
msgctxt "#30183"
msgid "Include people"
msgstr "लोगों को शामिल करें"
msgctxt "#30208"
msgid "Max stream bitrate (Kbits)"
msgstr "अधिकतम स्ट्रीम बिटरेट (Kbps)"
msgctxt "#30212"
msgid "Video max width"
msgstr "वीडियो की अधिकतम चौड़ाई"
msgctxt "#30217"
msgid "Prompt to delete episode after %"
msgstr "% के बाद एपिसोड हटाने का संकेत"
msgctxt "#30219"
msgid " - Prompt before play"
msgstr "- खेलने से पहले संकेत दें"
msgctxt "#30220"
msgid "Prompt to delete movie after %"
msgstr "% के बाद मूवी हटाने का संकेत"
msgctxt "#30257"
msgid "Movies - Recently Added"
msgstr "फ़िल्में - हाल ही में जोड़ी गईं"
msgctxt "#30265"
msgid "Episodes - Next Up"
msgstr "एपिसोड - अगला"
msgctxt "#30163"
msgid "Add (cc) if subtitle is available"
msgstr "यदि उपशीर्षक उपलब्ध है तो (सीसी) जोड़ें"
msgctxt "#30182"
msgid "Include media stream info"
msgstr "मीडिया स्ट्रीम जानकारी शामिल करें"
msgctxt "#30200"
msgid "URL error"
msgstr "यूआरएल त्रुटि"
msgctxt "#30201"
msgid "Unable to connect to server"
msgstr "सर्वर से कनेक्ट करने में असमर्थ है"
msgctxt "#30206"
msgid "Playback type"
msgstr "प्लेबैक प्रकार"
msgctxt "#30207"
msgid "Playback"
msgstr "प्लेबैक"
msgctxt "#30209"
msgid "File direct path"
msgstr "फ़ाइल का सीधा पथ"
msgctxt "#30210"
msgid "HTTP direct stream"
msgstr "HTTP डायरेक्ट स्ट्रीम"
msgctxt "#30211"
msgid "Transcode options"
msgstr "ट्रांसकोड विकल्प"
msgctxt "#30213"
msgid "Video force 8 bit"
msgstr "वीडियो बल 8 बिट"
msgctxt "#30214"
msgid "Events"
msgstr "आयोजन"
msgctxt "#30215"
msgid "On playback stop (100% = disabled)"
msgstr "प्लेबैक स्टॉप पर (100% = अक्षम)"
msgctxt "#30218"
msgid "Play next episode after %"
msgstr "% के बाद अगला एपिसोड चलाएं"
msgctxt "#30222"
msgid "Item Layout"
msgstr "आइटम लेआउट"
msgctxt "#30223"
msgid "Page Size and Filtering"
msgstr "पृष्ठ आकार और फ़िल्टरिंग"
msgctxt "#30224"
msgid "Interaction"
msgstr "इंटरैक्शन"
msgctxt "#30258"
msgid "Movies - In Progress"
msgstr "फ़िल्में - प्रगति पर हैं"
msgctxt "#30126"
msgid "Processing Item : "
msgstr "आइटम का प्रसंस्करण:"
msgctxt "#30267"
msgid " - In Progress"
msgstr "- प्रगति पर है"
msgctxt "#30268"
msgid " - Recently Added"
msgstr "- हाल ही में जोड़ा"
msgctxt "#30225"
msgid "Interface Mode"
msgstr "इंटरफ़ेस मोड"
msgctxt "#30226"
msgid "Default"
msgstr "डिफ़ॉल्ट"
msgctxt "#30227"
msgid "Simple"
msgstr "सरल"
msgctxt "#30236"
msgid "Force transcode h265 (hevc)"
msgstr "फोर्स ट्रांसकोड h265 (hevc)"
msgctxt "#30237"
msgid "Start from beginning"
msgstr "शुरू से शुरू करो"
msgctxt "#30238"
msgid "Playback stream options"
msgstr "प्लेबैक स्ट्रीम विकल्प"
msgctxt "#30239"
msgid "Force transcode mpeg2"
msgstr "फोर्स ट्रांसकोड mpeg2"
msgctxt "#30240"
msgid "Force transcode msmpeg4v3 (divx)"
msgstr "फोर्स ट्रांसकोड msmpeg4v3 (divx)"
msgctxt "#30241"
msgid "Force transcode mpeg4"
msgstr "फोर्स ट्रांसकोड mpeg4"
msgctxt "#30247"
msgid "Custom Widget Content"
msgstr "कस्टम विजेट सामग्री"
msgctxt "#30250"
msgid "Unknown"
msgstr "अज्ञात"
msgctxt "#30251"
msgid "Movies - Genres"
msgstr "फ़िल्में - शैलियाँ"
msgctxt "#30252"
msgid "Movies - A-Z"
msgstr "फ़िल्में - ए-जेड"
msgctxt "#30254"
msgid "Show add-on settings"
msgstr "ऐड-ऑन सेटिंग दिखाएं"
msgctxt "#30255"
msgid "TV Shows - A-Z"
msgstr "टीवी शो - ए-जेड"
msgctxt "#30256"
msgid "Movies"
msgstr "फ़िल्म"
msgctxt "#30259"
msgid "Movies - Favorites"
msgstr "फ़िल्में - पसंदीदा"
msgctxt "#30260"
msgid "BoxSets"
msgstr "बॉक्ससेट"
msgctxt "#30261"
msgid "TV Shows"
msgstr "टीवी शो"
msgctxt "#30262"
msgid "TV Shows - Favorites"
msgstr "टीवी शो - पसंदीदा"
msgctxt "#30263"
msgid "Episodes - Recently Added"
msgstr "एपिसोड - हाल ही में जोड़े गए"
msgctxt "#30264"
msgid "Episodes - In Progress"
msgstr "एपिसोड - प्रगति पर है"
msgctxt "#30266"
msgid "Movies - Pages"
msgstr "फ़िल्में - पन्ने"
msgctxt "#30269"
msgid "Movies - Random"
msgstr "फ़िल्में - यादृच्छिक"
msgctxt "#30270"
msgid "Mark Watched"
msgstr "मार्क वॉचड"
msgctxt "#30271"
msgid "Mark Unwatched"
msgstr "मार्क अनवॉच्ड"
msgctxt "#30272"
msgid "Set Favourite"
msgstr "पसंदीदा सेट करें"
msgctxt "#30273"
msgid "Unset Favourite"
msgstr "पसंदीदा को अनसेट करें"
msgctxt "#30274"
msgid "Delete"
msgstr "मिटाना"
msgctxt "#30275"
msgid "Force Transcode"
msgstr "फोर्स ट्रांसकोड"
msgctxt "#30296"
msgid "Delete"
msgstr "मिटाना"
msgctxt "#30300"
msgid "Cache all Jellyfin images as local Kodi images?"
msgstr "सभी जेलीफ़िन छवियों को स्थानीय कोडी छवियों के रूप में कैश करें?"
msgctxt "#30301"
msgid "Caching Images"
msgstr "छवियाँ कैशिंग"
msgctxt "#30278"
msgid " - Next Up"
msgstr "- अगला"
msgctxt "#30302"
msgid "Existing images : "
msgstr "मौजूदा छवियाँ:"
msgctxt "#30242"
msgid "Force transcode av1"
msgstr "फोर्स ट्रांसकोड av1"
msgctxt "#30288"
msgid " - Latest"
msgstr "- नवीनतम"
msgctxt "#30289"
msgid "TV Shows - Genres"
msgstr "टीवी शो - शैलियाँ"
msgctxt "#30297"
msgid "Delete unused images?"
msgstr "अप्रयुक्त छवियाँ हटाएँ?"
msgctxt "#30298"
msgid "Deleting Kodi Images"
msgstr "कोडी छवियाँ हटाना"
msgctxt "#30299"
msgid "Cache Images"
msgstr "कैश छवियाँ"
msgctxt "#30303"
msgid "Missing Jellyfin images : "
msgstr "गुम जेलीफ़िन छवियाँ:"
msgctxt "#30279"
msgid "TV Shows - Unwatched"
msgstr "टीवी शो - नहीं देखे गए"
msgctxt "#30280"
msgid "Missing Title"
msgstr "गुम शीर्षक"
msgctxt "#30282"
msgid "No Jellyfin servers detected on your local network."
msgstr "आपके स्थानीय नेटवर्क पर कोई जेलीफ़िन सर्वर नहीं पाया गया।"
msgctxt "#30283"
msgid "Play Next Episode?"
msgstr "अगला एपिसोड खेलें?"
msgctxt "#30281"
msgid "Refresh Cached Images"
msgstr "कैश्ड छवियाँ ताज़ा करें"
msgctxt "#30285"
msgid " - Unwatched"
msgstr "- न देखा गया"
msgctxt "#30286"
msgid "Movies - Unwatched"
msgstr "फिल्में - नहीं देखी गईं"
msgctxt "#30287"
msgid "TV Shows - Latest"
msgstr "टीवी शो - नवीनतम"
msgctxt "#30294"
msgid "Notice"
msgstr "सूचना"
msgctxt "#30295"
msgid "To use this feature you need HTTP control enabled"
msgstr "इस सुविधा का उपयोग करने के लिए आपको HTTP नियंत्रण सक्षम करना होगा"
msgctxt "#30290"
msgid "All"
msgstr "सभी"
msgctxt "#30291"
msgid "Select Audio Stream"
msgstr "ऑडियो स्ट्रीम चुनें"
msgctxt "#30292"
msgid "Select Subtitle Stream"
msgstr "उपशीर्षक स्ट्रीम का चयन करें"
msgctxt "#30293"
msgid "Cache images"
msgstr "कैश छवियाँ"
msgctxt "#30304"
msgid "Cached Jellyfin images : "
msgstr "कैश्ड जेलीफ़िन छवियाँ:"
msgctxt "#30305"
msgid "Not Found"
msgstr "नहीं मिला"
msgctxt "#30306"
msgid "Playback starting"
msgstr "प्लेबैक प्रारंभ हो रहा है"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,770 @@
msgid ""
msgstr ""
"PO-Revision-Date: 2025-09-23 16:39+0000\n"
"Last-Translator: S H <translate@hayakawa.work>\n"
"Language-Team: Japanese <https://translate.jellyfin.org/projects/jellycon/"
"jellycon/ja/>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 5.11.4\n"
msgctxt "#30112"
msgid "Loading Content"
msgstr "コンテンツをロード中"
msgctxt "#30008"
msgid "Samba password"
msgstr "Samba パスワード"
msgctxt "#30016"
msgid "Device display name"
msgstr "デバイスディスプレイ名"
msgctxt "#30021"
msgid "Show all episodes item"
msgstr "全てのエピソードを見る"
msgctxt "#30044"
msgid "Incorrect Username/Password"
msgstr "誤ったユーザー名もしくはパスワード"
msgctxt "#30000"
msgid "Host"
msgstr "ホスト"
msgctxt "#30001"
msgid "Port"
msgstr "ポート"
msgctxt "#30003"
msgid "Verify HTTPS certificate"
msgstr "HTTPS証明書を検証"
msgctxt "#30005"
msgid "Username"
msgstr "ユーザー名"
msgctxt "#30006"
msgid "Password"
msgstr "パスワード"
msgctxt "#30007"
msgid "Samba username"
msgstr "Samba ユーザー名"
msgctxt "#30010"
msgid "Number of performance profiles to capture"
msgstr "キャプチャするパフォーマンスプロファイルの数"
msgctxt "#30011"
msgid "[Detect local server]"
msgstr "[ローカルサーバーを検出]"
msgctxt "#30012"
msgid "[Change user]"
msgstr "[ユーザーを変更]"
msgctxt "#30014"
msgid "Jellyfin"
msgstr "Jellyfin"
msgctxt "#30015"
msgid "Log timing data"
msgstr "ログタイミングデータ"
msgctxt "#30017"
msgid "Show connected clients"
msgstr "接続されたクライアントを表示"
msgctxt "#30018"
msgid "Number of items to show in filtered lists"
msgstr "フィルターされたリストに表示するアイテムの数"
msgctxt "#30019"
msgid "Filtered episode name format"
msgstr "フィルターされたエピソードの名前フォーマット"
msgctxt "#30022"
msgid "Advanced"
msgstr "高度"
msgctxt "#30023"
msgid "Hide unwatched episode details"
msgstr "観ていないエピソードの詳細を隠す"
msgctxt "#30024"
msgid "Username:"
msgstr "ユーザー名:"
msgctxt "#30025"
msgid "Password:"
msgstr "パスワード:"
msgctxt "#30027"
msgid "Enable debug logging"
msgstr "デバッグロギングを有効化"
msgctxt "#30045"
msgid "Username not found"
msgstr "ユーザー名が見つからない"
msgctxt "#30052"
msgid "Deleting"
msgstr "削除中"
msgctxt "#30053"
msgid "Waiting for server to delete"
msgstr "サーバーが削除するのを待機中"
msgctxt "#30091"
msgid "Confirm delete?"
msgstr "削除しますか?"
msgctxt "#30092"
msgid "Warning: This action will delete the media files from the server."
msgstr "警告: この操作はサーバーからメディアファイルを削除します。"
msgctxt "#30110"
msgid "Interface"
msgstr "インターフェース"
msgctxt "#30111"
msgid "Services"
msgstr "サービス"
msgctxt "#30113"
msgid "Retrieving Data"
msgstr "データを取得中"
msgctxt "#30222"
msgid "Item Layout"
msgstr "アイテムレイアウト"
msgctxt "#30224"
msgid "Interaction"
msgstr "インタラクション"
msgctxt "#30225"
msgid "Interface Mode"
msgstr "インターフェースモード"
msgctxt "#30226"
msgid "Default"
msgstr "既定"
msgctxt "#30227"
msgid "Simple"
msgstr "シンプル"
msgctxt "#30229"
msgid "TV Shows"
msgstr "TV番組"
msgctxt "#30231"
msgid "Movies"
msgstr "映画"
msgctxt "#30235"
msgid "Episodes"
msgstr "エピソード"
msgctxt "#30237"
msgid "Start from beginning"
msgstr "最初から始める"
msgctxt "#30239"
msgid "Force transcode mpeg2"
msgstr "mpeg2でのトランスコードを強制する"
msgctxt "#30241"
msgid "Force transcode mpeg4"
msgstr "mpeg4でのトランスコードを強制する"
msgctxt "#30246"
msgid "Search"
msgstr "検索"
msgctxt "#30250"
msgid "Unknown"
msgstr "不明"
msgctxt "#30252"
msgid "Movies - A-Z"
msgstr "映画 - A-Z"
msgctxt "#30254"
msgid "Show add-on settings"
msgstr "アドオン設定を見る"
msgctxt "#30255"
msgid "TV Shows - A-Z"
msgstr "TV番組 - A-Z"
msgctxt "#30256"
msgid "Movies"
msgstr "映画"
msgctxt "#30257"
msgid "Movies - Recently Added"
msgstr "映画 - 最近追加された"
msgctxt "#30258"
msgid "Movies - In Progress"
msgstr "映画 - 途中"
msgctxt "#30259"
msgid "Movies - Favorites"
msgstr "映画 - お気に入り"
msgctxt "#30260"
msgid "BoxSets"
msgstr "ボックス・セット"
msgctxt "#30261"
msgid "TV Shows"
msgstr "TV番組"
msgctxt "#30262"
msgid "TV Shows - Favorites"
msgstr "TV番組 - お気に入り"
msgctxt "#30264"
msgid "Episodes - In Progress"
msgstr "エピソード - 途中"
msgctxt "#30265"
msgid "Episodes - Next Up"
msgstr "エピソード - 次"
msgctxt "#30266"
msgid "Movies - Pages"
msgstr "映画 - ページ"
msgctxt "#30267"
msgid " - In Progress"
msgstr "- 途中"
msgctxt "#30268"
msgid " - Recently Added"
msgstr "- 最近追加された"
msgctxt "#30269"
msgid "Movies - Random"
msgstr "映画 - ランダム"
msgctxt "#30270"
msgid "Mark Watched"
msgstr "視聴済みにする"
msgctxt "#30271"
msgid "Mark Unwatched"
msgstr "未視聴にする"
msgctxt "#30272"
msgid "Set Favourite"
msgstr "お気に入りにする"
msgctxt "#30273"
msgid "Unset Favourite"
msgstr "お気に入りから外す"
msgctxt "#30274"
msgid "Delete"
msgstr "削除"
msgctxt "#30275"
msgid "Force Transcode"
msgstr "トランスコードを強制する"
msgctxt "#30276"
msgid "Extra Resume Prompt Detected"
msgstr "追加の再開プロンプトが検出された"
msgctxt "#30278"
msgid " - Next Up"
msgstr "- 次"
msgctxt "#30279"
msgid "TV Shows - Unwatched"
msgstr "TV番組 - 未視聴"
msgctxt "#30280"
msgid "Missing Title"
msgstr "タイトル欠落"
msgctxt "#30281"
msgid "Refresh Cached Images"
msgstr "キャッシュしたイメージをリフレッシュする"
msgctxt "#30282"
msgid "No Jellyfin servers detected on your local network."
msgstr "ローカルネットワークにJellyfinサーバーは検出されませんでした。"
msgctxt "#30283"
msgid "Play Next Episode?"
msgstr "次のエピソードを再生しますか?"
msgctxt "#30285"
msgid " - Unwatched"
msgstr "- 未視聴"
msgctxt "#30286"
msgid "Movies - Unwatched"
msgstr "映画 - 未視聴"
msgctxt "#30287"
msgid "TV Shows - Latest"
msgstr "TV番組 - 最新"
msgctxt "#30288"
msgid " - Latest"
msgstr "- 最新"
msgctxt "#30290"
msgid "All"
msgstr "全て"
msgctxt "#30291"
msgid "Select Audio Stream"
msgstr "音声ストリームを選択"
msgctxt "#30292"
msgid "Select Subtitle Stream"
msgstr "サブタイトルストリームを選択"
msgctxt "#30293"
msgid "Cache images"
msgstr "イメージをキャッシュする"
msgctxt "#30294"
msgid "Notice"
msgstr "通知"
msgctxt "#30295"
msgid "To use this feature you need HTTP control enabled"
msgstr "この機能を使うにはHTTPコントロールが有効化されている必要があります"
msgctxt "#30296"
msgid "Delete"
msgstr "削除"
msgctxt "#30297"
msgid "Delete unused images?"
msgstr "使用されていないイメージを削除しますか?"
msgctxt "#30299"
msgid "Cache Images"
msgstr "イメージをキャッシュする"
msgctxt "#30301"
msgid "Caching Images"
msgstr "イメージをキャッシュ中"
msgctxt "#30302"
msgid "Existing images : "
msgstr "既存のイメージ:"
msgctxt "#30303"
msgid "Missing Jellyfin images : "
msgstr "欠落したJellyfinイメージ:"
msgctxt "#30304"
msgid "Cached Jellyfin images : "
msgstr "キャッシュされたJellyfinイメージ:"
msgctxt "#30305"
msgid "Not Found"
msgstr "見つかりませんでした"
msgctxt "#30306"
msgid "Playback starting"
msgstr "再生を開始中"
msgctxt "#30307"
msgid "Play Trailer"
msgstr "トレーラーを再生"
msgctxt "#30308"
msgid "Select Trailer"
msgstr "トレーラーを選択"
msgctxt "#30309"
msgid "Select Media Source"
msgstr "メディアソースを選択"
msgctxt "#30311"
msgid "Library - "
msgstr "ライブラリー -"
msgctxt "#30312"
msgid "All - "
msgstr "全て -"
msgctxt "#30313"
msgid "Menu"
msgstr "メニュー"
msgctxt "#30314"
msgid "Play"
msgstr "再生"
msgctxt "#30315"
msgid "Suppress notifications for connection errors"
msgstr "接続エラーについての通知を抑制"
msgctxt "#30316"
msgid "Connection Error"
msgstr "接続エラー"
msgctxt "#30317"
msgid "Play All"
msgstr "全て再生"
msgctxt "#30318"
msgid "Music - Albums"
msgstr "音楽 - アルバム"
msgctxt "#30320"
msgid " - Albums"
msgstr "- アルバム"
msgctxt "#30322"
msgid "Auto resume"
msgstr "自動再開"
msgctxt "#30323"
msgid "Artists"
msgstr "アーティスト"
msgctxt "#30325"
msgid " - Genres"
msgstr "- ジャンル"
msgctxt "#30327"
msgid "Go To Season"
msgstr "シーズンに行く"
msgctxt "#30328"
msgid "Show empty folders (shows, seasons, collections)"
msgstr "空のフォルダー(番組, シーズン, コレクション)を見る"
msgctxt "#30329"
msgid "Screensaver"
msgstr "スクリーンセーバー"
msgctxt "#30330"
msgid "Show change user dialog"
msgstr "ユーザー変更ダイアログを見る"
msgctxt "#30331"
msgid "Movies per page"
msgstr "ページごとの映画"
msgctxt "#30332"
msgid "Stop media playback on screensaver activation"
msgstr "スクリーンセーバーが始まったらメディア再生をやめる"
msgctxt "#30334"
msgid "Use JellyCon context menu"
msgstr "JellyConコンテキストメニューを使う"
msgctxt "#30337"
msgid "Song"
msgstr "曲"
msgctxt "#30338"
msgid "Album"
msgstr "アルバム"
msgctxt "#30339"
msgid "Person"
msgstr "人物"
msgctxt "#30340"
msgid "Group movies into collections"
msgstr "映画のグループをコレクションに追加"
msgctxt "#30341"
msgid "Background image update interval (0 = disabled)"
msgstr "バックグラウンドのイメージ更新間隔 (0 = 無効)"
msgctxt "#30342"
msgid "New content check interval (0 = disabled)"
msgstr "新しいコンテンツの確認間隔 (0 = 無効)"
msgctxt "#30343"
msgid "Changes Require Kodi Restart"
msgstr "変更はKodiの再起動を必要とします"
msgctxt "#30344"
msgid "Number of images removed from cache"
msgstr "キャッシュから削除されたイメージの数"
msgctxt "#30345"
msgid "Cache Jellyfin server data requests"
msgstr "Jellyfinサーバーデータリクエストをキャッシュする"
msgctxt "#30346"
msgid "Deleteing Cached Images"
msgstr "キャッシュされたイメージを削除中"
msgctxt "#30347"
msgid "Getting Existing Images"
msgstr "既存のイメージを取得中"
msgctxt "#30348"
msgid "Add user ratings"
msgstr "ユーザーレーティングを追加"
msgctxt "#30350"
msgid "Music - Recently Added"
msgstr "音楽 - 最近追加された"
msgctxt "#30349"
msgid " - Recently Played"
msgstr "- 最近再生された"
msgctxt "#30351"
msgid "Music - Recently Played"
msgstr "音楽 - 最近再生された"
msgctxt "#30352"
msgid "Music - Frequently Played"
msgstr "音楽 - よく再生される"
msgctxt "#30319"
msgid "Music - All Album Artists"
msgstr "音楽 - 全てのアルバムアーティスト"
msgctxt "#30321"
msgid " - Album Artists"
msgstr "- アルバムアーティスト"
msgctxt "#30353"
msgid " - Frequently Played"
msgstr "- よく再生される"
msgctxt "#30354"
msgid "Go To Series"
msgstr "シリーズに行く"
msgctxt "#30356"
msgid "Loading existing image list"
msgstr "既存のイメージリストを読み込み中"
msgctxt "#30357"
msgid "Processing existing image list"
msgstr "既存のイメージリストを処理中"
msgctxt "#30358"
msgid "Retreiving remote image list"
msgstr "リモートイメージリストを取得中"
msgctxt "#30359"
msgid "Building full image list"
msgstr "フルイメージリストを構築中"
msgctxt "#30360"
msgid " - Channels"
msgstr "- チャンネル"
msgctxt "#30361"
msgid " - Programs"
msgstr "- 番組"
msgctxt "#30362"
msgid " - Recordings"
msgstr "- 録音"
msgctxt "#30363"
msgid "Save Password?"
msgstr "パスワードを保存しますか?"
msgctxt "#30364"
msgid "Do you want to save the password?"
msgstr "パスワードを保存しますか?"
msgctxt "#30365"
msgid "Manual Login"
msgstr "手動ログイン"
msgctxt "#30366"
msgid "Manually enter user details"
msgstr "ユーザー詳細を手動で入力"
msgctxt "#30367"
msgid "Allow fast user switching password saving"
msgstr "切り替えたユーザーのパスワードの保存を許可"
msgctxt "#30368"
msgid "Clear Password?"
msgstr "パスワードを消去しますか?"
msgctxt "#30369"
msgid "Do you want to clear your saved password?"
msgstr "保存されたパスワードを消去しますか?"
msgctxt "#30370"
msgid "Do you want to manually enter a server url?"
msgstr "サーバーURLを手動で入力しますか"
msgctxt "#30371"
msgid "Could not connect to the URL you entered, do you want to try again?"
msgstr "入力されたURLに接続できませんでした。再試行しますか"
msgctxt "#30372"
msgid "Server URL"
msgstr "サーバーURL"
msgctxt "#30373"
msgid "Scanning for local servers"
msgstr "ローカルサーバーを検索中"
msgctxt "#30374"
msgid "Sending request"
msgstr "リクエストを送信中"
msgctxt "#30377"
msgid "Sending request"
msgstr "リクエストを送信中"
msgctxt "#30378"
msgid "Persist user details"
msgstr "ユーザー詳細を保持する"
msgctxt "#30376"
msgid "Checking server url"
msgstr "サーバーURLを検証中"
msgctxt "#30236"
msgid "Force transcode h265 (hevc)"
msgstr "h265 (hevc)でのトランスコードを強制する"
msgctxt "#30240"
msgid "Force transcode msmpeg4v3 (divx)"
msgstr "msmpeg4v3 (divx)でのトランスコードを強制する"
msgctxt "#30251"
msgid "Movies - Genres"
msgstr "映画 - ジャンル"
msgctxt "#30289"
msgid "TV Shows - Genres"
msgstr "TV番組 - ジャンル"
msgctxt "#30310"
msgid "Enable Jellyfin remote control"
msgstr "Jellyfinリモートコントロールを有効化"
msgctxt "#30333"
msgid "Cache artwork in the background"
msgstr "アートワークをバックグラウンドでキャッシュ"
msgctxt "#30223"
msgid "Page Size and Filtering"
msgstr "ページサイズとフィルタリング"
msgctxt "#30247"
msgid "Custom Widget Content"
msgstr "カスタムウィジェットコンテンツ"
msgctxt "#30263"
msgid "Episodes - Recently Added"
msgstr "エピソード - 最近追加された"
msgctxt "#30298"
msgid "Deleting Kodi Images"
msgstr "Kodiイメージを削除中"
msgctxt "#30375"
msgid "Receiving data packet"
msgstr "データパケットを受信中"
msgctxt "#30238"
msgid "Playback stream options"
msgstr "再生ストリームオプション"
msgctxt "#30242"
msgid "Force transcode av1"
msgstr "av1でのトランスコードを強制する"
msgctxt "#30300"
msgid "Cache all Jellyfin images as local Kodi images?"
msgstr "全てのJellyfinイメージをローカルなKodiイメージとしてキャッシュしますか"
msgctxt "#30277"
msgid "JellyCon needs to prompt for resume on partily played items, Kodi can also prompt, this can cause a double prompt. Do you want to remove the double prompt?"
msgstr ""
"JellyConは途中まで再生したアイテムを途中から再生するか質問しますが、Kodiも同"
"じ質問をすることがあります。重複した質問を取り除きますか?"
msgctxt "#30114"
msgid "Jump back seconds"
msgstr "数秒戻す"
msgctxt "#30120"
msgid "Show load progress"
msgstr "読込み状況を表示"
msgctxt "#30125"
msgid "Done"
msgstr "完了"
msgctxt "#30135"
msgid "Error"
msgstr "エラー"
msgctxt "#30020"
msgid "Flatten single season"
msgstr "1シーズンを畳む"
msgctxt "#30116"
msgid "Add unwatched counts to names"
msgstr "名前に未視聴の数を追加"
msgctxt "#30121"
msgid "On resume"
msgstr "再開時"
msgctxt "#30126"
msgid "Processing Item : "
msgstr "次の項目を処理中:"
msgctxt "#30139"
msgid "No Media Type Set"
msgstr "メディアタイプ未設定"
msgctxt "#30163"
msgid "Add (cc) if subtitle is available"
msgstr "字幕がある場合(cc)を追加する"
msgctxt "#30166"
msgid "Select Server"
msgstr "サーバーを選択する"
msgctxt "#30167"
msgid "Selected Server Address"
msgstr "選択されたサーバーアドレス"
msgctxt "#30169"
msgid "Address: "
msgstr "アドレス:"
msgctxt "#30180"
msgid "Select User"
msgstr "ユーザー選択"
msgctxt "#30026"
msgid "Widget item select action"
msgstr "ウィジェット項目選択操作"
msgctxt "#30200"
msgid "URL error"
msgstr "URLエラー"
msgctxt "#30201"
msgid "Unable to connect to server"
msgstr "サーバーに接続できません"

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,396 @@
msgid ""
msgstr ""
"PO-Revision-Date: 2022-11-23 06:51+0000\n"
"Last-Translator: wolfwork <wolfdate25@naver.com>\n"
"Language-Team: Korean <https://translate.jellyfin.org/projects/jellycon/"
"jellycon/ko/>\n"
"Language: ko\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.14.1\n"
msgctxt "#30006"
msgid "Password"
msgstr "비밀번호"
msgctxt "#30025"
msgid "Password:"
msgstr "비밀번호:"
msgctxt "#30026"
msgid "Widget item select action"
msgstr "위젯 항목 선택 작업"
msgctxt "#30045"
msgid "Username not found"
msgstr "사용자 이름을 찾을 수 없습니다"
msgctxt "#30112"
msgid "Loading Content"
msgstr "콘텐츠 로드 중"
msgctxt "#30120"
msgid "Show load progress"
msgstr "로드 진행률 표시"
msgctxt "#30121"
msgid "On resume"
msgstr "재개 시"
msgctxt "#30166"
msgid "Select Server"
msgstr "서버 선택"
msgctxt "#30212"
msgid "Video max width"
msgstr "비디오 최대 길이"
msgctxt "#30251"
msgid "Movies - Genres"
msgstr "영화 - 장르"
msgctxt "#30264"
msgid "Episodes - In Progress"
msgstr "에피소드 - 진행 중"
msgctxt "#30269"
msgid "Movies - Random"
msgstr "영화 - 랜덤"
msgctxt "#30000"
msgid "Host"
msgstr "호스트"
msgctxt "#30001"
msgid "Port"
msgstr "포트"
msgctxt "#30003"
msgid "Verify HTTPS certificate"
msgstr "HTTPS 인증서 확인"
msgctxt "#30005"
msgid "Username"
msgstr "사용자 이름"
msgctxt "#30007"
msgid "Samba username"
msgstr "Samba 사용자이름"
msgctxt "#30008"
msgid "Samba password"
msgstr "Samba 비밀번호"
msgctxt "#30011"
msgid "[Detect local server]"
msgstr "[로컬 서버 찾기]"
msgctxt "#30012"
msgid "[Change user]"
msgstr "[사용자 변경]"
msgctxt "#30015"
msgid "Log timing data"
msgstr "로그 타이밍 데이터"
msgctxt "#30016"
msgid "Device display name"
msgstr "장치 표시 이름"
msgctxt "#30017"
msgid "Show connected clients"
msgstr "연결된 클라이언트 표시"
msgctxt "#30018"
msgid "Number of items to show in filtered lists"
msgstr "필터링된 목록에 표시할 항목 수"
msgctxt "#30019"
msgid "Filtered episode name format"
msgstr "필터링된 에피소드 이름 형식"
msgctxt "#30021"
msgid "Show all episodes item"
msgstr "모든 에피소드 보기"
msgctxt "#30022"
msgid "Advanced"
msgstr "고급"
msgctxt "#30023"
msgid "Hide unwatched episode details"
msgstr "시청하지 않은 에피소드 세부정보 숨기기"
msgctxt "#30024"
msgid "Username:"
msgstr "사용자이름:"
msgctxt "#30027"
msgid "Enable debug logging"
msgstr "디버그 로깅 활성화"
msgctxt "#30044"
msgid "Incorrect Username/Password"
msgstr "잘못된 사용자이름/비밀번호"
msgctxt "#30052"
msgid "Deleting"
msgstr "삭제 중"
msgctxt "#30053"
msgid "Waiting for server to delete"
msgstr "서버에서 삭제 대기 중"
msgctxt "#30091"
msgid "Confirm delete?"
msgstr "삭제하시겠습니까?"
msgctxt "#30092"
msgid "Warning: This action will delete the media files from the server."
msgstr "경고: 이 작업은 서버에서 미디어 파일을 삭제합니다."
msgctxt "#30110"
msgid "Interface"
msgstr "인터페이스"
msgctxt "#30111"
msgid "Services"
msgstr "서비스"
msgctxt "#30113"
msgid "Retrieving Data"
msgstr "데이터 수신 중"
msgctxt "#30114"
msgid "Jump back seconds"
msgstr "초 뒤로 이동"
msgctxt "#30116"
msgid "Add unwatched counts to names"
msgstr "이름에 시청하지 않은 카운트 수 추가"
msgctxt "#30118"
msgid "Add resume percent to names"
msgstr "이름에 재개율 추가"
msgctxt "#30125"
msgid "Done"
msgstr "완료"
msgctxt "#30126"
msgid "Processing Item : "
msgstr "진행중인 항목:"
msgctxt "#30135"
msgid "Error"
msgstr "오류"
msgctxt "#30139"
msgid "No Media Type Set"
msgstr "미디어 타입 설정 안됨"
msgctxt "#30163"
msgid "Add (cc) if subtitle is available"
msgstr "자막이 존재할 경우 (cc) 추가"
msgctxt "#30167"
msgid "Selected Server Address"
msgstr "선택된 서버 주소"
msgctxt "#30169"
msgid "Address: "
msgstr "주소:"
msgctxt "#30180"
msgid "Select User"
msgstr "사용자 선택"
msgctxt "#30181"
msgid "Include plot"
msgstr "플롯 포함"
msgctxt "#30182"
msgid "Include media stream info"
msgstr "미디어 스트림 정보 포함"
msgctxt "#30183"
msgid "Include people"
msgstr "사람 포함"
msgctxt "#30200"
msgid "URL error"
msgstr "URL 오류"
msgctxt "#30201"
msgid "Unable to connect to server"
msgstr "서버에 연결할 수 없습니다"
msgctxt "#30206"
msgid "Playback type"
msgstr "재생 유형"
msgctxt "#30207"
msgid "Playback"
msgstr "재생"
msgctxt "#30208"
msgid "Max stream bitrate (Kbits)"
msgstr "최대 스트림 비트레이트 (Kbps)"
msgctxt "#30209"
msgid "File direct path"
msgstr "파일 직접 경로"
msgctxt "#30210"
msgid "HTTP direct stream"
msgstr "HTTP 직접 스트림"
msgctxt "#30211"
msgid "Transcode options"
msgstr "트랜스코드 옵션"
msgctxt "#30213"
msgid "Video force 8 bit"
msgstr "비디오 강제 8 bit"
msgctxt "#30214"
msgid "Events"
msgstr "이벤트"
msgctxt "#30215"
msgid "On playback stop (100% = disabled)"
msgstr "재생 중지 시(100% = 비활성화됨)"
msgctxt "#30216"
msgid "Item Details"
msgstr "항목 세부정보"
msgctxt "#30218"
msgid "Play next episode after %"
msgstr "% 후 다음 에피소드 재생"
msgctxt "#30222"
msgid "Item Layout"
msgstr "항목 레이아웃"
msgctxt "#30223"
msgid "Page Size and Filtering"
msgstr "페이지 크기와 필터링"
msgctxt "#30224"
msgid "Interaction"
msgstr "상호작용"
msgctxt "#30229"
msgid "TV Shows"
msgstr "TV 쇼"
msgctxt "#30231"
msgid "Movies"
msgstr "영화"
msgctxt "#30235"
msgid "Episodes"
msgstr "에피소드"
msgctxt "#30236"
msgid "Force transcode h265 (hevc)"
msgstr "강제 트랜스코드 h265 (hevc)"
msgctxt "#30237"
msgid "Start from beginning"
msgstr "처음부터 시작"
msgctxt "#30238"
msgid "Playback stream options"
msgstr "재생 스트림 옵션"
msgctxt "#30239"
msgid "Force transcode mpeg2"
msgstr "강제 트랜스코드 mpeg2"
msgctxt "#30240"
msgid "Force transcode msmpeg4v3 (divx)"
msgstr "강제 트랜스코드 msmpeg4v3 (divx)"
msgctxt "#30241"
msgid "Force transcode mpeg4"
msgstr "강제 트랜스코드 mpeg4"
msgctxt "#30246"
msgid "Search"
msgstr "검색"
msgctxt "#30247"
msgid "Custom Widget Content"
msgstr "사용자 지정 위젯 콘텐츠"
msgctxt "#30250"
msgid "Unknown"
msgstr "알수없음"
msgctxt "#30252"
msgid "Movies - A-Z"
msgstr "영화 - A-Z"
msgctxt "#30254"
msgid "Show add-on settings"
msgstr "에드온 설정 보기"
msgctxt "#30255"
msgid "TV Shows - A-Z"
msgstr "TV 쇼 - A-Z"
msgctxt "#30256"
msgid "Movies"
msgstr "영화"
msgctxt "#30257"
msgid "Movies - Recently Added"
msgstr "영화 - 최근에 추가됨"
msgctxt "#30258"
msgid "Movies - In Progress"
msgstr "영화 - 진행 중"
msgctxt "#30259"
msgid "Movies - Favorites"
msgstr "영화 - 즐겨찾기"
msgctxt "#30261"
msgid "TV Shows"
msgstr "TV 쇼"
msgctxt "#30262"
msgid "TV Shows - Favorites"
msgstr "TV 쇼 - 즐겨찾기"
msgctxt "#30263"
msgid "Episodes - Recently Added"
msgstr "에피소드 - 최근에 추가됨"
msgctxt "#30266"
msgid "Movies - Pages"
msgstr "영화 - 페이지"
msgctxt "#30267"
msgid " - In Progress"
msgstr "- 진행 중"
msgctxt "#30268"
msgid " - Recently Added"
msgstr "- 최근에 추가됨"
msgctxt "#30270"
msgid "Mark Watched"
msgstr "본 것으로 표시"
msgctxt "#30271"
msgid "Mark Unwatched"
msgstr "본 것으로 표시해제"
msgctxt "#30272"
msgid "Set Favourite"
msgstr "즐겨찾기 설정"

View File

@@ -0,0 +1,2 @@
msgid ""
msgstr "X-Generator: Weblate\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit"

View File

@@ -0,0 +1,16 @@
msgid ""
msgstr ""
"PO-Revision-Date: 2025-10-26 00:17+0000\n"
"Last-Translator: Battseren Badral <bbattseren88@gmail.com>\n"
"Language-Team: Mongolian <https://translate.jellyfin.org/projects/jellycon/"
"jellycon/mn/>\n"
"Language: mn\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.14\n"
msgctxt "#30000"
msgid "Host"
msgstr "Хост"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,60 @@
msgid ""
msgstr ""
"PO-Revision-Date: 2025-12-13 11:55+0000\n"
"Last-Translator: A Boci <ami@boci.co.uk>\n"
"Language-Team: Albanian <https://translate.jellyfin.org/projects/jellycon/"
"jellycon/sq/>\n"
"Language: sq\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.14\n"
msgctxt "#30001"
msgid "Port"
msgstr "Port"
msgctxt "#30003"
msgid "Verify HTTPS certificate"
msgstr "Verifiko çertifikatën HTTPS"
msgctxt "#30006"
msgid "Password"
msgstr "Fjalkalimi"
msgctxt "#30007"
msgid "Samba username"
msgstr "Përdoruesi Samba"
msgctxt "#30008"
msgid "Samba password"
msgstr "Fjalkalimi Samba"
msgctxt "#30012"
msgid "[Change user]"
msgstr "[Ndrysho përdoruesin]"
msgctxt "#30014"
msgid "Jellyfin"
msgstr "Jellyfin"
msgctxt "#30016"
msgid "Device display name"
msgstr "Emri që shfaqet"
msgctxt "#30000"
msgid "Host"
msgstr "Host"
msgctxt "#30005"
msgid "Username"
msgstr "Përdoruesi"
msgctxt "#30011"
msgid "[Detect local server]"
msgstr "[Zbuloni serverin lokal]"
msgctxt "#30017"
msgid "Show connected clients"
msgstr "Trego klientët e lidhur"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,6 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import time
import threading
@@ -7,7 +8,7 @@ import threading
import xbmc
import xbmcgui
from .loghandler import LazyLogger
from .lazylogger import LazyLogger
log = LazyLogger(__name__)

View File

@@ -1,57 +0,0 @@
from __future__ import division, absolute_import, print_function, unicode_literals
import xbmc
import xbmcgui
from .loghandler import LazyLogger
log = LazyLogger(__name__)
class BitrateDialog(xbmcgui.WindowXMLDialog):
slider_control = None
bitrate_label = None
initial_bitrate_value = 0
selected_transcode_value = 0
def __init__(self, *args, **kwargs):
log.debug("BitrateDialog: __init__")
xbmcgui.WindowXML.__init__(self, *args, **kwargs)
def onInit(self):
log.debug("ActionMenu: onInit")
self.action_exitkeys_id = [10, 13]
self.slider_control = self.getControl(3000)
self.slider_control.setInt(self.initial_bitrate_value, 400, 100, 15000)
self.bitrate_label = self.getControl(3030)
bitrate_label_string = str(self.slider_control.getInt()) + " Kbs"
self.bitrate_label.setLabel(bitrate_label_string)
def onFocus(self, control_id):
pass
def doAction(self, action_id):
pass
def onMessage(self, message):
log.debug("ActionMenu: onMessage: {0}".format(message))
def onAction(self, action):
bitrate_label_string = str(self.slider_control.getInt()) + " Kbs"
self.bitrate_label.setLabel(bitrate_label_string)
if action.getId() == 10: # ACTION_PREVIOUS_MENU
self.close()
elif action.getId() == 92: # ACTION_NAV_BACK
self.close()
elif action.getId() == 7: # ENTER
self.selected_transcode_value = self.slider_control.getInt()
self.close()
def onClick(self, control_id):
if control_id == 3000:
log.debug("ActionMenu: Selected Item: {0}".format(control_id))

View File

@@ -1,9 +1,7 @@
# coding=utf-8
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
from six.moves.urllib.parse import unquote
import requests
import base64
import sys
import threading
@@ -13,16 +11,16 @@ import xbmcgui
import xbmcplugin
import xbmc
import xbmcaddon
import requests
from six.moves.urllib.parse import unquote
from .downloadutils import DownloadUtils
from .loghandler import LazyLogger
from .jellyfin import api
from .lazylogger import LazyLogger
from .jsonrpc import JsonRpc, get_value
from .translation import string_load
from .datamanager import DataManager
from .utils import get_art, double_urlencode
from .utils import translate_string, load_user_details
from .kodi_utils import HomeWindow
from .item_functions import get_art
downloadUtils = DownloadUtils()
log = LazyLogger(__name__)
@@ -70,8 +68,8 @@ class CacheArtwork(threading.Thread):
log.debug("cache_delete_for_links")
progress = xbmcgui.DialogProgress()
progress.create(string_load(30281))
progress.update(30, string_load(30347))
progress.create(translate_string(30281))
progress.update(30, translate_string(30347))
item_image_url_part = "Items/%s/Images/" % item_id
item_image_url_part = item_image_url_part.replace("/", "%2f")
@@ -82,7 +80,7 @@ class CacheArtwork(threading.Thread):
result = JsonRpc('Settings.GetSettingValue').execute(web_query)
xbmc_webserver_enabled = result['result']['value']
if not xbmc_webserver_enabled:
xbmcgui.Dialog().ok(string_load(30294), string_load(30295))
xbmcgui.Dialog().ok(translate_string(30294), translate_string(30295))
return
params = {"properties": ["url"]}
@@ -90,7 +88,7 @@ class CacheArtwork(threading.Thread):
textures = json_result.get("result", {}).get("textures", [])
log.debug("texture ids: {0}".format(textures))
progress.update(70, string_load(30346))
progress.update(70, translate_string(30346))
delete_count = 0
for texture in textures:
@@ -104,10 +102,10 @@ class CacheArtwork(threading.Thread):
del textures
progress.update(100, string_load(30125))
progress.update(100, translate_string(30125))
progress.close()
xbmcgui.Dialog().ok(string_load(30281), '{}: {}'.format(string_load(30344), delete_count))
xbmcgui.Dialog().ok(translate_string(30281), '{}: {}'.format(translate_string(30344), delete_count))
def cache_artwork_interactive(self):
log.debug("cache_artwork_interactive")
@@ -119,21 +117,21 @@ class CacheArtwork(threading.Thread):
result = JsonRpc('Settings.GetSettingValue').execute(web_query)
xbmc_webserver_enabled = result['result']['value']
if not xbmc_webserver_enabled:
xbmcgui.Dialog().ok(string_load(30294), '{} - {}'.format(string_load(30295), string_load(30355)))
xbmcgui.Dialog().ok(translate_string(30294), '{} - {}'.format(translate_string(30295), translate_string(30355)))
xbmc.executebuiltin('ActivateWindow(servicesettings)')
return
result_report = []
# ask questions
question_delete_unused = xbmcgui.Dialog().yesno(string_load(30296), string_load(30297))
question_cache_images = xbmcgui.Dialog().yesno(string_load(30299), string_load(30300))
question_delete_unused = xbmcgui.Dialog().yesno(translate_string(30296), translate_string(30297))
question_cache_images = xbmcgui.Dialog().yesno(translate_string(30299), translate_string(30300))
delete_canceled = False
# now do work - delete unused
if question_delete_unused:
delete_pdialog = xbmcgui.DialogProgress()
delete_pdialog.create(string_load(30298), "")
delete_pdialog.create(translate_string(30298), "")
index = 0
params = {"properties": ["url"]}
@@ -171,9 +169,9 @@ class CacheArtwork(threading.Thread):
delete_canceled = True
break
result_report.append(string_load(30385) + str(len(textures)))
result_report.append(string_load(30386) + str(len(unused_texture_ids)))
result_report.append(string_load(30387) + str(index))
result_report.append(translate_string(30385) + str(len(textures)))
result_report.append(translate_string(30386) + str(len(unused_texture_ids)))
result_report.append(translate_string(30387) + str(index))
del textures
del jellyfin_texture_urls
@@ -187,7 +185,7 @@ class CacheArtwork(threading.Thread):
# now do work - cache images
if question_cache_images:
cache_pdialog = xbmcgui.DialogProgress()
cache_pdialog.create(string_load(30301), "")
cache_pdialog.create(translate_string(30301), "")
cache_report = self.cache_artwork(cache_pdialog)
cache_pdialog.close()
del cache_pdialog
@@ -196,12 +194,12 @@ class CacheArtwork(threading.Thread):
if len(result_report) > 0:
msg = "\r\n".join(result_report)
xbmcgui.Dialog().textviewer(string_load(30125), msg, usemono=True)
xbmcgui.Dialog().textviewer(translate_string(30125), msg, usemono=True)
def cache_artwork_background(self):
log.debug("cache_artwork_background")
dp = xbmcgui.DialogProgressBG()
dp.create(string_load(30301), "")
dp.create(translate_string(30301), "")
result_text = None
try:
result_text = self.cache_artwork(dp)
@@ -210,13 +208,15 @@ class CacheArtwork(threading.Thread):
dp.close()
del dp
if result_text is not None:
log.debug("Cache Images reuslt : {0}".format(" - ".join(result_text)))
log.debug("Cache Images result : {0}".format(" - ".join(result_text)))
def get_jellyfin_artwork(self, progress):
log.debug("get_jellyfin_artwork")
user_details = load_user_details()
user_id = user_details.get('user_id')
url = ""
url += "{server}/Users/{userid}/Items"
url += "/Users/{}/Items".format(user_id)
url += "?Recursive=true"
url += "&EnableUserData=False"
url += "&Fields=BasicSyncInfo"
@@ -224,21 +224,21 @@ class CacheArtwork(threading.Thread):
url += "&ImageTypeLimit=1"
url += "&format=json"
data_manager = DataManager()
results = data_manager.get_content(url)
results = api.get(url)
if results is None:
results = []
if isinstance(results, dict):
results = results.get("Items")
server = downloadUtils.get_server()
settings = xbmcaddon.Addon()
server = settings.getSetting('server_address')
log.debug("Jellyfin Item Count Count: {0}".format(len(results)))
if self.stop_all_activity:
return None
progress.update(0, string_load(30359))
progress.update(0, translate_string(30359))
texture_urls = set()
@@ -268,7 +268,7 @@ class CacheArtwork(threading.Thread):
# get the password
xbmc_password = get_value("services.webserverpassword")
progress.update(0, string_load(30356))
progress.update(0, translate_string(30356))
params = {"properties": ["url"]}
json_result = JsonRpc('Textures.GetTextures').execute(params)
@@ -278,7 +278,7 @@ class CacheArtwork(threading.Thread):
if self.stop_all_activity:
return
progress.update(0, string_load(30357))
progress.update(0, translate_string(30357))
texture_urls = set()
for texture in textures:
@@ -296,7 +296,7 @@ class CacheArtwork(threading.Thread):
if self.stop_all_activity:
return
progress.update(0, string_load(30358))
progress.update(0, translate_string(30358))
jellyfin_texture_urls = self.get_jellyfin_artwork(progress)
if jellyfin_texture_urls is None:
@@ -326,8 +326,7 @@ class CacheArtwork(threading.Thread):
count_done = 0
for index, get_url in enumerate(missing_texture_urls, 1):
url = double_urlencode(get_url)
kodi_texture_url = ("/image/image://%s" % url)
kodi_texture_url = "/image/image://{0}".format(get_url)
log.debug("kodi_texture_url: {0}".format(kodi_texture_url))
percentage = int((float(index) / float(total)) * 100)
@@ -348,7 +347,7 @@ class CacheArtwork(threading.Thread):
break
result_report = []
result_report.append(string_load(30302) + str(len(texture_urls)))
result_report.append(string_load(30303) + str(len(missing_texture_urls)))
result_report.append(string_load(30304) + str(count_done))
result_report.append(translate_string(30302) + str(len(texture_urls)))
result_report.append(translate_string(30303) + str(len(missing_texture_urls)))
result_report.append(translate_string(30304) + str(count_done))
return result_report

View File

@@ -1,55 +0,0 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
from uuid import uuid4
from kodi_six.utils import py2_decode
import xbmcaddon
import xbmc
import xbmcvfs
from .kodi_utils import HomeWindow
from .loghandler import LazyLogger
log = LazyLogger(__name__)
class ClientInformation:
@staticmethod
def get_device_id():
window = HomeWindow()
client_id = window.get_property("client_id")
if client_id:
return client_id
jellyfin_guid_path = py2_decode(xbmc.translatePath("special://temp/jellycon_guid"))
log.debug("jellyfin_guid_path: {0}".format(jellyfin_guid_path))
guid = xbmcvfs.File(jellyfin_guid_path)
client_id = guid.read()
guid.close()
if not client_id:
# Needs to be captilized for backwards compat
client_id = uuid4().hex.upper()
log.debug("Generating a new guid: {0}".format(client_id))
guid = xbmcvfs.File(jellyfin_guid_path, 'w')
guid.write(client_id)
guid.close()
log.debug("jellyfin_client_id (NEW): {0}".format(client_id))
else:
log.debug("jellyfin_client_id: {0}".format(client_id))
window.set_property("client_id", client_id)
return client_id
@staticmethod
def get_version():
addon = xbmcaddon.Addon()
version = addon.getAddonInfo("version")
return version
@staticmethod
def get_client():
return 'Kodi JellyCon'

View File

@@ -1,41 +0,0 @@
from __future__ import division, absolute_import, print_function, unicode_literals
import threading
import xbmc
from .loghandler import LazyLogger
from resources.lib.functions import show_menu
log = LazyLogger(__name__)
class ContextMonitor(threading.Thread):
stop_thread = False
def run(self):
item_id = None
log.debug("ContextMonitor Thread Started")
while not xbmc.Monitor().abortRequested() and not self.stop_thread:
if xbmc.getCondVisibility("Window.IsActive(fullscreenvideo) | Window.IsActive(visualisation)"):
xbmc.sleep(1000)
else:
if xbmc.getCondVisibility("Window.IsVisible(contextmenu)"):
if item_id:
xbmc.executebuiltin("Dialog.Close(contextmenu,true)")
params = {}
params["item_id"] = item_id
show_menu(params)
container_id = xbmc.getInfoLabel("System.CurrentControlID")
item_id = xbmc.getInfoLabel("Container(" + str(container_id) + ").ListItem.Property(id)")
xbmc.sleep(100)
log.debug("ContextMonitor Thread Exited")
def stop_monitor(self):
log.debug("ContextMonitor Stop Called")
self.stop_thread = True

View File

@@ -1,25 +1,25 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
from collections import defaultdict
import threading
import hashlib
import os
import time
from six.moves import cPickle
from .downloadutils import DownloadUtils
from .loghandler import LazyLogger
from .item_functions import extract_item_info
from .kodi_utils import HomeWindow
from .translation import string_load
from .tracking import timer
from .filelock import FileLock
import xbmc
import xbmcaddon
import xbmcvfs
import xbmcgui
from six.moves import cPickle
from .jellyfin import api
from .lazylogger import LazyLogger
from .item_functions import extract_item_info
from .kodi_utils import HomeWindow
from .tracking import timer
from .filelock import FileLock
from .utils import translate_string, load_user_details, translate_path
log = LazyLogger(__name__)
@@ -40,15 +40,12 @@ class CacheItem:
class DataManager:
addon_dir = xbmc.translatePath(xbmcaddon.Addon().getAddonInfo('profile'))
addon_dir = translate_path(xbmcaddon.Addon().getAddonInfo('profile'))
def __init__(self, *args):
# log.debug("DataManager __init__")
pass
self.user_details = load_user_details()
@timer
def get_content(self, url):
return DownloadUtils().download_url(url)
self.api = api
@timer
def get_items(self, url, gui_options, use_cache=False):
@@ -57,19 +54,14 @@ class DataManager:
log.debug("last_content_url : use_cache={0} url={1}".format(use_cache, url))
home_window.set_property("last_content_url", url)
download_utils = DownloadUtils()
user_id = download_utils.get_user_id()
server = download_utils.get_server()
user_id = self.user_details.get('user_id')
server = self.api.server
m = hashlib.md5()
m.update('{}|{}|{}'.format(user_id, server, url).encode())
url_hash = m.hexdigest()
cache_file = os.path.join(self.addon_dir, "cache_" + url_hash + ".pickle")
# changed_url = url + "&MinDateLastSavedForUser=" + urllib.unquote("2019-09-16T13:45:30")
# results = self.GetContent(changed_url)
# log.debug("DataManager Changes Since Date : {0}", results)
item_list = None
total_records = 0
baseline_name = None
@@ -103,7 +95,7 @@ class DataManager:
if item_list is None or len(item_list) == 0:
log.debug("Loading url data from server")
results = self.get_content(url)
results = self.api.get(url)
if results is None:
results = []
@@ -135,7 +127,6 @@ class DataManager:
cache_item.total_records = total_records
cache_thread.cached_item = cache_item
# copy.deepcopy(item_list)
if not use_cache:
cache_thread = None
@@ -171,7 +162,6 @@ class CacheManagerThread(threading.Thread):
def run(self):
log.debug("CacheManagerThread : Started")
# log.debug("CacheManagerThread : Cache Item : {0}", self.cached_item.__dict__)
home_window = HomeWindow()
is_fresh = False
@@ -203,7 +193,7 @@ class CacheManagerThread(threading.Thread):
log.debug("CacheManagerThread : Cache Hash : {0}".format(cached_hash))
data_manager = DataManager()
results = data_manager.get_content(self.cached_item.items_url)
results = data_manager.api.get(self.cached_item.items_url)
if results is None:
results = []
@@ -264,25 +254,25 @@ class CacheManagerThread(threading.Thread):
def clear_cached_server_data():
log.debug("clear_cached_server_data() called")
addon_dir = xbmc.translatePath(xbmcaddon.Addon().getAddonInfo('profile'))
addon_dir = translate_path(xbmcaddon.Addon().getAddonInfo('profile'))
dirs, files = xbmcvfs.listdir(addon_dir)
del_count = 0
for filename in files:
if filename.startswith("cache_") and filename.endswith(".pickle"):
log.debug("Deleteing CacheFile: {0}".format(filename))
log.debug("Deleting CacheFile: {0}".format(filename))
xbmcvfs.delete(os.path.join(addon_dir, filename))
del_count += 1
log.debug('Deleted {} files'.format(del_count))
msg = string_load(30394)
xbmcgui.Dialog().ok(string_load(30393), msg)
msg = translate_string(30394)
xbmcgui.Dialog().ok(translate_string(30393), msg)
def clear_old_cache_data():
log.debug("clear_old_cache_data() : called")
addon_dir = xbmc.translatePath(xbmcaddon.Addon().getAddonInfo('profile'))
addon_dir = translate_path(xbmcaddon.Addon().getAddonInfo('profile'))
dirs, files = xbmcvfs.listdir(addon_dir)
del_count = 0

264
resources/lib/dialogs.py Normal file
View File

@@ -0,0 +1,264 @@
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import xbmcgui
import xbmc
from .lazylogger import LazyLogger
from .utils import seconds_to_ticks, ticks_to_seconds, translate_string, send_event_notification
log = LazyLogger(__name__)
class BitrateDialog(xbmcgui.WindowXMLDialog):
slider_control = None
bitrate_label = None
initial_bitrate_value = 0
selected_transcode_value = 0
def __init__(self, *args, **kwargs):
log.debug("BitrateDialog: __init__")
xbmcgui.WindowXML.__init__(self, *args, **kwargs)
def onInit(self):
log.debug("ActionMenu: onInit")
self.action_exitkeys_id = [10, 13]
self.slider_control = self.getControl(3000)
self.slider_control.setInt(self.initial_bitrate_value, 400, 100, 15000)
self.bitrate_label = self.getControl(3030)
bitrate_label_string = str(self.slider_control.getInt()) + " Kbs"
self.bitrate_label.setLabel(bitrate_label_string)
self.getControl(3011).setLabel(translate_string(30314))
def onFocus(self, control_id):
pass
def doAction(self, action_id):
pass
def onMessage(self, message):
log.debug("ActionMenu: onMessage: {0}".format(message))
def onAction(self, action):
bitrate_label_string = str(self.slider_control.getInt()) + " Kbs"
self.bitrate_label.setLabel(bitrate_label_string)
if action.getId() == 10: # ACTION_PREVIOUS_MENU
self.close()
elif action.getId() == 92: # ACTION_NAV_BACK
self.close()
elif action.getId() == 7: # ENTER
self.selected_transcode_value = self.slider_control.getInt()
self.close()
def onClick(self, control_id):
if control_id == 3000:
log.debug("ActionMenu: Selected Item: {0}".format(control_id))
class ResumeDialog(xbmcgui.WindowXMLDialog):
resumePlay = -1
resumeTimeStamp = ""
action_exitkeys_id = None
def __init__(self, *args, **kwargs):
xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs)
log.debug("ResumeDialog INITIALISED")
def onInit(self):
self.action_exitkeys_id = [10, 13]
self.getControl(3010).setLabel(self.resumeTimeStamp)
self.getControl(3011).setLabel(translate_string(30237))
def onFocus(self, controlId):
pass
def doAction(self, actionID):
pass
def onClick(self, controlID):
if controlID == 3010:
self.resumePlay = 0
self.close()
if controlID == 3011:
self.resumePlay = 1
self.close()
def setResumeTime(self, timeStamp):
self.resumeTimeStamp = timeStamp
def getResumeAction(self):
return self.resumePlay
class SafeDeleteDialog(xbmcgui.WindowXMLDialog):
confirm = False
message = "Demo Message"
heading = "Demo Heading"
action_exitkeys_id = None
def __init__(self, *args, **kwargs):
log.debug("SafeDeleteDialog: __init__")
xbmcgui.WindowXML.__init__(self, *args, **kwargs)
def onInit(self):
log.debug("SafeDeleteDialog: onInit")
self.action_exitkeys_id = [10, 13]
message_control = self.getControl(3)
message_control.setText(self.message)
message_control = self.getControl(4)
message_control.setLabel(self.heading)
def onFocus(self, controlId):
pass
def doAction(self, actionID):
pass
def onMessage(self, message):
log.debug("SafeDeleteDialog: onMessage: {0}".format(message))
def onAction(self, action):
if action.getId() == 10: # ACTION_PREVIOUS_MENU
self.close()
elif action.getId() == 92: # ACTION_NAV_BACK
self.close()
else:
log.debug("SafeDeleteDialog: onAction: {0}".format(action.getId()))
def onClick(self, controlID):
if controlID == 1:
self.confirm = True
self.close()
elif controlID == 2:
self.confirm = False
self.close()
class PlayNextDialog(xbmcgui.WindowXMLDialog):
action_exitkeys_id = None
episode_info = None
play_called = False
def __init__(self, *args, **kwargs):
log.debug("PlayNextDialog: __init__")
xbmcgui.WindowXML.__init__(self, *args, **kwargs)
def onInit(self):
log.debug("PlayNextDialog: onInit")
self.action_exitkeys_id = [10, 13]
index = self.episode_info.get("IndexNumber", -1)
series_name = self.episode_info.get("SeriesName")
next_epp_name = "Episode %02d - (%s)" % (index, self.episode_info.get("Name", "n/a"))
series_label = self.getControl(3011)
series_label.setLabel(series_name)
series_label = self.getControl(3012)
series_label.setLabel(next_epp_name)
def onFocus(self, control_id):
pass
def doAction(self, action_id):
pass
def onMessage(self, message):
log.debug("PlayNextDialog: onMessage: {0}".format(message))
def onAction(self, action):
if action.getId() == 10: # ACTION_PREVIOUS_MENU
self.close()
elif action.getId() == 92: # ACTION_NAV_BACK
self.close()
else:
log.debug("PlayNextDialog: onAction: {0}".format(action.getId()))
def onClick(self, control_id):
if control_id == 3013:
log.debug("PlayNextDialog: Play Next Episode")
self.play_called
self.close()
next_item_id = self.episode_info.get("Id")
log.debug("Playing Next Episode: {0}".format(next_item_id))
play_info = {}
play_info["item_id"] = next_item_id
play_info["auto_resume"] = "-1"
play_info["force_transcode"] = False
send_event_notification("jellycon_play_action", play_info)
elif control_id == 3014:
self.close()
def set_episode_info(self, info):
self.episode_info = info
def get_play_called(self):
return self.play_called
class SkipDialog(xbmcgui.WindowXMLDialog):
action_exitkeys_id = None
media_id = None
start = None
end = None
has_been_dissmissed = False
def __init__(self, *args, **kwargs):
log.debug("SkipDialog: __init__")
xbmcgui.WindowXML.__init__(self, *args, **kwargs)
def onInit(self):
log.debug("SkipDialog: onInit")
self.action_exitkeys_id = [10, 13]
def onFocus(self, control_id):
pass
def doAction(self, action_id):
pass
def onMessage(self, message):
log.debug("SkipDialog: onMessage: {0}".format(message))
def onAction(self, action):
log.debug("SkipDialog: onAction: {0}".format(action.getId()))
if action.getId() == 10 or action.getId() == 92: # ACTION_PREVIOUS_MENU & ACTION_NAV_BACK
log.debug("SkipDialog: dismissing dialog so it does not open again")
self.has_been_dissmissed = True
self.close()
def onClick(self, control_id):
log.debug("SkipDialog: onClick: {0}".format(control_id))
player = xbmc.Player()
current_ticks = seconds_to_ticks(player.getTime())
if self.start is not None and self.end is not None and current_ticks >= self.start and current_ticks <= self.end:
log.debug("SkipDialog: skipping segment because current ticks ({0}) is in range".format(current_ticks))
# If click during segment, skip it
player.seekTime(ticks_to_seconds(self.end))
self.close()
def get_play_called(self):
return self.play_called
def is_button_shown(self):
try:
self.getFocus()
return True
except Exception:
return False

View File

@@ -1,22 +1,23 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import sys
import re
import xbmcaddon
import xbmcplugin
import xbmcgui
from six.moves.urllib.parse import quote, unquote
import sys
import re
from six.moves.urllib.parse import quote, unquote, parse_qsl
from .datamanager import DataManager
from .kodi_utils import HomeWindow
from .downloadutils import DownloadUtils
from .translation import string_load
from .loghandler import LazyLogger
from .lazylogger import LazyLogger
from .item_functions import add_gui_item, ItemDetails
from .utils import send_event_notification
from .tracking import timer
from .utils import (
send_event_notification, translate_string,
load_user_details, get_default_filters
)
log = LazyLogger(__name__)
@@ -28,7 +29,7 @@ def get_content(url, params):
default_sort = params.get("sort")
media_type = params.get("media_type", None)
if not media_type:
xbmcgui.Dialog().ok(string_load(30135), string_load(30139))
xbmcgui.Dialog().ok(translate_string(30135), translate_string(30139))
log.debug("URL: {0}".format(url))
log.debug("MediaType: {0}".format(media_type))
@@ -39,6 +40,7 @@ def get_content(url, params):
view_type = ""
content_type = ""
media_type = str(media_type).lower().strip()
url_params = dict(parse_qsl(url))
if media_type.startswith("movie"):
view_type = "Movies"
content_type = 'movies'
@@ -71,6 +73,11 @@ def get_content(url, params):
content_type = 'episodes'
elif media_type == "playlists":
view_type = "Playlists"
elif media_type == "musicvideos":
view_type = "Music Videos"
content_type = 'musicvideos'
elif media_type == "mixed":
content_type = 'videos'
log.debug("media_type:{0} content_type:{1} view_type:{2} ".format(media_type, content_type, view_type))
@@ -78,40 +85,50 @@ def get_content(url, params):
progress = None
if settings.getSetting('showLoadProgress') == "true":
progress = xbmcgui.DialogProgress()
progress.create(string_load(30112))
progress.update(0, string_load(30113))
progress.create(translate_string(30112))
progress.update(0, translate_string(30113))
# update url for paging
start_index = 0
page_limit = int(settings.getSetting('moviePageSize'))
start_index = int(url_params.get("StartIndex", 0))
url_limit = url_params.get("Limit")
movie_page_limit = int(settings.getSetting('moviePageSize'))
show_page_limit = int(settings.getSetting('showPageSize'))
url_prev = None
url_next = None
if page_limit > 0 and media_type.startswith("movie"):
m = re.search('StartIndex=([0-9]{1,4})', url)
if m and m.group(1):
if not url_limit or start_index > 0:
if movie_page_limit > 0 and media_type.startswith("movie"):
log.debug("UPDATING NEXT URL: {0}".format(url))
start_index = int(m.group(1))
log.debug("current_start : {0}".format(start_index))
if start_index > 0:
prev_index = start_index - page_limit
prev_index = start_index - movie_page_limit
if prev_index < 0:
prev_index = 0
url_prev = re.sub('StartIndex=([0-9]{1,4})', 'StartIndex=' + str(prev_index), url)
url_next = re.sub('StartIndex=([0-9]{1,4})', 'StartIndex=' + str(start_index + page_limit), url)
log.debug("UPDATING NEXT URL: {0}".format(url_next))
url_next = re.sub('StartIndex=([0-9]{1,4})', 'StartIndex=' + str(start_index + movie_page_limit), url)
log.debug("UPDATING NEXT URL: {0}".format(url_next))
else:
log.debug("ADDING NEXT URL: {0}".format(url))
url_next = url + "&StartIndex=" + str(start_index + page_limit) + "&Limit=" + str(page_limit)
url = url + "&StartIndex=" + str(start_index) + "&Limit=" + str(page_limit)
log.debug("ADDING NEXT URL: {0}".format(url_next))
else:
log.debug("ADDING NEXT URL: {0}".format(url))
url_next = url + "&StartIndex=" + str(start_index + movie_page_limit) + "&Limit=" + str(movie_page_limit)
url = url + "&StartIndex=" + str(start_index) + "&Limit=" + str(movie_page_limit)
log.debug("ADDING NEXT URL: {0}".format(url_next))
# use the data manager to get the data
# result = dataManager.GetContent(url)
if show_page_limit > 0 and media_type.startswith("tvshow"):
log.debug("UPDATING NEXT URL: {0}".format(url))
log.debug("current_start : {0}".format(start_index))
if start_index > 0:
prev_index = start_index - show_page_limit
if prev_index < 0:
prev_index = 0
url_prev = re.sub('StartIndex=([0-9]{1,4})', 'StartIndex=' + str(prev_index), url)
url_next = re.sub('StartIndex=([0-9]{1,4})', 'StartIndex=' + str(start_index + show_page_limit), url)
log.debug("UPDATING NEXT URL: {0}".format(url_next))
# total_records = 0
# if result is not None and isinstance(result, dict):
# total_records = result.get("TotalRecordCount", 0)
else:
log.debug("ADDING NEXT URL: {0}".format(url))
url_next = url + "&StartIndex=" + str(start_index + show_page_limit) + "&Limit=" + str(show_page_limit)
url = url + "&StartIndex=" + str(start_index) + "&Limit=" + str(show_page_limit)
log.debug("ADDING NEXT URL: {0}".format(url_next))
use_cache = params.get("use_cache", "true") == "true"
@@ -121,24 +138,43 @@ def get_content(url, params):
log.debug("total_records: {0}".format(total_records))
# add paging items
if page_limit > 0 and media_type.startswith("movie"):
if url_prev:
list_item = xbmcgui.ListItem("Prev Page (" + str(start_index - page_limit + 1) + "-" + str(start_index) +
" of " + str(total_records) + ")")
u = sys.argv[0] + "?url=" + quote(url_prev) + "&mode=GET_CONTENT&media_type=movies"
log.debug("ADDING PREV ListItem: {0} - {1}".format(u, list_item))
dir_items.insert(0, (u, list_item, True))
if not url_limit or start_index > 0:
# add paging items
if movie_page_limit > 0 and media_type.startswith("movie"):
if url_prev:
list_item = xbmcgui.ListItem("Prev Page (" + str(start_index - movie_page_limit + 1) + "-" + str(start_index) +
" of " + str(total_records) + ")")
u = sys.argv[0] + "?url=" + quote(url_prev) + "&mode=GET_CONTENT&media_type=movies"
log.debug("ADDING PREV ListItem: {0} - {1}".format(u, list_item))
dir_items.insert(0, (u, list_item, True))
if start_index + page_limit < total_records:
upper_count = start_index + (page_limit * 2)
if upper_count > total_records:
upper_count = total_records
list_item = xbmcgui.ListItem("Next Page (" + str(start_index + page_limit + 1) + "-" +
str(upper_count) + " of " + str(total_records) + ")")
u = sys.argv[0] + "?url=" + quote(url_next) + "&mode=GET_CONTENT&media_type=movies"
log.debug("ADDING NEXT ListItem: {0} - {1}".format(u, list_item))
dir_items.append((u, list_item, True))
if start_index + movie_page_limit < total_records:
upper_count = start_index + (movie_page_limit * 2)
if upper_count > total_records:
upper_count = total_records
list_item = xbmcgui.ListItem("Next Page (" + str(start_index + movie_page_limit + 1) + "-" +
str(upper_count) + " of " + str(total_records) + ")")
u = sys.argv[0] + "?url=" + quote(url_next) + "&mode=GET_CONTENT&media_type=movies"
log.debug("ADDING NEXT ListItem: {0} - {1}".format(u, list_item))
dir_items.append((u, list_item, True))
# add paging items
if show_page_limit > 0 and media_type.startswith("tvshow"):
if url_prev:
list_item = xbmcgui.ListItem("Prev Page (" + str(start_index - show_page_limit + 1) + "-" + str(start_index) +
" of " + str(total_records) + ")")
u = sys.argv[0] + "?url=" + quote(url_prev) + "&mode=GET_CONTENT&media_type=tvshows"
log.debug("ADDING PREV ListItem: {0} - {1}".format(u, list_item))
dir_items.insert(0, (u, list_item, True))
if start_index + show_page_limit < total_records:
upper_count = start_index + (show_page_limit * 2)
if upper_count > total_records:
upper_count = total_records
list_item = xbmcgui.ListItem("Next Page (" + str(start_index + show_page_limit + 1) + "-" +
str(upper_count) + " of " + str(total_records) + ")")
u = sys.argv[0] + "?url=" + quote(url_next) + "&mode=GET_CONTENT&media_type=tvshows"
log.debug("ADDING NEXT ListItem: {0} - {1}".format(u, list_item))
dir_items.append((u, list_item, True))
# set the Kodi content type
if content_type:
@@ -155,7 +191,9 @@ def get_content(url, params):
xbmcplugin.setContent(pluginhandle, content_type)
# set the sort items
if page_limit > 0 and media_type.startswith("movie"):
if movie_page_limit > 0 and media_type.startswith("movie"):
xbmcplugin.addSortMethod(pluginhandle, xbmcplugin.SORT_METHOD_UNSORTED)
elif show_page_limit > 0 and media_type.startswith("tvshow"):
xbmcplugin.addSortMethod(pluginhandle, xbmcplugin.SORT_METHOD_UNSORTED)
else:
set_sort(pluginhandle, view_type, default_sort)
@@ -174,7 +212,7 @@ def get_content(url, params):
log.debug("No view id for view type:{0}".format(view_key))
if progress is not None:
progress.update(100, string_load(30125))
progress.update(100, translate_string(30125))
progress.close()
return
@@ -227,8 +265,9 @@ def process_directory(url, progress, params, use_cache_data=False):
data_manager = DataManager()
settings = xbmcaddon.Addon()
download_utils = DownloadUtils()
server = download_utils.get_server()
server = settings.getSetting('server_address')
user_details = load_user_details()
user_id = user_details.get('user_id')
name_format = params.get("name_format", None)
name_format_type = None
@@ -248,22 +287,34 @@ def process_directory(url, progress, params, use_cache_data=False):
gui_options["name_format_type"] = name_format_type
use_cache = settings.getSetting("use_cache") == "true" and use_cache_data
default_filters = get_default_filters()
# Fix skin shortcuts from pre-0.5.0
item_limit = int(settings.getSetting("show_x_filtered_items"))
url = url.replace('{server}', '')
url = url.replace('{field_filters}', default_filters)
url = url.replace('{ItemLimit}', str(item_limit))
# Need to replace at runtime so it always pulls the current user
url = unquote(url)
url = url.replace('{userid}', user_id)
cache_file, item_list, total_records, cache_thread = data_manager.get_items(url, gui_options, use_cache)
# flatten single season
# if there is only one result and it is a season and you have flatten signle season turned on then
# if there is only one result and it is a season and you have flatten single season turned on then
# build a new url, set the content media type and call get content again
flatten_single_season = settings.getSetting("flatten_single_season") == "true"
if flatten_single_season and len(item_list) == 1 and item_list[0].item_type == "Season":
season_id = item_list[0].id
series_id = item_list[0].series_id
season_url = ('{server}/Shows/' + series_id +
season_url = ('/Shows/' + series_id +
'/Episodes'
'?userId={userid}' +
'&seasonId=' + season_id +
'&IsVirtualUnAired=false' +
'&IsMissing=false' +
'&Fields=SpecialEpisodeNumbers,{field_filters}' +
'&Fields=SpecialEpisodeNumbers,{}'.format(default_filters) +
'&format=json')
if progress is not None:
progress.close()
@@ -290,14 +341,15 @@ def process_directory(url, progress, params, use_cache_data=False):
detected_type = None
dir_items = []
OnlyTotallyUnwatchedTvShow = params.get("OnlyTotallyUnwatchedTvShow", None)
for item_details in item_list:
if OnlyTotallyUnwatchedTvShow == "1" and item_details.watched_episodes > 0:
continue
item_details.total_items = item_count
if progress is not None:
percent_done = (float(current_item) / float(item_count)) * 100
progress.update(int(percent_done), string_load(30126) + str(current_item))
progress.update(int(percent_done), translate_string(30126) + str(current_item))
current_item = current_item + 1
if detected_type is not None:
@@ -322,28 +374,30 @@ def process_directory(url, progress, params, use_cache_data=False):
if item_details.is_folder is True:
if item_details.item_type == "Series":
u = ('{server}/Shows/' + item_details.id +
u = ('/Shows/' + item_details.id +
'/Seasons'
'?userId={userid}' +
'&Fields={field_filters}' +
'&Fields={}'.format(default_filters) +
'&format=json')
if not show_empty_folders:
u = u + '&isMissing=False'
elif item_details.item_type == "Season":
u = ('{server}/Shows/' + item_details.series_id +
u = ('/Shows/' + item_details.series_id +
'/Episodes'
'?userId={userid}' +
'&seasonId=' + item_details.id +
'&IsVirtualUnAired=false' +
'&IsMissing=false' +
'&Fields=SpecialEpisodeNumbers,{field_filters}' +
'&Fields=SpecialEpisodeNumbers,{}'.format(default_filters) +
'&format=json')
else:
u = ('{server}/Users/{userid}/items' +
u = ('/Users/{userid}/items' +
'?ParentId=' + item_details.id +
'&IsVirtualUnAired=false' +
'&IsMissing=false' +
'&Fields={field_filters}' +
'&Fields={}'.format(default_filters) +
'&format=json')
default_sort = item_details.item_type == "Playlist"
@@ -356,7 +410,7 @@ def process_directory(url, progress, params, use_cache_data=False):
log.debug("Dropping empty folder item : {0}".format(item_details.__dict__))
elif item_details.item_type == "MusicArtist":
u = ('{server}/Users/{userid}/items' +
u = ('/Users/{userid}/items' +
'?ArtistIds=' + item_details.id +
'&IncludeItemTypes=MusicAlbum' +
'&CollapseBoxSetItems=false' +
@@ -378,13 +432,12 @@ def process_directory(url, progress, params, use_cache_data=False):
and first_season_item is not None
and len(dir_items) > 1
and first_season_item.series_id is not None):
series_url = ('{server}/Shows/' + first_season_item.series_id +
series_url = ('/Shows/' + first_season_item.series_id +
'/Episodes'
'?userId={userid}' +
# '&seasonId=' + season_id +
'&IsVirtualUnAired=false' +
'&IsMissing=false' +
'&Fields=SpecialEpisodeNumbers,{field_filters}' +
'&Fields=SpecialEpisodeNumbers,{}'.format(default_filters) +
'&format=json')
played = 0
overlay = "7"
@@ -395,7 +448,7 @@ def process_directory(url, progress, params, use_cache_data=False):
item_details = ItemDetails()
item_details.id = first_season_item.id
item_details.name = string_load(30290)
item_details.name = translate_string(30290)
item_details.art = first_season_item.art
item_details.play_count = played
item_details.overlay = overlay

View File

@@ -1,723 +0,0 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
import xbmcgui
import xbmcaddon
import requests
import hashlib
import ssl
import gzip
import json
from six.moves.urllib.parse import urlparse
from base64 import b64encode
from collections import defaultdict
from traceback import format_exc
from kodi_six.utils import py2_decode
from .kodi_utils import HomeWindow
from .clientinfo import ClientInformation
from .loghandler import LazyLogger
from .translation import string_load
from .tracking import timer
log = LazyLogger(__name__)
def save_user_details(settings, user_name, user_password):
save_user_to_settings = settings.getSetting("save_user_to_settings") == "true"
if save_user_to_settings:
settings.setSetting("username", user_name)
settings.setSetting("password", user_password)
else:
settings.setSetting("username", "")
settings.setSetting("password", "")
home_window = HomeWindow()
home_window.set_property("username", user_name)
home_window.set_property("password", user_password)
def load_user_details(settings):
save_user_to_settings = settings.getSetting("save_user_to_settings") == "true"
if save_user_to_settings:
user_name = settings.getSetting("username")
user_password = settings.getSetting("password")
else:
home_window = HomeWindow()
user_name = home_window.get_property("username")
user_password = home_window.get_property("password")
user_details = {}
user_details["username"] = user_name
user_details["password"] = user_password
return user_details
def get_details_string():
addon_settings = xbmcaddon.Addon()
include_media = addon_settings.getSetting("include_media") == "true"
include_people = addon_settings.getSetting("include_people") == "true"
include_overview = addon_settings.getSetting("include_overview") == "true"
filer_list = [
"DateCreated",
"EpisodeCount",
"SeasonCount",
"Path",
"Genres",
"Studios",
"Etag",
"Taglines",
"SortName",
"RecursiveItemCount",
"ChildCount",
"ProductionLocations",
"CriticRating",
"OfficialRating",
"CommunityRating",
"PremiereDate",
"ProductionYear",
"AirTime",
"Status",
"Tags"
]
if include_media:
filer_list.append("MediaStreams")
if include_people:
filer_list.append("People")
if include_overview:
filer_list.append("Overview")
return ",".join(filer_list)
class DownloadUtils:
use_https = False
verify_cert = False
def __init__(self, *args):
settings = xbmcaddon.Addon()
self.use_https = False
if settings.getSetting('protocol') == "1":
self.use_https = True
log.debug("use_https: {0}".format(self.use_https))
self.verify_cert = settings.getSetting('verify_cert') == 'true'
log.debug("verify_cert: {0}".format(self.verify_cert))
def post_capabilities(self):
url = "{server}/Sessions/Capabilities/Full?format=json"
data = {
'SupportsMediaControl': True,
'PlayableMediaTypes': ["Video", "Audio"],
'SupportedCommands': ["MoveUp",
"MoveDown",
"MoveLeft",
"MoveRight",
"Select",
"Back",
"ToggleContextMenu",
"ToggleFullscreen",
"ToggleOsdMenu",
"GoHome",
"PageUp",
"NextLetter",
"GoToSearch",
"GoToSettings",
"PageDown",
"PreviousLetter",
"TakeScreenshot",
"VolumeUp",
"VolumeDown",
"ToggleMute",
"SendString",
"DisplayMessage",
"SetAudioStreamIndex",
"SetSubtitleStreamIndex",
"SetRepeatMode",
"Mute",
"Unmute",
"SetVolume",
"PlayNext",
"Play",
"Playstate",
"PlayMediaSource"]
}
self.download_url(url, post_body=data, method="POST")
log.debug("Posted Capabilities: {0}".format(data))
def get_item_playback_info(self, item_id, force_transcode):
addon_settings = xbmcaddon.Addon()
filtered_codecs = []
if addon_settings.getSetting("force_transcode_h265") == "true":
filtered_codecs.append("hevc")
filtered_codecs.append("h265")
if addon_settings.getSetting("force_transcode_mpeg2") == "true":
filtered_codecs.append("mpeg2video")
if addon_settings.getSetting("force_transcode_msmpeg4v3") == "true":
filtered_codecs.append("msmpeg4v3")
if addon_settings.getSetting("force_transcode_mpeg4") == "true":
filtered_codecs.append("mpeg4")
playback_bitrate = addon_settings.getSetting("max_stream_bitrate")
force_playback_bitrate = addon_settings.getSetting("force_max_stream_bitrate")
if force_transcode:
playback_bitrate = force_playback_bitrate
audio_codec = addon_settings.getSetting("audio_codec")
audio_playback_bitrate = addon_settings.getSetting("audio_playback_bitrate")
audio_max_channels = addon_settings.getSetting("audio_max_channels")
audio_bitrate = int(audio_playback_bitrate) * 1000
bitrate = int(playback_bitrate) * 1000
profile = {
"Name": "Kodi",
"MaxStaticBitrate": bitrate,
"MaxStreamingBitrate": bitrate,
"MusicStreamingTranscodingBitrate": audio_bitrate,
"TimelineOffsetSeconds": 5,
"TranscodingProfiles": [
{
"Type": "Audio"
},
{
"Container": "ts",
"Protocol": "hls",
"Type": "Video",
"AudioCodec": audio_codec,
"VideoCodec": "h264",
"MaxAudioChannels": audio_max_channels
},
{
"Container": "jpeg",
"Type": "Photo"
}
],
"DirectPlayProfiles": [
{
"Type": "Video"
},
{
"Type": "Audio"
},
{
"Type": "Photo"
}
],
"ResponseProfiles": [],
"ContainerProfiles": [],
"CodecProfiles": [],
"SubtitleProfiles": [
{
"Format": "srt",
"Method": "External"
},
{
"Format": "srt",
"Method": "Embed"
},
{
"Format": "ass",
"Method": "External"
},
{
"Format": "ass",
"Method": "Embed"
},
{
"Format": "sub",
"Method": "Embed"
},
{
"Format": "sub",
"Method": "External"
},
{
"Format": "ssa",
"Method": "Embed"
},
{
"Format": "ssa",
"Method": "External"
},
{
"Format": "smi",
"Method": "Embed"
},
{
"Format": "smi",
"Method": "External"
},
{
"Format": "pgssub",
"Method": "Embed"
},
{
"Format": "pgssub",
"Method": "External"
},
{
"Format": "dvdsub",
"Method": "Embed"
},
{
"Format": "dvdsub",
"Method": "External"
},
{
"Format": "pgs",
"Method": "Embed"
},
{
"Format": "pgs",
"Method": "External"
}
]
}
if len(filtered_codecs) > 0:
profile['DirectPlayProfiles'][0]['VideoCodec'] = "-%s" % ",".join(filtered_codecs)
if force_transcode:
profile['DirectPlayProfiles'] = []
if addon_settings.getSetting("playback_video_force_8") == "true":
profile['CodecProfiles'].append(
{
"Type": "Video",
"Codec": "h264",
"Conditions": [
{
"Condition": "LessThanEqual",
"Property": "VideoBitDepth",
"Value": "8",
"IsRequired": False
}
]
}
)
profile['CodecProfiles'].append(
{
"Type": "Video",
"Codec": "h265,hevc",
"Conditions": [
{
"Condition": "EqualsAny",
"Property": "VideoProfile",
"Value": "main"
}
]
}
)
playback_info = {
'UserId': self.get_user_id(),
'DeviceProfile': profile,
'AutoOpenLiveStream': True
}
if force_transcode:
url = "{server}/Items/%s/PlaybackInfo?MaxStreamingBitrate=%s&EnableDirectPlay=false&EnableDirectStream=false" % (item_id, bitrate)
else:
url = "{server}/Items/%s/PlaybackInfo?MaxStreamingBitrate=%s" % (item_id, bitrate)
log.debug("PlaybackInfo : {0}".format(url))
log.debug("PlaybackInfo : {0}".format(profile))
play_info_result = self.download_url(url, post_body=playback_info, method="POST")
log.debug("PlaybackInfo : {0}".format(play_info_result))
return play_info_result
def get_server(self):
settings = xbmcaddon.Addon()
#For migration from storing URL parts to just one URL
if settings.getSetting('ipaddress') != "" and settings.getSetting('ipaddress') != "&lt;none&gt;":
log.info("Migrating to new server url storage")
url = ("http://" if settings.getSetting('protocol') == "0" else "https://") + settings.getSetting('ipaddress') + ":" + settings.getSetting('port')
settings.setSetting('server_address', url)
settings.setSetting('ipaddress', "")
return settings.getSetting('server_address')
@staticmethod
def get_all_artwork(item, server):
all_art = defaultdict(lambda: "")
item_id = item["Id"]
item_type = item["Type"]
image_tags = item["ImageTags"]
# All the image tags
for tag_name in image_tags:
tag = image_tags[tag_name]
art_url = "%s/Items/%s/Images/%s/0?Format=original&Tag=%s" % (server, item_id, tag_name, tag)
all_art[tag_name] = art_url
# Series images
if item_type in ["Episode", "Season"]:
image_tag = item["SeriesPrimaryImageTag"]
series_id = item["SeriesId"]
if image_tag and series_id:
art_url = "%s/Items/%s/Images/Primary/0?Format=original&Tag=%s" % (server, series_id, image_tag)
all_art["Primary.Series"] = art_url
return all_art
def get_artwork(self, data, art_type, parent=False, index=0, server=None):
item_id = data["Id"]
item_type = data["Type"]
if item_type in ["Episode", "Season"]:
if art_type != "Primary" or parent is True:
item_id = data["SeriesId"]
image_tag = ""
# for episodes always use the parent BG
if item_type == "Episode" and art_type == "Backdrop":
item_id = data.get("ParentBackdropItemId")
bg_item_tags = data.get("ParentBackdropImageTags", [])
if bg_item_tags:
image_tag = bg_item_tags[0]
elif art_type == "Backdrop" and parent is True:
item_id = data.get("ParentBackdropItemId")
bg_item_tags = data.get("ParentBackdropImageTags", [])
if bg_item_tags:
image_tag = bg_item_tags[0]
elif art_type == "Backdrop":
bg_tags = data.get("BackdropImageTags", [])
if bg_tags:
image_tag = bg_tags[index]
elif parent is False:
image_tags = data.get("ImageTags", [])
if image_tags:
image_tag_type = image_tags.get(art_type)
if image_tag_type:
image_tag = image_tag_type
elif parent is True:
if (item_type == "Episode" or item_type == "Season") and art_type == 'Primary':
tag_name = 'SeriesPrimaryImageTag'
id_name = 'SeriesId'
else:
tag_name = 'Parent%sImageTag' % art_type
id_name = 'Parent%sItemId' % art_type
parent_image_id = data.get(id_name)
parent_image_tag = data.get(tag_name)
if parent_image_id is not None and parent_image_tag is not None:
item_id = parent_image_id
image_tag = parent_image_tag
# ParentTag not passed for Banner and Art
if not image_tag and not ((art_type == 'Banner' or art_type == 'Art') and parent is True):
return ""
artwork = "%s/Items/%s/Images/%s/%s?Format=original&Tag=%s" % (server, item_id, art_type, index, image_tag)
if self.use_https and not self.verify_cert:
artwork += "|verifypeer=false"
return artwork
def image_url(self, item_id, art_type, index, width, height, image_tag, server):
# test imageTag e3ab56fe27d389446754d0fb04910a34
artwork = "%s/Items/%s/Images/%s/%s?Format=original&Tag=%s" % (server, item_id, art_type, index, image_tag)
if int(width) > 0:
artwork += '&MaxWidth=%s' % width
if int(height) > 0:
artwork += '&MaxHeight=%s' % height
if self.use_https and not self.verify_cert:
artwork += "|verifypeer=false"
return artwork
def get_user_artwork(self, user, item_type):
if "PrimaryImageTag" not in user:
return ""
user_id = user.get("Id")
tag = user.get("PrimaryImageTag")
server = self.get_server()
artwork = "%s/Users/%s/Images/%s?Format=original&tag=%s" % (server, user_id, item_type, tag)
if self.use_https and not self.verify_cert:
artwork += "|verifypeer=false"
return artwork
def get_user_id(self):
window = HomeWindow()
userid = window.get_property("userid")
user_image = window.get_property("userimage")
if userid:
log.debug("JellyCon DownloadUtils -> Returning saved UserID: {0}".format(userid))
return userid
settings = xbmcaddon.Addon()
user_details = load_user_details(settings)
user_name = user_details.get("username", "")
if not user_name:
return ""
log.debug("Looking for user name: {0}".format(user_name))
try:
result = self.download_url("{server}/Users/Public?format=json", suppress=True, authenticate=False)
except Exception as msg:
log.error("Get User unable to connect: {0}".format(msg))
return ""
log.debug("GETUSER_JSONDATA_01: {0}".format(py2_decode(result)))
if not result:
return ""
log.debug("GETUSER_JSONDATA_02: {0}".format(result))
secure = False
for user in result:
if user.get("Name") == unicode(user_name, "utf-8"):
userid = user.get("Id")
user_image = self.get_user_artwork(user, 'Primary')
log.debug("Username Found: {0}".format(user.get("Name")))
if user.get("HasPassword", False):
secure = True
log.debug("Username Is Secure (HasPassword=True)")
break
if secure or not userid:
auth_ok = self.authenticate()
if auth_ok == "":
xbmcgui.Dialog().notification(string_load(30316),
string_load(30044),
icon="special://home/addons/plugin.video.jellycon/icon.png")
return ""
if not userid:
userid = window.get_property("userid")
if userid and not user_image:
user_image = 'DefaultUser.png'
if userid == "":
xbmcgui.Dialog().notification(string_load(30316),
string_load(30045),
icon="special://home/addons/plugin.video.jellycon/icon.png")
log.debug("userid: {0}".format(userid))
window.set_property("userid", userid)
window.set_property("userimage", user_image)
return userid
def authenticate(self):
window = HomeWindow()
token = window.get_property("AccessToken")
if token is not None and token != "":
log.debug("JellyCon DownloadUtils -> Returning saved AccessToken: {0}".format(token))
return token
settings = xbmcaddon.Addon()
server_address = settings.getSetting("server_address")
url = "{server}/Users/AuthenticateByName?format=json"
user_details = load_user_details(settings)
user_name = user_details.get("username", "")
pwd_text = user_details.get("password", "")
message_data = {'username': user_name, 'pw': pwd_text}
result = self.download_url(url, post_body=message_data, method="POST", suppress=True, authenticate=False)
log.debug("AuthenticateByName: {0}".format(result))
access_token = None
userid = None
access_token = result.get("AccessToken")
userid = result["User"].get("Id")
if access_token is not None:
log.debug("User Authenticated: {0}".format(access_token))
log.debug("User Id: {0}".format(userid))
window.set_property("AccessToken", access_token)
window.set_property("userid", userid)
self.post_capabilities()
return access_token
else:
log.debug("User NOT Authenticated")
window.set_property("AccessToken", "")
window.set_property("userid", "")
window.set_property("userimage", "")
return ""
def get_auth_header(self, authenticate=True):
client_info = ClientInformation()
txt_mac = client_info.get_device_id()
version = client_info.get_version()
client = client_info.get_client()
settings = xbmcaddon.Addon()
device_name = settings.getSetting('deviceName')
# remove none ascii chars
device_name = py2_decode(device_name)
# remove some chars not valid for names
device_name = device_name.replace("\"", "_")
if len(device_name) == 0:
device_name = "JellyCon"
headers = {}
headers["Accept-encoding"] = "gzip"
headers["Accept-Charset"] = "UTF-8,*"
if authenticate is False:
auth_string = "MediaBrowser Client=\"" + client + "\",Device=\"" + device_name + "\",DeviceId=\"" + txt_mac + "\",Version=\"" + version + "\""
headers['X-Emby-Authorization'] = auth_string
return headers
else:
userid = self.get_user_id()
auth_string = "MediaBrowser UserId=\"" + userid + "\",Client=\"" + client + "\",Device=\"" + device_name + "\",DeviceId=\"" + txt_mac + "\",Version=\"" + version + "\""
headers['X-Emby-Authorization'] = auth_string
auth_token = self.authenticate()
if auth_token != "":
headers["X-MediaBrowser-Token"] = auth_token
log.debug("JellyCon Authentication Header: {0}".format(headers))
return headers
@timer
def download_url(self, url, suppress=False, post_body=None, method="GET", authenticate=True, headers=None):
log.debug("downloadUrl")
settings = xbmcaddon.Addon()
user_details = load_user_details(settings)
username = user_details.get("username", "")
server = None
http_timeout = int(settings.getSetting("http_timeout"))
if authenticate and username == "":
return {}
if settings.getSetting("suppressErrors") == "true":
suppress = True
log.debug("Before: {0}".format(url))
if url.find("{server}") != -1:
server = self.get_server()
if server is None:
return {}
url = url.replace("{server}", server)
if url.find("{userid}") != -1:
userid = self.get_user_id()
if not userid:
return {}
url = url.replace("{userid}", userid)
if url.find("{ItemLimit}") != -1:
show_x_filtered_items = settings.getSetting("show_x_filtered_items")
url = url.replace("{ItemLimit}", show_x_filtered_items)
if url.find("{field_filters}") != -1:
filter_string = get_details_string()
url = url.replace("{field_filters}", filter_string)
if url.find("{random_movies}") != -1:
home_window = HomeWindow()
random_movies = home_window.get_property("random-movies")
if not random_movies:
return {}
url = url.replace("{random_movies}", random_movies)
log.debug("After: {0}".format(url))
try:
url_bits = urlparse(url.strip())
user_name = url_bits.username
user_password = url_bits.password
head = self.get_auth_header(authenticate)
if user_name and user_password:
log.info("Replacing username & Password info")
# add basic auth headers
user_and_pass = b64encode(b"%s:%s" % (user_name, user_password)).decode("ascii")
head["Authorization"] = 'Basic %s' % user_and_pass
head["User-Agent"] = "JellyCon-" + ClientInformation().get_version()
http_request = getattr(requests, method.lower())
if post_body:
if isinstance(post_body, dict):
head["Content-Type"] = "application/json"
post_body = json.dumps(post_body)
else:
head["Content-Type"] = "application/x-www-form-urlencoded"
log.debug("Content-Type: {0}".format(head["Content-Type"]))
log.debug("POST DATA: {0}".format(post_body))
data = http_request(url, data=post_body, headers=head)
else:
data = http_request(url, headers=head)
if data.status_code == 200:
if headers is not None and isinstance(headers, dict):
headers.update(data.headers)
log.debug("{0}".format(data.json()))
elif data.status_code >= 400:
if data.status_code == 401:
# remove any saved password
m = hashlib.md5()
m.update(username)
hashed_username = m.hexdigest()
log.error("HTTP response error 401 auth error, removing any saved passwords for user: {0}".format(hashed_username))
settings.setSetting("saved_user_password_" + hashed_username, "")
save_user_details(settings, "", "")
log.error("HTTP response error for {0}: {1} {2}".format(url, data.status_code, data.content))
if suppress is False:
xbmcgui.Dialog().notification(string_load(30316),
'{}: {}'.format(string_load(30200), data.content),
icon="special://home/addons/plugin.video.jellycon/icon.png")
try:
result = data.json()
except:
result = {}
return result
except Exception as msg:
log.error("{0}".format(format_exc()))
log.error("Unable to connect to {0} : {1}".format(server, msg))
if not suppress:
xbmcgui.Dialog().notification(string_load(30316),
str(msg),
icon="special://home/addons/plugin.video.jellycon/icon.png")

View File

@@ -90,6 +90,7 @@ import sys
import time
import errno
class FileLock(object):
""" A file locking mechanism that has context-manager support so
you can use it in a ``with`` statement. This should be relatively cross

File diff suppressed because it is too large Load Diff

View File

@@ -1,28 +1,31 @@
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import xbmcvfs
import xbmc
import threading
import io
import base64
import re
from random import shuffle
import xbmcvfs
import xbmc
import xbmcaddon
import requests
from six.moves.BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
from six.moves.urllib.parse import urlparse
from six import ensure_text
import threading
import requests
import io
from .loghandler import LazyLogger
from .datamanager import DataManager
from .downloadutils import DownloadUtils
from .utils import get_art
from .jellyfin import api
from .lazylogger import LazyLogger
from .item_functions import get_art
from .utils import translate_path
pil_loaded = False
try:
from PIL import ImageFilter, Image, ImageOps
from PIL import Image, ImageOps
pil_loaded = True
except Exception as err:
except ImportError:
pil_loaded = False
PORT_NUMBER = 24276
@@ -31,8 +34,8 @@ log = LazyLogger(__name__)
def get_image_links(url):
download_utils = DownloadUtils()
server = download_utils.get_server()
settings = xbmcaddon.Addon()
server = settings.getSetting('server_address')
if server is None:
return []
@@ -50,8 +53,7 @@ def get_image_links(url):
if not re.search('EnableUserData=', url, re.IGNORECASE):
url += "&EnableUserData=False"
data_manager = DataManager()
result = data_manager.get_content(url)
result = api.get(url)
items = result.get("Items")
if not items:
@@ -171,7 +173,7 @@ class HttpImageHandler(BaseHTTPRequestHandler):
else:
image_path = xbmc.translatePath("special://home/addons/plugin.video.jellycon/icon.png").decode('utf-8')
image_path = translate_path("special://home/addons/plugin.video.jellycon/icon.png").decode('utf-8')
self.send_response(200)
self.send_header('Content-type', 'image/png')
modified = xbmcvfs.Stat(image_path).st_mtime()
@@ -187,7 +189,6 @@ class HttpImageHandler(BaseHTTPRequestHandler):
class HttpImageServerThread(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
self.keep_running = True

View File

@@ -0,0 +1,158 @@
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import os
import threading
import xbmc
import xbmcaddon
import xbmcgui
from resources.lib.play_utils import get_media_segments
from resources.lib.utils import seconds_to_ticks, ticks_to_seconds, translate_path
from resources.lib.intro_skipper_utils import get_setting_skip_action, set_correct_skip_info
from .lazylogger import LazyLogger
from .dialogs import SkipDialog
from typing import Literal
log = LazyLogger(__name__)
class IntroSkipperService(threading.Thread):
stop_thread = False
monitor = None
def __init__(self, play_monitor):
super(IntroSkipperService, self).__init__()
self.monitor = play_monitor
def run(self):
from .play_utils import get_jellyfin_playing_item
settings = xbmcaddon.Addon()
plugin_path = settings.getAddonInfo('path')
plugin_path_real = translate_path(os.path.join(plugin_path))
skip_intro_dialog = None
skip_credit_dialog = None
skip_commercial_dialog = None
skip_preview_dialog = None
skip_recap_dialog = None
segments = None
playing_item_id = None
log.debug("SkipService: starting service")
while not xbmc.Monitor().abortRequested() and not self.stop_thread:
player = xbmc.Player()
if player.isPlaying():
item_id = get_jellyfin_playing_item()
if item_id is not None:
log.debug("SkipService: playing item is from jellyfin : {0}".format(item_id))
# If item id has changed or is new, retrieve segments
if playing_item_id is None or playing_item_id != item_id :
log.debug("SkipService: item is new, retrieving media segments : {0}".format(item_id))
segments = get_media_segments(item_id)
# Setting global playing item to current playing item
playing_item_id = item_id
# Handle skip only on jellyfin items
current_ticks = seconds_to_ticks(player.getTime())
# Handle Intros
skip_intro_dialog = self.handle_dialog(plugin_path_real, skip_intro_dialog, item_id, current_ticks, player, segments, "Intro")
# Handle Credits
skip_credit_dialog = self.handle_dialog(plugin_path_real, skip_credit_dialog, item_id, current_ticks, player, segments, "Outro")
# Handle commercial
skip_commercial_dialog = self.handle_dialog(plugin_path_real, skip_commercial_dialog, item_id, current_ticks, player, segments, "Commercial")
# Handle preview
skip_preview_dialog = self.handle_dialog(plugin_path_real, skip_preview_dialog, item_id, current_ticks, player, segments, "Preview")
# Handle recap
skip_recap_dialog = self.handle_dialog(plugin_path_real, skip_recap_dialog, item_id, current_ticks, player, segments, "Recap")
else:
playing_item_id = None
if skip_intro_dialog is not None:
log.debug("SkipService: Playback stopped, killing Intro dialog")
skip_intro_dialog.close()
skip_intro_dialog = None
if skip_credit_dialog is not None:
log.debug("SkipService: Playback stopped, killing Outro dialog")
skip_credit_dialog.close()
skip_credit_dialog = None
if skip_commercial_dialog is not None:
log.debug("SkipService: Playback stopped, killing Commercial dialog")
skip_commercial_dialog.close()
skip_commercial_dialog = None
if skip_preview_dialog is not None:
log.debug("SkipService: Playback stopped, killing Preview dialog")
skip_preview_dialog.close()
skip_preview_dialog = None
if skip_recap_dialog is not None:
log.debug("SkipService: Playback stopped, killing Recap dialog")
skip_recap_dialog.close()
skip_recap_dialog = None
if xbmc.Monitor().waitForAbort(1):
break
xbmc.sleep(200)
def handle_dialog(self, plugin_path_real: str, dialog: SkipDialog, item_id: str, current_ticks: float, player: xbmc.Player, segments, type: Literal["Commercial", "Preview", "Recap", "Outro", "Intro"]):
skip_action = get_setting_skip_action(type)
# In case do nothing is selected return
if skip_action == "2":
log.debug("SkipService: ignore {0} is selected".format(type))
return None
if dialog is None:
log.debug("SkipService: init dialog")
dialog = SkipDialog("SkipDialog.xml", plugin_path_real, "default", "720p")
set_correct_skip_info(item_id, dialog, segments, type)
is_segment = False
if dialog.start is not None and dialog.end is not None:
# Resets the dismiss var so that button can reappear in case of navigation in the timecodes
if (current_ticks < dialog.start or current_ticks > dialog.end) and dialog.has_been_dissmissed is True:
log.debug("SkipService: {0} skip was dismissed. It is reset beacause timecode is outside of segment")
dialog.has_been_dissmissed = False
# Checks if segment is playing
is_segment = current_ticks >= dialog.start and current_ticks <= dialog.end
if skip_action == "1" and is_segment:
log.debug("SkipService: {0} is set to automatic skip, skipping segment".format(type))
# If auto skip is enabled, skips to semgent ends automatically
player.seekTime(ticks_to_seconds(dialog.end))
xbmcgui.Dialog().notification("JellyCon", "{0} Skipped".format(type))
elif skip_action == "0":
# Otherwise show skip dialog
if is_segment and not dialog.has_been_dissmissed:
log.debug("SkipService: {0} is playing, showing dialog".format(type))
dialog.show()
else:
# Could not find doc on what happens when closing a closed dialog, but it seems fine
log.debug("SkipService: {0} is not playing, closing dialog".format(type))
dialog.close()
return dialog
def stop_service(self):
log.debug("IntroSkipperService Stop Called")
self.stop_thread = True

View File

@@ -0,0 +1,72 @@
from typing import Literal
import xbmcaddon
from .lazylogger import LazyLogger
from .dialogs import SkipDialog
from .utils import seconds_to_ticks
log = LazyLogger(__name__)
def get_setting_skip_action(type: Literal["Commercial", "Preview", "Recap", "Outro", "Intro"]):
settings = xbmcaddon.Addon()
if (type == "Commercial"):
return settings.getSetting("commercial_skipper_action")
elif (type == "Preview"):
return settings.getSetting("preview_skipper_action")
elif (type == "Recap"):
return settings.getSetting("recap_skipper_action")
elif (type == "Outro"):
return settings.getSetting("credit_skipper_action")
elif (type == "Intro"):
return settings.getSetting("intro_skipper_action")
return ""
def get_setting_skip_start_offset(type: Literal["Commercial", "Preview", "Recap", "Outro", "Intro"]):
settings = xbmcaddon.Addon()
if (type == "Commercial"):
return settings.getSettingInt("commercial_skipper_start_offset")
elif (type == "Preview"):
return settings.getSettingInt("preview_skipper_start_offset")
elif (type == "Recap"):
return settings.getSettingInt("recap_skipper_start_offset")
elif (type == "Outro"):
return settings.getSettingInt("credit_skipper_start_offset")
elif (type == "Intro"):
return settings.getSettingInt("intro_skipper_start_offset")
return 0
def get_setting_skip_end_offset(type: Literal["Commercial", "Preview", "Recap", "Outro", "Intro"]):
settings = xbmcaddon.Addon()
if (type == "Commercial"):
return settings.getSettingInt("commercial_skipper_end_offset")
elif (type == "Preview"):
return settings.getSettingInt("preview_skipper_end_offset")
elif (type == "Recap"):
return settings.getSettingInt("recap_skipper_end_offset")
elif (type == "Outro"):
return settings.getSettingInt("credit_skipper_end_offset")
elif (type == "Intro"):
return settings.getSettingInt("intro_skipper_end_offset")
return 0
def set_correct_skip_info(item_id: str, skip_dialog: SkipDialog, segments, type: Literal["Commercial", "Preview", "Recap", "Outro", "Intro"]):
if (skip_dialog.media_id is None or skip_dialog.media_id != item_id) and item_id is not None:
# If playback item has changed (or is new), sets its id and set media segments info
log.debug("SkipDialogInfo : Media Id has changed to {0}, setting segments".format(item_id))
skip_dialog.media_id = item_id
skip_dialog.has_been_dissmissed = False
if segments is not None:
# Find the intro and outro timings
start = next((segment["StartTicks"] for segment in segments if segment["Type"] == type), None)
end = next((segment["EndTicks"] for segment in segments if segment["Type"] == type), None)
# Sets timings with offsets if defined in settings
if start is not None:
skip_dialog.start = start + seconds_to_ticks(get_setting_skip_start_offset(type))
log.debug("SkipDialogInfo : Setting {0} start to {1}".format(type, skip_dialog.start))
if end is not None:
skip_dialog.end = end - seconds_to_ticks(get_setting_skip_end_offset(type))
log.debug("SkipDialogInfo : Setting {0} end to {1}".format(type, skip_dialog.end))

View File

@@ -1,31 +1,20 @@
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import sys
import os
from dateutil import tz
from six import ensure_text
from six.moves.urllib.parse import quote
from datetime import datetime
from collections import defaultdict
import xbmc
import xbmcaddon
import xbmcgui
from .utils import get_art, datetime_from_string
from .loghandler import LazyLogger
from .downloadutils import DownloadUtils
from .kodi_utils import HomeWindow
from .utils import (
datetime_from_string, get_art_url, image_url, get_current_datetime
)
from .lazylogger import LazyLogger
log = LazyLogger(__name__)
kodi_version = int(xbmc.getInfoLabel('System.BuildVersion')[:2])
addon_instance = xbmcaddon.Addon()
addon_path = addon_instance.getAddonInfo('path')
PLUGINPATH = xbmc.translatePath(os.path.join(addon_path))
download_utils = DownloadUtils()
home_window = HomeWindow()
class ItemDetails:
@@ -178,7 +167,7 @@ def extract_item_info(item, gui_options):
name_info["SeasonIndex"] = u"%02d" % item_details.season_number
name_info["EpisodeIndex"] = u"%02d" % item_details.episode_number
log.debug("FormatName: {0} | {1}".format(name_format, name_info))
item_details.name = unicode(name_format).format(**name_info).strip()
item_details.name = ensure_text(name_format).format(**name_info).strip()
year = item.get("ProductionYear")
prem_date = item.get("PremiereDate")
@@ -219,12 +208,12 @@ def extract_item_info(item, gui_options):
media_info["height"] = mediaStream.get("Height")
media_info["width"] = mediaStream.get("Width")
aspect_ratio = mediaStream.get("AspectRatio")
media_info["apect"] = aspect_ratio
media_info["aspect"] = aspect_ratio
if aspect_ratio and len(aspect_ratio) >= 3:
try:
aspect_width, aspect_height = aspect_ratio.split(':')
media_info["apect_ratio"] = float(aspect_width) / float(aspect_height)
except:
except: # noqa
media_info["apect_ratio"] = 1.85
else:
media_info["apect_ratio"] = 1.85
@@ -261,10 +250,9 @@ def extract_item_info(item, gui_options):
person_id = person.get("Id")
person_tag = person.get("PrimaryImageTag")
if person_tag:
person_thumbnail = download_utils.image_url(person_id,
"Primary", 0, 400, 400,
person_tag,
server=gui_options["server"])
person_thumbnail = image_url(person_id, "Primary", 0, 400,
400, person_tag,
server=gui_options["server"])
else:
person_thumbnail = ""
person = {"name": person_name, "role": person_role, "thumbnail": person_thumbnail}
@@ -374,9 +362,6 @@ def add_gui_item(url, item_details, display_options, folder=True, default_sort=F
else:
u = sys.argv[0] + "?item_id=" + url + "&mode=PLAY"
# Create the ListItem that will be displayed
thumb_path = item_details.art["thumb"]
list_item_name = item_details.name
item_type = item_details.item_type.lower()
is_video = item_type not in ['musicalbum', 'audio', 'music']
@@ -417,20 +402,27 @@ def add_gui_item(url, item_details, display_options, folder=True, default_sort=F
end_time = datetime_from_string(item_details.program_end_date)
duration = (end_time - start_time).total_seconds()
time_done = (datetime.now() - start_time).total_seconds()
now = get_current_datetime()
time_done = (now - start_time).total_seconds()
percentage_done = (float(time_done) / float(duration)) * 100.0
capped_percentage = int(percentage_done)
start_time_string = start_time.strftime("%H:%M")
end_time_string = end_time.strftime("%H:%M")
# Convert dates to local timezone for display
local = tz.tzlocal()
start_time_string = start_time.astimezone(local).strftime("%H:%M")
end_time_string = end_time.astimezone(local).strftime("%H:%M")
item_details.duration = int(duration)
item_details.resume_time = int(time_done)
list_item_name = (item_details.program_channel_name +
" - " + list_item_name +
" - " + start_time_string + " to " + end_time_string +
" (" + str(int(percentage_done)) + "%)")
if item_details.program_channel_name:
list_item_name = '{} - {} - {} to {} ({}%)'.format(
item_details.program_channel_name, list_item_name,
start_time_string, end_time_string, capped_percentage)
else:
list_item_name = '{} - {} to {} ({}%)'.format(
list_item_name, start_time_string, end_time_string,
capped_percentage)
time_info = "Start : " + start_time_string + "\n"
time_info += "End : " + end_time_string + "\n"
@@ -440,10 +432,7 @@ def add_gui_item(url, item_details, display_options, folder=True, default_sort=F
else:
item_details.plot = time_info
if kodi_version > 17:
list_item = xbmcgui.ListItem(list_item_name, offscreen=True)
else:
list_item = xbmcgui.ListItem(list_item_name, iconImage=thumb_path, thumbnailImage=thumb_path)
list_item = xbmcgui.ListItem(list_item_name, offscreen=True)
item_properties = {}
@@ -470,11 +459,8 @@ def add_gui_item(url, item_details, display_options, folder=True, default_sort=F
info_labels = {}
# add cast
if item_details.cast is not None:
if kodi_version >= 17:
list_item.setCast(item_details.cast)
else:
info_labels['cast'] = info_labels['castandrole'] = [(cast_member['name'], cast_member['role']) for cast_member in item_details.cast]
if item_details.cast:
list_item.setCast(item_details.cast)
info_labels["title"] = list_item_name
if item_details.sort_name:
@@ -516,6 +502,8 @@ def add_gui_item(url, item_details, display_options, folder=True, default_sort=F
mediatype = 'artist'
elif item_type == 'audio' or item_type == 'music':
mediatype = 'song'
elif item_type == 'musicvideo':
mediatype = 'musicvideo'
info_labels["mediatype"] = mediatype
@@ -583,8 +571,6 @@ def add_gui_item(url, item_details, display_options, folder=True, default_sort=F
item_properties["TotalSeasons"] = str(item_details.total_seasons)
item_properties["TotalEpisodes"] = str(item_details.total_episodes)
item_properties["WatchedEpisodes"] = str(item_details.watched_episodes)
item_properties["UnWatchedEpisodes"] = str(item_details.unwatched_episodes)
item_properties["NumEpisodes"] = str(item_details.number_episodes)
list_item.setRating("imdb", item_details.community_rating, 0, True)
@@ -607,10 +593,89 @@ def add_gui_item(url, item_details, display_options, folder=True, default_sort=F
if item_details.baseline_itemname is not None:
item_properties["suggested_from_watching"] = item_details.baseline_itemname
if kodi_version > 17:
list_item.setProperties(item_properties)
else:
for key, value in item_properties.iteritems():
list_item.setProperty(key, value)
list_item.setProperties(item_properties)
return u, list_item, folder
def get_art(item, server):
art = {
'thumb': '',
'fanart': '',
'poster': '',
'banner': '',
'clearlogo': '',
'clearart': '',
'discart': '',
'landscape': '',
'tvshow.fanart': '',
'tvshow.poster': '',
'tvshow.clearart': '',
'tvshow.clearlogo': '',
'tvshow.banner': '',
'tvshow.landscape': ''
}
image_tags = item.get("ImageTags", {})
if image_tags and image_tags.get("Primary"):
art['thumb'] = get_art_url(item, "Primary", server=server)
item_type = item["Type"]
if item_type == "Genre":
art['poster'] = get_art_url(item, "Primary", server=server)
elif item_type == "Episode":
art['tvshow.poster'] = get_art_url(item, "Primary", parent=True, server=server)
art['tvshow.clearart'] = get_art_url(item, "Art", parent=True, server=server)
art['clearart'] = get_art_url(item, "Art", parent=True, server=server)
art['tvshow.clearlogo'] = get_art_url(item, "Logo", parent=True, server=server)
art['clearlogo'] = get_art_url(item, "Logo", parent=True, server=server)
art['tvshow.banner'] = get_art_url(item, "Banner", parent=True, server=server)
art['banner'] = get_art_url(item, "Banner", parent=True, server=server)
art['tvshow.landscape'] = get_art_url(item, "Thumb", parent=True, server=server)
art['landscape'] = get_art_url(item, "Thumb", parent=True, server=server)
art['tvshow.fanart'] = get_art_url(item, "Backdrop", parent=True, server=server)
art['fanart'] = get_art_url(item, "Backdrop", parent=True, server=server)
elif item_type == "Season":
art['tvshow.poster'] = get_art_url(item, "Primary", parent=True, server=server)
art['season.poster'] = get_art_url(item, "Primary", parent=False, server=server)
art['poster'] = get_art_url(item, "Primary", parent=False, server=server)
art['tvshow.clearart'] = get_art_url(item, "Art", parent=True, server=server)
art['clearart'] = get_art_url(item, "Art", parent=True, server=server)
art['tvshow.clearlogo'] = get_art_url(item, "Logo", parent=True, server=server)
art['clearlogo'] = get_art_url(item, "Logo", parent=True, server=server)
art['tvshow.banner'] = get_art_url(item, "Banner", parent=True, server=server)
art['season.banner'] = get_art_url(item, "Banner", parent=False, server=server)
art['banner'] = get_art_url(item, "Banner", parent=False, server=server)
art['tvshow.landscape'] = get_art_url(item, "Thumb", parent=True, server=server)
art['season.landscape'] = get_art_url(item, "Thumb", parent=False, server=server)
art['landscape'] = get_art_url(item, "Thumb", parent=False, server=server)
art['tvshow.fanart'] = get_art_url(item, "Backdrop", parent=True, server=server)
art['fanart'] = get_art_url(item, "Backdrop", parent=True, server=server)
elif item_type == "Series":
art['tvshow.poster'] = get_art_url(item, "Primary", parent=False, server=server)
art['poster'] = get_art_url(item, "Primary", parent=False, server=server)
art['tvshow.clearart'] = get_art_url(item, "Art", parent=False, server=server)
art['clearart'] = get_art_url(item, "Art", parent=False, server=server)
art['tvshow.clearlogo'] = get_art_url(item, "Logo", parent=False, server=server)
art['clearlogo'] = get_art_url(item, "Logo", parent=False, server=server)
art['tvshow.banner'] = get_art_url(item, "Banner", parent=False, server=server)
art['banner'] = get_art_url(item, "Banner", parent=False, server=server)
art['tvshow.landscape'] = get_art_url(item, "Thumb", parent=False, server=server)
art['landscape'] = get_art_url(item, "Thumb", parent=False, server=server)
art['tvshow.fanart'] = get_art_url(item, "Backdrop", parent=False, server=server)
art['fanart'] = get_art_url(item, "Backdrop", parent=False, server=server)
elif item_type == "Movie" or item_type == "BoxSet":
art['poster'] = get_art_url(item, "Primary", server=server)
art['landscape'] = get_art_url(item, "Thumb", server=server)
art['banner'] = get_art_url(item, "Banner", server=server)
art['clearlogo'] = get_art_url(item, "Logo", server=server)
art['clearart'] = get_art_url(item, "Art", server=server)
art['discart'] = get_art_url(item, "Disc", server=server)
art['fanart'] = get_art_url(item, "Backdrop", server=server)
if not art['fanart']:
art['fanart'] = get_art_url(item, "Backdrop", parent=True, server=server)
return art

196
resources/lib/jellyfin.py Normal file
View File

@@ -0,0 +1,196 @@
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import json
import requests
import xbmcaddon
from kodi_six.utils import py2_decode
from .utils import get_device_id, get_version, load_user_details
from .lazylogger import LazyLogger
log = LazyLogger(__name__)
class API:
def __init__(self, server=None, user_id=None, token=None):
self.server = server
self.user_id = user_id
self.token = token
self.settings = xbmcaddon.Addon()
self.headers = {}
self.create_headers()
self.verify_cert = settings.getSetting('verify_cert') == 'true'
def get(self, path):
if 'x-mediabrowser-token' not in self.headers or self.token not in self.headers:
self.create_headers(True)
# Fixes initial login where class is initialized before wizard completes
if not self.server:
self.settings = xbmcaddon.Addon()
self.server = self.settings.getSetting('server_address')
url = '{}{}'.format(self.server, path)
r = requests.get(url, headers=self.headers, verify=self.verify_cert)
try:
try:
'''
The requests library defaults to using simplejson to handle
json decoding. On low power devices and using Py3, this is
significantly slower than the builtin json library. Skip that
and just parse the json ourselves. Fall back to using
requests/simplejson if there's a parsing error.
'''
r.raise_for_status()
response_data = json.loads(r.text)
except ValueError:
response_data = r.json()
except: # noqa
response_data = {}
return response_data
def post(self, url, payload={}):
if 'x-mediabrowser-token' not in self.headers or self.token not in self.headers:
self.create_headers(True)
url = '{}{}'.format(self.server, url)
r = requests.post(url, json=payload, headers=self.headers, verify=self.verify_cert)
try:
try:
# Much faster on low power devices, see above comment
response_data = json.loads(r.text)
except ValueError:
response_data = r.json()
except: # noqa
response_data = {}
return response_data
def delete(self, url):
if 'x-mediabrowser-token' not in self.headers or self.token not in self.headers:
self.create_headers(True)
url = '{}{}'.format(self.server, url)
requests.delete(url, headers=self.headers, verify=self.verify_cert)
def authenticate(self, auth_data):
# Always force create fresh headers during authentication
self.create_headers(True)
response = self.post('/Users/AuthenticateByName', auth_data)
token = response.get('AccessToken')
if token:
self.token = token
self.user_id = response.get('User').get('Id')
# Create headers again to include auth token
self.create_headers()
return response
else:
log.error('Unable to authenticate to Jellyfin server')
return {}
def create_headers(self, force=False):
# If the headers already exist with an auth token, return unless we're regenerating
if self.headers and 'x-mediabrowser-token' in self.headers and force is False:
return
headers = {}
device_name = self.settings.getSetting('deviceName')
if len(device_name) == 0:
device_name = "JellyCon"
# Ensure ascii and remove invalid characters
device_name = py2_decode(device_name).replace('"', '_').replace(',', '_')
device_id = get_device_id()
version = get_version()
authorization = (
'MediaBrowser Client="Kodi JellyCon", Device="{device}", '
'DeviceId="{device_id}", Version="{version}"'
).format(
device=device_name,
device_id=device_id,
version=version
)
headers['x-emby-authorization'] = authorization
# If we have a valid token, ensure it's included in the headers unless we're regenerating
if self.token and force is False:
headers['x-mediabrowser-token'] = self.token
else:
# Check for updated credentials since initialization
user_details = load_user_details()
token = user_details.get('token')
if token:
self.token = token
headers['x-mediabrowser-token'] = self.token
# Make headers available to api calls
self.headers = headers
def post_capabilities(self):
url = '/Sessions/Capabilities/Full'
data = {
'SupportsMediaControl': True,
'PlayableMediaTypes': ["Video", "Audio"],
'SupportedCommands': ["MoveUp",
"MoveDown",
"MoveLeft",
"MoveRight",
"Select",
"Back",
"ToggleContextMenu",
"ToggleFullscreen",
"ToggleOsdMenu",
"GoHome",
"PageUp",
"NextLetter",
"GoToSearch",
"GoToSettings",
"PageDown",
"PreviousLetter",
"TakeScreenshot",
"VolumeUp",
"VolumeDown",
"ToggleMute",
"SendString",
"DisplayMessage",
"SetAudioStreamIndex",
"SetSubtitleStreamIndex",
"SetRepeatMode",
"Mute",
"Unmute",
"SetVolume",
"PlayNext",
"Play",
"Playstate",
"PlayMediaSource"]
}
self.post(url, data)
def speedtest(self, test_data_size):
self.create_headers()
url = '{}/playback/bitratetest?size={}'.format(self.server, test_data_size)
# Because this needs the stream argument, this doesn't go through self.get()
response = requests.get(url, stream=True, headers=self.headers, verify=self.verify_cert)
return response
settings = xbmcaddon.Addon()
user_details = load_user_details()
api = API(
settings.getSetting('server_address'),
user_details.get('user_id'),
user_details.get('token')
)

View File

@@ -1,6 +1,9 @@
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import json
import xbmc

View File

@@ -1,14 +1,14 @@
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import sys
import xbmc
import xbmcgui
import xbmcplugin
import xbmcaddon
import sys
import json
from .loghandler import LazyLogger
from .lazylogger import LazyLogger
log = LazyLogger(__name__)
addon = xbmcaddon.Addon()
@@ -37,30 +37,13 @@ class HomeWindow:
self.window.clearProperty(key)
def add_menu_directory_item(label, path, folder=True, art=None):
li = xbmcgui.ListItem(label, path=path)
def add_menu_directory_item(label, path, folder=True, art=None, properties=None):
li = xbmcgui.ListItem(label, path=path, offscreen=True)
if art is None:
art = {}
art["thumb"] = addon.getAddonInfo('icon')
if properties is not None:
li.setProperties(properties)
li.setArt(art)
xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]), url=path, listitem=li, isFolder=folder)
def get_kodi_version():
json_data = xbmc.executeJSONRPC(
'{ "jsonrpc": "2.0", "method": "Application.GetProperties", "params": {"properties": ["version", "name"]}, "id": 1 }')
result = json.loads(json_data)
try:
result = result.get("result")
version_data = result.get("version")
version = float(str(version_data.get("major")) + "." + str(version_data.get("minor")))
log.debug("Version: {0} - {1}".format(version, version_data))
except:
version = 0.0
log.error("Version Error : RAW Version Data: {0}".format(result))
return version

View File

@@ -0,0 +1,20 @@
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
class LazyLogger(object):
"""`helper.loghandler.getLogger()` is used everywhere.
This class helps avoiding import errors.
"""
__logger = None
__logger_name = None
def __init__(self, logger_name=None):
self.__logger_name = logger_name
def __getattr__(self, name):
if self.__logger is None:
from .loghandler import getLogger
self.__logger = getLogger(self.__logger_name)
return getattr(self.__logger, name)

View File

@@ -1,47 +0,0 @@
from __future__ import division, absolute_import, print_function, unicode_literals
import threading
import time
import xbmc
from .loghandler import LazyLogger
from .widgets import check_for_new_content
from .tracking import timer
log = LazyLogger(__name__)
class LibraryChangeMonitor(threading.Thread):
last_library_change_check = 0
library_check_triggered = False
exit_now = False
time_between_checks = 10
def __init__(self):
threading.Thread.__init__(self)
def stop(self):
self.exit_now = True
@timer
def check_for_updates(self):
log.debug("Trigger check for updates")
self.library_check_triggered = True
def run(self):
log.debug("Library Monitor Started")
monitor = xbmc.Monitor()
while not self.exit_now and not monitor.abortRequested():
if self.library_check_triggered and not xbmc.Player().isPlaying():
log.debug("Doing new content check")
check_for_new_content()
self.library_check_triggered = False
self.last_library_change_check = time.time()
if self.exit_now or monitor.waitForAbort(self.time_between_checks):
break
log.debug("Library Monitor Exited")

View File

@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import division, absolute_import, print_function, unicode_literals
##################################################################################################
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import os
import logging
@@ -10,14 +9,11 @@ import traceback
from six import ensure_text
from kodi_six import xbmc, xbmcaddon
from six.moves.urllib.parse import urlparse
##################################################################################################
from .utils import translate_path
__addon__ = xbmcaddon.Addon(id='plugin.video.jellycon')
__pluginpath__ = xbmc.translatePath(__addon__.getAddonInfo('path'))
##################################################################################################
__pluginpath__ = translate_path(__addon__.getAddonInfo('path'))
def getLogger(name=None):
@@ -46,7 +42,9 @@ class LogHandler(logging.StreamHandler):
string = self.format(record)
# Hide server URL in logs
string = string.replace(self.server or "{server}", "{jellyfin-server}")
string = string.replace(
self.server or "{server}", "{jellyfin-server}"
)
py_version = sys.version_info.major
# Log level notation changed in Kodi v19
@@ -74,12 +72,17 @@ class LogHandler(logging.StreamHandler):
class MyFormatter(logging.Formatter):
def __init__(self, fmt='%(name)s -> %(levelname)s::%(relpath)s:%(lineno)s %(message)s'):
def __init__(
self,
fmt='%(name)s -> %(levelname)s::%(relpath)s:%(lineno)s %(message)s'
):
logging.Formatter.__init__(self, fmt)
def format(self, record):
if record.pathname:
record.pathname = ensure_text(record.pathname, get_filesystem_encoding())
record.pathname = ensure_text(
record.pathname, get_filesystem_encoding()
)
self._gen_rel_path(record)
@@ -96,7 +99,10 @@ class MyFormatter(logging.Formatter):
o = ensure_text(o, get_filesystem_encoding())
if o.startswith(' File "'):
# If this split can't handle your file names, you should seriously consider renaming your files.
"""
If this split can't handle your file names,
you should seriously consider renaming your files.
"""
fn = o.split(' File "', 2)[1].split('", line ', 1)[0]
rfn = os.path.realpath(fn)
if rfn.startswith(_pluginpath_real):
@@ -111,22 +117,6 @@ class MyFormatter(logging.Formatter):
record.relpath = os.path.relpath(record.pathname, __pluginpath__)
class LazyLogger(object):
"""`helper.loghandler.getLogger()` is used everywhere.
This class helps avoiding import errors.
"""
__logger = None
__logger_name = None
def __init__(self, logger_name=None):
self.__logger_name = logger_name
def __getattr__(self, name):
if self.__logger is None:
self.__logger = getLogger(self.__logger_name)
return getattr(self.__logger, name)
def get_filesystem_encoding():
enc = sys.getfilesystemencoding()

File diff suppressed because it is too large Load Diff

89
resources/lib/monitors.py Normal file
View File

@@ -0,0 +1,89 @@
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import threading
import time
import xbmc
from .functions import show_menu
from .lazylogger import LazyLogger
from .widgets import check_for_new_content
from .tracking import timer
log = LazyLogger(__name__)
class ContextMonitor(threading.Thread):
stop_thread = False
def run(self):
item_id = None
log.debug("ContextMonitor Thread Started")
while not xbmc.Monitor().abortRequested() and not self.stop_thread:
visibility_check = (
"Window.IsActive(fullscreenvideo) | "
"Window.IsActive(visualisation)"
)
if xbmc.getCondVisibility(visibility_check):
xbmc.sleep(1000)
else:
if xbmc.getCondVisibility("Window.IsVisible(contextmenu)"):
if item_id:
xbmc.executebuiltin("Dialog.Close(contextmenu,true)")
params = {}
params["item_id"] = item_id
show_menu(params)
container_id = xbmc.getInfoLabel("System.CurrentControlID")
item_id = xbmc.getInfoLabel(
"Container({}).ListItem.Property(id)".format(container_id)
)
xbmc.sleep(100)
log.debug("ContextMonitor Thread Exited")
def stop_monitor(self):
log.debug("ContextMonitor Stop Called")
self.stop_thread = True
class LibraryChangeMonitor(threading.Thread):
last_library_change_check = 0
library_check_triggered = False
exit_now = False
time_between_checks = 10
def __init__(self):
threading.Thread.__init__(self)
def stop(self):
self.exit_now = True
@timer
def check_for_updates(self):
log.debug("Trigger check for updates")
self.library_check_triggered = True
def run(self):
log.debug("Library Monitor Started")
monitor = xbmc.Monitor()
while not self.exit_now and not monitor.abortRequested():
if self.library_check_triggered and not xbmc.Player().isPlaying():
log.debug("Doing new content check")
check_for_new_content()
self.library_check_triggered = False
self.last_library_change_check = time.time()
if self.exit_now or monitor.waitForAbort(self.time_between_checks):
break
log.debug("Library Monitor Exited")

View File

@@ -1,13 +1,14 @@
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import xbmc
import xbmcaddon
import xbmcgui
from .loghandler import LazyLogger
from .lazylogger import LazyLogger
log = LazyLogger(__name__)
class PictureViewer(xbmcgui.WindowXMLDialog):
picture_url = None
action_exitkeys_id = None

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +1,16 @@
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import os
import threading
import xbmc
import xbmcgui
import xbmcaddon
from .loghandler import LazyLogger
from .play_utils import send_event_notification
from .lazylogger import LazyLogger
from .dialogs import PlayNextDialog
from .utils import translate_path
log = LazyLogger(__name__)
@@ -32,6 +34,8 @@ class PlayNextService(threading.Thread):
play_next_triggered = False
is_playing = False
now_playing = None
while not xbmc.Monitor().abortRequested() and not self.stop_thread:
player = xbmc.Player()
@@ -42,6 +46,13 @@ class PlayNextService(threading.Thread):
play_next_trigger_time = int(settings.getSetting('play_next_trigger_time'))
log.debug("New play_next_trigger_time value: {0}".format(play_next_trigger_time))
now_playing_file = player.getPlayingFile()
if now_playing_file != now_playing:
# If the playing file has changed, reset the play next values
play_next_dialog = None
play_next_triggered = False
now_playing = now_playing_file
duration = player.getTotalTime()
position = player.getTime()
trigger_time = play_next_trigger_time # 300
@@ -51,7 +62,7 @@ class PlayNextService(threading.Thread):
play_next_triggered = True
log.debug("play_next_triggered hit at {0} seconds from end".format(time_to_end))
play_data = get_playing_data(self.monitor.played_information)
play_data = get_playing_data()
log.debug("play_next_triggered play_data : {0}".format(play_data))
next_episode = play_data.get("next_episode")
@@ -61,7 +72,7 @@ class PlayNextService(threading.Thread):
settings = xbmcaddon.Addon()
plugin_path = settings.getAddonInfo('path')
plugin_path_real = xbmc.translatePath(os.path.join(plugin_path))
plugin_path_real = translate_path(os.path.join(plugin_path))
play_next_dialog = PlayNextDialog("PlayNextDialog.xml", plugin_path_real, "default", "720p")
play_next_dialog.set_episode_info(next_episode)
@@ -78,74 +89,11 @@ class PlayNextService(threading.Thread):
play_next_dialog = None
is_playing = False
now_playing = None
if xbmc.Monitor().waitForAbort(1):
break
def stop_servcie(self):
def stop_service(self):
log.debug("PlayNextService Stop Called")
self.stop_thread = True
class PlayNextDialog(xbmcgui.WindowXMLDialog):
action_exitkeys_id = None
episode_info = None
play_called = False
def __init__(self, *args, **kwargs):
log.debug("PlayNextDialog: __init__")
xbmcgui.WindowXML.__init__(self, *args, **kwargs)
def onInit(self):
log.debug("PlayNextDialog: onInit")
self.action_exitkeys_id = [10, 13]
index = self.episode_info.get("IndexNumber", -1)
series_name = self.episode_info.get("SeriesName")
next_epp_name = "Episode %02d - (%s)" % (index, self.episode_info.get("Name", "n/a"))
series_label = self.getControl(3011)
series_label.setLabel(series_name)
series_label = self.getControl(3012)
series_label.setLabel(next_epp_name)
def onFocus(self, control_id):
pass
def doAction(self, action_id):
pass
def onMessage(self, message):
log.debug("PlayNextDialog: onMessage: {0}".format(message))
def onAction(self, action):
if action.getId() == 10: # ACTION_PREVIOUS_MENU
self.close()
elif action.getId() == 92: # ACTION_NAV_BACK
self.close()
else:
log.debug("PlayNextDialog: onAction: {0}".format(action.getId()))
def onClick(self, control_id):
if control_id == 3013:
log.debug("PlayNextDialog: Play Next Episode")
self.play_called
self.close()
next_item_id = self.episode_info.get("Id")
log.debug("Playing Next Episode: {0}".format(next_item_id))
play_info = {}
play_info["item_id"] = next_item_id
play_info["auto_resume"] = "-1"
play_info["force_transcode"] = False
send_event_notification("jellycon_play_action", play_info)
elif control_id == 3014:
self.close()
def set_episode_info(self, info):
self.episode_info = info
def get_play_called(self):
return self.play_called

View File

@@ -1,45 +0,0 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
import xbmcgui
from .loghandler import LazyLogger
from .translation import string_load
log = LazyLogger(__name__)
class ResumeDialog(xbmcgui.WindowXMLDialog):
resumePlay = -1
resumeTimeStamp = ""
action_exitkeys_id = None
def __init__(self, *args, **kwargs):
xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs)
log.debug("ResumeDialog INITIALISED")
def onInit(self):
self.action_exitkeys_id = [10, 13]
self.getControl(3010).setLabel(self.resumeTimeStamp)
self.getControl(3011).setLabel(string_load(30237))
def onFocus(self, controlId):
pass
def doAction(self, actionID):
pass
def onClick(self, controlID):
if controlID == 3010:
self.resumePlay = 0
self.close()
if controlID == 3011:
self.resumePlay = 1
self.close()
def setResumeTime(self, timeStamp):
self.resumeTimeStamp = timeStamp
def getResumeAction(self):
return self.resumePlay

View File

@@ -1,57 +0,0 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
import xbmc
import xbmcgui
from .loghandler import LazyLogger
log = LazyLogger(__name__)
class SafeDeleteDialog(xbmcgui.WindowXMLDialog):
confirm = False
message = "Demo Message"
heading = "Demo Heading"
action_exitkeys_id = None
def __init__(self, *args, **kwargs):
log.debug("SafeDeleteDialog: __init__")
xbmcgui.WindowXML.__init__(self, *args, **kwargs)
def onInit(self):
log.debug("SafeDeleteDialog: onInit")
self.action_exitkeys_id = [10, 13]
message_control = self.getControl(3)
message_control.setText(self.message)
message_control = self.getControl(4)
message_control.setLabel(self.heading)
def onFocus(self, controlId):
pass
def doAction(self, actionID):
pass
def onMessage(self, message):
log.debug("SafeDeleteDialog: onMessage: {0}".format(message))
def onAction(self, action):
if action.getId() == 10: # ACTION_PREVIOUS_MENU
self.close()
elif action.getId() == 92: # ACTION_NAV_BACK
self.close()
else:
log.debug("SafeDeleteDialog: onAction: {0}".format(action.getId()))
def onClick(self, controlID):
if controlID == 1:
self.confirm = True
self.close()
elif controlID == 2:
self.confirm = False
self.close()

View File

@@ -1,26 +1,22 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import socket
import json
from six.moves.urllib.parse import urlparse
import requests
import ssl
import time
import hashlib
from datetime import datetime
import xbmcaddon
import xbmcgui
import xbmc
from kodi_six.utils import py2_decode
from .kodi_utils import HomeWindow
from .downloadutils import DownloadUtils, save_user_details, load_user_details
from .loghandler import LazyLogger
from .translation import string_load
from .utils import datetime_from_string
from .clientinfo import ClientInformation
from .jellyfin import API
from .lazylogger import LazyLogger
from .utils import (
datetime_from_string, translate_string, save_user_details,
load_user_details, get_current_datetime, get_saved_users
)
log = LazyLogger(__name__)
@@ -32,26 +28,15 @@ def check_connection_speed():
log.debug("check_connection_speed")
settings = xbmcaddon.Addon()
verify_cert = settings.getSetting('verify_cert') == 'true'
http_timeout = int(settings.getSetting("http_timeout"))
speed_test_data_size = int(settings.getSetting("speed_test_data_size"))
test_data_size = speed_test_data_size * 1000000
user_details = load_user_details()
du = DownloadUtils()
server = du.get_server()
url = server + "/playback/bitratetest?size=%s" % test_data_size
head = du.get_auth_header(True)
head["User-Agent"] = "JellyCon-" + ClientInformation().get_version()
request_details = {
"stream": True,
"headers": head
}
if not verify_cert:
request_details["verify"] = False
api = API(
settings.getSetting('server_address'),
user_details.get('user_id'),
user_details.get('token')
)
progress_dialog = xbmcgui.DialogProgress()
message = 'Testing with {0} MB of data'.format(speed_test_data_size)
@@ -59,8 +44,7 @@ def check_connection_speed():
start_time = time.time()
log.debug("Starting Connection Speed Test")
response = requests.get(url, **request_details)
response = api.speedtest(test_data_size)
last_percentage_done = 0
total_data_read = 0
@@ -96,67 +80,37 @@ def check_connection_speed():
return speed
def check_safe_delete_available():
log.debug("check_safe_delete_available")
du = DownloadUtils()
result = du.download_url("{server}/Plugins")
if result:
log.debug("Server Plugin List: {0}".format(result))
safe_delete_found = False
for plugin in result:
if plugin["Name"] == "Safe Delete":
safe_delete_found = True
break
log.debug("Safe Delete Plugin Available: {0}".format(safe_delete_found))
home_window = HomeWindow()
if safe_delete_found:
home_window.set_property("safe_delete_plugin_available", "true")
else:
home_window.clear_property("safe_delete_plugin_available")
else:
log.debug("Error getting server plugin list")
def get_server_details():
log.debug("Getting Server Details from Network")
servers = []
message = b"who is JellyfinServer?"
multi_group = ("<broadcast>", 7359)
# multi_group = ("127.0.0.1", 7359)
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.settimeout(4.0)
sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, 3) # timeout
sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
sock.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_LOOP, 1)
sock.setsockopt(socket.IPPROTO_IP, socket.SO_REUSEADDR, 1)
log.debug("MutliGroup: {0}".format(multi_group))
log.debug("Sending UDP Data: {0}".format(message))
progress = xbmcgui.DialogProgress()
progress.create('{} : {}'.format(__addon_name__, string_load(30373)))
progress.update(0, string_load(30374))
progress.create('{} : {}'.format(__addon_name__, translate_string(30373)))
progress.update(0, translate_string(30374))
xbmc.sleep(1000)
server_count = 0
# while True:
try:
sock.sendto(message, multi_group)
while True:
try:
server_count += 1
progress.update(server_count * 10, '{}: {}'.format(string_load(30375), server_count))
progress.update(server_count * 10, '{}: {}'.format(translate_string(30375), server_count))
xbmc.sleep(1000)
data, addr = sock.recvfrom(1024)
servers.append(json.loads(data))
except:
except: # noqa
break
except Exception as e:
log.error("UPD Discovery Error: {0}".format(e))
@@ -171,18 +125,17 @@ def check_server(force=False, change_user=False, notify=False):
log.debug("checkServer Called")
settings = xbmcaddon.Addon()
server_url = ""
something_changed = False
du = DownloadUtils()
# Initialize api object
api = API()
if force is False:
# if not forcing use server details from settings
svr = du.get_server()
if svr is not None:
server_url = svr
api.server = settings.getSetting('server_address')
# if the server is not set then try to detect it
if server_url == "":
if not api.server:
# scan for local server
server_info = get_server_details()
@@ -192,7 +145,7 @@ def check_server(force=False, change_user=False, notify=False):
server_list = []
for server in server_info:
server_item = xbmcgui.ListItem(server.get("Name", string_load(30063)))
server_item = xbmcgui.ListItem(server.get("Name", translate_string(30063)))
sub_line = server.get("Address")
server_item.setLabel2(sub_line)
server_item.setProperty("address", server.get("Address"))
@@ -201,234 +154,280 @@ def check_server(force=False, change_user=False, notify=False):
server_list.append(server_item)
if len(server_list) > 0:
return_index = xbmcgui.Dialog().select('{} : {}'.format(__addon_name__, string_load(30166)),
return_index = xbmcgui.Dialog().select('{} : {}'.format(__addon_name__, translate_string(30166)),
server_list,
useDetails=True)
if return_index != -1:
server_url = server_info[return_index]["Address"]
api.server = server_info[return_index]["Address"]
if not server_url:
return_index = xbmcgui.Dialog().yesno(__addon_name__, '{}\n{}'.format(string_load(30282), string_load(30370)))
if not api.server:
return_index = xbmcgui.Dialog().yesno(__addon_name__, '{}\n{}'.format(translate_string(30282), translate_string(30370)))
if not return_index:
xbmc.executebuiltin("ActivateWindow(Home)")
return
while True:
kb = xbmc.Keyboard()
kb.setHeading(string_load(30372))
if server_url:
kb.setDefault(server_url)
kb.setHeading(translate_string(30372))
if api.server:
kb.setDefault(api.server)
else:
kb.setDefault("http://<server address>:8096")
kb.setDefault("http://")
kb.doModal()
if kb.isConfirmed():
server_url = kb.getText()
api.server = kb.getText()
else:
xbmc.executebuiltin("ActivateWindow(Home)")
return
public_lookup_url = "%s/System/Info/Public?format=json" % (server_url)
log.debug("Testing_Url: {0}".format(public_lookup_url))
progress = xbmcgui.DialogProgress()
progress.create('{} : {}'.format(__addon_name__, string_load(30376)))
progress.update(0, string_load(30377))
result = du.download_url(public_lookup_url, authenticate=False)
progress.create('{} : {}'.format(__addon_name__, translate_string(30376)))
progress.update(0, translate_string(30377))
result = api.get('/System/Info/Public')
progress.close()
if result:
xbmcgui.Dialog().ok('{} : {}'.format(__addon_name__, string_load(30167)),
server_url)
xbmcgui.Dialog().ok('{} : {}'.format(__addon_name__, translate_string(30167)),
api.server)
break
else:
return_index = xbmcgui.Dialog().yesno('{} : {}'.format(__addon_name__, string_load(30135)),
server_url,
string_load(30371))
return_index = xbmcgui.Dialog().yesno('{} : {}'.format(__addon_name__, translate_string(30135)),
api.server,
translate_string(30371))
if not return_index:
xbmc.executebuiltin("ActivateWindow(Home)")
return
log.debug("Selected server: {0}".format(server_url))
settings.setSetting("server_address", server_url)
log.debug("Selected server: {0}".format(api.server))
settings.setSetting("server_address", api.server)
something_changed = True
# do we need to change the user
user_details = load_user_details(settings)
current_username = user_details.get("username", "")
current_username = py2_decode(current_username)
current_username = settings.getSetting('username')
user_details = load_user_details()
home_window = HomeWindow()
home_window.set_property('user_name', current_username)
# if asked or we have no current user then show user selection screen
if something_changed or change_user or len(current_username) == 0:
if something_changed or change_user or len(current_username) == 0 or not user_details:
# stop playback when switching users
xbmc.Player().stop()
du = DownloadUtils()
# get a list of users
log.debug("Getting user list")
result = du.download_url(server_url + "/Users/Public?format=json", authenticate=False)
# Initialize auth variable
auth = {}
log.debug("jsonData: {0}".format(py2_decode(result)))
selected_id = -1
users = []
for user in result:
config = user.get("Configuration")
if config is not None:
if config.get("IsHidden", False) is False:
name = user.get("Name")
admin = user.get("Policy", {}).get("IsAdministrator", False)
time_ago = ""
last_active = user.get("LastActivityDate")
if last_active:
last_active_date = datetime_from_string(last_active)
log.debug("LastActivityDate: {0}".format(last_active_date))
ago = datetime.now() - last_active_date
log.debug("LastActivityDate: {0}".format(ago))
days = divmod(ago.seconds, 86400)
hours = divmod(days[1], 3600)
minutes = divmod(hours[1], 60)
log.debug("LastActivityDate: {0} {1} {2}".format(days[0], hours[0], minutes[0]))
if days[0]:
time_ago += " %sd" % days[0]
if hours[0]:
time_ago += " %sh" % hours[0]
if minutes[0]:
time_ago += " %sm" % minutes[0]
time_ago = time_ago.strip()
if not time_ago:
time_ago = "Active: now"
else:
time_ago = "Active: %s ago" % time_ago
log.debug("LastActivityDate: {0}".format(time_ago))
user_item = xbmcgui.ListItem(name)
user_image = du.get_user_artwork(user, 'Primary')
if not user_image:
user_image = "DefaultUser.png"
art = {"Thumb": user_image}
user_item.setArt(art)
user_item.setLabel2("TEST")
sub_line = time_ago
if user.get("HasPassword", False) is True:
sub_line += ", Password"
user_item.setProperty("secure", "true")
m = hashlib.md5()
m.update(name)
hashed_username = m.hexdigest()
saved_password = settings.getSetting("saved_user_password_" + hashed_username)
if saved_password:
sub_line += ": Saved"
else:
user_item.setProperty("secure", "false")
if admin:
sub_line += ", Admin"
else:
sub_line += ", User"
user_item.setProperty("manual", "false")
user_item.setLabel2(sub_line)
users.append(user_item)
if current_username == name:
selected_id = len(users) - 1
if current_username:
selection_title = string_load(30180) + " (" + current_username + ")"
else:
selection_title = string_load(30180)
# add manual login
user_item = xbmcgui.ListItem(string_load(30365))
art = {"Thumb": "DefaultUser.png"}
user_item.setArt(art)
user_item.setLabel2(string_load(30366))
user_item.setProperty("secure", "true")
user_item.setProperty("manual", "true")
users.append(user_item)
return_value = xbmcgui.Dialog().select(selection_title,
users,
preselect=selected_id,
autoclose=20000,
useDetails=True)
if return_value > -1 and return_value != selected_id:
# Check if quick connect is active on the server, initiate connection
quick = api.get('/QuickConnect/Initiate')
code = quick.get('Code')
secret = quick.get('Secret')
users, user_selection = user_select(api, current_username, code)
if user_selection > -1:
# The user made a selection in the dialog
something_changed = True
selected_user = users[return_value]
secured = selected_user.getProperty("secure") == "true"
manual = selected_user.getProperty("manual") == "true"
selected_user_name = selected_user.getLabel()
selected_user = users[user_selection]
quick_connect = selected_user.getProperty("quickconnect") == "true"
count = 0
if quick_connect:
# Try to authenticate to server with secret code 10 times
while count < 10:
log.debug('Checking for quick connect auth: attempt {}'.format(count))
check = api.get('/QuickConnect/Connect?secret={}'.format(secret))
if check.get('Authenticated'):
break
count += 1
xbmc.sleep(1000)
log.debug("Selected User Name: {0} : {1}".format(return_value, selected_user_name))
auth = api.post('/Users/AuthenticateWithQuickConnect',
{'secret': secret})
if manual:
kb = xbmc.Keyboard()
kb.setHeading(string_load(30005))
if current_username:
kb.setDefault(current_username)
kb.doModal()
if kb.isConfirmed():
selected_user_name = kb.getText()
log.debug("Manual entered username: {0}".format(selected_user_name))
# If authentication was successful, save the username
if auth:
selected_user_name = auth['User'].get('Name')
else:
return
# Login failed, we don't want to change anything
something_changed = False
log.info("There was an error logging in with quick connect")
if secured:
# we need a password, check the settings first
m = hashlib.md5()
m.update(selected_user_name.encode())
hashed_username = m.hexdigest()
saved_password = settings.getSetting("saved_user_password_" + hashed_username)
allow_password_saving = settings.getSetting("allow_password_saving") == "true"
else:
selected_user_name = selected_user.getLabel()
secured = selected_user.getProperty("secure") == "true"
manual = selected_user.getProperty("manual") == "true"
# if not saving passwords but have a saved ask to clear it
if not allow_password_saving and saved_password:
clear_password = xbmcgui.Dialog().yesno(string_load(30368), string_load(30369))
if clear_password:
settings.setSetting("saved_user_password_" + hashed_username, "")
if saved_password:
log.debug("Saving username and password: {0}".format(selected_user_name))
log.debug("Using stored password for user: {0}".format(hashed_username))
save_user_details(settings, selected_user_name, saved_password)
else:
# If using a manual login, ask for username
if manual:
kb = xbmc.Keyboard()
kb.setHeading(string_load(30006))
kb.setHiddenInput(True)
kb.setHeading(translate_string(30005))
if current_username:
kb.setDefault(current_username)
kb.doModal()
if kb.isConfirmed():
log.debug("Saving username and password: {0}".format(selected_user_name))
save_user_details(settings, selected_user_name, kb.getText())
selected_user_name = kb.getText()
log.debug("Manual entered username: {0}".format(selected_user_name))
else:
return
# should we save the password
if allow_password_saving:
save_password = xbmcgui.Dialog().yesno(string_load(30363), string_load(30364))
if save_password:
log.debug("Saving password for fast user switching: {0}".format(hashed_username))
settings.setSetting("saved_user_password_" + hashed_username, kb.getText())
else:
log.debug("Saving username with no password: {0}".format(selected_user_name))
save_user_details(settings, selected_user_name, "")
home_window.set_property('user_name', selected_user_name)
settings.setSetting('username', selected_user_name)
user_details = load_user_details()
if not user_details:
# Ask for password if user has one
password = ''
if secured and not user_details.get('token'):
kb = xbmc.Keyboard()
kb.setHeading(translate_string(30006))
kb.setHiddenInput(True)
kb.doModal()
if kb.isConfirmed():
password = kb.getText()
auth_payload = {'username': selected_user_name, 'pw': password}
auth = api.authenticate(auth_payload)
if not auth:
# Login failed, we don't want to change anything
something_changed = False
log.info('There was an error logging in with user {}'.format(selected_user_name))
xbmcgui.Dialog().ok(__addon_name__, translate_string(30446))
if something_changed:
home_window = HomeWindow()
home_window.clear_property("userid")
home_window.clear_property("AccessToken")
home_window.clear_property("userimage")
home_window.clear_property("jellycon_widget_reload")
du = DownloadUtils()
du.authenticate()
du.get_user_id()
if auth:
token = auth.get('AccessToken')
user_id = auth.get('User').get('Id')
else:
token = user_details.get('token')
user_id = user_details.get('user_id')
save_user_details(selected_user_name, user_id, token)
xbmc.executebuiltin("ActivateWindow(Home)")
if "estuary_jellycon" in xbmc.getSkinDir():
xbmc.executebuiltin("SetFocus(9000, 0, absolute)")
xbmc.executebuiltin("ReloadSkin()")
def user_select(api, current_username, code):
'''
Display user selection screen
'''
# Retrieve list of public users from server
public = api.get('/Users/Public')
# Get list of saved users
saved_users = get_saved_users()
# Combine public and saved users
for user in saved_users:
name = user.get('Name')
# Check if saved user is in public list
if name not in [x.get('Name', '') for x in public]:
# If saved user is not already in list, add it
public.append(user)
# Build user display
selected_id = -1
users = []
# If quick connect is active, make it the first entry
if code:
user_item = xbmcgui.ListItem(code)
user_image = "DefaultUser.png"
art = {"Thumb": user_image}
user_item.setArt(art)
user_item.setLabel2(translate_string(30443))
user_item.setProperty('quickconnect', "true")
users.append(user_item)
for user in public:
user_item = create_user_listitem(api.server, user)
if user_item:
users.append(user_item)
name = user.get("Name")
# Highlight currently logged in user
if current_username == name:
selected_id = len(users) - 1
if current_username:
selection_title = translate_string(30180) + " (" + current_username + ")"
else:
selection_title = translate_string(30180)
# Add manual login item
user_item = xbmcgui.ListItem(translate_string(30365))
art = {"Thumb": "DefaultUser.png"}
user_item.setArt(art)
user_item.setLabel2(translate_string(30366))
user_item.setProperty("secure", "true")
user_item.setProperty("manual", "true")
users.append(user_item)
user_selection = xbmcgui.Dialog().select(
selection_title,
users,
preselect=selected_id,
autoclose=60000,
useDetails=True)
return (users, user_selection)
def create_user_listitem(server, user):
'''
Create a user listitem for the user selection screen
'''
config = user.get("Configuration")
now = get_current_datetime()
if config is not None:
name = user.get("Name")
time_ago = ""
last_active = user.get("LastActivityDate")
# Calculate how long it's been since the user was last active
if last_active:
last_active_date = datetime_from_string(last_active)
ago = now - last_active_date
# Check days
if ago.days > 0:
time_ago += ' {}d'.format(ago.days)
# Check minutes
if ago.seconds > 60:
hours = 0
# Check hours
if ago.seconds > 3600:
hours = int(ago.seconds/3600)
time_ago += ' {}h'.format(hours)
minutes = int((ago.seconds - (hours * 3600)) / 60)
time_ago += ' {}m'.format(minutes)
time_ago = time_ago.strip()
if not time_ago:
time_ago = "Active: now"
else:
time_ago = "Active: {} ago".format(time_ago)
user_item = xbmcgui.ListItem(name)
# If the user doesn't have a profile image, user the default
if 'PrimaryImageTag' not in user:
user_image = "DefaultUser.png"
else:
user_id = user.get('Id')
tag = user.get('PrimaryImageTag')
user_image = '{}/Users/{}/Images/Primary?Format=original&tag={}'.format(
server, user_id, tag
)
art = {"Thumb": user_image}
user_item.setArt(art)
sub_line = time_ago
if user.get("HasPassword", False) is True:
user_item.setProperty("secure", "true")
else:
user_item.setProperty("secure", "false")
user_item.setProperty("manual", "false")
user_item.setLabel2(sub_line)
return user_item
return None

View File

@@ -1,13 +1,17 @@
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import sys
import xbmcgui
import xbmcplugin
import xbmcaddon
from .downloadutils import DownloadUtils
from .loghandler import LazyLogger
from .utils import get_art
from .datamanager import DataManager
from .jellyfin import api
from .lazylogger import LazyLogger
from .item_functions import get_art
from .utils import load_user_details
log = LazyLogger(__name__)
@@ -16,25 +20,26 @@ def show_server_sessions():
log.debug("showServerSessions Called")
handle = int(sys.argv[1])
download_utils = DownloadUtils()
data_manager = DataManager()
url = "{server}/Users/{userid}"
results = data_manager.get_content(url)
user_details = load_user_details()
url = "/Users/{}".format(user_details.get('user_id'))
results = api.get(url)
is_admin = results.get("Policy", {}).get("IsAdministrator", False)
if not is_admin:
xbmcplugin.endOfDirectory(handle, cacheToDisc=False)
return
url = "{server}/Sessions"
results = data_manager.get_content(url)
url = "/Sessions"
results = api.get(url)
log.debug("session_info: {0}".format(results))
if results is None:
return
list_items = []
settings = xbmcaddon.Addon()
server = settings.getSetting('server_address')
for session in results:
device_name = session.get("DeviceName", "na")
user_name = session.get("UserName", "na")
@@ -45,10 +50,10 @@ def show_server_sessions():
now_playing = session.get("NowPlayingItem", None)
transcoding_info = session.get("TranscodingInfo", None)
session_info = user_name + " - " + client_name
session_info = "{} - {}".format(user_name, client_name)
user_session_details = ""
percenatge_played = 0
percentage_played = 0
position_ticks = 0
runtime = 0
play_method = "na"
@@ -59,42 +64,54 @@ def show_server_sessions():
art = {}
if now_playing:
server = download_utils.get_server()
art = get_art(now_playing, server)
runtime = now_playing.get("RunTimeTicks", 0)
if position_ticks > 0 and runtime > 0:
percenatge_played = (position_ticks / float(runtime)) * 100.0
percenatge_played = int(percenatge_played)
percentage_played = (position_ticks / float(runtime)) * 100.0
percentage_played = int(percentage_played)
session_info += " (" + now_playing.get("Name", "na") + " " + str(percenatge_played) + "%)"
user_session_details += now_playing.get("Name", "na") + " " + str(percenatge_played) + "%" + "\n"
session_info += " {} {}%".format(
now_playing.get("Name", "na"), percentage_played
)
user_session_details += "{} {}%\n".format(
now_playing.get("Name", "na"), percentage_played
)
else:
session_info += " (idle)"
user_session_details += "Idle" + "\n"
user_session_details += "Idle\n"
transcoding_details = ""
if transcoding_info:
if not transcoding_info.get("IsVideoDirect", None):
transcoding_details += "Video:" + transcoding_info.get("VideoCodec", "") + ":" + str(transcoding_info.get("Width", 0)) + "x" + str(transcoding_info.get("Height", 0)) + "\n"
transcoding_details += "Video:{}:{}x{}\n".format(
transcoding_info.get("VideoCodec", ""),
transcoding_info.get("Width", 0),
transcoding_info.get("Height", 0)
)
else:
transcoding_details += "Video:direct\n"
if not transcoding_info.get("IsAudioDirect", None):
transcoding_details += "Audio:" + transcoding_info.get("AudioCodec", "") + ":" + str(transcoding_info.get("AudioChannels", 0)) + "\n"
transcoding_details += "Audio:{}:{}\n".format(
transcoding_info.get("AudioCodec", ""),
transcoding_info.get("AudioChannels", 0)
)
else:
transcoding_details += "Audio:direct\n"
transcoding_details += "Bitrate:" + str(transcoding_info.get("Bitrate", 0)) + "\n"
transcoding_details += "Bitrate:{}\n".format(
transcoding_info.get("Bitrate", 0)
)
list_item = xbmcgui.ListItem(label=session_info)
list_item.setArt(art)
user_session_details += device_name + "(" + client_version + ")\n"
user_session_details += client_name + "\n"
user_session_details += play_method + "\n"
user_session_details += transcoding_details + "\n"
user_session_details += "{}({})\n".format(device_name, client_version)
user_session_details += "{}\n".format(client_name)
user_session_details += "{}\n".format(play_method)
user_session_details += "{}\n".format(transcoding_details)
info_labels = {}
info_labels["duration"] = str(runtime / 10000000)
@@ -104,7 +121,7 @@ def show_server_sessions():
list_item.setProperty('TotalTime', str(runtime / 10000000))
list_item.setProperty('ResumeTime', str(position_ticks / 10000000))
list_item.setProperty("complete_percentage", str(percenatge_played))
list_item.setProperty("complete_percentage", str(percentage_played))
item_tuple = ("", list_item, False)
list_items.append(item_tuple)

View File

@@ -1,5 +1,6 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import os
import xml.etree.ElementTree as ET
@@ -9,19 +10,21 @@ import xbmcgui
import xbmcvfs
from .jsonrpc import JsonRpc, get_value, set_value
from .loghandler import LazyLogger
from .lazylogger import LazyLogger
from .utils import translate_path, kodi_version
log = LazyLogger(__name__)
ver = xbmc.getInfoLabel('System.BuildVersion')[:2]
def clone_default_skin():
xbmc.executebuiltin("Dialog.Close(all,true)")
xbmc.executebuiltin("ActivateWindow(Home)")
response = xbmcgui.Dialog().yesno("JellyCon Skin Cloner",
"This will clone the default Estuary Kodi skin and add JellyCon functionality to it.",
"Do you want to continue?")
response = xbmcgui.Dialog().yesno(
"JellyCon Skin Cloner",
("This will clone the default Estuary Kodi skin and"
"add JellyCon functionality to it."),
"Do you want to continue?")
if not response:
return
@@ -49,7 +52,7 @@ def walk_path(root_path, relative_path, all_files):
def clone_skin():
log.debug("Cloning Estuary Skin")
kodi_path = xbmc.translatePath("special://xbmc")
kodi_path = translate_path("special://xbmc")
kodi_skin_source = os.path.join(kodi_path, "addons", "skin.estuary")
log.debug("Kodi Skin Source: {0}".format(kodi_skin_source))
@@ -61,8 +64,10 @@ def clone_skin():
for found in all_files:
log.debug("Found Path: {0}".format(found))
kodi_home_path = xbmc.translatePath("special://home")
kodi_skin_destination = os.path.join(kodi_home_path, "addons", "skin.estuary_jellycon")
kodi_home_path = translate_path("special://home")
kodi_skin_destination = os.path.join(
kodi_home_path, "addons", "skin.estuary_jellycon"
)
log.debug("Kodi Skin Destination: {0}".format(kodi_skin_destination))
# copy all skin files (clone)
@@ -70,7 +75,7 @@ def clone_skin():
total = len(all_files)
for skin_file in all_files:
percentage_done = int(float(count) / float(total) * 100.0)
pdialog.update(percentage_done, "%s" % skin_file)
pdialog.update(percentage_done, skin_file)
source = os.path.join(kodi_skin_source, skin_file)
destination = os.path.join(kodi_skin_destination, skin_file)
@@ -89,9 +94,11 @@ def clone_skin():
addon_tree.write(addon_xml_path)
# get jellycon path
jellycon_path = os.path.join(kodi_home_path, "addons", "plugin.video.jellycon")
jellycon_path = os.path.join(
kodi_home_path, "addons", "plugin.video.jellycon"
)
log.debug("Major Version: {0}".format(ver))
log.debug("Major Version: {0}".format(kodi_version()))
file_list = ["Home.xml",
"Includes_Home.xml",
@@ -101,7 +108,10 @@ def clone_skin():
# Copy customized skin files from our addon into cloned skin
for file_name in file_list:
source = os.path.join(jellycon_path, "resources", "skins", "skin.estuary", ver, "xml", file_name)
source = os.path.join(
jellycon_path, "resources", "skins", "skin.estuary",
str(kodi_version), "xml", file_name
)
destination = os.path.join(kodi_skin_destination, "xml", file_name)
xbmcvfs.copy(source, destination)
@@ -110,7 +120,10 @@ def clone_skin():
pdialog.close()
del pdialog
response = xbmcgui.Dialog().yesno("JellyCon Skin Cloner", "Do you want to switch to the new cloned skin?")
response = xbmcgui.Dialog().yesno(
"JellyCon Skin Cloner",
"Do you want to switch to the new cloned skin?"
)
if not response:
return
@@ -121,16 +134,19 @@ def clone_skin():
result = JsonRpc('Addons.SetAddonEnabled').execute(params)
log.debug("Addons.SetAddonEnabled : {0}".format(result))
log.debug("SkinCloner : Current Skin : " + get_value("lookandfeel.skin"))
log.debug("SkinCloner : Current Skin : {}".format(
get_value("lookandfeel.skin"))
)
set_result = set_value("lookandfeel.skin", "skin.estuary_jellycon")
log.debug("Save Setting : lookandfeel.skin : {0}".format(set_result))
log.debug("SkinCloner : Current Skin : " + get_value("lookandfeel.skin"))
log.debug("SkinCloner : Current Skin : {}".format(
get_value("lookandfeel.skin"))
)
def update_kodi_settings():
log.debug("Settings Kodi Settings")
# set_value("screensaver.mode", "script.screensaver.logoff")
set_value("videoplayer.seekdelay", 0)
set_value("filelists.showparentdiritems", False)
set_value("filelists.showaddsourcebuttons", False)

View File

@@ -1,10 +1,12 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import sys
import functools
import time
from .loghandler import LazyLogger
from .lazylogger import LazyLogger
log = LazyLogger(__name__)
@@ -28,6 +30,8 @@ def timer(func):
data = args[1]
elif func.__name__ == "main_entry_point" and len(sys.argv) > 2:
data = sys.argv[2]
log.info("timing_data|{0}|{1}|{2}|{3}".format(func.__name__, started, ended, data))
log.info("timing_data|{0}|{1}|{2}|{3}".format(
func.__name__, started, ended, data)
)
return value
return wrapper

View File

@@ -1,249 +0,0 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
from six.moves.urllib.parse import quote, unquote
import encodings
import xbmc
import xbmcgui
from .loghandler import LazyLogger
from .datamanager import DataManager
from .translation import string_load
log = LazyLogger(__name__)
dataManager = DataManager()
details_string = 'EpisodeCount,SeasonCount,Path,Etag,MediaStreams'
icon = xbmc.translatePath('special://home/addons/plugin.video.jellycon/icon.png')
def not_found(content_string):
xbmcgui.Dialog().notification('JellyCon', '{}: {}'.format(string_load(30305), content_string), icon=icon, sound=False)
def playback_starting(content_string):
xbmcgui.Dialog().notification('JellyCon', '{}: {}'.format(string_load(30306), content_string), icon=icon, sound=False)
def search(item_type, query):
content_url = ('{server}/Search/Hints?searchTerm=' + query +
'&IncludeItemTypes=' + item_type +
'&UserId={userid}'
'&StartIndex=0' +
'&Limit=25' +
'&IncludePeople=false&IncludeMedia=true&IncludeGenres=false&IncludeStudios=false&IncludeArtists=false')
result = dataManager.get_content(content_url)
return result
def get_items(video_type, item_id=None, parent_id=None):
content_url = None
result = dict()
if video_type == 'season':
content_url = ('{server}/Shows/' + item_id +
'/Seasons'
'?userId={userid}' +
'&Fields=' + details_string +
'&format=json')
elif video_type == 'movie' or video_type == 'episode':
content_url = ('{server}/Users/{userid}/items' +
'?ParentId=' + parent_id +
'&IsVirtualUnAired=false' +
'&IsMissing=false' +
'&Fields=' + details_string +
'&format=json')
if content_url:
result = dataManager.get_content(content_url)
return result
def get_item(item_id):
result = dataManager.get_content('{server}/Users/{userid}/Items/' + item_id + '?Fields=ProviderIds&format=json')
return result
def get_imdb_id(item_id):
item = get_item(item_id)
imdb = item.get('ProviderIds', {}).get('Imdb')
return imdb
def get_season_id(parent_id, season):
season_items = get_items('season', parent_id)
season_items = season_items.get('Items')
if season_items is None:
season_items = []
for season_item in season_items:
if season_item.get('IndexNumber') == int(season):
season_id = season_item.get('Id')
return season_id
return None
def get_episode_id(parent_id, episode):
episode_items = get_items('episode', parent_id=parent_id)
episode_items = episode_items.get('Items')
if episode_items is None:
episode_items = []
for episode_item in episode_items:
if episode_item.get('IndexNumber') == int(episode):
episode_id = episode_item.get('Id')
return episode_id
return None
def get_match(item_type, title, year, imdb_id):
query = quote(title)
results = search(item_type, query=query)
results = results.get('SearchHints')
if results is None:
results = []
log.debug('SearchHints jsonData: {0}'.format(results))
potential_matches = []
for item in results:
name = item.get('Name')
production_year = item.get('ProductionYear')
if (name == title and int(year) == production_year) or (int(year) == production_year):
potential_matches.append(item)
log.debug('Potential matches: {0}'.format(potential_matches))
for item in potential_matches:
item_imdb_id = get_imdb_id(item.get('ItemId'))
if item_imdb_id == imdb_id:
log.debug('Found match: {0}'.format(item))
return item
return None
def entry_point(parameters):
item_type = None
action = parameters.get('action', None)
video_type = parameters.get('video_type', None)
title = unquote(parameters.get('title', ''))
year = parameters.get('year', '')
episode = parameters.get('episode', '')
season = parameters.get('season', '')
imdb_id = parameters.get('imdb_id', '')
if video_type == 'show' or video_type == 'season' or video_type == 'episode':
item_type = 'Series'
elif video_type == 'movie':
item_type = 'Movie'
if not item_type:
return
match = get_match(item_type, title, year, imdb_id)
if not match:
title_search_word = ''
title_words = title.split(' ')
for word in title_words:
if len(word) > len(title_search_word):
title_search_word = word
title_search_word = title_search_word.replace(':', '')
if title_search_word:
match = get_match(item_type, title_search_word, year, imdb_id)
str_season = str(season)
if len(str_season) == 1:
str_season = '0' + str_season
str_episode = str(episode)
if len(str_episode) == 1:
str_episode = '0' + str_episode
if action == 'play':
play_item_id = None
if video_type == 'movie':
if match:
play_item_id = match.get('ItemId')
if not play_item_id:
not_found('{title} ({year})'.format(title=title, year=year))
elif video_type == 'episode':
if not season or not episode:
return
if match:
item_id = match.get('ItemId')
season_id = get_season_id(item_id, season)
if season_id:
episode_id = get_episode_id(season_id, episode)
if episode_id:
play_item_id = episode_id
if not play_item_id:
not_found('{title} ({year}) - S{season}E{episode}'.format(title=title, year=year, season=str_season, episode=str_episode))
if play_item_id:
if video_type == 'episode':
playback_starting('{title} ({year}) - S{season}E{episode}'.format(title=title, year=year, season=str_season, episode=str_episode))
else:
playback_starting('{title} ({year})'.format(title=title, year=year))
xbmc.executebuiltin('RunPlugin(plugin://plugin.video.jellycon/?mode=PLAY&item_id={item_id})'.format(item_id=play_item_id))
elif action == 'open':
url = media_type = None
if video_type == 'show':
if match:
item_id = match.get('ItemId')
media_type = 'series'
url = ('{server}/Shows/' + item_id +
'/Seasons'
'?userId={userid}' +
'&Fields=' + details_string +
'&format=json')
if not url:
not_found('{title} ({year})'.format(title=title, year=year))
elif video_type == 'season':
if not season:
return
if match:
item_id = match.get('ItemId')
season_id = get_season_id(item_id, season)
if season_id:
media_type = 'episodes'
url = ('{server}/Users/{userid}/items' +
'?ParentId=' + season_id +
'&IsVirtualUnAired=false' +
'&IsMissing=false' +
'&Fields=' + details_string +
'&format=json')
if not url:
not_found('{title} ({year}) - S{season}'.format(title=title, year=year, season=str_season))
if url and media_type:
xbmc.executebuiltin('ActivateWindow(Videos, plugin://plugin.video.jellycon/?mode=GET_CONTENT&url={url}&media_type={media_type})'.format(url=quote(url), media_type=media_type))

View File

@@ -1,16 +0,0 @@
from __future__ import division, absolute_import, print_function, unicode_literals
import xbmcaddon
from .loghandler import LazyLogger
from kodi_six.utils import py2_encode
log = LazyLogger(__name__)
addon = xbmcaddon.Addon()
def string_load(string_id):
try:
return py2_encode(addon.getLocalizedString(string_id))
except Exception as e:
log.error('Failed String Load: {0} ({1})', string_id, e)
return str(string_id)

View File

@@ -1,189 +1,60 @@
# Gnu General Public License - see LICENSE.TXT
from __future__ import division, absolute_import, print_function, unicode_literals
import xbmcaddon
import xbmc
import xbmcvfs
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import sys
import binascii
import string
import random
import json
import base64
import time
import math
from datetime import datetime
import calendar
import os
import hashlib
import re
from datetime import datetime
from uuid import uuid4
import requests
from dateutil import tz
import xbmcaddon
import xbmc
import xbmcvfs
from kodi_six.utils import py2_encode, py2_decode
from six import ensure_text, ensure_binary, text_type
from six.moves.urllib.parse import urlencode
from .downloadutils import DownloadUtils
from .loghandler import LazyLogger
from .clientinfo import ClientInformation
from .lazylogger import LazyLogger
from .kodi_utils import HomeWindow
# hack to get datetime strptime loaded
throwaway = time.strptime('20110101', '%Y%m%d')
# define our global download utils
downloadUtils = DownloadUtils()
log = LazyLogger(__name__)
def get_jellyfin_url(base_url, params):
def kodi_version():
# Kodistubs returns empty string, causing Python 3 tests to choke on int()
# TODO: Make Kodistubs version configurable for testing purposes
if sys.version_info.major == 2:
default_versionstring = "18"
else:
default_versionstring = "19.1 (19.1.0) Git:20210509-85e05228b4"
version_string = xbmc.getInfoLabel(
'System.BuildVersion') or default_versionstring
return int(version_string.split(' ', 1)[0].split('.', 1)[0])
def get_jellyfin_url(path, params):
params["format"] = "json"
url_params = urlencode(params)
# Filthy hack until I get around to reworking the network flow
# It relies on {thing} strings in downloadutils.py
url_params = url_params.replace('%7B', '{').replace('%7D', '}')
return base_url + "?" + url_params
###########################################################################
class PlayUtils:
@staticmethod
def get_play_url(media_source, play_session_id):
log.debug("get_play_url - media_source: {0}", media_source)
# check if strm file Container
if media_source.get('Container') == 'strm':
log.debug("Detected STRM Container")
playurl, listitem_props = PlayUtils().get_strm_details(media_source)
if playurl is None:
log.debug("Error, no strm content")
return None, None, None
else:
return playurl, "0", listitem_props
# get all the options
addon_settings = xbmcaddon.Addon()
server = downloadUtils.get_server()
use_https = addon_settings.getSetting('protocol') == "1"
verify_cert = addon_settings.getSetting('verify_cert') == 'true'
allow_direct_file_play = addon_settings.getSetting('allow_direct_file_play') == 'true'
can_direct_play = media_source["SupportsDirectPlay"]
can_direct_stream = media_source["SupportsDirectStream"]
can_transcode = media_source["SupportsTranscoding"]
container = media_source["Container"]
playurl = None
playback_type = None
# check if file can be directly played
if allow_direct_file_play and can_direct_play:
direct_path = media_source["Path"]
direct_path = direct_path.replace("\\", "/")
direct_path = direct_path.strip()
# handle DVD structure
if container == "dvd":
direct_path = direct_path + "/VIDEO_TS/VIDEO_TS.IFO"
elif container == "bluray":
direct_path = direct_path + "/BDMV/index.bdmv"
if direct_path.startswith("//"):
direct_path = "smb://" + direct_path[2:]
log.debug("playback_direct_path: {0}".format(direct_path))
if xbmcvfs.exists(direct_path):
playurl = direct_path
playback_type = "0"
# check if file can be direct streamed
if can_direct_stream and playurl is None:
item_id = media_source.get('Id')
playurl = ("%s/Videos/%s/stream" +
"?static=true" +
"&PlaySessionId=%s" +
"&MediaSourceId=%s")
playurl = playurl % (server, item_id, play_session_id, item_id)
if use_https and not verify_cert:
playurl += "|verifypeer=false"
playback_type = "1"
# check is file can be transcoded
if can_transcode and playurl is None:
item_id = media_source.get('Id')
client_info = ClientInformation()
device_id = client_info.get_device_id()
user_token = downloadUtils.authenticate()
playback_bitrate = addon_settings.getSetting("force_max_stream_bitrate")
bitrate = int(playback_bitrate) * 1000
playback_max_width = addon_settings.getSetting("playback_max_width")
audio_codec = addon_settings.getSetting("audio_codec")
audio_playback_bitrate = addon_settings.getSetting("audio_playback_bitrate")
audio_bitrate = int(audio_playback_bitrate) * 1000
audio_max_channels = addon_settings.getSetting("audio_max_channels")
playback_video_force_8 = addon_settings.getSetting("playback_video_force_8") == "true"
transcode_params = {
"MediaSourceId": item_id,
"DeviceId": device_id,
"PlaySessionId": play_session_id,
"api_key": user_token,
"SegmentContainer": "ts",
"VideoCodec": "h264",
"VideoBitrate": bitrate,
"MaxWidth": playback_max_width,
"AudioCodec": audio_codec,
"TranscodingMaxAudioChannels": audio_max_channels,
"AudioBitrate": audio_bitrate
}
if playback_video_force_8:
transcode_params.update({"MaxVideoBitDepth": "8"})
transcode_path = urlencode(transcode_params)
playurl = "%s/Videos/%s/master.m3u8?%s" % (server, item_id, transcode_path)
if use_https and not verify_cert:
playurl += "|verifypeer=false"
playback_type = "2"
return playurl, playback_type, []
@staticmethod
def get_strm_details(media_source):
playurl = None
listitem_props = []
contents = media_source.get('Path').encode('utf-8') # contains contents of strm file with linebreaks
line_break = '\r'
if '\r\n' in contents:
line_break = '\r\n'
elif '\n' in contents:
line_break = '\n'
lines = contents.split(line_break)
for line in lines:
line = line.strip()
log.debug("STRM Line: {0}".format(line))
if line.startswith('#KODIPROP:'):
match = re.search('#KODIPROP:(?P<item_property>[^=]+?)=(?P<property_value>.+)', line)
if match:
item_property = match.group('item_property')
property_value = match.group('property_value')
log.debug("STRM property found: {0} value: {1}".format(item_property, property_value))
listitem_props.append((item_property, property_value))
else:
log.debug("STRM #KODIPROP incorrect format")
elif line.startswith('#'):
# unrecognized, treat as comment
log.debug("STRM unrecognized line identifier, ignored")
elif line != '':
playurl = line
log.debug("STRM playback url found")
log.debug("Playback URL: {0} ListItem Properties: {1}".format(playurl, listitem_props))
return playurl, listitem_props
return '{}?{}'.format(path, url_params)
def get_checksum(item):
userdata = item['UserData']
checksum = "%s_%s_%s_%s_%s_%s_%s" % (
checksum = "{}_{}_{}_{}_{}_{}_{}".format(
item['Etag'],
userdata['Played'],
userdata['IsFavorite'],
@@ -196,98 +67,10 @@ def get_checksum(item):
return checksum
def get_art(item, server):
art = {
'thumb': '',
'fanart': '',
'poster': '',
'banner': '',
'clearlogo': '',
'clearart': '',
'discart': '',
'landscape': '',
'tvshow.fanart': '',
'tvshow.poster': '',
'tvshow.clearart': '',
'tvshow.clearlogo': '',
'tvshow.banner': '',
'tvshow.landscape': ''
}
image_tags = item.get("ImageTags", {})
if image_tags and image_tags.get("Primary"):
art['thumb'] = downloadUtils.get_artwork(item, "Primary", server=server)
item_type = item["Type"]
if item_type == "Genre":
art['poster'] = downloadUtils.get_artwork(item, "Primary", server=server)
elif item_type == "Episode":
art['tvshow.poster'] = downloadUtils.get_artwork(item, "Primary", parent=True, server=server)
art['tvshow.clearart'] = downloadUtils.get_artwork(item, "Art", parent=True, server=server)
art['clearart'] = downloadUtils.get_artwork(item, "Art", parent=True, server=server)
art['tvshow.clearlogo'] = downloadUtils.get_artwork(item, "Logo", parent=True, server=server)
art['clearlogo'] = downloadUtils.get_artwork(item, "Logo", parent=True, server=server)
art['tvshow.banner'] = downloadUtils.get_artwork(item, "Banner", parent=True, server=server)
art['banner'] = downloadUtils.get_artwork(item, "Banner", parent=True, server=server)
art['tvshow.landscape'] = downloadUtils.get_artwork(item, "Thumb", parent=True, server=server)
art['landscape'] = downloadUtils.get_artwork(item, "Thumb", parent=True, server=server)
art['tvshow.fanart'] = downloadUtils.get_artwork(item, "Backdrop", parent=True, server=server)
art['fanart'] = downloadUtils.get_artwork(item, "Backdrop", parent=True, server=server)
elif item_type == "Season":
art['tvshow.poster'] = downloadUtils.get_artwork(item, "Primary", parent=True, server=server)
art['season.poster'] = downloadUtils.get_artwork(item, "Primary", parent=False, server=server)
art['poster'] = downloadUtils.get_artwork(item, "Primary", parent=False, server=server)
art['tvshow.clearart'] = downloadUtils.get_artwork(item, "Art", parent=True, server=server)
art['clearart'] = downloadUtils.get_artwork(item, "Art", parent=True, server=server)
art['tvshow.clearlogo'] = downloadUtils.get_artwork(item, "Logo", parent=True, server=server)
art['clearlogo'] = downloadUtils.get_artwork(item, "Logo", parent=True, server=server)
art['tvshow.banner'] = downloadUtils.get_artwork(item, "Banner", parent=True, server=server)
art['season.banner'] = downloadUtils.get_artwork(item, "Banner", parent=False, server=server)
art['banner'] = downloadUtils.get_artwork(item, "Banner", parent=False, server=server)
art['tvshow.landscape'] = downloadUtils.get_artwork(item, "Thumb", parent=True, server=server)
art['season.landscape'] = downloadUtils.get_artwork(item, "Thumb", parent=False, server=server)
art['landscape'] = downloadUtils.get_artwork(item, "Thumb", parent=False, server=server)
art['tvshow.fanart'] = downloadUtils.get_artwork(item, "Backdrop", parent=True, server=server)
art['fanart'] = downloadUtils.get_artwork(item, "Backdrop", parent=True, server=server)
elif item_type == "Series":
art['tvshow.poster'] = downloadUtils.get_artwork(item, "Primary", parent=False, server=server)
art['poster'] = downloadUtils.get_artwork(item, "Primary", parent=False, server=server)
art['tvshow.clearart'] = downloadUtils.get_artwork(item, "Art", parent=False, server=server)
art['clearart'] = downloadUtils.get_artwork(item, "Art", parent=False, server=server)
art['tvshow.clearlogo'] = downloadUtils.get_artwork(item, "Logo", parent=False, server=server)
art['clearlogo'] = downloadUtils.get_artwork(item, "Logo", parent=False, server=server)
art['tvshow.banner'] = downloadUtils.get_artwork(item, "Banner", parent=False, server=server)
art['banner'] = downloadUtils.get_artwork(item, "Banner", parent=False, server=server)
art['tvshow.landscape'] = downloadUtils.get_artwork(item, "Thumb", parent=False, server=server)
art['landscape'] = downloadUtils.get_artwork(item, "Thumb", parent=False, server=server)
art['tvshow.fanart'] = downloadUtils.get_artwork(item, "Backdrop", parent=False, server=server)
art['fanart'] = downloadUtils.get_artwork(item, "Backdrop", parent=False, server=server)
elif item_type == "Movie" or item_type == "BoxSet":
art['poster'] = downloadUtils.get_artwork(item, "Primary", server=server)
art['landscape'] = downloadUtils.get_artwork(item, "Thumb", server=server)
art['banner'] = downloadUtils.get_artwork(item, "Banner", server=server)
art['clearlogo'] = downloadUtils.get_artwork(item, "Logo", server=server)
art['clearart'] = downloadUtils.get_artwork(item, "Art", server=server)
art['discart'] = downloadUtils.get_artwork(item, "Disc", server=server)
art['fanart'] = downloadUtils.get_artwork(item, "Backdrop", server=server)
if not art['fanart']:
art['fanart'] = downloadUtils.get_artwork(item, "Backdrop", parent=True, server=server)
return art
def id_generator(size=6, chars=string.ascii_uppercase + string.digits):
return ''.join(random.choice(chars) for _ in range(size))
def double_urlencode(text):
text = single_urlencode(text)
text = single_urlencode(text)
return text
def single_urlencode(text):
# urlencode needs a utf- string
text = urlencode({'blahblahblah': text.encode('utf-8')})
@@ -295,30 +78,60 @@ def single_urlencode(text):
return text.decode('utf-8') # return the result again as unicode
def send_event_notification(method, data):
message_data = json.dumps(data)
source_id = "jellycon"
base64_data = base64.b64encode(message_data.encode())
escaped_data = '\\"[\\"{0}\\"]\\"'.format(base64_data)
command = 'XBMC.NotifyAll({0}.SIGNAL,{1},{2})'.format(source_id, method, escaped_data)
log.debug("Sending notification event data: {0}".format(command))
xbmc.executebuiltin(command)
def send_event_notification(method, data=None, hexlify=False):
'''
Send events through Kodi's notification system
'''
data = data or {}
data_str = json.dumps(data)
if hexlify:
# Used exclusively for the upnext plugin
data_str = ensure_text(binascii.hexlify(ensure_binary(data_str)))
data = '["{}"]'.format(data_str)
else:
data = '"[{}]"'.format(data_str.replace('"', '\\"'))
sender = 'plugin.video.jellycon'
xbmc.executebuiltin('NotifyAll({}, {}, {})'.format(sender, method, data))
def datetime_from_string(time_string):
# Builtin python library can't handle ISO-8601 well. Make it compatible
if time_string[-1:] == "Z":
time_string = re.sub("[0-9]{1}Z", " UTC", time_string)
elif time_string[-6:] == "+00:00":
time_string = re.sub("[0-9]{1}\+00:00", " UTC", time_string)
log.debug("New Time String : {0}".format(time_string))
time_string = re.sub(
"[0-9]{1}\+00:00", " UTC", time_string # noqa: W605
)
start_time = time.strptime(time_string, "%Y-%m-%dT%H:%M:%S.%f %Z")
dt = datetime(*(start_time[0:6]))
timestamp = calendar.timegm(dt.timetuple())
local_dt = datetime.fromtimestamp(timestamp)
local_dt.replace(microsecond=dt.microsecond)
return local_dt
try:
dt = datetime.strptime(time_string, "%Y-%m-%dT%H:%M:%S.%f %Z")
except TypeError:
# https://bugs.python.org/issue27400
dt = datetime(*(
time.strptime(time_string, "%Y-%m-%dT%H:%M:%S.%f %Z")[0:6])
)
"""
Dates received from the server are in UTC, but parsing them results
in naive objects
"""
utc = tz.tzutc()
utc_dt = dt.replace(tzinfo=utc)
return utc_dt
def get_current_datetime():
# Get current time in UTC
now = datetime.utcnow()
utc = tz.tzutc()
now_dt = now.replace(tzinfo=utc)
return now_dt
def convert_size(size_bytes):
@@ -328,4 +141,326 @@ def convert_size(size_bytes):
i = int(math.floor(math.log(size_bytes, 1024)))
p = math.pow(1024, i)
s = round(size_bytes / p, 2)
return "%s %s" % (s, size_name[i])
return "{} {}".format(s, size_name[i])
def translate_string(string_id):
try:
addon = xbmcaddon.Addon()
return py2_encode(addon.getLocalizedString(string_id))
except Exception as e:
log.error('Failed String Load: {0} ({1})', string_id, e)
return str(string_id)
def get_device_id():
window = HomeWindow()
username = window.get_property('user_name')
client_id = window.get_property("client_id")
hashed_name = hashlib.md5(username.encode()).hexdigest()
if client_id and username:
return '{}-{}'.format(client_id, hashed_name)
elif client_id and not username:
# Quick Connect, needs to be unique so sessions don't overwrite
rand_id = uuid4().hex
return '{}-{}'.format(client_id, rand_id)
jellyfin_guid_path = py2_decode(
translate_path("special://temp/jellycon_guid")
)
log.debug("jellyfin_guid_path: {0}".format(jellyfin_guid_path))
guid = xbmcvfs.File(jellyfin_guid_path)
client_id = guid.read()
guid.close()
if not client_id:
client_id = uuid4().hex
log.debug("Generating a new guid: {0}".format(client_id))
guid = xbmcvfs.File(jellyfin_guid_path, 'w')
guid.write(client_id)
guid.close()
log.debug("jellyfin_client_id (NEW): {0}".format(client_id))
else:
log.debug("jellyfin_client_id: {0}".format(client_id))
window.set_property("client_id", client_id)
return '{}-{}'.format(client_id, hashed_name)
def get_version():
addon = xbmcaddon.Addon()
version = addon.getAddonInfo("version")
return version
def save_user_details(user_name, user_id, token):
settings = xbmcaddon.Addon()
save_user_to_settings = settings.getSetting(
'save_user_to_settings') == 'true'
addon_data = translate_path(xbmcaddon.Addon().getAddonInfo('profile'))
# Save to a config file for reference later if desired
if save_user_to_settings:
try:
with open(os.path.join(addon_data, 'auth.json'), 'rb') as infile:
auth_data = json.load(infile)
except: # noqa
# File doesn't exist or is empty
auth_data = {}
auth_data[user_name] = {
'user_id': user_id,
'token': token
}
with open(os.path.join(addon_data, 'auth.json'), 'wb') as outfile:
data = json.dumps(
auth_data, sort_keys=True, indent=4, ensure_ascii=False)
if isinstance(data, text_type):
data = data.encode('utf-8')
outfile.write(data)
# Make the username available for easy lookup
window = HomeWindow()
settings.setSetting('username', user_name)
window.set_property('user_name', user_name)
def load_user_details():
settings = xbmcaddon.Addon()
window = HomeWindow()
# Check current variables first, then check settings
user_name = window.get_property('user_name')
if not user_name:
user_name = settings.getSetting('username')
save_user = settings.getSetting('save_user_to_settings') == 'true'
addon_data = translate_path(xbmcaddon.Addon().getAddonInfo('profile'))
if save_user:
try:
with open(os.path.join(addon_data, 'auth.json'), 'rb') as infile:
auth_data = json.load(infile)
except: # noqa
# File doesn't exist yet
return {}
user_data = auth_data.get(user_name, {})
# User doesn't exist yet
if not user_data:
return {}
user_id = user_data.get('user_id')
auth_token = user_data.get('token')
# Payload to return to calling function
user_details = {}
user_details['user_name'] = user_name
user_details['user_id'] = user_id
user_details['token'] = auth_token
return user_details
else:
return {}
def get_saved_users():
settings = xbmcaddon.Addon()
save_user = settings.getSetting('save_user_to_settings') == 'true'
addon_data = translate_path(xbmcaddon.Addon().getAddonInfo('profile'))
if not save_user:
return []
try:
with open(os.path.join(addon_data, 'auth.json'), 'rb') as infile:
auth_data = json.load(infile)
except: # noqa
# File doesn't exist yet
return []
users = []
for user, values in auth_data.items():
users.append(
{
'Name': user,
'Id': values.get('user_id'),
# We need something here for the listitem function
'Configuration': {'Dummy': True}
}
)
return users
def get_current_user_id():
user_details = load_user_details()
user_id = user_details.get('user_id')
return user_id
def get_art_url(data, art_type, parent=False, index=0, server=None):
item_id = data["Id"]
item_type = data["Type"]
if item_type in ["Episode", "Season"]:
if art_type != "Primary" or parent is True:
item_id = data["SeriesId"]
image_tag = ""
# for episodes always use the parent BG
if item_type == "Episode" and art_type == "Backdrop":
item_id = data.get("ParentBackdropItemId")
bg_item_tags = data.get("ParentBackdropImageTags", [])
if bg_item_tags:
image_tag = bg_item_tags[0]
elif art_type == "Backdrop" and parent is True:
item_id = data.get("ParentBackdropItemId")
bg_item_tags = data.get("ParentBackdropImageTags", [])
if bg_item_tags:
image_tag = bg_item_tags[0]
elif art_type == "Backdrop":
bg_tags = data.get("BackdropImageTags", [])
if bg_tags:
image_tag = bg_tags[index]
elif parent is False:
image_tags = data.get("ImageTags", [])
if image_tags:
image_tag_type = image_tags.get(art_type)
if image_tag_type:
image_tag = image_tag_type
elif parent is True:
if ((item_type == "Episode" or item_type == "Season") and
art_type == 'Primary'):
tag_name = 'SeriesPrimaryImageTag'
id_name = 'SeriesId'
else:
tag_name = 'Parent{}ImageTag'.format(art_type)
id_name = 'Parent{}ItemId'.format(art_type)
parent_image_id = data.get(id_name)
parent_image_tag = data.get(tag_name)
if parent_image_id is not None and parent_image_tag is not None:
item_id = parent_image_id
image_tag = parent_image_tag
# ParentTag not passed for Banner and Art
if (not image_tag and
not ((art_type == 'Banner' or art_type == 'Art') and
parent is True)):
return ""
artwork = "{}/Items/{}/Images/{}/{}?Format=original&Tag={}".format(
server, item_id, art_type, index, image_tag)
return artwork
def image_url(item_id, art_type, index, width, height, image_tag, server):
# test imageTag e3ab56fe27d389446754d0fb04910a34
artwork = "{}/Items/{}/Images/{}/{}?Format=original&Tag={}".format(
server, item_id, art_type, index, image_tag
)
if int(width) > 0:
artwork += '&MaxWidth={}'.format(width)
if int(height) > 0:
artwork += '&MaxHeight={}'.format(height)
return artwork
def get_default_filters():
addon_settings = xbmcaddon.Addon()
include_media = addon_settings.getSetting("include_media") == "true"
include_people = addon_settings.getSetting("include_people") == "true"
include_overview = addon_settings.getSetting("include_overview") == "true"
filer_list = [
"DateCreated",
"EpisodeCount",
"SeasonCount",
"Path",
"Genres",
"Studios",
"Etag",
"Taglines",
"SortName",
"RecursiveItemCount",
"ChildCount",
"ProductionLocations",
"CriticRating",
"OfficialRating",
"CommunityRating",
"PremiereDate",
"ProductionYear",
"AirTime",
"Status",
"Tags"
]
if include_media:
filer_list.append("MediaStreams")
if include_people:
filer_list.append("People")
if include_overview:
filer_list.append("Overview")
return ','.join(filer_list)
def translate_path(path):
'''
Use new library location for translate path starting in Kodi 19
'''
version = kodi_version()
if version > 18:
return xbmcvfs.translatePath(path)
else:
return xbmc.translatePath(path)
def download_external_sub(language, codec, url, title):
addon_settings = xbmcaddon.Addon()
verify_cert = addon_settings.getSetting('verify_cert') == 'true'
# Download the subtitle file
r = requests.get(url, verify=verify_cert)
r.raise_for_status()
# Write the subtitle file to the local filesystem
file_name = 'Stream.{}.{}.{}'.format(title, language, codec)
file_path = py2_decode(
translate_path('special://temp/{}'.format(file_name))
)
with open(file_path, 'wb') as f:
f.write(r.content)
return file_path
def get_bitrate(enum_value):
''' Get the video quality based on add-on settings.
Max bit rate supported by server: 2147483 (max signed 32bit integer)
'''
bitrate = [500, 1000, 1500, 2000, 2500, 3000, 4000, 5000, 6000,
7000, 8000, 9000, 10000, 12000, 14000, 16000, 18000,
20000, 25000, 30000, 35000, 40000, 100000, 1000000, 2147483]
return bitrate[int(enum_value) if enum_value else 24] * 1000
def get_filtered_items_count_text():
settings = xbmcaddon.Addon()
if settings.getSetting("hide_x_filtered_items_count") == 'true' :
return ""
else:
return " (" + settings.getSetting("show_x_filtered_items") + ")"
def seconds_to_ticks(seconds:float):
return seconds * 10000000
def ticks_to_seconds(ticks:int):
return round(ticks / 10000000, 1)

View File

@@ -1,21 +1,22 @@
# -*- coding: utf-8 -*-
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
#################################################################################################
from __future__ import division, absolute_import, print_function, unicode_literals
import json
import threading
import websocket
import time
import xbmc
import xbmcaddon
import xbmcgui
import websocket
from .jellyfin import API
from .functions import play_action
from .loghandler import LazyLogger
from . import clientinfo
from . import downloadutils
from .lazylogger import LazyLogger
from .jsonrpc import JsonRpc
from .kodi_utils import HomeWindow
from .utils import get_device_id, load_user_details
log = LazyLogger(__name__)
@@ -32,9 +33,9 @@ class WebSocketClient(threading.Thread):
self.__dict__ = self._shared_state
self.monitor = xbmc.Monitor()
self.retry_count = 0
self.client_info = clientinfo.ClientInformation()
self.device_id = self.client_info.get_device_id()
self.device_id = get_device_id()
self._library_monitor = library_change_monitor
@@ -104,7 +105,6 @@ class WebSocketClient(threading.Thread):
params["audio_stream_index"] = audio_stream_index
play_action(params)
def _playstate(self, data):
command = data['Command']
@@ -157,7 +157,9 @@ class WebSocketClient(threading.Thread):
elif command == 'SetVolume':
volume = arguments['Volume']
xbmc.executebuiltin('SetVolume(%s[,showvolumebar])' % volume)
xbmc.executebuiltin(
'SetVolume({}[,showvolumebar])'.format(volume)
)
elif command == 'SetAudioStreamIndex':
index = int(arguments['Index'])
@@ -169,7 +171,7 @@ class WebSocketClient(threading.Thread):
elif command == 'SetRepeatMode':
mode = arguments['RepeatMode']
xbmc.executebuiltin('xbmc.PlayerControl(%s)' % mode)
xbmc.executebuiltin('xbmc.PlayerControl({})'.format(mode))
elif command == 'DisplayMessage':
@@ -227,11 +229,9 @@ class WebSocketClient(threading.Thread):
if command in builtin:
xbmc.executebuiltin(builtin[command])
def on_close(self, ws):
log.debug("Closed")
def on_open(self, ws):
log.debug("Connected")
self.retry_count = 0
self.post_capabilities()
def on_error(self, ws, error):
@@ -239,37 +239,37 @@ class WebSocketClient(threading.Thread):
def run(self):
# websocket.enableTrace(True)
download_utils = downloadutils.DownloadUtils()
token = None
while token is None or token == "":
token = download_utils.authenticate()
user_details = load_user_details()
token = user_details.get('token')
if self.monitor.waitForAbort(10):
return
# Get the appropriate prefix for the websocket
server = download_utils.get_server()
if "https" in server:
server = server.replace('https', "wss")
settings = xbmcaddon.Addon()
server = settings.getSetting('server_address')
if "https://" in server:
server = server.replace('https://', 'wss://')
else:
server = server.replace('http', "ws")
server = server.replace('http://', 'ws://')
websocket_url = "%s/socket?api_key=%s&deviceId=%s" % (server, token, self.device_id)
websocket_url = "{}/socket?api_key={}&deviceId={}".format(
server, token, self.device_id
)
log.debug("websocket url: {0}".format(websocket_url))
self._client = websocket.WebSocketApp(
websocket_url,
on_open=lambda ws, message: self.on_open(ws),
on_open=lambda ws: self.on_open(ws),
on_message=lambda ws, message: self.on_message(ws, message),
on_error=lambda ws, error: self.on_error(ws, error),
on_close=lambda ws, error: self.on_close(ws))
on_error=lambda ws, error: self.on_error(ws, error))
log.debug("Starting WebSocketClient")
while not self.monitor.abortRequested():
self._client.run_forever(ping_interval=10)
self._client.run_forever(ping_interval=5, reconnect=13, ping_timeout=2)
if self._stop_websocket:
break
@@ -278,6 +278,8 @@ class WebSocketClient(threading.Thread):
# Abort was requested, exit
break
if self.retry_count < 12:
self.retry_count += 1
log.debug("Reconnecting WebSocket")
log.debug("WebSocketClient Stopped")
@@ -291,5 +293,13 @@ class WebSocketClient(threading.Thread):
def post_capabilities(self):
download_utils = downloadutils.DownloadUtils()
download_utils.post_capabilities()
settings = xbmcaddon.Addon()
user_details = load_user_details()
api = API(
settings.getSetting('server_address'),
user_details.get('user_id'),
user_details.get('token')
)
api.post_capabilities()

View File

@@ -1,25 +1,27 @@
from __future__ import division, absolute_import, print_function, unicode_literals
from __future__ import (
division, absolute_import, print_function, unicode_literals
)
import hashlib
import random
import time
import datetime
import xbmcaddon
import xbmcplugin
import xbmcgui
import xbmc
import hashlib
import random
import time
from .downloadutils import DownloadUtils
from .utils import get_jellyfin_url
from .datamanager import DataManager
from .loghandler import LazyLogger
from .jellyfin import api
from .utils import (
get_jellyfin_url, image_url, get_current_user_id,
get_art_url, get_default_filters
)
from .lazylogger import LazyLogger
from .kodi_utils import HomeWindow
from .dir_functions import process_directory
from .tracking import timer
log = LazyLogger(__name__)
downloadUtils = DownloadUtils()
dataManager = DataManager()
kodi_version = int(xbmc.getInfoLabel('System.BuildVersion')[:2])
background_items = []
background_current_item = 0
@@ -30,20 +32,22 @@ def set_random_movies():
log.debug("set_random_movies Called")
settings = xbmcaddon.Addon()
item_limit = settings.getSetting("show_x_filtered_items")
hide_watched = settings.getSetting("hide_watched") == "true"
user_id = get_current_user_id()
url_params = {}
url_params["Recursive"] = True
url_params["limit"] = 20
url_params["limit"] = item_limit
if hide_watched:
url_params["IsPlayed"] = False
url_params["SortBy"] = "Random"
url_params["IncludeItemTypes"] = "Movie"
url_params["ImageTypeLimit"] = 0
url = get_jellyfin_url("{server}/Users/{userid}/Items", url_params)
url = get_jellyfin_url("/Users/{}/Items".format(user_id), url_params)
results = downloadUtils.download_url(url, suppress=True)
results = api.get(url)
randon_movies_list = []
if results is not None:
@@ -63,6 +67,85 @@ def set_random_movies():
home_window.set_property("random-movies", movies_list_string)
home_window.set_property("random-movies-changed", new_widget_hash)
@timer
def set_random_tvshows():
log.debug("set_random_tvshows Called")
settings = xbmcaddon.Addon()
item_limit = settings.getSetting("show_x_filtered_items")
hide_watched = settings.getSetting("hide_watched") == "true"
user_id = get_current_user_id()
url_params = {}
url_params["Recursive"] = True
url_params["limit"] = item_limit
if hide_watched:
url_params["IsPlayed"] = False
url_params["SortBy"] = "Random"
url_params["IncludeItemTypes"] = "Series"
url_params["ImageTypeLimit"] = 0
url = get_jellyfin_url("/Users/{}/Items".format(user_id), url_params)
results = api.get(url)
random_tvshows_list = []
if results is not None:
items = results.get("Items", [])
for item in items:
random_tvshows_list.append(item.get("Id"))
random.shuffle(random_tvshows_list)
tvshow_list_string = ",".join(random_tvshows_list)
home_window = HomeWindow()
m = hashlib.md5()
m.update(tvshow_list_string.encode())
new_widget_hash = m.hexdigest()
log.debug("set_random_tvshows: {0}".format(tvshow_list_string))
log.debug("set_random_tvshows: {0}".format(new_widget_hash))
home_window.set_property("random-tvshows", tvshow_list_string)
home_window.set_property("random-tvshows-changed", new_widget_hash)
@timer
def set_random_all():
log.debug("set_random_all Called")
settings = xbmcaddon.Addon()
item_limit = settings.getSetting("show_x_filtered_items")
hide_watched = settings.getSetting("hide_watched") == "true"
user_id = get_current_user_id()
url_params = {}
url_params["Recursive"] = True
url_params["limit"] = item_limit
if hide_watched:
url_params["IsPlayed"] = False
url_params["SortBy"] = "Random"
url_params["IncludeItemTypes"] = "Movie,Series"
url_params["ImageTypeLimit"] = 0
url = get_jellyfin_url("/Users/{}/Items".format(user_id), url_params)
results = api.get(url)
random_items = []
if results is not None:
items = results.get("Items", [])
for item in items:
random_items.append(item.get("Id"))
random.shuffle(random_items)
item_list_string = ",".join(random_items)
home_window = HomeWindow()
m = hashlib.md5()
m.update(item_list_string.encode())
new_widget_hash = m.hexdigest()
log.debug("set_random_all: {0}".format(item_list_string))
log.debug("set_random_all: {0}".format(new_widget_hash))
home_window.set_property("random-all", item_list_string)
home_window.set_property("random-all-changed", new_widget_hash)
def set_background_image(force=False):
log.debug("set_background_image Called forced={0}".format(force))
@@ -70,14 +153,19 @@ def set_background_image(force=False):
global background_current_item
global background_items
settings = xbmcaddon.Addon()
server = settings.getSetting('server_address')
user_id = get_current_user_id()
if force:
background_current_item = 0
del background_items
background_items = []
if len(background_items) == 0:
log.debug("set_background_image: Need to load more backgrounds {0} - {1}".format(
len(background_items), background_current_item))
log.debug("Need to load more backgrounds {0} - {1}".format(
len(background_items), background_current_item)
)
url_params = {}
url_params["Recursive"] = True
@@ -86,17 +174,17 @@ def set_background_image(force=False):
url_params["IncludeItemTypes"] = "Movie,Series"
url_params["ImageTypeLimit"] = 1
url = get_jellyfin_url('{server}/Users/{userid}/Items', url_params)
url = get_jellyfin_url('/Users/{}/Items'.format(user_id), url_params)
server = downloadUtils.get_server()
results = downloadUtils.download_url(url, suppress=True)
results = api.get(url)
if results is not None:
items = results.get("Items", [])
background_current_item = 0
background_items = []
for item in items:
bg_image = downloadUtils.get_artwork(item, "Backdrop", server=server)
bg_image = get_art_url(
item, "Backdrop", server=server)
if bg_image:
label = item.get("Name")
item_background = {}
@@ -104,12 +192,18 @@ def set_background_image(force=False):
item_background["name"] = label
background_items.append(item_background)
log.debug("set_background_image: Loaded {0} more backgrounds".format(len(background_items)))
log.debug("set_background_image: Loaded {0} more backgrounds".format(
len(background_items))
)
if len(background_items) > 0:
bg_image = background_items[background_current_item].get("image")
label = background_items[background_current_item].get("name")
log.debug("set_background_image: {0} - {1} - {2}".format(background_current_item, label, bg_image))
log.debug(
"set_background_image: {0} - {1} - {2}".format(
background_current_item, label, bg_image
)
)
background_current_item += 1
if background_current_item >= len(background_items):
@@ -126,7 +220,8 @@ def check_for_new_content():
home_window = HomeWindow()
settings = xbmcaddon.Addon()
simple_new_content_check = settings.getSetting("simple_new_content_check") == "true"
simple_new_content_check = settings.getSetting(
"simple_new_content_check") == "true"
if simple_new_content_check:
log.debug("Using simple new content check")
@@ -134,6 +229,7 @@ def check_for_new_content():
home_window.set_property("jellycon_widget_reload", current_time_stamp)
log.debug("Setting New Widget Hash: {0}".format(current_time_stamp))
return
user_id = get_current_user_id()
url_params = {}
url_params["Recursive"] = True
@@ -144,9 +240,9 @@ def check_for_new_content():
url_params["IncludeItemTypes"] = "Movie,Episode"
url_params["ImageTypeLimit"] = 0
added_url = get_jellyfin_url('{server}/Users/{userid}/Items', url_params)
added_url = get_jellyfin_url('/Users/{}/Items'.format(user_id), url_params)
result = downloadUtils.download_url(added_url, suppress=True)
result = api.get(added_url)
log.debug("LATEST_ADDED_ITEM: {0}".format(result))
last_added_date = ""
@@ -166,9 +262,11 @@ def check_for_new_content():
url_params["IncludeItemTypes"] = "Movie,Episode"
url_params["ImageTypeLimit"] = 0
played_url = get_jellyfin_url('{server}/Users/{userid}/Items', url_params)
played_url = get_jellyfin_url(
'/Users/{}/Items'.format(user_id), url_params
)
result = downloadUtils.download_url(played_url, suppress=True)
result = api.get(played_url)
log.debug("LATEST_PLAYED_ITEM: {0}".format(result))
last_played_date = ""
@@ -186,7 +284,7 @@ def check_for_new_content():
log.debug("Current Widget Hash: {0}".format(current_widget_hash))
m = hashlib.md5()
m.update(last_played_date + last_added_date)
m.update((last_played_date + last_added_date).encode())
new_widget_hash = m.hexdigest()
log.debug("New Widget Hash: {0}".format(new_widget_hash))
@@ -198,17 +296,21 @@ def check_for_new_content():
@timer
def get_widget_content_cast(handle, params):
log.debug("getWigetContentCast Called: {0}".format(params))
server = downloadUtils.get_server()
settings = xbmcaddon.Addon()
server = settings.getSetting('server_address')
user_id = get_current_user_id()
item_id = params["id"]
data_manager = DataManager()
result = data_manager.get_content("{server}/Users/{userid}/Items/" + item_id)
result = api.get(
"/Users/{}/Items/{}".format(user_id, item_id))
log.debug("ItemInfo: {0}".format(result))
if not result:
return
if result.get("Type", "") in ["Episode", "Season"] and params.get("auto", "true") == "true":
if (result.get("Type", "") in ["Episode", "Season"] and
params.get("auto", "true") == "true"):
series_id = result.get("SeriesId")
if series_id:
params["id"] = series_id
@@ -228,12 +330,12 @@ def get_widget_content_cast(handle, params):
person_tag = person.get("PrimaryImageTag")
person_thumbnail = None
if person_tag:
person_thumbnail = downloadUtils.image_url(person_id, "Primary", 0, 400, 400, person_tag, server=server)
person_thumbnail = image_url(
person_id, "Primary", 0, 400, 400,
person_tag, server=server
)
if kodi_version > 17:
list_item = xbmcgui.ListItem(label=person_name, offscreen=True)
else:
list_item = xbmcgui.ListItem(label=person_name)
list_item = xbmcgui.ListItem(label=person_name, offscreen=True)
list_item.setProperty("id", person_id)
@@ -250,8 +352,8 @@ def get_widget_content_cast(handle, params):
if person_role:
list_item.setLabel2(person_role)
item_tupple = ("", list_item, False)
list_items.append(item_tupple)
item_tuple = ("", list_item, False)
list_items.append(item_tuple)
xbmcplugin.setContent(handle, 'artists')
xbmcplugin.addDirectoryItems(handle, list_items)
@@ -263,20 +365,23 @@ def get_widget_content(handle, params):
log.debug("getWigetContent Called: {0}".format(params))
settings = xbmcaddon.Addon()
item_limit = int(settings.getSetting("show_x_filtered_items"))
hide_watched = settings.getSetting("hide_watched") == "true"
use_cached_widget_data = settings.getSetting("use_cached_widget_data") == "true"
use_cached_widget_data = settings.getSetting(
"use_cached_widget_data") == "true"
widget_type = params.get("type")
if widget_type is None:
log.error("getWigetContent type not set")
return
user_id = get_current_user_id()
log.debug("widget_type: {0}".format(widget_type))
url_verb = "{server}/Users/{userid}/Items"
url_verb = "/Users/{}/Items".format(user_id)
url_params = {}
url_params["Limit"] = "{ItemLimit}"
url_params["Fields"] = "{field_filters}"
url_params["Limit"] = item_limit
url_params["Fields"] = get_default_filters()
url_params["ImageTypeLimit"] = 1
url_params["IsMissing"] = False
@@ -290,6 +395,7 @@ def get_widget_content(handle, params):
url_params["IsPlayed"] = False
url_params["IsVirtualUnaired"] = False
url_params["IncludeItemTypes"] = "Movie"
url_params["Limit"] = item_limit
elif widget_type == "inprogress_movies":
xbmcplugin.setContent(handle, 'movies')
@@ -299,25 +405,33 @@ def get_widget_content(handle, params):
url_params["Filters"] = "IsResumable"
url_params["IsVirtualUnaired"] = False
url_params["IncludeItemTypes"] = "Movie"
url_params["Limit"] = item_limit
elif widget_type == "random_movies":
home_window = HomeWindow()
xbmcplugin.setContent(handle, 'movies')
url_params["Ids"] = "{random_movies}"
url_params["Ids"] = home_window.get_property("random-movies")
elif widget_type == "random_tvshows":
home_window = HomeWindow()
xbmcplugin.setContent(handle, 'tvshows')
url_params["Ids"] = home_window.get_property("random-tvshows")
elif widget_type == "recent_tvshows":
xbmcplugin.setContent(handle, 'episodes')
url_verb = '{server}/Users/{userid}/Items/Latest'
url_verb = '/Users/{}/Items/Latest'.format(user_id)
url_params["GroupItems"] = True
url_params["Limit"] = 45
url_params["Recursive"] = True
url_params["SortBy"] = "DateCreated"
url_params["SortOrder"] = "Descending"
url_params["Fields"] = "{field_filters}"
url_params["Fields"] = get_default_filters()
if hide_watched:
url_params["IsPlayed"] = False
url_params["IsVirtualUnaired"] = False
url_params["IncludeItemTypes"] = "Episode"
url_params["ImageTypeLimit"] = 1
url_params["Limit"] = item_limit
elif widget_type == "recent_episodes":
xbmcplugin.setContent(handle, 'episodes')
@@ -329,6 +443,7 @@ def get_widget_content(handle, params):
url_params["IsPlayed"] = False
url_params["IsVirtualUnaired"] = False
url_params["IncludeItemTypes"] = "Episode"
url_params["Limit"] = item_limit
elif widget_type == "inprogress_episodes":
xbmcplugin.setContent(handle, 'episodes')
@@ -338,36 +453,64 @@ def get_widget_content(handle, params):
url_params["Filters"] = "IsResumable"
url_params["IsVirtualUnaired"] = False
url_params["IncludeItemTypes"] = "Episode"
url_params["Limit"] = item_limit
elif widget_type == "nextup_episodes":
xbmcplugin.setContent(handle, 'episodes')
url_verb = "{server}/Shows/NextUp"
url_params["Limit"] = "{ItemLimit}"
url_params["userid"] = "{userid}"
url_verb = "/Shows/NextUp"
url_params = url_params.copy()
url_params["Limit"] = item_limit
url_params["userid"] = user_id
url_params["Recursive"] = True
url_params["Fields"] = "{field_filters}"
url_params["enableResumable"] = False
url_params["ImageTypeLimit"] = 1
# check if rewatching is enabled and combine is disabled
rewatch_days = int(settings.getSetting("rewatch_days"))
if rewatch_days > 0 and settings.getSetting("rewatch_combine") != "true":
rewatch_since = datetime.datetime.today() - datetime.timedelta(days=rewatch_days)
url_params["nextUpDateCutoff"] = rewatch_since.strftime("%Y-%m-%d")
url_params["enableRewatching"] = True
# Collect InProgress items to be combined with NextUp
inprogress_url_verb = "/Users/{}/Items".format(user_id)
inprogress_url_params = url_params.copy()
inprogress_url_params["Recursive"] = True
inprogress_url_params["SortBy"] = "DatePlayed"
inprogress_url_params["SortOrder"] = "Descending"
inprogress_url_params["Filters"] = "IsResumable"
inprogress_url_params["IsVirtualUnaired"] = False
inprogress_url_params["IncludeItemTypes"] = "Episode"
inprogress_url_params["Limit"] = item_limit
elif widget_type == "movie_recommendations":
suggested_items_url_params = {}
suggested_items_url_params["userId"] = "{userid}"
suggested_items_url_params["userId"] = user_id
suggested_items_url_params["categoryLimit"] = 15
suggested_items_url_params["ItemLimit"] = 20
suggested_items_url_params["ItemLimit"] = item_limit
suggested_items_url_params["ImageTypeLimit"] = 0
suggested_items_url = get_jellyfin_url("{server}/Movies/Recommendations", suggested_items_url_params)
suggested_items_url = get_jellyfin_url(
"/Movies/Recommendations", suggested_items_url_params)
data_manager = DataManager()
suggested_items = data_manager.get_content(suggested_items_url)
suggested_items = api.get(suggested_items_url)
ids = []
set_id = 0
while len(ids) < 20 and suggested_items:
while len(ids) < item_limit and suggested_items:
items = suggested_items[set_id]
log.debug("BaselineItemName : {0} - {1}".format(set_id, items.get("BaselineItemName")))
log.debug(
"BaselineItemName : {0} - {1}".format(
set_id, items.get("BaselineItemName")
)
)
items = items["Items"]
rand = random.randint(0, len(items) - 1)
item = items[rand]
if item["Type"] == "Movie" and item["Id"] not in ids and (not item["UserData"]["Played"] or not hide_watched):
if (item["Type"] == "Movie" and item["Id"] not in ids and
(not item["UserData"]["Played"] or not hide_watched)):
ids.append(item["Id"])
del items[rand]
if len(items) == 0:
del suggested_items[set_id]
@@ -376,21 +519,72 @@ def get_widget_content(handle, params):
set_id = 0
id_list = ",".join(ids)
log.debug("Recommended Items : {0}".format(len(ids), id_list))
log.debug("Recommended Items : {0}".format(len(ids)))
url_params["Ids"] = id_list
elif widget_type == "random_all":
home_window = HomeWindow()
xbmcplugin.setContent(handle, 'movies')
url_params["Ids"] = home_window.get_property("random-all")
elif widget_type == "recent_all":
xbmcplugin.setContent(handle, 'movies')
url_verb = '/Users/{}/Items/Latest'.format(user_id)
url_params["GroupItems"] = True
url_params["Recursive"] = True
url_params["SortBy"] = "DateCreated"
url_params["SortOrder"] = "Descending"
url_params["Limit"] = 45
url_params["Filters"] = "IsNotFolder"
url_params["Fields"] = get_default_filters()
if hide_watched:
url_params["IsPlayed"] = False
url_params["IsVirtualUnaired"] = False
url_params["IncludeItemTypes"] = "Episode, Movie"
url_params["ImageTypeLimit"] = 1
elif widget_type == "favorites_all":
home_window = HomeWindow()
xbmcplugin.setContent(handle, 'movies')
url_params.update({
"Filters": "IsFavorite",
"IncludeItemTypes": "Movie,Series",
"Recursive": True,
"SortBy": "Name",
"SortOrder": "Ascending",
})
items_url = get_jellyfin_url(url_verb, url_params)
list_items, detected_type, total_records = process_directory(items_url, None, params, use_cached_widget_data)
if (url_params.get('IncludeItemTypes', '') == 'Episode' or
params.get('type', '') == 'nextup_episodes'):
params["name_format"] = "Episode|episode_name_format"
# remove resumable items from next up
list_items, detected_type, total_records = process_directory(
items_url, None, params, use_cached_widget_data)
# Combine In Progress and Next Up Episodes, add next up after In Progress
if widget_type == "nextup_episodes":
filtered_list = []
for item in list_items:
resume_time = item[1].getProperty("ResumeTime")
if resume_time is None or float(resume_time) == 0.0:
filtered_list.append(item)
list_items = filtered_list
inprogress_url = get_jellyfin_url(
inprogress_url_verb, inprogress_url_params)
params["name_format"] = "Episode|episode_name_format"
inprogress, detected_type, total_records = process_directory(
inprogress_url, None, params, use_cached_widget_data)
list_items = inprogress + list_items
# add rewatch combine is enabled
if rewatch_days > 0 and settings.getSetting("rewatch_combine") == "true":
rewatch_since = datetime.datetime.today() - datetime.timedelta(days=rewatch_days)
url_params["nextUpDateCutoff"] = rewatch_since.strftime("%Y-%m-%d")
url_params["enableRewatching"] = True
rewatch_items_url = get_jellyfin_url(url_verb, url_params)
rewatch_items, detected_type, total_records = process_directory(rewatch_items_url, None, params, use_cached_widget_data)
for ri in rewatch_items:
if not any(i[1].getProperty("id") == ri[1].getProperty("id") for i in list_items):
list_items.append(ri)
if detected_type is not None:
# if the media type is not set then try to use the detected type
@@ -403,7 +597,7 @@ def get_widget_content(handle, params):
content_type = 'episodes'
elif detected_type == "Series":
content_type = 'tvshows'
elif detected_type == "Music" or detected_type == "Audio" or detected_type == "Musicalbum":
elif detected_type in ["Music", "Audio", "Musicalbum"]:
content_type = 'songs'
if content_type:

View File

@@ -5,16 +5,15 @@
<setting label="30388" type="lsep"/>
<setting label="30011" type="action" action="RunScript(plugin.video.jellycon,0,?mode=DETECT_SERVER_USER)" option="close"/>
<setting id="ipaddress" type="text" label="30000" default="" visible="false" enable="false" />
<setting id="protocol" type="select" label="30390" lvalues="30391|30392" default="0" visible="false"/>
<setting id="protocol" type="select" label="30390" lvalues="30391|30392" default="0" visible="false"/>
<setting id="port" type="text" label="30001" default="8096" visible="false" enable="false" />
<setting id="server_address" type="text" label="30000" default="" visible="true" enable="true" />
<setting id="verify_cert" type="bool" label="30003" default="false" visible="true" enable="true" />
<setting id="verify_cert" type="bool" label="30003" default="true" visible="true" enable="true" />
<setting label="30389" type="lsep"/>
<setting type="sep" />
<setting label="30012" type="action" action="RunScript(plugin.video.jellycon,0,?mode=CHANGE_USER)" option="close"/>
<setting id="username" type="text" label="30024" />
<setting id="password" type="text" option="hidden" label="30025" />
<setting id="save_user_to_settings" type="bool" label="30378" default="true" visible="true" enable="true" />
<setting id="allow_password_saving" type="bool" label="30367" default="true" visible="true" enable="true" />
@@ -29,29 +28,24 @@
<setting label="30238" type="lsep"/>
<setting type="sep" />
<setting id="max_stream_bitrate" type="slider" label="30208" default="75000" range="400,100,100000" option="int" visible="true"/>
<setting id="max_stream_bitrate" type="enum" label="30208" values="0.5 Mbps|1 Mbps|1.5 Mbps|2.0 Mbps|2.5 Mbps|3.0 Mbps|4.0 Mbps|5.0 Mbps|6.0 Mbps|7.0 Mbps|8.0 Mbps|9.0 Mbps|10.0 Mbps|12.0 Mbps|14.0 Mbps|16.0 Mbps|18.0 Mbps|20.0 Mbps|25.0 Mbps|30.0 Mbps|35.0 Mbps|40.0 Mbps|100.0 Mbps|1000.0 Mbps [default]|Maximum" visible="true" default="23" />
<setting id="allow_direct_file_play" type="bool" label="30433" default="false" visible="true" enable="true" />
<setting id="force_transcode_h265" type="bool" label="30236" default="false" visible="true" enable="true" />
<setting id="force_transcode_mpeg2" type="bool" label="30239" default="false" visible="true" enable="true" />
<setting id="force_transcode_msmpeg4v3" type="bool" label="30240" default="false" visible="true" enable="true" />
<setting id="force_transcode_mpeg4" type="bool" label="30241" default="false" visible="true" enable="true" />
<setting id="force_transcode_av1" type="bool" label="30242" default="false" visible="true" enable="true" />
<setting id="direct_stream_sub_select" type="select" label="30379" lvalues="30380|30381|30382" default="0" visible="true"/>
<setting label="30211" type="lsep"/>
<setting type="sep" />
<setting id="force_max_stream_bitrate" type="slider" label="30434" default="7000" range="400,100,15000" option="int" visible="true"/>
<setting id="force_max_stream_bitrate" type="enum" label="30434" values="0.5 Mbps|1 Mbps|1.5 Mbps|2.0 Mbps|2.5 Mbps|3.0 Mbps|4.0 Mbps|5.0 Mbps|6.0 Mbps|7.0 Mbps [default]|8.0 Mbps|9.0 Mbps|10.0 Mbps|12.0 Mbps|14.0 Mbps|16.0 Mbps|18.0 Mbps|20.0 Mbps|25.0 Mbps|30.0 Mbps|35.0 Mbps|40.0 Mbps|100.0 Mbps|1000.0 Mbps|Maximum" visible="true" default="9" />
<setting id="playback_max_width" type="select" label="30212" values="640|720|1024|1280|1440|1600|1920|2600|4096" default="1920" visible="true"/>
<setting id="playback_video_force_8" type="bool" label="30213" default="false" visible="true" enable="true"/>
<setting id="audio_codec" type="select" label="30419" values="ac3|aac" default="ac3"/>
<setting id="audio_playback_bitrate" type="select" label="30418" values="128|160|192|256|320|384|448|640" default="256" visible="true"/>
<setting id="audio_max_channels" type="slider" label="30420" default="8" range="2,1,8" option="int" visible="true"/>
<!--
<setting label="30209" type="lsep"/>
<setting type="sep" />
<setting id="smbusername" type="text" label="30007" default="" enable="true" visible="true"/>
<setting id="smbpassword" type="text" label="30008" default="" option="hidden" enable="true" visible="true"/>
-->
<setting id="max_play_queue" type="slider" label="30447" default="200" range="20, 10, 1000" option="int" visible="true"/>
</category>
<category label="30214">
@@ -74,8 +68,8 @@
<setting label="30329" type="lsep"/>
<setting type="sep" />
<setting id="stopPlaybackOnScreensaver" type="bool" label="30332" default="true" visible="true" enable="true" />
<setting id="changeUserOnScreenSaver" type="bool" label="30330" default="true" visible="true" enable="true" />
<setting id="stopPlaybackOnScreensaver" type="bool" label="30332" default="false" visible="true" enable="true" />
<setting id="changeUserOnScreenSaver" type="bool" label="30330" default="false" visible="true" enable="true" />
<setting id="cacheImagesOnScreenSaver" type="bool" label="30333" default="true" visible="true" enable="true" />
<setting id="cacheImagesOnScreenSaver_interval" type="slider" label="30400" default="0" range="0,1,60" option="int" visible="true"/>
@@ -87,12 +81,13 @@
<setting id="addCounts" type="bool" label="30116" default="false" visible="true" enable="true" />
<setting id="addResumePercent" type="bool" label="30118" default="false" visible="true" enable="true" />
<setting id="addSubtitleAvailable" type="bool" label="30163" default="false" visible="true" enable="true" />
<setting id="hide_x_filtered_items_count" type="bool" label="30453" default="false" visible="true" enable="true" />
<setting id="include_overview" type="bool" label="30181" default="true" visible="true" enable="true" />
<setting id="include_media" type="bool" label="30182" default="true" visible="true" enable="true" />
<setting id="add_user_ratings" type="bool" label="30348" default="true" visible="true" enable="true" />
<setting id="include_people" type="bool" label="30183" default="false" visible="true" enable="true" />
<setting id="hide_unwatched_details" type="bool" label="30023" default="false" visible="true" enable="true" />
<setting id="episode_name_format" type="select" label="30019" default="{SeriesName} - {ItemName}" values="{SeriesName} - {ItemName}|{ItemName}|s{SeasonIndex}e{EpisodeIndex} - {ItemName}|{SeriesName} - s{SeasonIndex}e{EpisodeIndex} - {ItemName}" />
<setting id="episode_name_format" type="select" label="30019" default="{SeriesName} - {ItemName}" values="{SeriesName} - {ItemName}|{ItemName}|S{SeasonIndex}E{EpisodeIndex} - {ItemName}|{SeriesName} - S{SeasonIndex}E{EpisodeIndex} - {ItemName}" />
<setting label="30222" type="lsep"/>
<setting type="sep" />
@@ -102,16 +97,48 @@
<setting id="show_empty_folders" type="bool" label="30328" default="false" visible="true" enable="true" />
<setting id="hide_watched" type="bool" label="30432" default="true" visible="true" enable="true" />
<setting label="30450" type="lsep"/>
<setting type="sep" />
<setting id="rewatch_days" type="slider" label="30451" default="0" range="0,1,365" option="int" visible="true"/>
<setting id="rewatch_combine" type="bool" label="30452" default="false" visible="true" enable="true" />
<setting label="30223" type="lsep"/>
<setting type="sep" />
<setting id="moviePageSize" type="slider" label="30331" default="0" range="0,1,100" option="int" visible="true"/>
<setting id="showPageSize" type="slider" label="30678" default="0" range="0,1,100" option="int" visible="true"/>
<setting id="show_x_filtered_items" type="slider" label="30018" default="20" range="5,1,100" option="int" visible="true"/>
<setting label="30224" type="lsep"/>
<setting type="sep" />
<setting id="widget_select_action" type="select" label="30026" lvalues="30313|30314" default="0" visible="true"/>
<setting id="interface_mode" type="select" label="30225" lvalues="30226|30227" default="0" visible="true"/>
</category>
<category label="30666">
<setting label="30670" type="lsep"/>
<setting id="intro_skipper_action" type="select" label="30667" lvalues="30673|30672|30674" default="0" visible="true" enable="true" />
<setting id="intro_skipper_start_offset" type="slider" label="30668" default="0" range="0,1,3" option="int" visible="true" enable="true"/>
<setting id="intro_skipper_end_offset" type="slider" label="30669" default="1" range="0,1,3" option="int" visible="true" enable="true"/>
<setting label="30671" type="lsep"/>
<setting id="credit_skipper_action" type="select" label="30667" lvalues="30673|30672|30674" default="0" visible="true" enable="true" />
<setting id="credit_skipper_start_offset" type="slider" label="30668" default="0" range="0,1,3" option="int" visible="true" enable="true" />
<setting id="credit_skipper_end_offset" type="slider" label="30669" default="1" range="0,1,3" option="int" visible="true" enable="true" />
<setting label="30675" type="lsep"/>
<setting id="commercial_skipper_action" type="select" label="30667" lvalues="30673|30672|30674" default="0" visible="true" enable="true" />
<setting id="commercial_skipper_start_offset" type="slider" label="30668" default="0" range="0,1,3" option="int" visible="true" enable="true"/>
<setting id="commercial_skipper_end_offset" type="slider" label="30669" default="1" range="0,1,3" option="int" visible="true" enable="true"/>
<setting label="30676" type="lsep"/>
<setting id="preview_skipper_action" type="select" label="30667" lvalues="30673|30672|30674" default="0" visible="true" enable="true" />
<setting id="preview_skipper_start_offset" type="slider" label="30668" default="0" range="0,1,3" option="int" visible="true" enable="true" />
<setting id="preview_skipper_end_offset" type="slider" label="30669" default="1" range="0,1,3" option="int" visible="true" enable="true" />
<setting label="30677" type="lsep"/>
<setting id="recap_skipper_action" type="select" label="30667" lvalues="30673|30672|30674" default="0" visible="true" enable="true" />
<setting id="recap_skipper_start_offset" type="slider" label="30668" default="0" range="0,1,3" option="int" visible="true" enable="true"/>
<setting id="recap_skipper_end_offset" type="slider" label="30669" default="1" range="0,1,3" option="int" visible="true" enable="true"/>
</category>
<category label="30111">
<setting label="30343" type="lsep"/>
@@ -155,4 +182,4 @@
<setting id="sort-Episodes" type="select" label="30235" lvalues="30423|30424|30426|30425|30427|30429|30430|30428" default="0" visible="true"/>
</category>
</settings>
</settings>

View File

@@ -13,39 +13,53 @@
<left>0</left>
<top>0</top>
<width>380</width>
<height>100</height>
<height>150</height>
<texture border="40">bg.png</texture>
</control>
<control type="label" id="3020">
<width>120</width>
<left>20</left>
<top>5</top>
<height>45</height>
<label>Bitrate : </label>
<textcolor>99FFFFFF</textcolor>
<font>font14</font>
<align>left</align>
</control>
<control type="label" id="3020">
<width>120</width>
<left>20</left>
<top>5</top>
<height>45</height>
<label>Bitrate : </label>
<textcolor>99FFFFFF</textcolor>
<font>font14</font>
<align>left</align>
</control>
<control type="label" id="3030">
<width>150</width>
<left>120</left>
<top>5</top>
<height>45</height>
<label>100 Mbs</label>
<textcolor>99FFFFFF</textcolor>
<font>font14</font>
<align>left</align>
</control>
<control type="label" id="3030">
<width>150</width>
<left>120</left>
<top>5</top>
<height>45</height>
<label>100 Mbs</label>
<textcolor>99FFFFFF</textcolor>
<font>font14</font>
<align>left</align>
</control>
<control type="slider" id="3000">
<left>20</left>
<top>55</top>
<width>340</width>
<height>30</height>
<visible>true</visible>
</control>
<control type="slider" id="3000">
<left>20</left>
<top>55</top>
<width>340</width>
<height>30</height>
<ondown>3011</ondown>
<visible>true</visible>
</control>
<control type="button" id="3011">
<texturenofocus border="1" colordiffuse="ff161616">white.png</texturenofocus>
<texturefocus border="1" colordiffuse="ff525252">white.png</texturefocus>
<left>20</left>
<top>100</top>
<width>340</width>
<height>40</height>
<label></label>
<onup>3000</onup>
<font>font14</font>
<align>center</align>
</control>
</controls>
</window>
</window>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<window id="10000">
<defaultcontrol always="true">9000</defaultcontrol>
<zorder>2</zorder>
<coordinates>
<system>1</system>
<left>0</left>
<top>0</top>
</coordinates>
<controls>
<control type="button" id="9000">
<left>1020</left>
<top>550</top>
<width>150</width>
<height>65</height>
<visible>true</visible>
<label>Skip</label>
<align>center</align>
<texture border="1" colordiffuse="ff161616">white.png</texture>
<font>font12</font>
<onright>3014</onright>
</control>
</controls>
</window>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 137 B

Some files were not shown because too many files have changed in this diff Show More