Commit graph

535 commits

Author SHA1 Message Date
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
725bea090f Minor stuff. 2018-04-15 21:05:05 +02:00
Nicholas Totsch
b06c417706 Added cast/todatetime and missing minYear 2018-04-10 13:58:51 -05:00
Nicholas Totsch
4e27f6d8a8 Flake8 Fix 2018-04-10 12:24:39 -05:00
Nicholas Totsch
981e965e1f Added class/libtype for collections and library search function 2018-04-10 12:14:57 -05:00
Hellowlol
6238fa5fd2 fix bug so device returns a object as it should. 2018-04-03 23:08:17 +02:00
Hellowlol
4620e00af4
Merge pull request #263 from patzm/pr/259
added userRating property to Track
2018-04-03 01:54:17 +02:00
Hellowlol
b401ef3cc2
Merge pull request #258 from pkkid/chap
Chap
2018-04-03 01:53:54 +02:00
Martin Patz
e0e7f80b07 added userRating property to Track 2018-03-21 17:26:53 +01:00
shawnsethi
5696110b08
Add sourceVideoCodec to TranscodeSession 2018-03-20 11:30:07 -04:00
Hellowlol
f6aa27eb83 ffs 2018-03-02 20:13:51 +01:00
Hellowlol
a322574dc6 WTF. why is a key in history None?? 2018-03-02 20:13:38 +01: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
b111e2490e add more missing stuff from /resources. 2018-03-02 19:11:43 +01:00
Hellowlol
3af2a5af59 Add support for relay 2018-03-02 19:02:22 +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
d0acf8191d bump to 3.0.6 2018-03-02 16:07:47 +01:00
Hellowlol
9d364e4860 init chapters. 2018-03-02 13:15:15 +01:00
daeks
fa7b53cbe5 added labels support for audio album 2018-03-01 20:39:33 +01:00
Hellowlol
a51d0225d1 Remove style error enforced by travis. 2018-02-22 12:36:31 +01:00
Hellowlol
807d833ceb move update progress so we can use it on music. 2018-02-22 12:29:39 +01:00
David Van Loon
f5af5d0e10
Add updateProgress function to Video 2018-02-17 23:32:29 -06:00
Hellowlol
c3dc913d81
Fix openpht bug. 2018-01-15 23:44:28 +01:00
ninthwalker
c091c39c3c
update plexurl
It appears plex is doing away with the plexapp.com url.
It no longer has a valid SAN cert for that domain as it redirects to plex.tv now.
Update myplex.py to reflect new signin URL.
2018-01-11 13:48:23 -08: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
68f73e151e bump to 3.0.5 2018-01-02 00:21:24 +01:00
Hellowlol
8666b53b6f Merge branch 'master' of https://github.com/pkkid/python-plexapi 2018-01-02 00:01:25 +01:00
Hellowlol
c1efa6f9c3 Lax missing protocol abilities. If its missing does not mean i dont work. 2018-01-02 00:01:05 +01:00
Hellowlol
480f5a2d52 empty trash is a put in plex web. 2017-11-25 00:48:32 +01:00
Hellowlol
d3e4c63dd4 add url method, artUrl
change reload waning to debug.
2017-11-08 22:01:53 +01:00
Hellowlol
eba25759fb Long time since a release lets make one. 2017-11-02 00:25:43 +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
Hellowlol
baf655b88b add split, unmatch, stop, installupdate 2017-10-29 00:40:35 +02:00
Hellowlol
0f16ea9cb7 fix invite and add editfriend. 2017-10-28 22:58:47 +02:00
Hellowlol
0594f24f8b mock delete properly 2017-10-26 23:55:59 +02:00
Hellowlol
9509683d28 Add pragmas to alert.py 2017-10-26 20:22:35 +02:00
Hellowlol
e137f610aa too long. 2017-10-26 19:51:46 +02:00
Hellowlol
6735ecc123 more more 2017-10-26 00:51:25 +02:00
Hellowlol
f0b869419c Ignore bars was that is only used by the plexapi cli tool 2017-10-26 00:24:54 +02:00
Hellowlol
168d94e67a Ignore download session images, isnt use my plexpai
it was a example for a users.
2017-10-26 00:23:24 +02:00
Hellowlol
26bf4ca010 zomg... 2017-10-26 00:01:42 +02:00
Hellowlol
807b6ebc3c add more tests to inc cov. 2017-10-25 21:53:52 +02:00
Hellowlol
f8e594ff3f Add test for a album inside a album 👍 2017-10-25 20:58:20 +02:00
Hellowlol
7682a04c7b remove reload since it interited. 2017-10-25 18:39:32 +02:00
Hellowlol
2d1e4f02fb Lint cov. 2017-10-25 18:34:59 +02:00
Hellowlol
0e4d53a74c fix python 2, bug, dunno why the last didnt work. 2017-10-25 18:22:10 +02:00
Hellowlol
419437e58b Merge branch 'shareinfo' 2017-10-24 21:41:40 +02:00
Hellowlol
63d76f3d03 fix section.
see https://github.com/pkkid/python-plexapi/pull/220 for more info.
2017-10-24 21:41:07 +02:00
Hellowlol
68d8eeebac Lets see if this is enoght. 2017-10-23 00:45:56 +02: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
Michael Shepanski
ae3e90e58d Update myplex.py 2017-10-11 23:30:58 -04:00
Michael Shepanski
973e5558ee Merge pull request #211 from pkkid/add_missing_label_tvshow
Add missing labels to cls show
2017-10-11 23:26:22 -04:00
Michael Shepanski
f533cb7450 Merge pull request #203 from pkkid/dunder
Dunders
2017-10-11 23:24:37 -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
e48462cd9f rename to outOut, handle http 204 2017-10-11 23:31:05 +02:00
Hellowlol
f3a0a8f16e lint 2017-10-11 22:40:10 +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
f52957f099 fix E261 2017-10-09 15:58:44 +02:00
Hellowlol
8910a307f9 Fix tests
Should we just remove the cache and require that the user reloads this?
or i can reload in the tests.
2017-10-09 15:57:37 +02:00
Hellowlol
ef7b631e82 Add missing labels to cls show 2017-10-09 15:40:46 +02:00
Craig Hamilton
d8368f769e Add label to the list of acceptable filters for MovieSection and ShowSection
This allows searching using the sharing labels.
2017-10-08 21:45:58 +11:00
Hellowlol
ef0556f952 Add __hash__ so we can use sets to remove dupes etc. 2017-10-05 23:21:14 +02:00
Hellowlol
a39326fab8 inital dunder on Playlist 2017-10-05 22:24:49 +02:00
Hellowlol
a4443db64f add opt out. untested so dont merge. 2017-10-03 21:23:47 +02:00
Hellowlol
b385b7626b Find duplicates of episodes. 2017-10-03 20:41:44 +02:00
Hellowlol
c9d1e222a6 Merge branch 'master' into better_cli 2017-10-01 00:46:55 +02:00
Hellowlol
7752e983b6 f 2017-10-01 00:34:20 +02:00
Hellowlol
828b41e0ec delete should be part of the media not the media part 2017-09-30 23:16:40 +02:00
Hellowlol
e2f90ea81d add broken delete to parts. 2017-09-30 19:45:35 +02:00
Hellowlol
b3a328261a fix installUpdate
i had forgotten a /
2017-09-30 08:44:24 +02:00
Michael Shepanski
fd015439c4 Fix flake8 warnings 2017-09-29 19:49:13 -04:00
Hellowlol
ceada3c0b3 Fix suggestion bug... 2017-09-30 01:32:27 +02:00
Hellowlol
566107697a download improvements
- Add missing showstatus doc
- add name and total to tqdm so the bar is displayed properly
2017-09-29 23:55:41 +02:00
Michael Shepanski
74eae2acdb Merge pull request #192 from tdorsey/patch-1
Fix TypeError when viewCount is not set
2017-09-29 12:11:30 -04:00
Michael Shepanski
8507c603b4 Update video.py 2017-09-29 12:11:14 -04:00
Michael Shepanski
67c859d584 Update video.py 2017-09-29 12:10:55 -04:00
adam
17532a8f7d Add guid to LibrarySection filters for Movie, Show 2017-09-29 17:45:57 +02:00
tdorsey
e0a213c5e4 Fix TypeError when viewCount is not set
Fixes #190
2017-09-28 06:43:49 -04:00
Hellowlol
f974ce5ad2 More cli work,
# todo movei this to cli inside plexapi and add a entrypoint to setup.py
2017-09-26 21:58:56 +02:00
Hellowlol
4f56b1ad6c init 2017-09-26 20:11:19 +02:00
Hellowlol
0a6655fddd Merge branch 'missing_attrs_from_session' 2017-09-24 00:37:52 +02:00
Hellowlol
25cf962470 Merge branch 'pr/184' 2017-09-24 00:21:29 +02:00
Hellowlol
9765f381e6 remove a unused method. 2017-09-24 00:14:47 +02:00
Hellowlol
e87fb484e4 More explisit 2017-09-23 23:11:34 +02:00
Nitemare
acdff9baa6 Update video.py
Undoing my error, not sure if this is necessary
2017-09-16 00:05:28 -03:00
Nitemare
e648f0d40b Update video.py
Adding seasonEpisode method that is listed in the documentation, but not in actually implimented
2017-09-15 23:19:33 -03:00
Nitemare
133d2f42ce Update video.py
Adding title and parentTitle to Episode variables (Lines 475 & 476)
2017-09-15 23:06:00 -03:00
blacktwin
375907744a is True 2017-09-14 16:53:11 -04:00
Hellowlol
bff5c4b18f fix 2017-09-12 09:30:12 +02:00
Hellowlol
82f4485f32 test it update docs. 2017-09-12 09:01:40 +02:00
Hellowlol
fc6ecaaa77 init 2017-09-12 08:58:43 +02:00
blacktwin
f9f4b80b2b camelCase formating
removeSections instead of remove_sections. update the doc string.
2017-09-11 22:43:52 -04:00
blacktwin
4ed895d5b6 Update myplex.py
254:28: E712 comparison to True should be 'if cond is True:' or 'if cond:'
2017-09-11 11:08:07 -04:00
Michael Shepanski
8e11fe4b95 Unable to remove/invite managed/home users #157 2017-09-08 18:49:55 -04:00
blacktwin
423f11d3c2 update to allow adding shares if none exist 2017-09-08 14:17:39 -04:00
blacktwin
0650aaad67 Home user and remove sections
def updateFriend() update to allow for removing sections if `remove_sections=True`. 

