Commit graph

1088 commits

Author SHA1 Message Date
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
blacktwin
206fa231c7 update tidal to use batchingItems 2019-12-06 00:39:15 -05:00
blacktwin
fdc8c9ec93 update podcasts to use batchingItems 2019-12-06 00:39:00 -05:00
blacktwin
688f78a4ec update news to use batchingItems 2019-12-06 00:38:48 -05:00
blacktwin
320a99cc4d update webShows to use batchingItems 2019-12-06 00:38:31 -05:00
blacktwin
f849693646 update videoOnDemand to use batchingItems 2019-12-06 00:38:09 -05:00
blacktwin
0e69be702e remove Hub import 2019-12-06 00:37:31 -05:00
blacktwin
c9c1638a6a create batchingItems
taken from server.history method thanks @zSeriesGuy
2019-12-06 00:36:54 -05:00
Michael Shepanski
6987182774
Merge pull request #408 from zSeriesGuy/Update-websockets-client
Update websockets client
2019-12-05 21:59:13 -05:00
blacktwin
9b84b0deae import library Hub class 2019-12-05 13:03:27 -05:00
blacktwin
fc28d7210f Adding Clip class for news 2019-12-05 13:02:50 -05:00
blacktwin
d6f7ad7e10 Adding music/tidal url and function 2019-12-05 13:02:22 -05:00
blacktwin
f7938cf06e Adding podcasts url and function 2019-12-05 13:00:29 -05:00
blacktwin
922845d7b6 Adding news url and function 2019-12-05 12:57:27 -05:00
blacktwin
bd2519b35b Adding webshows url and function 2019-12-05 12:55:39 -05:00
blacktwin
3caf0dab42 Adding videoOnDemand url and function 2019-12-05 12:54:18 -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