Commit graph

928 commits

Author SHA1 Message Date
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
zSeriesGuy
43a60f00f1 Support history for specific ratingKeys
Add history method to PlexPartialObject
Add ratingKey to server history method.
Add tests for movie, show, season, episode, artist, album, and track history.
2019-11-14 12:21:49 -05:00
Michael Shepanski
bee3f207eb Adding sleep to ensure AlertListener started OK. 2019-11-11 20:28:25 -05:00
Michael Shepanski
97903cf189 Fix package.json script 2019-11-11 20:22:29 -05:00
Michael Shepanski
f473b95396 New version.
New flake8 file.
Added package.json for scripts.
2019-11-11 20:18:53 -05:00
blacktwin
bd9e1db4dc
Merge branch 'master' into patch-8 2019-11-11 15:42:18 -05:00
blacktwin
3791708362 adding year to filters 2019-11-11 13:35:03 -05:00
blacktwin
6f37554e30 add tag attribute to photo object. 2019-11-11 09:33:56 -05:00
blacktwin
7b7fa7a2c9 add tag filter for photos 2019-11-11 09:33:17 -05:00
blacktwin
65bb149d7d add tag class for media 2019-11-11 09:32:55 -05:00
Michael Shepanski
4906c1cc68
Merge pull request #398 from jjlawren/skip_reload_for_session
Skip attr reload for 'session'
2019-11-10 10:38:14 -05:00
Jason Lawrence
f83bfd6cc2 Skip attr reload for 'session' 2019-11-09 21:35:33 -06:00
Steffen Fredriksen
4ea81af0ac
Merge pull request #390 from pkkid/posters
posters
2019-11-06 17:49:28 +01:00
blacktwin
be09f44ae3 Fix posters function based on PR comment 2019-11-06 09:28:56 -05:00