Commit graph

1441 commits

Author SHA1 Message Date
blacktwin
7678e0cfef add iter on a specific root tag in listAttrs 2021-06-14 00:57:07 -04:00
JonnyWong16
a353df1f56 Fix keyword arguments for playlist copyToUser 2021-06-07 12:00:49 -07:00
JonnyWong16
90a1cff01e
Fix return value when using USER_DONT_RELOAD_FOR_KEYS 2021-06-07 08:55:04 -07:00
JonnyWong16
754698b37b
Bump to 4.6.0 2021-06-06 20:31:13 -07:00
JonnyWong16
8ef3d0ac35
Merge branch 'master' into feature/auto_reload 2021-06-06 18:05:08 -07:00
JonnyWong16
67b3fc694a
Allow clips and extras to be streamed and downloaded 2021-06-06 17:50:35 -07:00
JonnyWong16
7ddf47c223
Add doc string for Review object 2021-06-06 17:27:02 -07:00
JonnyWong16
4d60101ab7
Remove Account settings
* Settings are only for Plex Web specific settings like remembering selected tab, poster size, etc.
2021-06-06 17:23:48 -07:00
JonnyWong16
f8c7fefd2f
Cleanup Account onlineMediaSources OptOut methods 2021-06-06 17:23:44 -07:00
JonnyWong16
1d031166fc
Cleanup movie reviews and extras 2021-06-06 17:23:34 -07:00
JonnyWong16
6f44933f5b
Clean up Extra object 2021-06-06 16:40:25 -07:00
JonnyWong16
8f2ad955ab
Merge branch 'master' into reviews_extras 2021-06-06 15:02:03 -07:00
JonnyWong16
6448837112
Fix return typo in doc strings 2021-06-06 14:54:15 -07:00
JonnyWong16
7e8c93dcc7
Merge remote-tracking branch 'upstream/master' into bugfix/cleanup_findItems 2021-06-06 14:50:39 -07:00
JonnyWong16
fab55e1227
Merge branch 'master' into reviews_extras 2021-06-06 14:42:16 -07:00
JonnyWong16
a88cedbce8
Merge remote-tracking branch 'upstream/master' into feature/auto_reload 2021-06-06 14:35:58 -07:00
JonnyWong16
13215152c9
Explicit check for parent is not None
* Checking if parent is truthy calls the __len__ method which does not work for some Plex objects until after it is initialized with _loadData.
2021-06-06 13:51:59 -07:00
JonnyWong16
e965ebbbe6
Merge remote-tracking branch 'upstream/master' into feature/rating_mixin 2021-06-06 12:54:09 -07:00
JonnyWong16
ab7ed6dee6
Merge pull request #763 from JonnyWong16/feature/smart_playlists_collections
Fix smart playlists and add support for smart collections
2021-06-06 12:15:12 -07:00
JonnyWong16
eafdccaddc
Merge pull request #758 from JonnyWong16/feature/claim_server
Add method to claim and unclaim server
2021-06-06 12:14:46 -07:00
JonnyWong16
38114b62ba
Check item exists in playlist before removing or moving 2021-06-02 09:23:39 -07:00
JonnyWong16
4d12cc9a49
Move reload to private method to hide the autoReload parameter 2021-06-02 08:59:52 -07:00
blacktwin
4a4a945653 Move section method from Clip to Extra 2021-05-31 09:50:21 -04:00
blacktwin
5013028344 SETTINGS url change and OPTOUT url creation 2021-05-31 09:46:46 -04:00
blacktwin
ca97c60dcb replace eval with json.loads 2021-05-31 09:20:19 -04:00
JonnyWong16
70bbfa3c84
Allow overwriting attributes with None when manually reloading 2021-05-30 16:25:25 -07:00
JonnyWong16
6e58f7f70e Refactor lastRatedAt userRating attributes 2021-05-30 15:49:45 -07:00
JonnyWong16
06ff7410a6 Add rating mixin 2021-05-30 15:49:45 -07:00
Steffen Fredriksen
6e92be6a7a
Merge pull request #745 from JonnyWong16/bugfix/to_datetime
Limit datetime attributes to max 32-bit integer timestamp
2021-05-30 11:49:06 +02:00
JonnyWong16
4458977988 Improve test coverage 2021-05-29 19:26:31 -07:00
JonnyWong16
b2ecd2b7f9
Add AdvancedSettingsMixin to Collection 2021-05-29 18:48:31 -07:00
JonnyWong16
c84215df7a
Move _uriRoot() to PlexServer 2021-05-29 18:22:27 -07:00
JonnyWong16
06da110203
Clean up doc strings 2021-05-29 17:58:55 -07:00
JonnyWong16
99ca6a5647
Add collection sync 2021-05-29 16:57:43 -07:00
JonnyWong16
ccc6091bb4
Fix collection length 2021-05-29 16:57:42 -07:00
JonnyWong16
04c25953fe
Fix collection and playlist edit for blank values 2021-05-29 16:57:42 -07:00
JonnyWong16
2cd29f435a
Add method to get a collection or playlist by title in a library 2021-05-29 16:57:41 -07:00
JonnyWong16
0512e9f38e
Add collection modification methods 2021-05-29 16:57:41 -07:00
JonnyWong16
95c1be28bc
Add PlexServer.createCollection() method 2021-05-29 16:57:41 -07:00
JonnyWong16
ef136a8c9c
Add create Collection class methods 2021-05-29 16:57:40 -07:00
JonnyWong16
94fb9783fe
Add limit to the playlist uri instead of query param 2021-05-29 16:57:40 -07:00
JonnyWong16
a435a5a9fa
Add limit to search filter 2021-05-29 16:57:40 -07:00
JonnyWong16
0ed9240909
Reorganize playlist dunder methods 2021-05-29 16:57:39 -07:00
JonnyWong16
7d90fd60e8
Add library alias to create playlist 2021-05-29 16:57:39 -07:00
JonnyWong16
a1861c5595
Add retrieving server playlists by type 2021-05-29 16:57:38 -07:00
JonnyWong16
00be05f17b
Add doc strings to playlist properties 2021-05-29 16:57:38 -07:00
JonnyWong16
2af15e2d73
Add method to update smart playlist filters 2021-05-29 16:57:38 -07:00
JonnyWong16
4c9964db1b
Add method to retrieve playlist section 2021-05-29 16:57:37 -07:00
JonnyWong16
3edec52e2e
Update playlist add, remove, move, and edit methods 2021-05-29 16:57:37 -07:00
JonnyWong16
be2293ad30
Update playlist attributes for smart playlists 2021-05-29 16:57:37 -07:00
JonnyWong16
a131482cdc
Update creating smart playlist using search filters 2021-05-29 16:57:36 -07:00
blacktwin
44b4066273 Clip.section docstring update 2021-05-28 11:59:07 -04:00
blacktwin
70ad8ba10c updateOptOut docstring 2021-05-28 11:59:02 -04:00
blacktwin
9982b8e108 MediaContainer docstring 2021-05-28 11:58:55 -04:00
blacktwin
9f5f2b7b12 MediaContainer attribute ordering 2021-05-28 11:58:50 -04:00
blacktwin
49732cf92a Extra.addedAt docstring update. 2021-05-28 11:57:57 -04:00
blacktwin
226b9834f7 MyPlex.settings slight clean up and property 2021-05-28 11:57:52 -04:00
blacktwin
277f2ea717 onlineMediaSources further clean up 2021-05-28 11:57:46 -04:00
blacktwin
76719d9c70 onlineMediaSources clean up 2021-05-28 11:57:40 -04:00
blacktwin
4f6634db38 Review attribute ordering 2021-05-28 11:56:47 -04:00
blacktwin
aa0596d2a1 SETTINGS url string substitution update %s instead of .format() 2021-05-28 11:56:22 -04:00
blacktwin
0c8e5f9b5b Extra atrributes update cast int 2021-05-28 11:46:31 -04:00
JonnyWong16
0095e83f75
Cleanup utils imports 2021-05-26 19:45:12 -07:00
JonnyWong16
6726a64e64
Fix settings.Preferences doc string TAG 2021-05-24 19:36:26 -07:00
JonnyWong16
f81456d3b6 Refactor usage of listAttrs 2021-05-24 17:37:46 -07:00
JonnyWong16
3fc69a3709
Refactor usage of findItems 2021-05-24 17:28:11 -07:00
blacktwin
c0b6efc23c
Merge branch 'master' into reviews_extras 2021-05-24 07:21:34 -04:00
JonnyWong16
ada326bca1
Add recently added methods for each libtype 2021-05-23 21:15:18 -07:00
JonnyWong16
c76b2d4027
Merge remote-tracking branch 'upstream/master' into feature/multi_sort 2021-05-23 20:39:08 -07:00
JonnyWong16
a9597a9008
Merge remote-tracking branch 'upstream/master' into feature/plex_tv 2021-05-23 19:12:38 -07:00
JonnyWong16
0f680233ab
Merge pull request #749 from JonnyWong16/feature/switch_user
Add method to switch users for a PlexServer instance
2021-05-23 19:03:27 -07:00
JonnyWong16
c4522d9c6b
Merge pull request #746 from JonnyWong16/feature/properties
Add episodeNumber, trackNumber, and hasPreviewThumbnails helper properties
2021-05-23 19:02:20 -07:00
JonnyWong16
8c2b3ce063
Merge pull request #741 from JonnyWong16/feature/tag_items
Add ability to retrieve a list of items and collection object from media tags
2021-05-23 19:01:07 -07:00
JonnyWong16
893a992855
Merge pull request #739 from Alindil/patch-2
Add method to return a list of all optimized items
2021-05-23 19:00:25 -07:00
JonnyWong16
95877dd1ee Add methods to claim and unclaim a server 2021-05-22 14:44:40 -07:00
JonnyWong16
b9a9abb129
Add manual collection sorts and fields 2021-05-20 20:12:57 -07:00
JonnyWong16
7b8757419b
Update search doc strings fro advanced filters 2021-05-16 13:26:41 -07:00
JonnyWong16
900dd3e7b9
Add support for advanced search filters 2021-05-16 13:26:21 -07:00
JonnyWong16
89e6d2d6f3
Fix matching sort key 2021-05-16 11:30:03 -07:00
JonnyWong16
814efb1def
Fix matching field when validating filter field 2021-05-15 23:12:19 -07:00
JonnyWong16
7146587b0d
Add additional filter fields per media type 2021-05-15 22:40:29 -07:00
JonnyWong16
28f0585a97
Update doc string for track originalTitle 2021-05-15 22:39:26 -07:00
JonnyWong16
d6cd71c971
Add lastRatedAt to Audio and Video 2021-05-15 22:38:35 -07:00
JonnyWong16
3d20f307f4
Add additional manual sorts and fields 2021-05-15 18:09:52 -07:00
JonnyWong16
0b45e88d41
Allow predefined Plex multi-sorts 2021-05-15 16:04:05 -07:00
JonnyWong16
4f29eca311
Fix default random sort direction 2021-05-15 11:34:33 -07:00
JonnyWong16
6d4e7bed95 Add random sorting option 2021-05-15 11:25:42 -07:00
JonnyWong16
2af4f6d3eb
Allow for multi-sort in library search 2021-05-15 11:09:32 -07:00
Alindil
17daa1be72
Revert "Update server.py"
This reverts commit 73deabd97f.
2021-05-14 16:30:39 -07:00
JonnyWong16
3af971d1ae
Add Optimized.items() method 2021-05-14 16:29:12 -07:00
JonnyWong16
43822fd42c
Deprecate PlexServer.optimizedItem 2021-05-14 16:28:59 -07:00
JonnyWong16
1fcd7aa31a
Update Playlist.copyToUser with switchUser 2021-05-11 17:10:39 -07:00
JonnyWong16
35729a3a0a
Add optional session and timeout to switchUser 2021-05-11 17:03:16 -07:00
JonnyWong16
b0a9fb7ebe
Fix switchUser keyword arguments 2021-05-11 16:50:30 -07:00
JonnyWong16
a40063630d
Add method to switch users for a PlexServer 2021-05-11 16:38:50 -07:00
JonnyWong16
5e7a5e572c
Add hasPreviewThumbnails properties 2021-05-10 18:06:50 -07:00
JonnyWong16
12701ab997
Add trackNumber propery 2021-05-10 17:56:51 -07:00
JonnyWong16
b27e12c5d9
Add episodeNumber property 2021-05-10 17:56:06 -07:00
JonnyWong16
975a9eb3a2
Limit toDatetime to 32-bit integer 2021-05-10 16:11:16 -07:00
JonnyWong16
64f647e12b
Add addition season and episode attributes
* Season.parentStudio
* Season.year
* Episode.parentYear
2021-05-09 21:28:17 -07:00
JonnyWong16
006aee2483
Fix typo in library show agent doc string 2021-05-09 21:18:54 -07:00
JonnyWong16
75c8b9879b
Add ability to return the list of items from any tag filter 2021-05-09 20:03:12 -07:00
JonnyWong16
158c5f5633
Merge pull request #730 from JonnyWong16/bugfix/episode_tests
Fix retrieving Season.episode() by episode number
2021-05-09 19:44:52 -07:00
JonnyWong16
ecd9309383
Merge pull request #729 from JonnyWong16/feature/smart_collections
Add new collection attributes
2021-05-09 19:44:27 -07:00
JonnyWong16
0117a84086
Merge pull request #725 from meisnate12/bugfix/ShowSpecialsSeason
Fix retrieving specials (season 0) for tv shows
2021-05-09 19:43:12 -07:00
JonnyWong16
a82030aaa9
Merge pull request #722 from meisnate12/bugfix/library_advance_settings
Fix editing advanced settings without integer values
2021-05-09 19:42:12 -07:00
JonnyWong16
246ad82f86
Add CollectionMixin to Season, Episode, and Track 2021-05-09 12:24:55 -07:00
Alindil
73deabd97f
Update server.py
There can be several videos in an optimization. In the current code we only loop on one
2021-05-06 15:28:05 +02:00
JonnyWong16
c6c9d83bca
Fix getting Season.episode by episode number 2021-04-24 11:49:36 -07:00
JonnyWong16
276a4f3b59
Add new collection attributes 2021-04-23 13:45:24 -07:00
Elan Ruusamäe
aa8838ce7d
Fix spelling error for container_start value check (#727) 2021-04-18 22:05:19 -05:00
meisnate12
c957c4fc98 exclude leaves from show seasons 2021-04-14 11:43:21 -04:00
blacktwin
8aaa0c09a7 spelling & indent correction 2021-04-14 08:02:04 -04:00
blacktwin
0bacdbeabf
readding MediaContainer import 2021-04-12 13:16:33 -04:00
blacktwin
5d670364d6
fixing import
missed last import in copy/paste from master.
2021-04-12 13:12:46 -04:00
blacktwin
790d12504a
flake fix
remove trailing comma
2021-04-12 13:10:41 -04:00
blacktwin
f92878d75f
Merge branch 'master' into reviews_extras 2021-04-12 13:08:29 -04:00
blacktwin
227bb51717
remove Release
Release class was unintendedly added by a merge before it was properly located.
2021-04-12 13:07:10 -04:00
meisnate12
b9bf8eeabc updated AdvancedSettingsMixin 2021-04-06 23:44:28 -04:00
meisnate12
a999778f52 removed redundant value 2021-04-06 23:43:42 -04:00
meisnate12
4307a99511 fix for advanced settings that dont use ints 2021-04-06 16:01:45 -04:00
Jason Lawrence
bea32faa8b Bump to 4.5.2 2021-04-05 15:49:21 -05:00
JonnyWong16
19fa6c1e50
Allow relative dates for search filters (#717)
* Add validation for relative date search filter values

* Update search doc strings for searching using relative dates

* Update library search tests for relative dates

* Fix relative date search test

* Automatically format negative sign in relative dates

* Fix relative date search test
2021-04-05 15:46:26 -05:00
meisnate12
5584ef1d4f
Added AdvancedSettingsMixin (#714)
* Added AdvancedSettingsMixin

* forgot import

* shortened line

* remove whitespace

* removed unused import

* reordered mixins

* Add preference method to AdvancedSettingsMixin

* Add tests for AdvancedSettingsMixin

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2021-04-05 15:44:49 -05:00
JonnyWong16
2e7ae1f3ec
Fix LibrarySection totalViewSize for photo libraries (#715) 2021-04-05 14:36:19 -05:00
Jason Lawrence
2a810c63ae Bump to 4.5.1 2021-03-24 20:58:55 -05:00
JonnyWong16
1c521308e2
Add totalViewSize method to LibrarySection and search bug fixes (#712)
* Fix more library section ID cast to int

* Add method to return library size for specific libtypes

* Add test for library totalViewSize

* Fix totalViewSize test episode count

* Don't need to use library _totalSize cache

* Validate title search arg as a filter kwarg

* Only validate search title if it is a list

* Update doc string for totalViewSize
2021-03-24 20:58:12 -05:00
Jason Lawrence
2bde234408 Bump to 4.5.0 2021-03-22 17:01:32 -05:00
Elan Ruusamäe
a3d43781fa
Add deviceID to Playable for history entries (#704)
* Add deviceID to Playable for history entries

* Add missing documentation for accountID/deviceID
2021-03-22 14:40:13 -05:00
jjlawren
f59f150bab
Improve PlexClient connections (#701)
* Improve PlexClient connections

* Add docstring
2021-03-22 14:37:52 -05:00
JonnyWong16
1d4e911ef5
Add clientIdentifier attribute to SystemDevice (#703)
* Add clientIdentifier attribute to SystemDevice

* Add test for SystemDevice clientIdentifier

* Add methods to return a specific SystemAccount or SystemDevice by ID

* Update tests for SystemAccounts and SystemDevices
2021-03-22 14:35:57 -05:00
JonnyWong16
ef18e2c256
Fix parsing episode parentRatingKey from parentThumb (#699) 2021-03-22 14:35:07 -05:00
JonnyWong16
f92d9d5e8c
Fix myplex share section ID cast to int (#708)
* Fix myplex share section ID cast to int

* Fix typo in search doc string
2021-03-22 14:31:54 -05:00
JonnyWong16
61d73be8a3
Don't use utils.cast for search values 2021-03-19 16:27:16 -07:00
JonnyWong16
3422bb7fb8
Separate search function for flake8 complexity 2021-03-15 10:06:54 -07:00
JonnyWong16
357818a857
Use separate totalViewSize cache for searching
Fixes #695
totalSize was getting overwritten when using search with a different libtype. This makes totalSize independant from search.
2021-03-15 10:03:01 -07:00
JonnyWong16
684bbde89b
Change search break condition
Fixes #694
When using a PlexAPI operator, fetchItems may return zero results in the first container causing the loop to break early. This changes the break condition to check if the container exceeds the total number of items therefore there will be no more items to fetch.
2021-03-15 09:33:46 -07:00
JonnyWong16
e1ab49f20e
Fix & search operator 2021-03-14 23:34:56 -07:00
JonnyWong16
ea187536c2
Print available libtypes and field types for exception 2021-03-14 15:14:24 -07:00
JonnyWong16
8cc90fc850
Fix libtype for listFilterChoices 2021-03-14 15:05:37 -07:00
JonnyWong16
5bff309a32
More search doc string updates 2021-03-13 11:07:27 -08:00
JonnyWong16
8adedd6b3b
Add deprecated functions filterFields and listChoices 2021-03-12 10:29:40 -08:00
JonnyWong16
4b25d4ab88
Print available filters when raising NotFound 2021-03-12 10:08:14 -08:00
JonnyWong16
b9840eee5c
Update search docs formatting 2021-03-12 09:18:51 -08:00
JonnyWong16
061ad9fefd
More PlexAPI filtering docs to fetchItems 2021-03-12 09:18:36 -08:00
JonnyWong16
ba98669610
Update search doc string 2021-03-12 00:03:17 -08:00
JonnyWong16
d752b351d5
Update fetchItem doc string 2021-03-11 23:23:03 -08:00
JonnyWong16
f90b5ac70a
Update search doc string with plexapi operator examples 2021-03-11 23:22:46 -08:00
JonnyWong16
618ed22676
Update search doc string with examples 2021-03-11 22:44:54 -08:00
JonnyWong16
93a5ab6d6d
Fix filter libtype fallback 2021-03-11 22:44:16 -08:00
JonnyWong16
cbdda0b80e
Allow datetime object for filtering date values 2021-03-11 21:14:46 -08:00
JonnyWong16
da5699cd0d
Fix joining search params 2021-03-11 20:32:07 -08:00
JonnyWong16
86072c2cfb
Move libtype to validate functions 2021-03-11 17:43:16 -08:00
JonnyWong16
2c8c5277b5
Fix build docs 2021-03-11 16:36:29 -08:00
JonnyWong16
5cece7d1ce
Change unknown search filters to NotFound 2021-03-11 16:33:34 -08:00
JonnyWong16
08ea6cad4c
Fallback to assume libtype for a filter 2021-03-11 16:33:03 -08:00
JonnyWong16
cd5b0e3898
Update doc strings for list filter methods 2021-03-11 15:37:52 -08:00
JonnyWong16
e5607e10db
Improve matching of libtype for filter field and sort 2021-03-11 15:19:08 -08:00
JonnyWong16
42163b85e2
Fix smart playlist listFilterChoices 2021-03-11 13:28:25 -08:00
JonnyWong16
6e501728a0
Cast librarySectionID to int 2021-03-11 13:27:08 -08:00
JonnyWong16
6d4c8e5ea1
Fix flake8 search complexity 2021-03-11 13:12:41 -08:00
JonnyWong16
b3dd52680e
Update validate value exception message 2021-03-11 13:09:11 -08:00
JonnyWong16
95c47c67c7
Remove unused import 2021-03-11 13:06:29 -08:00
JonnyWong16
0de2349113
Rename validateSortField 2021-03-11 13:06:16 -08:00
JonnyWong16
9e063bfcd6
Separate validate functions 2021-03-11 13:04:04 -08:00
JonnyWong16
c4f4743325
Fix sorting with libtype 2021-03-11 12:24:02 -08:00
JonnyWong16
ee161e46ed
Fix searching using MediaTag 2021-03-11 12:23:08 -08:00
JonnyWong16
b35dc53602
Make sure filter values are casted to string 2021-03-11 12:22:44 -08:00
JonnyWong16
c77dc4a595
Cast librarySectionID to int 2021-03-11 12:20:56 -08:00
JonnyWong16
1e8d98f074
Add & operator for library search 2021-03-11 12:02:37 -08:00
JonnyWong16
13cc13c57d
Add searchSeasons method to ShowSection 2021-03-11 11:28:55 -08:00
JonnyWong16
146a184838
Add searchMovies method to MovieSection 2021-03-11 11:28:55 -08:00
JonnyWong16
abbace6792
Update library search filtering methods 2021-03-11 11:28:55 -08:00
JonnyWong16
0398895ce6
Update all library filtering related objects 2021-03-11 11:28:55 -08:00
JonnyWong16
811f661576
Add LibrarySection.hubSearch() 2021-03-11 11:28:55 -08:00
Jason Lawrence
1429867ae5 Bump to 4.4.1 2021-03-11 11:22:42 -06:00
JonnyWong16
c15133da88
Adds Movie and Artist advanced setting attributes (#680)
* Add advanced setting attributes to movie

* Add advanced setting attributes to artist

* Update tests for movie advanced setting attributes

* Update tests for artist advanced setting attributes

* Fix artist albumSort attribute
2021-03-11 11:20:28 -06:00
JonnyWong16
7bdc9ed137
Add support for the new Plex TV agent (#679)
* Add new Plex TV agent to library doc string

* Update new Plex TV agent show/season/episode attributes

* Update tests for new Plex TV agent show/season/episode attributes

* Fix test for show attributes

* Add network attribute to show

* Add show network to tests
2021-03-11 11:19:54 -06:00
jjlawren
a78126ed73
Handle missing key when PlayQueue passed to playMedia (#692)
* Handle missing key when playqueue passed to playMedia

* Simpler but less verbose fix
2021-03-11 11:18:51 -06:00
blacktwin
9d2ec9546e
Merge branch 'master' into reviews_extras 2021-03-09 08:26:52 -05:00
JonnyWong16
10495809e7
Fix season watched and unwatched 2021-03-01 17:54:19 -08:00
Steffen Fredriksen
2087e834f1
Merge pull request #673 from JonnyWong16/bugfix/share_docs
Update sharing doc strings
2021-02-27 15:41:38 +01:00
JonnyWong16
8bba39989b
Add tagline attribute to show 2021-02-26 23:01:00 -08:00
JonnyWong16
92490a2cdb
Update sharing doc strings 2021-02-26 22:51:22 -08:00
Jason Lawrence
2cde3a11b4 Bump to 4.4.0 2021-02-24 12:44:15 -06:00
Shubhendra Singh Chauhan
12cf146ace
fix: code quality issues (#670)
* Remove unnecessary use of comprehension

* Remove unnecessary comprehension

* Use literal syntax instead of function calls to create data structure

* Pass string format arguments as logging method parameters

* Remove unused imports

* Remove unnecessary generator

* Refactor `if` expression

* fixed typo

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* Update tests/test_audio.py

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2021-02-24 11:55:53 -06:00
JonnyWong16
89d52418a6
Merge pull request #665 from JonnyWong16/feature/mixins
Add banner mixin to shows and clean up art/poster mixins
2021-02-24 09:23:23 -08:00
JonnyWong16
61a68ebf8a
Merge remote-tracking branch 'upstream/master' into feature/mixins 2021-02-24 09:04:52 -08:00
JonnyWong16
b10420fcce
Merge remote-tracking branch 'upstream/master' into bugfix/warnings 2021-02-24 08:58:35 -08:00
Steffen Fredriksen
2954fdb811
Merge pull request #666 from JonnyWong16/bugfix/server_update
Rename server checkForUpdate
2021-02-24 17:10:37 +01:00
Steffen Fredriksen
34606631ad
Merge pull request #667 from JonnyWong16/feature/move_collection
Move collections to a separate module
2021-02-24 17:10:07 +01:00
Sascha Montellese
61dc373061
Fix gdm.GDM.find_by_content_type() (#668)
* Remove unused last_scan attribute of gdm.GDM

* Add missing documentation of entries attribute to gdm.GDM

* Fix gdm.GDM.find_by_content_type()
2021-02-16 13:45:10 -06:00
JonnyWong16
72244f558d
Fix deprecated collection.children to items 2021-02-15 17:04:50 -08:00
JonnyWong16
110fb2e94c
Flip default warning stack level 2021-02-15 16:57:16 -08:00
JonnyWong16
8af8ed9d1a
Fix deprecation warnings 2021-02-15 16:51:37 -08:00
JonnyWong16
88dbee7508
Fix flake8 2021-02-14 22:41:17 -08:00
JonnyWong16
5803af930c
Move collections to a new module 2021-02-14 22:33:03 -08:00
JonnyWong16
08bdab255b
Rename server checkForUpdate to camelCase
* Add deprecation warning to check_for_update
2021-02-14 21:59:11 -08:00
JonnyWong16
6d42030492
Move Release to server module 2021-02-14 21:56:28 -08:00
JonnyWong16
aa3c37e5b5
Clean doc strings 2021-02-14 20:06:49 -08:00