Commit graph

365 commits

Author SHA1 Message Date
Michael Shepanski
410eb25235 Update version 2017-08-13 21:10:05 -04:00
Michael Shepanski
6c8b8654ff Minor version update to 3.0.2 2017-08-13 20:39:26 -04:00
Michael Shepanski
ceeda206b3 Merge branch 'master' of github.com:pkkid/python-plexapi 2017-08-13 20:38:46 -04:00
Michael Shepanski
08c42d7dd7 Merge pull request #167 from pkkid/plex_server_client_fix
remove depicated warn, add main token to server.clients()
2017-08-13 20:14:58 -04:00
Michael Shepanski
b3cc62e5ca Update version 2017-08-13 02:10:27 -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
943aa02e69 Rename playlist.share to playlist.copyToUser; Make plex.myPlexSubscription a bool; Fix a few tests with updated attrs; Skip test_copyToUser if no subscription 2017-08-11 15:14:32 -04:00
Hellowlol
8b2780186c remove depicated warn, add main token to server.clients()
Abit more dry client.
2017-07-30 20:49:06 +02:00
Michael Shepanski
9c37679fb6 Fix Undefined name pms in server.py installUpdate() #165 2017-07-30 01:05:27 -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
Michael Shepanski
cf445ec47a Merge pull request #164 from pkkid/misc_fixes
fix https://github.com/pkkid/python-plexapi/issues/155
2017-07-30 00:55:44 -04:00
Michael Shepanski
2104ec0d64 One-liner it 2017-07-30 00:54:13 -04:00
Michael Shepanski
9d7fee2527 Merge pull request #162 from pkkid/random
make connect build the correct type.
2017-07-30 00:50:32 -04:00
Michael Shepanski
259d0fef37 Fixc bad reference to client.title; Cleanup indentation 2017-07-30 00:49:39 -04:00
Michael Shepanski
552a946e61 Merge pull request #160 from pkkid/shitty_players
Fix https://github.com/pkkid/python-plexapi/issues/158
2017-07-30 00:46:20 -04:00
Michael Shepanski
765314c252 Cleanup doc strings 2017-07-30 00:43:54 -04:00
Michael Shepanski
7abd569bd7 Merge pull request #154 from pkkid/server_checks
add check_for_update, isLatest
2017-07-30 00:40:59 -04:00
Michael Shepanski
48bc16b01c Cleanup doc strings 2017-07-30 00:35:52 -04:00
Michael Shepanski
bc76208666 Merge pull request #152 from pkkid/shared_server
Shared server
2017-07-30 00:34:16 -04:00
Michael Shepanski
8bd880c2a0 Cleanup doc strings 2017-07-30 00:31:45 -04:00
Hellowlol
a0f030e353 Add a test for share playlist. 2017-07-28 22:29:14 +02:00
Hellowlol
06901f3742 fix https://github.com/pkkid/python-plexapi/issues/155 2017-07-28 22:20:30 +02:00
Hellowlol
fa2bbeabb8 make connect build the correct type. 2017-07-27 01:28:14 +02:00
Hellowlol
73c10abcce fix bug, add test add todo for images from meta data. 2017-07-27 00:55:31 +02:00
Hellowlol
5641dcffee Fix https://github.com/pkkid/python-plexapi/issues/158
Confirmed on ptp and ios.
2017-07-26 22:51:24 +02:00
Hellowlol
5bfa96b49c Add missing labels and collections from the classes 2017-07-22 01:07:31 +02:00
Hellowlol
145f49808b fix so we can remove by value
TODO make sure tests works
2017-07-18 23:55:11 +02:00
Hellowlol
498ac29106 add tests for islatest and check for update 2017-07-18 23:20:49 +02:00
Hellowlol
43cb60d440 more update shit 2017-07-18 17:59:23 +02:00
Hellowlol
67468578bf init check for update. 2017-07-18 01:34:28 +02:00
Hellowlol
31daf2a435 Attempt to fix https://github.com/pkkid/python-plexapi/issues/147 2017-07-18 01:14:16 +02:00
Hellowlol
97b8c5e64a init 2017-07-17 02:59:53 +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
Nolan Buchanan
720d7f94e4 Fixed bug preventing unowned server connections.
Also fixed issue where self.connections was being used in place of
connections variable.
2017-06-05 18:10:46 -04:00
Michael Shepanski
215bf833fa Bug #144 Fix docs for private vars 2017-06-04 22:01:07 -04:00
Michael Shepanski
b9312f1eb8 Make flake8 happy 2017-05-26 22:53:06 -04:00
Michael Shepanski
a0833516fd Remove commented URL 2017-05-26 22:42:05 -04:00
Michael Shepanski
624afd7082 Move share into MyPlexAccount.inviteFriend; Add abilities inviteFriend, updateFriend, RemoveFriend 2017-05-26 22:35:33 -04:00
Michael Shepanski
a79bc44b7a Ability to get a MyPlexAccount object from the plexServer object A(using same token). Review code to lookup port if not available on the client listing (fixed a few bugs in it). 2017-05-18 23:04:57 -04:00
Michael Shepanski
1a175a74a0 Copy all client tests to pytest framework; Remove tests-old dir 2017-05-13 16:13:38 -04:00
Michael Shepanski
ca077c3017 Fix bug with missing commandId and server token (for playback) 2017-05-12 23:42:27 -04:00
Michael Shepanski
650a88d638 Started movinf client tests into Pytest framework 2017-05-12 23:25:57 -04:00
Michael Shepanski
f5af8cdae3 Mark Alert thread class as daemon; Build docs directly from travis script (not a test) 2017-04-29 21:19:59 -04:00
Michael Shepanski
6bb18843d7 Fix a few tests 2017-04-29 02:21:20 -04:00
Michael Shepanski
35fc7718f5 Tests now passing on personal server 2017-04-29 01:47:21 -04:00
Michael Shepanski
109d7367f6 Rename tools to follow naming pattern 2017-04-27 21:21:40 -04:00
Michael Shepanski
a5180b879f Use config to specify client and token; connect to PlexClient even if no token specified 2017-04-25 23:23:57 -04:00
Michael Shepanski
decdc296b6 Merge branch 'generic-tests' 2017-04-25 23:11:25 -04:00
Michael Shepanski
19039e1fed Cleanup client settings in pytest 2017-04-25 23:09:37 -04:00
patrick
7487a41df7 Fixed regression involving invalid token requirement
Fixed regression in client constructor argument
2017-04-24 22:49:15 -04:00
Michael Shepanski
be2142f7ed Better logging when connecting to resources; Ability to specify timeout when connecting to resources; Update connect_to_resource test to be a bit more generic 2017-04-23 22:59:22 -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
7bb39aa05c UPdating tests to work on second install 2017-04-14 20:47:59 -04:00
Michael Shepanski
ae91ba14b7 Create 2.0 branch; Move 3.0.0 branch to master 2017-04-10 23:25:13 -04:00
Michael Shepanski
0e220f2e7d Cleanup long doc string long lines 2017-03-21 23:04:23 -04:00
Michael Shepanski
fbbd3f0082 Merge pull request #139 from Hellowlol/lib_work
Lib work
2017-03-21 22:47:00 -04:00
Hellowlol
421dcd7bcf Add share. works missing docs 2017-03-06 23:18:10 +01:00
Hellowlol
9d0126f808 add docs 2017-03-05 23:16:06 +01:00
Hellowlol
70fce72f44 more dosc. 2017-03-03 23:32:16 +01:00
Hellowlol
93a9ea3488 addtourl helper. 2017-02-28 22:49:49 +01:00
Hellowlol
167939173f flake fixes 2017-02-28 22:30:34 +01:00
Michael Shepanski
1dcbf85a9f Changes to myplex.py from code review; Update test_documentation to check for warnings and errors 2017-02-27 23:43:31 -05:00
Hellowlol
cfae507471 Fix test. 2017-02-27 23:20:10 +01:00
Hellowlol
db3b729360 one step closer with the test. 2017-02-27 23:16:02 +01:00
Hellowlol
ff4b1010a9 Add edit/add library. 2017-02-27 22:04:37 +01:00
Hellowlol
cb66c93354 inital lib 2017-02-27 13:23:35 +01: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
Michael Shepanski
14f70620ab Update media.py 2017-02-26 21:12:56 -05:00
Michael Shepanski
5e2805d240 Update base.py 2017-02-26 21:11:41 -05:00
Michael Shepanski
ec4d0d591d Update base.py 2017-02-26 21:10:28 -05:00
Michael Shepanski
ccd3302f99 Update alert.py 2017-02-26 21:09:29 -05:00
Hellowlol
a4abc0e223 fixup 2017-02-27 01:35:22 +01:00
Hellowlol
351fe3565d add websocket to requirements.txt
We just just install all the packages we need
2017-02-27 00:17:03 +01:00
Hellowlol
cbde4787cc Add stop playback. 2017-02-26 23:31:09 +01:00
Hellowlol
53fab6239a fix tests for download logs/dbs
fix clients. Clients now tries to get info from plex.tv resources in the
port is missing.
add quote_plus to compat
2017-02-26 22:47:40 +01:00
Hellowlol
baeedcebbf add download log/db. 2017-02-26 21:01:54 +01:00
Michael Shepanski
d41bf0fb89 Add support to recursivly navigate photoalbums 2017-02-26 00:17:41 -05:00
Michael Shepanski
cbb999a0f5 Make flake8 happy 2017-02-25 10:50:54 -05:00
Michael Shepanski
4c83961cb4 Ability to delete device 2017-02-25 02:37:30 -05:00
Michael Shepanski
32a69db63e Support webhooks 2017-02-25 01:56:12 -05:00
Michael Shepanski
0b3ccc4c02 Add back noqa statments 2017-02-25 00:46:24 -05:00
Michael Shepanski
e66cc0a9c0 I was never happy with notifier being the name of the event listener. AlertListener is more boring, but also more clear what its doing. 2017-02-24 23:50:58 -05:00
Michael Shepanski
b35b265776 Better formatting for list settings 2017-02-24 23:14:52 -05:00
Michael Shepanski
07b3abc4c8 Document Settings; Cleanup style a bit 2017-02-24 11:18:54 -05:00
Michael Shepanski
8bb80a4222 Make flake8 happy 2017-02-23 02:08:04 -05:00
Michael Shepanski
a9416c0708 plex.settings.__getattr__ should return the value (not the object) 2017-02-23 01:55:22 -05:00
Michael Shepanski
91a8ab4563 Checkpoint: Settings functionality works; Needs documentation 2017-02-23 01:33:30 -05:00
Michael Shepanski
08f1e4b83d Fix pulling server baseurl,token from config; Add option to auto connect to client from config options 2017-02-22 01:22:10 -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
e48a66e00c Merge pull request #122 from Hellowlol/add_indexes
Add indexes. Closes https://github.com/pkkid/python-plexapi/issues/121
2017-02-19 22:57:06 -05:00
Michael Shepanski
049ef1235b Keep import style same as other files. 2017-02-19 22:53:26 -05:00
Michael Shepanski
228f049190 Pluralize function name; Its more clear more than one thing is being deleted 2017-02-19 22:51:17 -05:00
Michael Shepanski
601471c304 Merge branch '3.0.0' into pkkid/opt 2017-02-19 22:36:53 -05:00