jjlawren
fb82bc402b
Playqueue improvements ( #563 )
...
* Allow creating PlayQueues with multiple items, appending items
* Fix single-item playqueues, fix 'next', fix docstrings, run black
* Docstring updates
* More documentation fixes
* Allow removing items from a PlayQueue
* Use f-strings for readability
* Add ability to move items within the PlayQueue
* Cast attributes to proper types, update docs
* Format with black
* flake8 and sphinx fixes
* Reformat with black
* Update __contains__ to accept media objects
* Operate using media items, use methods similar to playlists
* Rename parameter to better match behavior
* Help users by automatically finding appropriate playQueueItemID values
* Add refresh method, auto-refresh before modifying playqueues
* Reformat with black
* Add TAG and TYPE to PlayQueue objects
* Review comments, add playQueueSelectedMetadataItemKey for Chromecast convenience
* Allow setting the playback start point in the PlayQueue
* Add tests, simplify size check
* Use camel case for helper function
* Add a helper to provide the selected item media object
2020-09-11 16:23:27 -05:00
blacktwin
1d8d76ef56
Merge branch 'master' into intro_marker
2020-05-27 21:48:41 -04:00
blacktwin
5e3dff4e32
update analyze docstring to include new intro video marker
2020-05-24 22:55:52 -04:00
Hellowlol
940efc0013
first pass on compat.
2020-05-12 23:15:16 +02:00
Steffen Fredriksen
226737807e
Merge pull request #472 from pkkid/matching_fix
...
matching_fix
2020-05-10 14:30:59 +02:00
blacktwin
430113d2b9
add key to initpath
2020-05-03 21:42:08 -04:00
blacktwin
2af1452fed
if agent is the only keyword then only add language and agent to params
...
fix for #140
2020-05-02 00:01:34 -04:00
blacktwin
608433bce2
making sure ?manual=1
is included in key
2020-05-01 22:53:28 -04:00
blacktwin
95e52b5cad
error catch for zero results when using fixMatch(auto=True)
2020-05-01 22:51:28 -04:00
Hellowlol
c466b096ef
Allow int to pass aswell
...
Supports int, strings, list off ids.¨
This bugs like this happens when your watcking tv at the same time ¯\_(ツ)_/¯
2020-05-02 00:41:56 +03:00
Hellowlol
201466a52f
Allow failure
2020-05-02 00:32:46 +03:00
Hellowlol
6a3e7a0273
fix bug
2020-05-02 00:22:11 +03:00
Hellowlol
e3dc61d399
add merge method
2020-05-02 00:02:45 +03:00
blacktwin
25ae83c7bd
add agent to fixMatch docstring
2020-04-29 21:10:48 -04:00
blacktwin
911fb7e680
add agent keyword to fixMatch method
...
allows for auto matching with a different agent than library set agent
2020-04-29 21:10:28 -04:00
blacktwin
517c9fb670
change if statement to caught any not None keywords
...
allowing for `title="",year=""` to work correctly
2020-04-29 21:09:16 -04:00
Hellowlol
5a2f14e645
Update based on comments.
2020-04-27 19:22:10 +03:00
Steffen Fredriksen
6eea7cce0f
Allow pagination ( #464 )
...
Allow pagination on fetchItems
2020-04-26 21:18:52 +02:00
Jason Lawrence
a1332434f1
Fix docstrings for tests, remove unused param
2020-04-15 22:49:18 -05:00
blacktwin
319fe52d0a
Merge branch 'master' into poster_change
2020-04-12 23:04:19 -04:00
blacktwin
2235cafaf1
Merge branch 'master' into poster_change
2020-04-12 22:45:31 -04:00
blacktwin
bef40a74f5
Merge branch 'master' into unmatch_match
2020-04-12 22:37:50 -04:00
jjlawren
e9ecb595a6
Raise exception when empty key passed to fetchItem* ( #432 )
2020-04-11 08:30:05 -05:00
blacktwin
cd934c06f9
docstring minor update
2020-03-18 09:43:49 -04:00
blacktwin
91a08c63c4
add arts methods to base.PlexPartialObject
2020-03-18 09:42:56 -04:00
blacktwin
0b4b9c452e
update setPoster method in base, library.Collection, playlist
...
use media.Poster select method instead
2020-03-18 09:26:09 -04:00
blacktwin
623c304fda
setPoster docstring
2020-03-18 00:55:17 -04:00
blacktwin
28d8b862ab
detailed example for using matches method
...
thanks @jonnywong16
2020-03-17 14:06:05 -04:00
blacktwin
e44513c44d
update matches method to operate more closely to webui
...
thanks @jonnywong16
2020-03-17 14:05:29 -04:00
blacktwin
b54f61d1cf
only allow sections available agents to be used.
2020-03-16 14:05:45 -04:00
blacktwin
30974f807b
fixMatch docstring update
2020-03-14 23:39:19 -04:00
blacktwin
07cf7d16e4
fixMatch rework not so not-y
2020-03-14 23:39:04 -04:00
blacktwin
86c722f8bd
docstring updates
2020-03-14 23:37:51 -04:00
blacktwin
dc5d147315
update fixMatch to allow for auto fixmatch
...
auto will select the first searchResult from matches
2020-03-14 23:06:32 -04:00
blacktwin
38b0fee6c9
adding unmatch/match methods from video:Movie and video:Show classes to base:PlexPartialObject
...
minor improvements to matches method thanks to @JonnyWong16
matching can be done for artists, albums, shows, movies
all other media types safely return an empty list []
2020-03-13 22:22:30 -04:00
blacktwin
47950201b0
moved poster related methods to base PlexPartialObject class
2020-03-13 16:43:06 -04: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
zSeriesGuy
59ce923559
Add maxResults and mindate to all history methods
2019-11-20 06:50:25 -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
Jason Lawrence
f83bfd6cc2
Skip attr reload for 'session'
2019-11-09 21:35:33 -06:00
Michael Shepanski
a13d17c838
track accountID in Playable
2019-06-03 00:50:02 -04:00
David Roizenman
3719d4b599
Fix spelling of "original"
2019-01-07 08:04:53 -05:00
Andrey Yantsen
7a67417615
fix docs for Raises clauses
2018-10-03 11:09:43 +01:00
Andrey Yantsen
057967a8ae
Library section id for all ( #292 )
...
* add librarySectionID for each item if MediaContainer had one
* fix getting section for photos which are not in album yet
* another approach
2018-09-14 20:27:24 +02:00
Andrey Yantsen
b18e186006
fix flake8 warnings on travis ( #283 )
2018-09-08 17:26:59 +02:00
tijder
8d4e062a0a
Add own duration when not given as parameter
2018-05-18 10:58:06 +02:00
tijder
16ed7451c9
Comment parameters
2018-05-13 11:40:15 +02:00
tijder
ace43732a4
updateTimeline with option duration
...
Without the option duration the video progres will not be updated.
2018-05-13 10:50:19 +02:00
tijder
00c21c6325
Function update timeline for base.py
...
Function to update the timeline for a payable item. With this the item will be showed in the now playing screen.
2018-05-12 21:29:17 +02:00
Hellowlol
4e404cb502
hopefully fix reload issue.
...
i really need to get add creds so i can test this locally.
2018-03-02 19:28:23 +01:00