Commit graph

941 commits

Author SHA1 Message Date
blacktwin
8320359b5e Revert "fix for setPoster returning the new selected posters thumb path setPoster's response.encoding will be None all others are str"
This reverts commit c72cc245
2020-03-18 01:24:20 -04:00
blacktwin
7190d9cb15 Merge remote-tracking branch 'origin/poster_change' into poster_change 2020-03-18 01:17:17 -04:00
blacktwin
53a61561b1 fix filepath in uploadPoster for Collections 2020-03-18 01:16:26 -04:00
blacktwin
9651f77c07 add posters methods to playlist
poster displays from hub but reverts to composite when on playlist page
uploaded poster are only visible with the posters method or it's endpoint not in the webui
2020-03-18 01:15:43 -04:00
blacktwin
dedab2b5f5 posters methods for collections 2020-03-18 00:55:38 -04:00
blacktwin
623c304fda setPoster docstring 2020-03-18 00:55:17 -04:00
Hellowlol
06ca74dbce Some lint and silence the error 2020-03-14 15:35:56 +01:00
blacktwin
c72cc24584 fix for setPoster returning the new selected posters thumb path
setPoster's response.encoding will be None all others are str
2020-03-13 21:47:56 -04:00
blacktwin
47950201b0 moved poster related methods to base PlexPartialObject class 2020-03-13 16:43:06 -04:00
blacktwin
1abcff8eee remove poster related methods
to be moved to base to encompass all item types
2020-03-13 16:40:10 -04:00
blacktwin
6ce9917622 adding setPoster in Video class instead of or in combination to Poster class 2020-03-12 14:57:02 -04:00
blacktwin
06ae46959c create uploadPoster
allow for url or filepaths
once uploaded it is automatically selected
2020-03-12 10:26:55 -04:00
blacktwin
b7c9e31da2 minor docstring update 2020-03-12 10:25:56 -04:00
blacktwin
4623a54cc8 create select method for Poster class
this will cause a parsing error from xml.Elemtree but the poster will change.
2020-03-12 10:24:29 -04:00
blacktwin
e62992afa9 add compat to import listing
use of compat.quote_plus
2020-03-12 10:23:15 -04:00
Steffen Fredriksen
c3e16b2d36
Merge pull request #388 from pkkid/conversions
conversions
2020-01-28 17:12:41 +01:00
blacktwin
6aca1e5e50 corrected Optimized TAG 2020-01-27 14:17:49 -05:00
blacktwin
2da4d2bf68 use fetchItem and fetchItems instead of query 2020-01-27 14:17:23 -05:00
blacktwin
ad2de7c9a6 correct Conversion TAG 2020-01-27 14:16:41 -05:00
blacktwin
0fa9ced744 change conversions method to use fetchItems
assuming all server's conversion playQueue is 1
2020-01-27 14:16:12 -05:00
Steffen Fredriksen
ddcc6dca5c
Merge pull request #415 from andy-maier/andy/test-install
Verified correct installation of plexapi in Travis
2019-12-31 14:08:49 +01:00
Steffen Fredriksen
31e94db88b
Merge pull request #417 from andy-maier/andy/fix-flake8
Fixed flake8 errors in alert.py and base.py
2019-12-31 14:08:38 +01:00
Andreas Maier
c132a6dcb8 Fixed flake8 errors in alert.py and base.py
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
2019-12-31 14:06:56 +01:00
Andreas Maier
1751dbaa14 Verified correct installation of plexapi in Travis
The missed dependency to the 'mock' package on Python 2.7 made it clear
that this went by undetected in the Travis runs.

This change updates the Travis control file to verify that the plexapi
package can be successfully imported after being installed from the
working directory using pip.

