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
83a8c5733e
Rename _root back to _server but keep it private
2017-02-08 23:13:54 -05:00
Michael Shepanski
76c0cb55a1
Rename variable to kwargs
2017-02-08 23:08:25 -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
745feabff9
Fix to use _fetchItem instead of _findItem
2017-02-07 02:21:12 -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
4624512356
A few more updates to get plexattrs.py fully running
2017-02-06 01:28:58 -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
7c766337b6
Remove all references to NA
2017-02-04 12:43:50 -05:00
Michael Shepanski
0aac1156a1
Add offset as optional playMedia() argument; Document it; Clenaup old tests as its the only way to test client actions right now
2017-02-02 01:32:38 -05:00
Michael Shepanski
cec0ab07e8
Cleanup formatting
2017-02-01 22:53:05 -05:00
Hellowlol
a72dd6256a
more cov
2017-02-01 20:49:11 +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
Hellowlol
169f208e87
Fix review comments,
...
prettier repr for season, and episode
2017-01-05 22:58:43 +01:00
Hellowlol
995e98f785
Suggestion for episode
2017-01-04 21:41:09 +01:00
Hellowlol
3aa4208d8b
fix rebase
2017-01-02 22:19:07 +01:00
Hellowlol
1075f65bb4
Moredocs ( #84 )
...
* Docs and speedups.
2017-01-02 22:06:40 +01:00
Hellowlol
740e7a5b9b
f
2016-12-17 00:38:08 +01:00
logaritmisk
1cb35da6f1
Added Field tag to video.
2016-10-02 22:05:37 +02:00
Michael Shepanski
36b5d12a19
Add back missing index value from Show,Season,Episode; Make season numbers a bit easier to fetch
2016-05-19 23:42:06 -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
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
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
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
fbaa89933e
I missed deleting an old occurance of getStreamURL
2016-03-22 23:42:04 -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
a999df8e94
Audio support complete; Added more audio tests; renamed is_watched to isWatched
2016-03-21 23:12:12 -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
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
abb3fd901d
Merge pull request #34 from bramwalet/patch-1
...
Update video.py: self.key already contains slash
2016-03-14 22:20:18 -04:00
sebastientrosset
72ce96f987
Add original title
2016-01-19 21:38:08 +01:00
Adam Charrett
98ce3f0149
Fix missing check for None in __eq__
2015-12-05 22:16:48 +00:00
bramwalet
bd47ea157d
Update video.py: self.key already contains slash
...
self.key already contains a leading slash therefore this call to the Plex server will fail with 404 not found.
When the slash from the query location is removed, the call will succeed.
2015-11-22 12:55:50 +01:00
Michael Shepanski
430fb25658
Add is_watched property; Fix python3 bug in examples
2015-11-04 22:49:09 -05:00
Michael Shepanski
1c27b9afb6
Merge branch 'master' of https://github.com/mjs7231/python-plexapi
2015-11-04 21:10:13 -05:00
Michael Shepanski
4e3f178dcb
Add transcodeSession information to playing Video
2015-11-04 21:10:10 -05:00
Steven Smith
471a51d265
Plex needs the refresh to be a PUT request
...
Otherwise you get `plexapi.exceptions.BadRequest: (405) method_not_allowed`
2015-10-29 02:16:00 +08:00
Michael Shepanski
9dd520d032
Fix merge conflict
2015-10-02 09:18:44 -04:00
Jonathan Jordan
8b297109e2
Added protocol parameter to getStreamUrl for iOS/Quicktime support
2015-09-24 23:02:42 -04: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
1055917750
Merge dev
2015-06-08 12:43:15 -04:00
Michael Shepanski
433e0a18b4
Add support for SSL
2015-06-08 12:41:47 -04:00
Michael Shepanski
05ef43bddc
Raise exception if trying to get streamURL for Show or Season
2015-06-04 10:55:30 -04:00
Michael Shepanski
527b0ee323
Add Video.getStreamURL()
2015-06-04 00:00:37 -04:00
Michael Shepanski
739feffc43
Get list of watched/unwatched episodes from Season or Show
2015-06-01 22:55:20 -04:00
Michael Shepanski
43e99e94ef
Read all headers, logging, and core settings from config file; Add Show.refresh() method
2015-06-01 22:28:50 -04:00
Michael Shepanski
c5eee64030
Read all headers, logging, and core settings from config file; Add Show.refresh() method
2015-06-01 22:27:43 -04:00
Michael Shepanski
edb29fa0d7
Include plex token on all urls
2015-02-23 22:42:29 -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