Steffen Fredriksen
5299282599
Merge pull request #509 from pkkid/adding_fields
...
Add fields to most objects
2020-08-02 16:09:33 +02:00
brooss
5239bc522c
Update README.rst ( #538 )
...
Fix README typo
2020-08-01 06:57:34 -05:00
blacktwin
614108fb63
create allSubfolders method for library.Folder class
2020-07-30 10:33:58 -04:00
blacktwin
620056a234
update test_video_Show_editAdvanced_default to use 1 str/text and 1 int/int based change
2020-07-28 11:18:14 -04:00
blacktwin
18973e2f2d
update editAdvanced method to work with py2 drop
2020-07-28 11:16:31 -04:00
blacktwin
5045ddc04b
removed deprecated _str function as py2 support has been dropped
...
update _str references to use builin str instead
update settings.Preferences class for py2 drop
2020-07-28 11:15:29 -04:00
blacktwin
337ad9d88c
correct assertion for default and value comparision.
2020-07-27 15:54:54 -04:00
blacktwin
252d7e05a8
update video.Video.optimize method to use new library.LibrarySection._locations method
2020-07-24 14:11:01 -04:00
blacktwin
3c0fa04a12
create _locations method in library.LibrarySection to return the librar.Location objects
2020-07-24 14:09:58 -04:00
blacktwin
142448b4c8
return library.LibrarySection.locations to previous listAttrs that returns a str
2020-07-24 14:09:13 -04:00
Steffen Fredriksen
6573b8b562
Merge pull request #531 from tdorsey/patch-2
...
chore(utils): fix typo
2020-07-24 12:01:35 +02:00
Steffen Fredriksen
65fa780383
Merge pull request #520 from jjlawren/fix_elementtree_warnings
...
Fix ElementTree warnings
2020-07-24 12:01:02 +02:00
Steffen Fredriksen
6d82abae1c
Merge pull request #528 from andy-maier/andy/add-license-to-package
...
Fixes #527 : Added BSD license information to package metadata
2020-07-24 12:00:04 +02:00
tdorsey
7c346f9917
chore(utils): fix typo
2020-07-18 08:45:41 -04:00
Andreas Maier
ad18a4500c
Added fallback to distutils if setuptools is not installed
...
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
2020-07-12 16:24:05 +02:00
Andreas Maier
4b2e38d9eb
Fixes #527 : Added BSD license information to package metadata
...
Details:
* WHile Github correctly detects the BSD license from LICENSE.txt, Pypi does
not and needs either a Trove classifier or the license argument specified
in setup(). This change adds that the package supports the BSD license as
a classifier, following the recommendation in
https://packaging.python.org/guides/distributing-packages-using-setuptools/#license
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
2020-07-12 16:00:41 +02:00
Andreas Maier
fae666a757
Fixes #525 : Added package metadata for supported Python versions
...
Details:
* This change adds package metadata to indicate that the current
version of PlexAPI only supports Python 3. Because Python 3.5 is
the lowest Python version supported by the PSF, the minimum
Python version indicated in the package metadata is 3.5.
(as per the python_requires argument of setup()).
* Added Trove classifiers for OS independency and for Python versions,
although Python is only stated very generally as Python 3,
in order to avoid maintenance effort when new Python 3.x versions
will be released in the future.
* Using the python_requires argument of setup() required using
setuptools instead of distutils. Distutils is pretty old stuff
anyway and should not be used anymore.
Setuptools is automatically part of any Python 3.x environment
these days, including virtual Python environments.
For details on distutils vs setuptools, see for example
https://packaging.python.org/guides/tool-recommendations/#packaging-tool-recommendations
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
2020-07-12 15:42:31 +02:00
blacktwin
83c4e64ed6
add library.Collection._preferences() method
2020-07-02 14:40:28 -04:00
blacktwin
2112f778db
create library.folders method
2020-07-02 01:33:36 -04:00
blacktwin
a5b5438122
create library.Folder class
2020-07-02 01:33:18 -04:00
blacktwin
f079f7d061
library.FirstCharacter docstring
2020-07-02 00:43:21 -04:00
blacktwin
5c3695d223
library.FieldType docstring
2020-07-02 00:42:51 -04:00
blacktwin
6cad8c1eb0
library.Operator docstring
2020-07-02 00:42:28 -04:00
blacktwin
8aa492f195
library.FilterField docstring
2020-07-02 00:40:51 -04:00
blacktwin
bf5d8b8ba3
library.Sort docstring
2020-07-02 00:40:12 -04:00
blacktwin
1e58e9c5fd
library.Field class rename to FilterField
...
update library.LibrarySection.filterFields() usage
2020-07-02 00:39:34 -04:00
blacktwin
8eadcb28aa
library.LibrarySection.filterFields() docstring
2020-07-02 00:37:50 -04:00
blacktwin
257b7ae61e
library.LibrarySection._sorts() docstring
2020-07-02 00:36:46 -04:00
blacktwin
23e641eaa3
change if to check both conditions at the same time.
...
thanks @hellowlol
2020-07-01 22:28:25 -04:00
blacktwin
ea6538f596
removal of all ALLOWED_FILTERS, ALLOWED_SORT, BOOLEAN_FILTERS instances and docstring references.
2020-06-30 09:39:16 -04:00
blacktwin
14c122c87b
update library.LibrarySection._cleanSearchSort method to pull sort keys from LibrarySection._sorts() instead of using hardcoded ALLOWED_SORT.
2020-06-30 09:33:53 -04:00
blacktwin
a665d6f3ee
update library.LibrarySection._cleanSearchFilter method to pull categories from LibrarySection.filterFields() instead of using hardcoded ALLOWED_FILTERS or BOOLEAN_FILTERS.
2020-06-30 09:32:58 -04:00
blacktwin
9ec2399b21
add filterFields method to library.LibrarySection
2020-06-30 09:24:12 -04:00
blacktwin
9936ee553d
create Field, Operator, and FieldType classes
2020-06-30 09:23:18 -04:00
blacktwin
d0943a369e
add firstCharacterKey attribute to library.Sort class
2020-06-30 09:21:44 -04:00
blacktwin
4a49ca97b0
add _sorts method
2020-06-30 09:19:53 -04:00
blacktwin
e5d79c7518
add Sort class
2020-06-30 09:06:26 -04:00
blacktwin
c1cef679cc
add firstCharacter method to library.LibrarySection
2020-06-30 09:00:50 -04:00
blacktwin
847d21f79d
add FirstCharacter class
2020-06-30 08:59:30 -04:00
Jason Lawrence
4c8fef144e
Fix ElementTree warnings
2020-06-29 17:31:05 -05:00
blacktwin
3746b4ecb5
removal of registerPlexObject as the only usage calls this class directly.
2020-06-29 13:39:48 -04:00
blacktwin
6829bb2759
add _filter method to library.LibrarySection
...
referencing #209
2020-06-22 15:44:48 -04:00
blacktwin
ea88be39a0
add Filter class to library
...
referencing #209
2020-06-22 15:44:46 -04:00
blacktwin
c988f393a7
library.Station docstring update.
2020-06-22 15:27:45 -04:00
blacktwin
ee9cb7dc85
add hubs method to library.LibrarySection
2020-06-22 15:04:33 -04:00
blacktwin
bd536db7ac
add stations method to library.MusicSection
2020-06-22 15:03:28 -04:00
blacktwin
c665546185
create library.Station class for stations found in music libraries
2020-06-22 15:02:48 -04:00
blacktwin
ab41c1bdd5
add test for editing library advanced setting then defaulting back.
2020-06-18 10:04:29 -04:00
blacktwin
38b863b8da
correction for library.librarySection.defaultAdvanced method
2020-06-18 10:03:47 -04:00
blacktwin
c7baf71323
add test for library settings
2020-06-18 09:57:04 -04:00