aioaudiobookshelf 0.1.6__py3-none-any.whl → 0.1.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aioaudiobookshelf might be problematic. Click here for more details.

@@ -6,7 +6,7 @@ from aioaudiobookshelf.client import AdminClient, SessionConfiguration, SocketCl
6
6
  from aioaudiobookshelf.exceptions import LoginError, TokenIsMissingError
7
7
  from aioaudiobookshelf.schema.calls_login import AuthorizeResponse, LoginParameters, LoginResponse
8
8
 
9
- __version__ = "0.1.6"
9
+ __version__ = "0.1.7"
10
10
 
11
11
 
12
12
  async def _get_login_response(
@@ -56,7 +56,7 @@ class AudioFile(_BaseModel):
56
56
  exclude: bool
57
57
  error: str | None = None
58
58
  format: str
59
- duration: float
59
+ duration: float | None
60
60
  bit_rate: Annotated[int, Alias("bitRate")]
61
61
  language: str | None = None
62
62
  codec: str
@@ -17,6 +17,7 @@ class FileMetadata(_BaseModel):
17
17
  path: str
18
18
  relative_path: Annotated[str, Alias("relPath")]
19
19
  size: int # in bytes
20
- modified_time_ms: Annotated[int, Alias("mtimeMs")]
20
+ # might not be present, see https://github.com/music-assistant/support/issues/3914
21
+ modified_time_ms: Annotated[int | None, Alias("mtimeMs")] = None
21
22
  changed_time_ms: Annotated[int, Alias("ctimeMs")]
22
23
  created_time_ms: Annotated[int, Alias("birthtimeMs")] = 0 # 0 if unknown
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: aioaudiobookshelf
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: Async library for Audiobookshelf
5
5
  Author-email: Fabian Munkes <105975993+fmunkes@users.noreply.github.com>
6
6
  License: Apache-2.0
@@ -27,6 +27,7 @@ Requires-Dist: syrupy==4.8.1; extra == "test"
27
27
  Requires-Dist: tomli==2.2.1; extra == "test"
28
28
  Requires-Dist: ruff==0.9.2; extra == "test"
29
29
  Requires-Dist: bumpver; extra == "test"
30
+ Dynamic: license-file
30
31
 
31
32
  # aioaudiobookshelf
32
33
  Async python library to interact with
@@ -1,4 +1,4 @@
1
- aioaudiobookshelf/__init__.py,sha256=V20kFZaBlByTjA2mNdWR20JPpzjC-YY_CKremymscRI,4138
1
+ aioaudiobookshelf/__init__.py,sha256=92IqTPNA_kicw_jm0NS78m11LoMTLkiSNiZHP0cyXzU,4138
2
2
  aioaudiobookshelf/exceptions.py,sha256=JQNdqBaR5AhuCUBg5DH5-orkfJrx_CJpe53ignWD6vE,377
3
3
  aioaudiobookshelf/helpers.py,sha256=ImZntca2l39P285TVVrFah82MjrP4wXLnVd7LMoD5Ck,1581
4
4
  aioaudiobookshelf/client/__init__.py,sha256=YnrNm2ZmQeVqGQ8EfAKIPRI4p2cLFqCzv4uKgL6HJPM,6931
@@ -13,7 +13,7 @@ aioaudiobookshelf/client/podcasts.py,sha256=f1ECD43cn4EIwWpRvwM_RosfzDr8popFDFbR
13
13
  aioaudiobookshelf/client/series.py,sha256=bS4RO8k1Im5wpeKt0oNcBSeeZCRIGCi9otTCEOy7xMo,820
14
14
  aioaudiobookshelf/client/session.py,sha256=YWv4GkrW5fMbq1AdnMOWQHM_YzAH1U6varzsyXlP0Jc,1249
15
15
  aioaudiobookshelf/schema/__init__.py,sha256=vEEwPVweT0j2VqlBj2V34Xk5J9OBZ7zkd6eLOUx-RdU,358
16
- aioaudiobookshelf/schema/audio.py,sha256=ByDu3pvldxsXkXP3WqVlxW-7m8NOH9TY-AQ6HfE5wxc,2098
16
+ aioaudiobookshelf/schema/audio.py,sha256=PFKkGsZgJSDYJS-7VwoTvYTcVfR8ip8qOuE8hQa9TtE,2105
17
17
  aioaudiobookshelf/schema/author.py,sha256=OZGcCUHOfXvN8N2SRUiIRnDS2Lz3UrQFWOaOZ1sKV0U,976
18
18
  aioaudiobookshelf/schema/book.py,sha256=Ckfc_eC6jXtQnQQzl0QaB0edp91G8gIiUJTE7IfctuM,3372
19
19
  aioaudiobookshelf/schema/calls_authors.py,sha256=eIvdyEcrmXuOxFJuCX39cGU9HSZprl40yKn8s2VjfAM,703
@@ -27,7 +27,7 @@ aioaudiobookshelf/schema/calls_series.py,sha256=aUdlTR01UE2APN0pGS1h7x0ydsREqZf5
27
27
  aioaudiobookshelf/schema/calls_session.py,sha256=j2NLUwS4820SwzqPXksteTACXtUXvNtio_wBfvwHHM0,416
28
28
  aioaudiobookshelf/schema/collection.py,sha256=fB1VFQXE0hzM_NyWEHj9A11VztD_8rYo4t9OWkDj-Lc,883
29
29
  aioaudiobookshelf/schema/events_socket.py,sha256=r24ssixH0dWfyOhv0K5P6GgzGrbYC9Yh8Y2w76-bkeM,1420
30
- aioaudiobookshelf/schema/file.py,sha256=y_X-m_mk41OUcLpWQ5U_xndyIlG0BoNLS5iJL1RzWqQ,538
30
+ aioaudiobookshelf/schema/file.py,sha256=frymCwsiqOh6fnZPBnkUz1pfyUuKkH4ssRd2WHpsajk,639
31
31
  aioaudiobookshelf/schema/folder.py,sha256=3S6aA306JHhOGtCnawUwMJv13_AXsHmhmNX5RzbjnqY,414
32
32
  aioaudiobookshelf/schema/library.py,sha256=6Gf9DVjKPJhbmKBaXXSbeUddN-VeUx7mIHZrx7HrfMQ,6174
33
33
  aioaudiobookshelf/schema/media_progress.py,sha256=nIISrNvkFV0zmxkGTePuGaw9xW21lTo7ceDdLfG2ffQ,1390
@@ -39,8 +39,8 @@ aioaudiobookshelf/schema/server.py,sha256=yWBRxtwtX1USs43yGFuDIM3jfWbmduW3GRahis
39
39
  aioaudiobookshelf/schema/session.py,sha256=jqCHNUthuzE6jhgG3UwFgagl1HA_rfDwn6Te38jaqC8,2684
40
40
  aioaudiobookshelf/schema/shelf.py,sha256=npPr5iacm6b5FfJYF9_lFZaitJNJ3SVvBOScbxlF5MQ,5064
41
41
  aioaudiobookshelf/schema/user.py,sha256=Zcnl6gqfc97dmHrNOHVsX_OOqwcJq-eFMhc9zVMLIs4,2057
42
- aioaudiobookshelf-0.1.6.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
43
- aioaudiobookshelf-0.1.6.dist-info/METADATA,sha256=VuR5OVJBBkIXh0omjtvIpv3Be9k0ov7BzXL6-SA4AVo,4383
44
- aioaudiobookshelf-0.1.6.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
45
- aioaudiobookshelf-0.1.6.dist-info/top_level.txt,sha256=2_I2_xz98xmVIT84pcF3tlq3NdZNKskfs7BqUmYZylk,18
46
- aioaudiobookshelf-0.1.6.dist-info/RECORD,,
42
+ aioaudiobookshelf-0.1.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
43
+ aioaudiobookshelf-0.1.7.dist-info/METADATA,sha256=wqjbGkX5bPV9GEyvy7RKp_QAjQaJxvyGeRbjCE03lHM,4405
44
+ aioaudiobookshelf-0.1.7.dist-info/WHEEL,sha256=ooBFpIzZCPdw3uqIQsOo4qqbA4ZRPxHnOH7peeONza0,91
45
+ aioaudiobookshelf-0.1.7.dist-info/top_level.txt,sha256=2_I2_xz98xmVIT84pcF3tlq3NdZNKskfs7BqUmYZylk,18
46
+ aioaudiobookshelf-0.1.7.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.0.0)
2
+ Generator: setuptools (80.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5