Commit graph

116 commits

Author SHA1 Message Date
Hellowlol
77a223455e
fix 2019-08-22 14:25:38 +02:00
Simone Pierazzini
3bc890a154 use preconfigured plexapi logger instead of plexapi.utils 2019-07-26 17:09:39 +02:00
Simone Pierazzini
94636d71f3 Log date parsing errors 2019-07-26 13:16:55 +02:00
Simone Pierazzini
25c619032f Do not fail while parsing illegal dates. Return None instead. 2019-07-26 12:11:00 +02:00
Tomme
bcd81e67c0 Ignore negative epoch values 2019-03-24 19:31:30 +00:00
Michael Shepanski
6d135a7848
Remove unused import.
Flake8 caught this one.
2019-02-06 18:47:35 -05:00
Hellowlol
d227437054
Update utils.py
add a proper fix for the issue, TODO make it more fault tolerant
2019-01-21 22:14:53 +01:00
Hellowlol
99a8037959
Update utils.py
Ooobs
2019-01-21 21:50:42 +01:00
Hellowlol
bd8949eeeb fix datetime issue on windows. 2019-01-19 23:23:42 +01:00
Andrey Yantsen
7a67417615 fix docs for Raises clauses 2018-10-03 11:09:43 +01:00
Andrey Yantsen
93ec86d746 add enable_fast_connect configuration parameter (#288) 2018-09-14 20:28:35 +02:00
Andrey Yantsen
68fc970d7a Improvements in tests process (#297)
* lets begin

* skip plexpass tests if there is not plexpass on account

* test new myplex attrubutes

* bootstrap: proper photos organisation

* fix rest of photos tests

* fix myplex new attributes test

* fix music bootstrap by setting agent to lastfm

* fix sync tests

* increase bootstrap timeout

* remove timeout from .travis.yml

* do not create playlist-style photoalbums in plex-bootstraptest.py

* allow negative filtering in LibrarySection.search()

* fix sync tests once again

* use sendCrashReports in test_settings

* fix test_settings

* fix test_video

* do not accept eula in bootstrap

* fix PlexServer.isLatest()

* add test against old version of PlexServer

* fix MyPlexAccount.OutOut

* add flag for one-time testing in Travis

* fix test_library onDeck tests

* fix more tests

* use tqdm in plex-bootstraptest for media scanning progress

* create sections one-by-one

* update docs on AlertListener for timeline entries

* fix plex-bootstraptest for server version 1.3.2

* display skip/xpass/xfail reasons

* fix tests on 1.3

* wait for music to be fully processed in plex-bootstraptest

* fix misplaced TEST_ACCOUNT_ONCE

* fix test_myplex_users, not sure if in proper-way

* add pytest-rerunfailures; mark test_myplex_optout as flaky

* fix comment

* Revert "add pytest-rerunfailures; mark test_myplex_optout as flaky"

This reverts commit 580e4c95a7.

* restart plex container on failure

* add conftest.wait_until() and used where some retries are required

* add more wait_until() usage in test_sync

* fix managed user search

* fix updating managed users in myplex

* allow to add new servers to existent users

* add new server to a shared user while bootstrapping

* add some docs on testing process

* perform few attemps when unable to get the claim token

* unlock websocket-client in requirements_dev

* fix docblock in tools/plex-teardowntest

* do not hardcode mediapart size in test_video

* remove cache:pip from travis

* Revert "unlock websocket-client in requirements_dev"

This reverts commit 0d536bd06d.

* remove debug from server.py

* improve webhook tests

* fix type() check to isinstance()

* remove excessive `else` branch due to Hellowlol advice

* add `unknown` as allowed `myPlexMappingState` in test_server
2018-09-14 20:03:23 +02:00
Nicholas Totsch
981e965e1f Added class/libtype for collections and library search function 2018-04-10 12:14:57 -05:00
Michael Shepanski
61ede66ad5 Dont include token in URLs unless show_secrets set in config; All functions that return a URL such as stream urls and thumbnails still include token 2018-01-04 21:44:35 -05:00
Hellowlol
e137f610aa too long. 2017-10-26 19:51:46 +02:00
Hellowlol
f0b869419c Ignore bars was that is only used by the plexapi cli tool 2017-10-26 00:24:54 +02:00
Hellowlol
168d94e67a Ignore download session images, isnt use my plexpai
it was a example for a users.
2017-10-26 00:23:24 +02:00
Hellowlol
26bf4ca010 zomg... 2017-10-26 00:01:42 +02:00
Hellowlol
2d1e4f02fb Lint cov. 2017-10-25 18:34:59 +02:00
Hellowlol
c9d1e222a6 Merge branch 'master' into better_cli 2017-10-01 00:46:55 +02:00
Hellowlol
7752e983b6 f 2017-10-01 00:34:20 +02:00
Hellowlol
ceada3c0b3 Fix suggestion bug... 2017-09-30 01:32:27 +02:00
Hellowlol
566107697a download improvements
- Add missing showstatus doc
- add name and total to tqdm so the bar is displayed properly
2017-09-29 23:55:41 +02:00
Hellowlol
f974ce5ad2 More cli work,
# todo movei this to cli inside plexapi and add a entrypoint to setup.py
2017-09-26 21:58:56 +02:00
Hellowlol
4f56b1ad6c init 2017-09-26 20:11:19 +02:00
Hellowlol
626c63be3b lint my ass... 2017-08-18 23:23:40 +02:00
Michael Shepanski
d7276e2e82 Add tqdm requirement; Display download status in plex-download 2017-08-14 23:40:28 -04:00
Michael Shepanski
7de4cbc572 Make flake8 happy 2017-08-13 01:58:08 -04:00
Michael Shepanski
63dc1507d2 Add plex-download.py tool; Added new utility to request user/pass from user, config, or env for use when creating cmd line tools 2017-08-13 01:50:40 -04:00
Michael Shepanski
0aba49c90c MOve python3 check to compat 2017-07-30 01:02:10 -04:00
Michael Shepanski
15c0deaa18 Merge pull request #153 from pkkid/unicodeerr
Attempt to fix https://github.com/pkkid/python-plexapi/issues/147
2017-07-30 00:56:10 -04:00
Hellowlol
145f49808b fix so we can remove by value
TODO make sure tests works
2017-07-18 23:55:11 +02:00
Hellowlol
31daf2a435 Attempt to fix https://github.com/pkkid/python-plexapi/issues/147 2017-07-18 01:14:16 +02:00
Hellowlol
9c82a516b5 some flake. 2017-07-16 23:04:46 +02:00
Hellowlol
d2dac4b017 Init edit. 2017-07-16 22:46:03 +02:00
Michael Shepanski
624afd7082 Move share into MyPlexAccount.inviteFriend; Add abilities inviteFriend, updateFriend, RemoveFriend 2017-05-26 22:35:33 -04:00
Michael Shepanski
7ec909dce6 Finish generic tests; a few things to polish before merge 2017-04-23 01:18:53 -04:00
Michael Shepanski
612f1db0d2 Remove unused import 2017-02-27 00:50:48 -05:00
Michael Shepanski
43444459e3 Tighten up download code a bit; downloadLogs and DownloadDatabases were reversed (oops) 2017-02-26 23:59:46 -05:00
Michael Shepanski
55a38bead7 Fix string type 2017-02-26 21:42:01 -05:00
Michael Shepanski
aee9290c29 Update utils.py 2017-02-26 21:14:15 -05:00
Hellowlol
baeedcebbf add download log/db. 2017-02-26 21:01:54 +01:00
Michael Shepanski
91a8ab4563 Checkpoint: Settings functionality works; Needs documentation 2017-02-23 01:33:30 -05:00
Michael Shepanski
cd1a05d770 Make flake8 happy 2017-02-20 00:37:00 -05:00
Michael Shepanski
4b35b03d8a Function name in camelCase ot match rest of code 2017-02-19 23:04:27 -05:00
Michael Shepanski
049ef1235b Keep import style same as other files. 2017-02-19 22:53:26 -05:00
Hellowlol
7d5aca805f fixup if indexes is saved as something else. 2017-02-18 21:56:40 +01:00
Hellowlol
c7c04d2a42 Add indexes. Closes https://github.com/pkkid/python-plexapi/issues/121 2017-02-18 01:51:06 +01:00
Michael Shepanski
12406082ec Choose Closest Thumbnail for Audio Tracks #102 2017-02-15 00:13:22 -05:00
Michael Shepanski
fc1c10e554 Finish documenting video 2017-02-13 14:38:40 -05:00