Commit graph

96 commits

Author SHA1 Message Date
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
Hellowlol
30ec806536 fix some docs. 2018-03-02 18:43:31 +01:00
Hellowlol
eb337ce585 Add support for similar for tvshows and movies. 2018-03-02 18:27:57 +01:00
Hellowlol
bb55a00f52 really need to sanity check on this one.. 2018-03-02 17:08:10 +01:00
Hellowlol
807d833ceb move update progress so we can use it on music. 2018-02-22 12:29:39 +01:00
Michael Shepanski
61ede66ad5 Dont include token in URLs unless show_secrets set in config; All functions that return a URL such as stream urls and thumbnails still include token 2018-01-04 21:44:35 -05:00
Hellowlol
d3e4c63dd4 add url method, artUrl
change reload waning to debug.
2017-11-08 22:01:53 +01:00
Hellowlol
ceb3f03445 oops. 2017-11-01 23:36:03 +01:00
Hellowlol
0e2c7fb7e6 fixup
move delete to partial as not everything is deletable
fix library genre test
fix delete media.
2017-11-01 23:18:18 +01:00
Michael Shepanski
d4763dcda9 Merge pull request #216 from pkkid/add_ne
add ne and ne test.
2017-10-13 21:09:10 -04:00
Hellowlol
b5a3018c6b add ne and ne test. 2017-10-14 01:46:09 +02:00
Hellowlol
284a3b615a More hidden stuff.. 2017-10-14 00:29:52 +02:00
Hellowlol
367929a97e fix another bug that was hidden 2017-10-14 00:02:21 +02:00
Hellowlol
1fb4fcbed4 fix e303 2017-10-13 23:47:00 +02:00
Hellowlol
90217b060f missing attrs should raise attribute errors. 2017-10-13 23:47:00 +02:00
Michael Shepanski
bdee9ad1f1 Merge pull request #199 from pkkid/split
add opt out and split mediaitem.
2017-10-11 23:31:29 -04:00
Hellowlol
577c68ac7d add unmatch 2017-10-12 00:01:33 +02:00
Hellowlol
d7856e52ee fix split media item. add missing method put 2017-10-11 23:40:22 +02:00
Hellowlol
e402c3227b make media iterable.
they will yield the next lower level. so a show will iter a season a
season will yield a episode etc.
2017-10-09 16:07:09 +02:00
Hellowlol
ef0556f952 Add __hash__ so we can use sets to remove dupes etc. 2017-10-05 23:21:14 +02:00