Commit graph

97 commits

Author SHA1 Message Date
blacktwin
5494c1e90d Change test to use Other Videos library type to prevent scanning
Tests:
 Create library with multiple paths with valid paths
 Create library with multiple paths with an invalid path
 Create library with no path
 Add path(s) to test library with an invalid path
 Remove path(s) to test library with an invalid path
 Remove path(s) to test library with valid paths
 Add path(s) to test library with valid paths
2021-12-20 00:12:51 -05:00
JonnyWong16
a8136d2776
Change LibrarySection.reload() to reload in-place (#855)
* Fix LibrarySection reload in-place to mimic PlexObject reload

* Don't reload LibrarySection after edit

* Also mimics PlexObject.edit()

* Update library section edit test
2021-11-20 16:35:37 -08:00
JonnyWong16
8815cda444
Add totalDuration and totalStorage properties to LibrarySection (#851)
* Add LibrarySection properties totalDuration and totalStorage

* Add tests for LibrarySection totalDuration and totalStorage
2021-11-20 16:29:08 -08:00
JonnyWong16
bf3f0c1392
Merge branch 'master' into feature/album_types 2021-10-04 14:13:39 -07:00
JonnyWong16
a3178f3ac3
Merge pull request #831 from JonnyWong16/feature/includeGuids
Automatically retrieve external guids from libraries using includeGuids
2021-10-04 13:56:11 -07:00
JonnyWong16
516c8ed02f
Update Plex Web URL tests 2021-09-26 15:23:35 -07:00
JonnyWong16
1efe0a908d
Update audio tests 2021-09-16 15:24:09 -07:00
JonnyWong16
046b2ec66d
Add test for getting and item using a guid 2021-09-15 15:47:21 -07:00
JonnyWong16
4d6cffdbd1
Add test for LibrarySection.all() returning guids 2021-09-15 15:38:54 -07:00
JonnyWong16
3bebeaacd5
Add tests for Plex Web URLs 2021-08-25 18:10:11 -07:00
JonnyWong16
6cacc4a55a
Add playlist title search and sorting (#782)
* Add title and sort arguments to server playlists method

* Raise NotFound when retrieving a playlist or collection

* Update tests for collection/playlist NotFound
2021-07-26 20:45:58 -05:00
JonnyWong16
456a8a53ab
Merge pull request #788 from JonnyWong16/feature/search_objects
Add ability to use FilterChoice and FilteringSort objects in library search
2021-07-16 09:21:55 -07:00
JonnyWong16
31de29d502
Merge pull request #783 from JonnyWong16/feature/custom_collection_order
Add ability to move items in a collection
2021-07-16 09:21:25 -07:00
JonnyWong16
40c22711a6
Fix updateProgress and updateTimeline tests milliseconds 2021-07-04 21:32:58 -07:00
JonnyWong16
f7980e4a16
Update library search tests for FilterChoice and FilteringSort objects 2021-07-04 19:22:11 -07:00
JonnyWong16
c111150666
Remove manual random sort test 2021-06-14 08:56:33 -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
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
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
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
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
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
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
e84e922c93
Move collection tests to new module 2021-02-14 22:33:38 -08:00
JonnyWong16
a7e5763e78
Merge remote-tracking branch 'upstream/master' into feature/posters 2021-02-07 09:33:15 -08:00
JonnyWong16
88e69d4664
Merge branch 'master' into feature/edit_tags 2021-02-06 20:27:34 -08:00
JonnyWong16
271f4840e6
Merge branch 'master' into feature/posters 2021-02-06 20:26:46 -08:00
JonnyWong16
1bcd3549be
Fix library timeline test queue size 2021-01-30 16:25:08 -08:00
JonnyWong16
688bca92ac
Add tests for collection thumbUrl and artUrl 2021-01-25 09:20:19 -08:00
JonnyWong16
ee28bef80f
Add support for the new Plex Movie agent (#628)
* guids collection to movie and GuidTag PlexObject

* Fix flake8

* Clean up GuidTag and Guid

* Add Plex Movie agent to add library doc string

* Change test bootstrap server movie library to Plex Movie

* Update tests for Plex Movie agent

* Mix movie genre test

Co-authored-by: andyloree <andy@andyloree.com>
2021-01-24 21:03:58 -05:00
JonnyWong16
c23d9635f5
Rename to mixins 2021-01-24 15:03:23 -08:00
JonnyWong16
deda4e1b2b
Add mixin tag tests 2021-01-24 14:40:39 -08:00
JonnyWong16
2263e94420
Add tests for posters and art 2021-01-24 11:47:15 -08:00
JonnyWong16
5b78f6b482
Merge branch 'master' into feature/media_attributes 2020-12-30 12:53:17 -08:00
JonnyWong16
33b725d8d4
Update tests 2020-12-23 23:03:08 -08:00
JonnyWong16
ce51fc70e9
Fix library section all test with max results 2020-12-23 17:46:38 -08:00
JonnyWong16
8958aea67f
Change collection children to items 2020-12-13 11:33:27 -08:00
JonnyWong16
a6cdbb1f20
Add test for collection children 2020-12-13 11:33:27 -08:00
JonnyWong16
422f82ead4
Test Collection delete by creating a new collection 2020-12-05 01:08:00 -08:00