Commit graph

432 commits

Author SHA1 Message Date
JonnyWong16
56abe38ef8
Add collection sync test 2021-05-29 16:57:43 -07:00
JonnyWong16
40e4413dde
Update collection tests 2021-05-29 16:57:42 -07:00
JonnyWong16
b19b469eb0
Update pytest fixtures 2021-05-29 16:57:42 -07:00
JonnyWong16
8cb2ea2f98
Update library collections and playlists tests 2021-05-29 16:57:41 -07:00
JonnyWong16
65db8c33f6
Add library search limit test 2021-05-29 16:57:40 -07:00
JonnyWong16
8397ab2145
Add test for library create playlist 2021-05-29 16:57:39 -07:00
JonnyWong16
b934228d8a
Update tests for retrieving playlists by type 2021-05-29 16:57:39 -07:00
JonnyWong16
82e71793b1
Update playlist tests 2021-05-29 16:57:38 -07:00
JonnyWong16
caafd14435
Update tests for library section recently added 2021-05-23 21:15:18 -07:00
JonnyWong16
598a6654ba Fix rating search test 2021-05-23 21:08:23 -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
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
4c75e09640
Add test for collection search 2021-05-20 20:16:20 -07:00
JonnyWong16
4c9aa37cea
Update tests for advanced search filters 2021-05-16 13:28:14 -07:00
JonnyWong16
1b8e476e96
Replace single quotes in library tests 2021-05-15 23:12:39 -07:00
JonnyWong16
85e58feb33
Update tests for lastRatedAt 2021-05-15 22:38:54 -07:00
JonnyWong16
41997d1152
Update tests for addition library search sorting 2021-05-15 18:11:49 -07:00
JonnyWong16
ce0e6f9a95
Add test for predefined Plex episode multi-sort 2021-05-15 16:04:35 -07:00
JonnyWong16
5d29504cbf Add library search tests for random and multi-sort 2021-05-15 11:25:42 -07:00
JonnyWong16
a8e8679fb5
Update tests for optimized items 2021-05-14 16:29:44 -07:00
JonnyWong16
0f861391b6
Remove banners from tests
* Banners are not supported anymore. https://forums.plex.tv/t/bug-cannot-upload-background-artwork-for-episodes/692999/8
2021-05-11 15:44:36 -07:00
JonnyWong16
fe42061ce1
Add tests for hasPreviewThumbnails properties 2021-05-10 18:13:47 -07:00
JonnyWong16
ac7becd27f
Add tests for episodeNumber and trackNumber properties 2021-05-10 18:13:31 -07:00
JonnyWong16
1139f5fb36
Add test for retrieving items from a hub search media tag 2021-05-10 09:35:47 -07:00
JonnyWong16
aeadd76f9f
Fix tests for Plex TV Series agent 2021-05-09 22:05:54 -07:00
JonnyWong16
ec60eeea44
Update tests for new Plex TV agent 2021-05-09 21:28:17 -07:00
JonnyWong16
61f49f586b
Capitalize collection name in tests 2021-05-09 21:23:00 -07:00
JonnyWong16
71e7ee2660
Add tests for media tags 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
e877b0039b
Add tests for Season, Episode, and Track collection tags 2021-05-09 12:27:38 -07:00
JonnyWong16
148ea7f352
Fix episode test watched/unwatched name 2021-04-24 11:26:31 -07:00
JonnyWong16
aac4ffdb23
Fix system devices test 2021-04-23 13:59:16 -07:00
JonnyWong16
15767e500a
Add new collection attributes to tests 2021-04-23 13:59:02 -07:00
Elan Ruusamäe
43557906b8
Fix SERVER_TRANSCODE_SESSIONS typo (#723) 2021-04-18 22:06:35 -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
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
JonnyWong16
cc313c5d5a
Change photos sync test to get photos by date added instead of device (#709) 2021-03-22 15:14:22 -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
813770ac74
Add additional test for libtype fallback for search field 2021-03-19 16:47:30 -07:00
JonnyWong16
b9798e9589
Fix searchSeasons test 2021-03-19 16:36:50 -07:00
JonnyWong16
c02a005a70
Add more search tests 2021-03-19 16:27:28 -07:00
JonnyWong16
1674d08ab3
Add tests for library search 2021-03-19 15:53:20 -07:00
JonnyWong16
ddc5e98ab9
Update library tests 2021-03-11 12:24:32 -08: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
JonnyWong16
bdec69e4a2
Update show/season watched/unwatched tests 2021-03-01 17:54:43 -08:00