Commit graph

529 commits

Author SHA1 Message Date
blacktwin
65bb149d7d add tag class for media 2019-11-11 09:32:55 -05:00
Steffen Fredriksen
e6548649c8
Merge pull request #386 from pkkid/video_exists
add exists function
2019-10-06 21:19:31 +02:00
blacktwin
4973c9dd1b Revert "add exists function"
This reverts commit db6a670
2019-10-03 22:11:30 -04:00
Michael Shepanski
17f67ebdad Fix conftext to pass flake8 2019-10-02 20:58:00 -04:00
blacktwin
8e7c5e9b67
update exists function
with updated media.py use new media attributes.
2019-09-30 21:03:49 -04:00
blacktwin
8c78fbacd8
add attributes
adding attributes for exists and accessible.
2019-09-30 20:53:50 -04:00
blacktwin
db6a670a4b
add exists function
instead of modifying media.py and base.py, create a function to check if the video exists, is accessible, and which file if multiples exist(ed). For #385
2019-09-30 11:43:57 -04:00
Hellowlol
810b469add lint myplex 2019-09-21 23:22:54 +02:00
Steffen Fredriksen
117d8cba73
Merge pull request #365 from blacktwin/patch-5
Adding Managed User support
2019-09-21 22:16:27 +02:00
Hellowlol
f95f7924b1 Merge branch 'pr/366' 2019-09-21 22:14:06 +02:00
Hellowlol
52833b1ebf Fix indent and a typo 2019-09-21 22:11:57 +02:00
blacktwin
df546046d8
doctstring update 2019-09-05 08:54:07 -04:00
Menushka Weeratunga
074a632304 Fix for episode not containing seasonNumber attribute 2019-09-01 23:35:05 -04:00
Hellowlol
77a223455e
fix 2019-08-22 14:25:38 +02:00
Hellowlol
5c9ee33175
Merge pull request #367 from makeroo/master
Do not fail while parsing illegal dates. Return None instead.
2019-08-17 01:31:04 +02:00
Ty Hahn
1d663b9209 Lint 2019-08-07 05:55:03 +09:00
Ty Hahn
37727a69ed Add rate function to video 2019-08-07 05:45:21 +09:00
blacktwin
830b9ed91f
fix for modeUpdate()
was checking the wrong variable.
corrected raise output.
2019-07-31 16:06:49 -04:00
Simone Pierazzini
3bc890a154 use preconfigured plexapi logger instead of plexapi.utils 2019-07-26 17:09:39 +02:00
Simone Pierazzini
94636d71f3 Log date parsing errors 2019-07-26 13:16:55 +02:00
Simone Pierazzini
25c619032f Do not fail while parsing illegal dates. Return None instead. 2019-07-26 12:11:00 +02:00
blacktwin
1587aa7bab
python3 compatibility for raise
python3 compatibility for raise
2019-07-25 15:23:51 -04:00
blacktwin
b201df061c
docstrings and better handling
added docstring and better handling of the parameters.
2019-07-25 15:20:27 -04:00
blacktwin
02026cc65b
Adding collection sorting
collectionSort to data and sortUpdate function.
2019-07-25 14:46:41 -04:00
blacktwin
9149d999e0
Add collectionMode data and modeUpdate
Added collectionMode to collection data. 
modUpdate acts like webUI, `collection.modeUpdate(mode="default")`
2019-07-25 14:30:48 -04:00
blacktwin
654f25b3f8
Add removeHomeUser
Add ability to remove a Home User. If Home User is an Existing Plex User then User will go back into Sharing/Friends with sections and settings carrying over. Any Home User settings (LiveTV) are removed.
2019-07-25 08:33:56 -04:00
blacktwin
a7df2a9ed8
adding createExistingUser
Add ability to create an Existing Plex User. If User already exists in Sharing/Friends, sections and settings carry over. If User does not already exist in Sharing/Friends, sections and settings can be assigned.
2019-07-25 08:25:32 -04:00
blacktwin
c719c90a7a
adding createHomeUser
add ability to create a Home User with sections and settings
2019-07-25 08:14:21 -04:00
blacktwin
baabcbceb1
update for ALLOWED_FILTERS
updated ALLOWED_FILTERS for Movies, Shows, and Photos sections.
2019-07-24 08:06:44 -04:00
blacktwin
d71ce739c0
update docstring
update docstrings for usage of `inviteFriend` and `updateFriend`. Previous doc suggested that if `None` then all sections were selected. If `None` no sections will be selected.
2019-07-22 15:37:37 -04:00
Nate Harris
fab1010066
Updated attributes documentation 2019-07-16 13:21:56 -04:00
Hellowlol
4c04b76690 Update server.py
add a way to get a transit token. Dunno about the name.
2019-06-29 22:16:55 +02:00
Michael Shepanski
a13d17c838 track accountID in Playable 2019-06-03 00:50:02 -04:00
Michael Shepanski
6ade28868c Add minimal api to list system accounts 2019-06-03 00:44:21 -04:00
Michael Shepanski
dd8648b9de Add container size to plex.history.
Add filter options to plex.history.
2019-06-02 23:12:07 -04:00
Michael Shepanski
e81809464f
Merge pull request #345 from Tomme/ignore_negative_epoch_values
Ignore negative epoch values
2019-05-29 12:50:38 -04:00
Peter Brink
4339626800 added collection to show object for tagging 2019-05-29 02:52:50 -04:00
Paulus Schoutsen
9498d1d751
Don't warn when also raising exception
We should not log warnings if we are also raising exceptions. It is up to the caller to decide how to handle the error and if they should notify the user. 

This was triggered because I got logs for bad requests for 401 Unauthorized.
2019-05-21 20:32:00 -07:00
Tomme
bcd81e67c0 Ignore negative epoch values 2019-03-24 19:31:30 +00:00
gstacks13
77b1ee721d Get season from index instead of creating title 2019-02-21 11:56:51 -06:00
Michael Shepanski
7f351f4a57
Merge pull request #319 from hidaba/patch-1
Update library.py
2019-02-11 09:17:14 -05:00
Michael Shepanski
e6ca501610
Merge pull request #339 from gstacks13/fix_show_season_0
Fix Show.season(0) not returning 'Specials'
2019-02-11 09:16:39 -05:00
gstacks13
433e4c402a Fix show.episode() not allowing season 0 2019-02-10 14:45:13 -06:00
Andrey Yantsen
97e5383d54 fix few more flake8 warnings from recent PR 2019-02-07 11:09:07 +00:00
Andrey Yantsen
68868a6617 Merge remote-tracking branch 'root/master' into newer_oldest_plex 2019-02-07 11:06:43 +00:00
Andrey Yantsen
a28cbdc669 fix few more flake8 warnings 2019-02-07 10:25:50 +00:00
gstacks13
58862b74ba Fix Show.season(0) not returning 'Specials' 2019-02-07 02:24:00 -06:00
Michael Shepanski
99efddf49f
Merge pull request #336 from gstacks13/set_default_streams
Closes #334 - set default audio & subtitle stream
Thanks for the updates!
2019-02-06 19:03:36 -05:00
Michael Shepanski
6d135a7848
Remove unused import.
Flake8 caught this one.
2019-02-06 18:47:35 -05:00
gstacks13
e830f74436 Tidying up, as requested. 2019-02-06 17:22:28 -06:00