Commit graph

91 commits

Author SHA1 Message Date
JonnyWong16
19582eb649
Add voice activity analysis (#1466)
* Add hasVoiceActivity attribute to Media

* Update tests for voice activity analysis

* Fix movie year test

* Add canAutoSync attribute to SubtitleStream
2024-09-22 11:51:57 -07:00
JonnyWong16
ffbbf59757
Add script to create dummy media files (#1432) 2024-06-22 11:29:14 -07:00
JonnyWong16
7b317ef822
Update default language for library add (#1416)
* Update default language for library add

* Add explicit photo library language to bootstrap server
2024-05-18 12:16:18 -07:00
JonnyWong16
97faf3ccce
Disable sonic analysis task on bootstrap test server (#1371) 2024-03-16 15:04:03 -07:00
JonnyWong16
26447d1931
Add exception for two-factor required (#1357)
* Add exception for two-factor required

* Update tools/plex-gettoken.py with 2FA exception
2024-02-17 14:34:43 -08:00
ReenigneArcher
097b989fab
fix(scripts): offset butler tasks to reduce ci random failures (#1320)
* fix(scripts): offset butler tasks to reduce ci random failures

* Apply suggestions from code review

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

---------

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2024-02-04 10:50:31 -08:00
JonnyWong16
768aa58c90
Adds 2FA code input to tools/plex-gettoken.py (#1319)
* Use getpass for password input

* Add 2FA code input
2024-02-04 10:49:55 -08:00
ReenigneArcher
a6b6ebfbff
style: lint all python files (#1228) 2023-08-28 20:29:39 -07:00
JonnyWong16
a9be59e998
Add music library language to bootstrap test server (#1192) 2023-07-21 12:56:58 -07:00
JonnyWong16
003f02c028
Pass session from MyPlexAccount to server/device connection (#1163) 2023-05-24 17:44:28 -07:00
Ender Tunç
6eee2eed35
update plex-download.py to use server auth-token instead of account auth-token (#1113) 2023-03-09 16:27:30 -08:00
JonnyWong16
1e220eb311
Add support for credit markers (#1094)
* Add credit markers

* Disable credit detection in bootstrap test server

* Add `first` property for credits markers

* Add credits detection setting attribute

* Update tests for credits detection setting
2023-03-09 13:32:17 -08:00
JonnyWong16
9dbb2e5169
Create music playlist from m3u file (#1055)
* Create music playlists from m3u files

* Add test for playlist m3u import

* Add createCollection examples
2022-12-21 11:32:43 -08:00
Elan Ruusamäe
650fbac312
Remove extending from (object), not needed in Python 3 (#943) 2022-05-30 09:05:00 -07:00
Kian-Meng Ang
398c058f18
Fix typos (#939) 2022-05-16 15:39:42 -05:00
ReenigneArcher
3917b335ca
Fix various typos (#880)
* Fix various typos

* Fix various typos in tests

* Fix typos in `tests`

* Fix more typos

* Fix hasScalingMatrix test

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2022-02-26 19:26:08 -08:00
JonnyWong16
158dd37e41
Fix language in library tests (#889)
* Fix language in library tests

* "Other Videos" library type uses `language="xn"`

* Log server version in bootstrap server
2022-02-19 17:16:37 -08:00
jjlawren
b8cef9dc12
Update version handling and add helper script (#806)
* Update version handling and add helper script

* Remove typing hints

* Address review, add tag argument
2021-09-12 19:59:23 -05:00
JonnyWong16
0b39e4eea8
Set CI docker container to default environment LANG="en_US.UTF-8" (#820) 2021-08-25 20:05:49 -05:00
JonnyWong16
d48e1fe875
Fix bootstrap server show section progress 2021-05-30 18:31:25 -07:00
JonnyWong16
44d0a13254
Typo in bootstrap test server 2021-05-23 20:45:23 -07:00
JonnyWong16
238ea5c4ba
Change to Plex TV Series agent for test server 2021-05-09 21:28:17 -07:00
JonnyWong16
6e501728a0
Cast librarySectionID to int 2021-03-11 13:27:08 -08:00
Shubhendra Singh Chauhan
12cf146ace
fix: code quality issues (#670)
* Remove unnecessary use of comprehension

* Remove unnecessary comprehension

* Use literal syntax instead of function calls to create data structure

* Pass string format arguments as logging method parameters

* Remove unused imports

* Remove unnecessary generator

* Refactor `if` expression

* fixed typo

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* Update tests/test_audio.py

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2021-02-24 11:55:53 -06:00
JonnyWong16
ee28bef80f
Add support for the new Plex Movie agent (#628)
* guids collection to movie and GuidTag PlexObject

* Fix flake8

* Clean up GuidTag and Guid

* Add Plex Movie agent to add library doc string

* Change test bootstrap server movie library to Plex Movie

* Update tests for Plex Movie agent

* Mix movie genre test

Co-authored-by: andyloree <andy@andyloree.com>
2021-01-24 21:03:58 -05:00
JonnyWong16
5102201969
Fix disable settings for bootstrap test server (#627)
* Fix disable intro scanning for unclaimed server

* Disable intro marker setting for bootstrap server only with Plex Pass

* Move disable settings outside try/except so errors don't get swallowed
2020-12-15 22:26:58 -06:00
JonnyWong16
ac549bbd90
Add test to sync client identifier 2020-12-06 17:43:33 -08:00
JonnyWong16
2a31fe3329
Remove test sync client in teardown 2020-12-06 17:43:33 -08:00
jjlawren
0b66396f69
Disable media scanning jobs in bootstrap (#618)
* Disable intro scanning and thumbnail generation in bootstrap

* Also disable chapter thumbnails and audio loudness analysis
2020-12-04 16:26:26 -06:00
Jason Lawrence
edde547919 Use matrix for [un]claimed, update tests/tools, always unlink account 2020-12-02 14:42:51 -06:00
Andrew Gaffney
14b8d0e8c8
Replace format strings with explicit call to format() for backward compatibility (fixes #576) (#577) 2020-09-28 08:41:18 -05:00
jjlawren
24901302d7
New bootstrap music scanner (#571)
* Use new Plex Music metadata scanner in tests

* Update tests to match Plex Music scanner metadata

* More tweaks to audio metadata matching

* Another tweak
2020-09-16 17:58:36 -05:00
Hellowlol
6138c709cd first pass on tools and tests 2020-05-12 23:26:29 +02:00
Hellowlol
89a1ae078b Remove some unused
code
2020-04-30 00:49:11 +03:00
Hellowlol
c9052ef933 fix audio test
run black on some tests
2020-04-30 00:49:11 +03:00
Hellowlol
4d4f7123aa update location path for docker 2020-04-30 00:44:59 +03:00
Hellowlol
2683c776eb first pass on static media 2020-04-30 00:44:59 +03:00
Michael Shepanski
bee3f207eb Adding sleep to ensure AlertListener started OK. 2019-11-11 20:28:25 -05:00
Michael Shepanski
3173e9cce2 This is odd. 2019-10-16 00:04:41 -04:00
Michael Shepanski
44eed792c7 Assuming bar.update is not threadsafe.
Fix electronic tag.
Fix media duration off by 1.
2019-10-15 23:49:27 -04:00
Michael Shepanski
c439d8620d Need break 2019-10-15 23:31:13 -04:00
Michael Shepanski
beafa8d092 Actually continue when we say we will. 2019-10-15 23:20:45 -04:00
Michael Shepanski
da70e6e204 round seconds 2019-10-15 23:16:32 -04:00
Michael Shepanski
aee40e3280 Its wasn't actually a workaround. 2019-10-15 23:02:26 -04:00
Michael Shepanski
faedc272ac Remove debug lines 2019-10-15 22:57:04 -04:00
Michael Shepanski
fad1dd7add Remove print statement 2019-10-15 22:56:30 -04:00
Michael Shepanski
21508703be Be more graceful if timewout during metadata scan 2019-10-15 22:56:14 -04:00
Michael Shepanski
a6fcb21c12 Fix arguments 2019-10-15 22:44:10 -04:00
Michael Shepanski
58fabe97d8 Add print to alert_callback 2019-10-15 22:40:01 -04:00
Michael Shepanski
1ad76a6b22 Cleanup plex-bootstrap.py syntax 2019-10-15 22:23:25 -04:00