def user() update to find Home user names.
2017-09-08 10:39:58 -04:00
Bryan Stitt
5c7e138b2e Add mood to MusicSection.ALLOWED_FILTERS 2017-08-29 15:37:48 -07:00
Hellowlol
5d60f69610 rating should be a float, this slipped thru the cracks. 2017-08-20 22:30:50 +02:00
Michael Shepanski
52692316fd Merge pull request #175 from pkkid/zomg11
Fix bug for shared librarys.
2017-08-19 19:10:21 -04:00
Michael Shepanski
55c96cc11e Merge pull request #176 from pkkid/zomg123
Fix for openpht and fix failing tests
2017-08-19 19:09:52 -04:00
Hellowlol
626c63be3b lint my ass... 2017-08-18 23:23:40 +02:00
Hellowlol
72094fce40 More tests fixes 2017-08-18 21:44:40 +02:00
Hellowlol
25fb8478fb Try to fix some errors. 2017-08-18 21:21:59 +02:00
Hellowlol
24d6dc9c7c Fix for openpht. 2017-08-18 21:01:01 +02:00
Hellowlol
fdf79bc745 Fix bug for shared librarys. 2017-08-18 20:32:27 +02:00
Bryan Stitt
e4095816f9 Fix documentation for PlexServer attributes
I'm migrating from an old version and server and token aren't available like this anymore. They are only under their prefixed names now (which is already documented).
2017-08-16 14:59:34 -07:00
Michael Shepanski
d7276e2e82 Add tqdm requirement; Display download status in plex-download 2017-08-14 23:40:28 -04:00
Michael Shepanski
1159edc422 Fix but in plex-markwatched script 2017-08-14 22:55:54 -04:00
Michael Shepanski
410eb25235 Update version 2017-08-13 21:10:05 -04:00
Michael Shepanski
6c8b8654ff Minor version update to 3.0.2 2017-08-13 20:39:26 -04:00
Michael Shepanski
ceeda206b3 Merge branch 'master' of github.com:pkkid/python-plexapi 2017-08-13 20:38:46 -04:00
Michael Shepanski
08c42d7dd7 Merge pull request #167 from pkkid/plex_server_client_fix
remove depicated warn, add main token to server.clients()
2017-08-13 20:14:58 -04:00
Michael Shepanski
b3cc62e5ca Update version 2017-08-13 02:10:27 -04:00
Michael Shepanski
7de4cbc572 Make flake8 happy 2017-08-13 01:58:08 -04:00
Michael Shepanski
63dc1507d2 Add plex-download.py tool; Added new utility to request user/pass from user, config, or env for use when creating cmd line tools 2017-08-13 01:50:40 -04:00
Michael Shepanski
943aa02e69 Rename playlist.share to playlist.copyToUser; Make plex.myPlexSubscription a bool; Fix a few tests with updated attrs; Skip test_copyToUser if no subscription 2017-08-11 15:14:32 -04:00
Hellowlol
8b2780186c remove depicated warn, add main token to server.clients()
Abit more dry client.
2017-07-30 20:49:06 +02:00
Michael Shepanski
9c37679fb6 Fix Undefined name pms in server.py installUpdate() #165 2017-07-30 01:05:27 -04:00
Michael Shepanski
0aba49c90c MOve python3 check to compat 2017-07-30 01:02:10 -04:00
Michael Shepanski
15c0deaa18 Merge pull request #153 from pkkid/unicodeerr
Attempt to fix https://github.com/pkkid/python-plexapi/issues/147
2017-07-30 00:56:10 -04:00
Michael Shepanski
cf445ec47a Merge pull request #164 from pkkid/misc_fixes
fix https://github.com/pkkid/python-plexapi/issues/155
2017-07-30 00:55:44 -04:00
Michael Shepanski
2104ec0d64 One-liner it 2017-07-30 00:54:13 -04:00
Michael Shepanski
9d7fee2527 Merge pull request #162 from pkkid/random
make connect build the correct type.
2017-07-30 00:50:32 -04:00
Michael Shepanski
259d0fef37 Fixc bad reference to client.title; Cleanup indentation 2017-07-30 00:49:39 -04:00
Michael Shepanski
552a946e61 Merge pull request #160 from pkkid/shitty_players
Fix https://github.com/pkkid/python-plexapi/issues/158
2017-07-30 00:46:20 -04:00
Michael Shepanski
765314c252 Cleanup doc strings 2017-07-30 00:43:54 -04:00
Michael Shepanski
7abd569bd7 Merge pull request #154 from pkkid/server_checks
add check_for_update, isLatest
2017-07-30 00:40:59 -04:00
Michael Shepanski
48bc16b01c Cleanup doc strings 2017-07-30 00:35:52 -04:00
Michael Shepanski
bc76208666 Merge pull request #152 from pkkid/shared_server
Shared server
2017-07-30 00:34:16 -04:00
Michael Shepanski
8bd880c2a0 Cleanup doc strings 2017-07-30 00:31:45 -04:00
Hellowlol
a0f030e353 Add a test for share playlist. 2017-07-28 22:29:14 +02:00
Hellowlol
06901f3742 fix https://github.com/pkkid/python-plexapi/issues/155 2017-07-28 22:20:30 +02:00
Hellowlol
fa2bbeabb8 make connect build the correct type. 2017-07-27 01:28:14 +02:00
Hellowlol
73c10abcce fix bug, add test add todo for images from meta data. 2017-07-27 00:55:31 +02:00
Hellowlol
5641dcffee Fix https://github.com/pkkid/python-plexapi/issues/158
Confirmed on ptp and ios.
2017-07-26 22:51:24 +02:00
Hellowlol
5bfa96b49c Add missing labels and collections from the classes 2017-07-22 01:07:31 +02:00
Hellowlol
145f49808b fix so we can remove by value
TODO make sure tests works
2017-07-18 23:55:11 +02:00
Hellowlol
498ac29106 add tests for islatest and check for update 2017-07-18 23:20:49 +02:00