peg-this 3.0.1__py3-none-any.whl → 3.0.4__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 peg-this might be problematic. Click here for more details.

peg_this/peg_this.py CHANGED
@@ -697,6 +697,7 @@ def main_menu():
697
697
 
698
698
  if choice is None or choice == "Exit":
699
699
  console.print("[bold]Goodbye![/bold]")
700
+ console.print("\n[italic cyan]Built with ❤️ by Hariharen[/italic cyan]")
700
701
  break
701
702
  elif choice == "Process a Single Media File":
702
703
  selected_file = select_media_file()
@@ -708,7 +709,8 @@ def main_menu():
708
709
  batch_convert()
709
710
 
710
711
 
711
- if __name__ == "__main__":
712
+ def main():
713
+ """Main entry point for the application script."""
712
714
  try:
713
715
  main_menu()
714
716
  except (KeyboardInterrupt, EOFError):
@@ -718,3 +720,6 @@ if __name__ == "__main__":
718
720
  logging.exception("An unexpected error occurred.")
719
721
  console.print(f"[bold red]An unexpected error occurred: {e}[/bold red]")
720
722
  console.print(f"Details have been logged to {log_file}")
723
+
724
+ if __name__ == "__main__":
725
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: peg_this
3
- Version: 3.0.1
3
+ Version: 3.0.4
4
4
  Summary: A powerful, intuitive command-line video editor suite, built on FFmpeg.
5
5
  Author-email: Hariharen S S <thisishariharen@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/hariharen9/ffmpeg-this
@@ -39,8 +39,27 @@ A powerful and user-friendly batch script for converting, manipulating, and insp
39
39
 
40
40
 
41
41
  ## 🚀 Usage
42
+ ### Prerequisite: Install FFmpeg
42
43
 
43
- There are three ways to use `peg_this`:
44
+ > `peg_this` uses a library called `ffmpeg-python` which acts as a controller for the main FFmpeg program. It does not include FFmpeg itself. Therefore, you must have FFmpeg installed on your system and available in your terminal's PATH.
45
+
46
+ For **macOS** users, the easiest way to install it is with [Homebrew](https://brew.sh/):
47
+ ```bash
48
+ brew install ffmpeg
49
+ ```
50
+
51
+ For **Windows** users, you can use a package manager like [Chocolatey](https://chocolatey.org/) or [Scoop](https://scoop.sh/):
52
+ ```bash
53
+ # Using Chocolatey
54
+ choco install ffmpeg
55
+
56
+ # Using Scoop
57
+ scoop install ffmpeg
58
+ ```
59
+
60
+ For other systems, please see the official download page: **[ffmpeg.org/download.html](https://ffmpeg.org/download.html)**
61
+
62
+ There are ***three*** ways to use `peg_this`:
44
63
 
45
64
  ### 1. Pip Install (Recommended)
46
65
 
@@ -0,0 +1,8 @@
1
+ peg_this/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ peg_this/peg_this.py,sha256=6Yru7s8PMwxXH2GhmIRlvy2KO5fgQYYxQwusHkZig-U,30317
3
+ peg_this-3.0.4.dist-info/licenses/LICENSE,sha256=WL1MklYSco7KZvDjbf191tIKOxWQdekqda7dDJc6Wn8,1067
4
+ peg_this-3.0.4.dist-info/METADATA,sha256=qtdMOpC4fo9dq538SF0n3eMIQeVzyL74krhUbJ4zuGs,4267
5
+ peg_this-3.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ peg_this-3.0.4.dist-info/entry_points.txt,sha256=9GVTFuE1w_wgY-Tz3--wI5j52BAKrt4atphVD8ioHhQ,52
7
+ peg_this-3.0.4.dist-info/top_level.txt,sha256=kSS5jZg3KN2kJqYZwMvQnI4gvlFxsUNzIm3QJsbKFdc,9
8
+ peg_this-3.0.4.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- peg_this/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- peg_this/peg_this.py,sha256=khAYs2cz5zzxrq2onEt7YNcHjS9xcNJv_dvpXQD-RVg,30150
3
- peg_this-3.0.1.dist-info/licenses/LICENSE,sha256=WL1MklYSco7KZvDjbf191tIKOxWQdekqda7dDJc6Wn8,1067
4
- peg_this-3.0.1.dist-info/METADATA,sha256=HhoqodFFu5cKBkuezJ7gDAEPlXwkOn_Z-TbC8L7oyZc,3527
5
- peg_this-3.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- peg_this-3.0.1.dist-info/entry_points.txt,sha256=9GVTFuE1w_wgY-Tz3--wI5j52BAKrt4atphVD8ioHhQ,52
7
- peg_this-3.0.1.dist-info/top_level.txt,sha256=kSS5jZg3KN2kJqYZwMvQnI4gvlFxsUNzIm3QJsbKFdc,9
8
- peg_this-3.0.1.dist-info/RECORD,,