Because the installation of py.test drags in a lot of dependencies,
it was moved after the installation of plexapi.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
2019-12-31 13:49:25 +01:00
Steffen Fredriksen
d20f9bea4b
Merge pull request #414 from andy-maier/andy/fix-mock-dependency
Added dependency to mock package for Python <3.3
2019-12-31 13:46:40 +01:00
Andreas Maier
efbe3c9f39 Added dependency to mock package for Python <3.3
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
2019-12-31 13:34:07 +01:00
Michael Shepanski
6987182774
Merge pull request #408 from zSeriesGuy/Update-websockets-client
Update websockets client
2019-12-05 21:59:13 -05:00
zSeriesGuy
b68ace19f4 Fix some typos 2019-12-04 14:15:51 -05:00
zSeriesGuy
8e64048e01 Add comments about why this is coded this way. 2019-12-04 14:14:29 -05:00
zSeriesGuy
c3f535d64a Update websocket-client 2019-12-04 13:53:30 -05:00
Jerry Nance
b84fd45719
Merge pull request #2 from pkkid/master
Update from upstream
2019-12-04 13:43:23 -05:00
Michael Shepanski
cae44e4379 Merge branch 'master' of github.com:pkkid/python-plexapi 2019-12-02 21:08:25 -05:00
Jerry Nance
9f1d8fd5be
Merge pull request #1 from pkkid/master
Bring my fork to current
2019-11-29 09:16:40 -05:00
Steffen Fredriksen
93de3887d6
Update requirements_dev.txt 2019-11-29 02:10:12 +01:00
Hellowlol
bf6b3d3b9b Update requirements_dev.txt
Lets try to pin pytest mock before the breaking change.. The tests still needs to fixed as mocker patch dont really work.
2019-11-28 23:46:04 +01:00
Steffen Fredriksen
2d1976d6c0
Merge pull request #396 from HimbeersaftLP/patch-1
Fix the documentation on originalTitle for Trackobjects
2019-11-28 23:16:36 +01:00
Steffen Fredriksen
2a6aaac1fe
Merge pull request #404 from zSeriesGuy/SpeedUpLibraryGet
Speed up Library Section Get
2019-11-28 23:15:54 +01:00
Steffen Fredriksen
0a7b3ed3b3
Merge pull request #403 from zSeriesGuy/PlayHistory
Support history for specific ratingKeys
2019-11-28 23:15:36 +01:00
Steffen Fredriksen
ba1f3a2b69
Merge pull request #400 from pkkid/photo_tags
photo_tags
2019-11-28 23:14:45 +01:00
Steffen Fredriksen
423b8a0dc4
Merge pull request #405 from pkkid/fix-playmedia
Fix for starting playback on Chrome and Plex for windows
2019-11-28 23:12:43 +01:00
Steffen Fredriksen
5f4b7e1dfd
Merge pull request #384 from blacktwin/patch-8
upload, select, remove subtitles
2019-11-28 23:12:28 +01:00
Hellowlol
8b7569b130 lets not give on the master toke if we dont need to. 2019-11-28 23:07:15 +01:00
Hellowlol
2c9402fd44 Fix goToMedia 2019-11-28 23:02:11 +01:00
Hellowlol
7f80f8ff7b Fix for starting playback on Chrome and Plex for windows 2019-11-28 21:58:31 +01:00
blacktwin
b59aab15b2 remove reloads in new functions. 2019-11-20 11:40:49 -05:00
zSeriesGuy
59ce923559 Add maxResults and mindate to all history methods 2019-11-20 06:50:25 -05:00
zSeriesGuy
442c55a03a Speed up Library Get
The original code pull a full list of all library items and then searched that list.
With this change, the library get uses the title as a search filter such that the returned list is much shorter.
2019-11-18 15:36:17 -05:00
zSeriesGuy
d9820775a6 Add additional histroy methods 2019-11-16 16:35:20 -05:00
zSeriesGuy
481e55bbe4 Update docstring for added ratingKey arg. 2019-11-14 17:28:46 -05:00
zSeriesGuy
f3091d9e97 Remove markwatched/markunwatched from audio tests history 2019-11-14 13:44:42 -05:00