plexflow 0.0.107__py3-none-any.whl → 0.0.108__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.
@@ -21,12 +21,15 @@ class PlexMovieFolder(PlexFolder):
21
21
  self.assets.append(subtitle_asset)
22
22
  self.subtitle_index = self.subtitle_index + 1 if self.subtitle_index else 1
23
23
 
24
- def create(self):
24
+ def create(self, dry_run: bool = False):
25
25
  for asset in self.assets:
26
26
  source = asset.source_path
27
27
  target = asset.target_path
28
28
 
29
- target.parent.mkdir(parents=True, exist_ok=True)
29
+ if not dry_run:
30
+ target.parent.mkdir(parents=True, exist_ok=True)
30
31
 
31
32
  logging.info(f"moving {source} to {target}")
32
- sh.move(src=str(source), dst=str(target))
33
+
34
+ if not dry_run:
35
+ sh.move(src=str(source), dst=str(target))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: plexflow
3
- Version: 0.0.107
3
+ Version: 0.0.108
4
4
  Summary: A short description of the package.
5
5
  License: MIT
6
6
  Keywords: keyword1,keyword2,keyword3
@@ -280,7 +280,7 @@ plexflow/core/plex/library/folders/assets/plex_asset.py,sha256=awY8vhg3KoU2uCB18
280
280
  plexflow/core/plex/library/folders/assets/plex_subtitle_asset.py,sha256=51itoIUbHco2HW0Mh9mGNddqwMrZA2ajwuyhVzPcXkI,521
281
281
  plexflow/core/plex/library/folders/assets/plex_video_asset.py,sha256=F_7RtdtblYQJc_gp9nUVxIfS4BeHl0eZDgYmTMg2zos,208
282
282
  plexflow/core/plex/library/folders/plex_folder.py,sha256=GZnyQO6bzcire-2mxPjIPJrq8J0S_4uVsOfVCiHo2E0,387
283
- plexflow/core/plex/library/folders/plex_movie_folder.py,sha256=sT0FjpTwvsShi2ItDCyuRaxhsOiS_gw6tRXciaODgpQ,1426
283
+ plexflow/core/plex/library/folders/plex_movie_folder.py,sha256=zPdA8cfTEiLBXdU0IMfJ-v5NVYIHnUBzgdfNcWremRs,1526
284
284
  plexflow/core/plex/library/library.py,sha256=-Tauzv2qYQ6k2RzEatHFYMNfkg0CHZaQAmTJs4M3dok,3211
285
285
  plexflow/core/plex/token/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
286
286
  plexflow/core/plex/token/__pycache__/__init__.cpython-311.pyc,sha256=trdQUL3OxH5EHEmWYV9U1xf7PK9ig9RDpauyqI7uh34,174
@@ -688,7 +688,7 @@ plexflow/utils/video/__pycache__/audio.cpython-312.pyc,sha256=vXBnJwWgTDFdixMBs-
688
688
  plexflow/utils/video/__pycache__/subtitle.cpython-312.pyc,sha256=PCjpCLydGXaRsQy6cikhgsEs8WlComfOoYPiLFqfVMA,2515
689
689
  plexflow/utils/video/audio.py,sha256=tJ_lNwcjVuBQYD5cYOlXpr__eh8-hnReIgNRgIYOpqo,3380
690
690
  plexflow/utils/video/subtitle.py,sha256=qPvvBjlPj0fynJJvGJgGeKt9ey26R-cF6EoLaYt9iXU,1333
691
- plexflow-0.0.107.dist-info/METADATA,sha256=dGqSMtLOAH92NnFU0WO3-ut0QmeHtmjRj2M_6tehN8g,3051
692
- plexflow-0.0.107.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
693
- plexflow-0.0.107.dist-info/entry_points.txt,sha256=uZc6ohXod3uudTgfeTqnkXBS4Cb7eajdjeqZc3P0PX4,1456
694
- plexflow-0.0.107.dist-info/RECORD,,
691
+ plexflow-0.0.108.dist-info/METADATA,sha256=47M47H4JC3eo95nNfFtR9jx9VBExCYSwR5MjbXR98Rc,3051
692
+ plexflow-0.0.108.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
693
+ plexflow-0.0.108.dist-info/entry_points.txt,sha256=uZc6ohXod3uudTgfeTqnkXBS4Cb7eajdjeqZc3P0PX4,1456
694
+ plexflow-0.0.108.dist-info/RECORD,,