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
Michael Shepanski
1815e67804
Remove unneeded util functions
2017-02-13 01:48:04 -05:00
Michael Shepanski
c0958a0edc
only auto-connect to clients is baseurl and token passed
2017-02-13 01:37:23 -05:00
Michael Shepanski
4b8f82291b
Remove findLocations util function
2017-02-12 22:15:47 -05:00
Michael Shepanski
9b791b95e7
Add TAG constant to PlexObjects; Better method to save and build PLEXOBJECTS; All objects in media.py are now registered and can be looked up; Remove __len__ on Library class (it was causing URL to load twice).
2017-02-12 21:55:55 -05:00
Michael Shepanski
5443711b90
Make _query and _url public methods since we use it as such
2017-02-08 23:29:17 -05:00
Michael Shepanski
f676d4cbbf
Most tests passing; Need to add better filters on fetchItems for watched / unwatched
2017-02-08 02:00:43 -05:00
Michael Shepanski
e3abfeeb0f
Audio tests passing
2017-02-08 00:36:22 -05:00
Michael Shepanski
8212ca9c46
Much more stability from yesterday; Easier to use fetchItem funtions; Common __repr__ for all plexobjects; Fix all uses if listItems
2017-02-07 01:20:49 -05:00
Michael Shepanski
6a35f50a43
CHECKPOINT: Lots going on; Added new base class PlexObject that everything inherits from, this ensures all constructors are similar; Lots of work on new tool plexattrs that parses a full Plex library to find differences in attributes plexapi implements and what the Plex XML API offers up; Tests will most definetly be broken at this point, but I wanted to save my work.
2017-02-05 23:52:10 -05:00
Michael Shepanski
fc28f7c1e6
Move Playable and PlexPartialObject to new plexapi.base module
2017-02-04 14:46:51 -05:00
Michael Shepanski
cf99256450
Fix tests
2017-02-04 14:18:10 -05:00
Michael Shepanski
7c766337b6
Remove all references to NA
2017-02-04 12:43:50 -05:00
Michael Shepanski
a2cdc97453
Fix tests; comment out a few that were breaking because of timezone aware datetimes; Perhaps converting datetimes to timestamps then comparing the int values will be more reliable.
2017-02-03 11:39:46 -05:00
Michael Shepanski
19d25537a8
Revert hubsearch merge changes to cast() function
2017-02-03 10:25:11 -05:00
Michael Shepanski
0e7a158836
Cleanup HubSearch code a bit (contribution is awesome); Add a whole bunch of new attributes to server.Server object; Finish documenting server.py
2017-02-03 01:29:19 -05:00
Michael Shepanski
f479b8453b
Merge branch 'master' into hub
2017-02-02 22:23:46 -05:00
Michael Shepanski
cec0ab07e8
Cleanup formatting
2017-02-01 22:53:05 -05:00
Hellowlol
d19d602455
revert NA to _NA so its still compat with the tests.
...
- this allows for casting str and check for __NA__ in addition to is
instance.
- some indentation fixes
2017-02-01 22:32:00 +01:00
Hellowlol
e06f6250a3
mroe cov
2017-02-01 20:55:08 +01:00
Hellowlol
bbcefe2d53
add client base.
2017-02-01 20:49:13 +01:00
Hellowlol
a72dd6256a
more cov
2017-02-01 20:49:11 +01:00
Hellowlol
19506e272d
more cov
2017-02-01 20:46:53 +01:00
Hellowlol
7e9bd51d55
testing testing, 1, 2, 3.
2017-02-01 20:41:20 +01:00
Michael Shepanski
04251d3805
Finish documenting Photo; Monkey-patch sphinx to not auto-link to unknown types; Remove links to ElementTree (not our code)
2017-01-30 23:44:03 -05:00
Michael Shepanski
e873d857c9
Only replace on string_types
2017-01-26 01:44:55 -05:00
Michael Shepanski
d357b3e628
Hide secrets (X-PLEX-TOKEN) in logging by default; Set the config value logging.show_secrets = true in your config file to re-enable this
2017-01-26 01:33:01 -05:00
Michael Shepanski
355f4686c9
Finish documenting utils.py
2017-01-26 00:25:13 -05:00
Michael Shepanski
b61d1888b4
Finished documenting library.py
2017-01-25 23:21:13 -05:00
Michael Shepanski
c684552792
Started work on better documentation
2017-01-21 23:06:55 -05:00
Hellowlol
1abb1456f8
Inital hub.
2017-01-04 00:00:28 +01:00
Hellowlol
9826cc1a4b
Merge pull request #87 from WyseNynja/master
...
cast viewCount to int
2017-01-02 22:31:16 +01:00
Hellowlol
1075f65bb4
Moredocs ( #84 )
...
* Docs and speedups.
2017-01-02 22:06:40 +01:00
Bryan Stitt
b864cd3b45
case viewCount to int
2016-12-31 15:16:31 -08:00
Hellowlol
740e7a5b9b
f
2016-12-17 00:38:08 +01:00
Hellowlol
8d05808236
f
2016-12-16 01:22:18 +01:00
Hellowlol
21f376051c
s
2016-12-16 01:17:02 +01:00
Michael Shepanski
e5fc43a85f
Fix thing I broke
2016-04-12 23:26:04 -04:00
Michael Shepanski
c75db1df10
Fix broken utils.searchType()
2016-04-12 22:55:45 -04:00
Michael Shepanski
1a679411dc
Ability to list all albums; Fix setting object values when not found (NA) and we know its the full object
2016-04-12 22:47:46 -04:00
Michael Shepanski
748fc68406
Cleanup playlist support; Fix UUID on URLs; Better method to store listTypes; Cache section IDs in library
2016-04-11 22:43:21 -04:00
Michael Shepanski
3138ad1087
Added playlist support
2016-04-10 23:49:23 -04:00
Michael Shepanski
09a7ae80db
Basic support for photos complete
2016-04-09 23:59:47 -04:00
Michael Shepanski
81e22147c0
Get examples working again; Add new examples most_streamed_titles and most_active_users
2016-04-07 22:48:45 -04:00
Michael Shepanski
80529a21c7
Rename MyPlexUser to MyPlexAccount; Add support for real MyPlexUsers; Add api for history; New tests for sessions() and history()
2016-04-07 01:39:04 -04:00
Michael Shepanski
a30f9a73a5
Add comments
2016-04-05 22:30:18 -04:00
Michael Shepanski
50ac2f55e5
Create Playable object to put function specific to media that is playable like getStreamURL etc..
2016-04-03 23:55:29 -04:00
Michael Shepanski
e81f2506e9
Move _find function from PlexPartialObject to generic utility functions
2016-04-03 23:17:29 -04:00
Michael Shepanski
84a6999ed7
Ability to directly create a PlexClient object (without needing a PlexServer object); Cleaned up MyPlex code; Removed duplicated Client navigation code from myplex (everything uses PlexClient now)
2016-04-02 02:19:32 -04:00
Michael Shepanski
d63339bd24
Cleanup search a bit; Get existing tests passing and add a few new search tests
2016-03-31 18:36:54 -04:00
Michael Shepanski
b10faf8560
Checkpoint: New implementation for search
2016-03-31 16:52:48 -04:00
Michael Shepanski
b277facf10
Revisit client code; Add more testing around clients; Still cant get playback working through server proxy, but it works directly
2016-03-24 02:20:08 -04:00
Michael Shepanski
bcf01fdcdf
Move getStreamURL to PlexPartialObject; Remove duplicated code; Add getStreamURL tests (doesnt actualy test the stream works tho)
2016-03-22 23:38:06 -04:00
Michael Shepanski
d4e8bdba70
Checkpoint: Adding Audio support; Cleanup attribute definitions to only include what the Plex objects actually include.
2016-03-21 00:26:02 -04:00
Michael Shepanski
bd07a16d6e
Cleaner name for _NA
2016-03-17 01:15:58 -04:00
Michael Shepanski
2e2ea93982
Cleanup imports; force registration of audio/video libtypes
2016-03-17 01:14:31 -04:00
Michael Shepanski
276ba26b77
Create registry of library items we may see in xml; Cleanup how we handle build_item and list_items
2016-03-17 00:51:20 -04:00
Michael Shepanski
fd83cbab8a
Cleanup Audio/Video search at the server & library level. Start testing audio a bit more
2016-03-15 14:36:59 -04:00
Michael Shepanski
8c82651ce1
Level for a media object might not always be an integer
2016-03-14 22:28:21 -04:00
Michael Shepanski
649dcf2cfd
Implement __eq__ for NA; Test apostrophe in titles; Test fetching detailed metadata (using NA)
2016-03-14 00:19:48 -04:00
Michael Shepanski
430fb25658
Add is_watched property; Fix python3 bug in examples
2015-11-04 22:49:09 -05:00
Toomas Uudisaru
a03d67cfb4
Python3 fixes / urllib, printing, dict access
...
Python 3 fixes (compatible with Python 2):
- use urllib.parse module for quote() and urlencode() instead of urllib
- printing using parenthesis
- dict access: items() instead of iteritems(), keys() converted to list
- filter(): convert results to list
2015-09-05 17:09:15 +03:00
Michael Shepanski
433e0a18b4
Add support for SSL
2015-06-08 12:41:47 -04:00
Michael Shepanski
edb29fa0d7
Include plex token on all urls
2015-02-23 22:42:29 -05:00
Michael Shepanski
0489efdb1f
Search by hostname or ip as well
2015-02-20 15:06:41 -05:00
Michael Shepanski
699843f150
Updates to work with Python3
2015-02-17 15:35:17 -05:00
Michael Shepanski
352696147e
Move from Bitbucket
2014-12-28 22:21:58 -05:00