cinnamon-cli 0.2.25__tar.gz → 0.2.26__tar.gz

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.
Files changed (35) hide show
  1. {cinnamon_cli-0.2.25/cinnamon_cli.egg-info → cinnamon_cli-0.2.26}/PKG-INFO +16 -10
  2. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/README.md +15 -9
  3. cinnamon_cli-0.2.26/cinnamon/__init__.py +1 -0
  4. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/player.py +2 -1
  5. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26/cinnamon_cli.egg-info}/PKG-INFO +16 -10
  6. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/pyproject.toml +1 -1
  7. cinnamon_cli-0.2.25/cinnamon/__init__.py +0 -1
  8. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/LICENSE +0 -0
  9. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/anilist.py +0 -0
  10. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/cli.py +0 -0
  11. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/config.py +0 -0
  12. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/downloads.py +0 -0
  13. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/errors.py +0 -0
  14. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/history.py +0 -0
  15. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/scrapers/__init__.py +0 -0
  16. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/scrapers/anime.py +0 -0
  17. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/scrapers/base.py +0 -0
  18. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/scrapers/torrentio.py +0 -0
  19. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/scrapers/vidsrc.py +0 -0
  20. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/scrapers/webstream.py +0 -0
  21. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/tmdb.py +0 -0
  22. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon/tui.py +0 -0
  23. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon_cli.egg-info/SOURCES.txt +0 -0
  24. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon_cli.egg-info/dependency_links.txt +0 -0
  25. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon_cli.egg-info/entry_points.txt +0 -0
  26. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon_cli.egg-info/requires.txt +0 -0
  27. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/cinnamon_cli.egg-info/top_level.txt +0 -0
  28. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/setup.cfg +0 -0
  29. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/tests/test_directstream.py +0 -0
  30. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/tests/test_directstream2.py +0 -0
  31. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/tests/test_directstream3.py +0 -0
  32. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/tests/test_directstream4.py +0 -0
  33. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/tests/test_directstream5.py +0 -0
  34. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/tests/test_directstream6.py +0 -0
  35. {cinnamon_cli-0.2.25 → cinnamon_cli-0.2.26}/tests/test_ui_smoke.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cinnamon-cli
3
- Version: 0.2.25
3
+ Version: 0.2.26
4
4
  Summary: CLI to search TV shows, movies & anime via TMDB/AniList, scrape m3u8 links, and play in VLC/mpv
5
5
  Author: pizza-droid
6
6
  License: CC BY-NC 4.0
@@ -31,7 +31,7 @@ Dynamic: license-file
31
31
 
32
32
  > Watch TV shows, movies, and anime from your terminal. Search, pick a title, and it plays in mpv or VLC.
33
33
 
34
- [![Version](https://img.shields.io/badge/version-0.2.25-blue)](#)
34
+ [![version](https://img.shields.io/pypi/v/cinnamon-cli)](https://pypi.org/project/cinnamon-cli/)
35
35
  [![Python](https://img.shields.io/badge/python-%3E%3D3.10-blue)](#)
36
36
  [![License](https://img.shields.io/badge/license-CC%20BY--NC%204.0-green)](#)
37
37
  [![Platform](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux%20%7C%20termux-lightgrey)](#)
@@ -65,33 +65,39 @@ The setup wizard asks for a TMDB API key ([free account](https://www.themoviedb.
65
65
  cinnamon search "Breaking Bad"
66
66
  ```
67
67
 
68
- Pick a title, pick an episode (for TV) or just play (for movies), and it plays. Anime is detected automatically:
68
+ For Anime you can run:
69
69
 
70
70
  ```bash
71
- cinnamon search "Chainsaw Man"
71
+ cinnamon anime "Chainsaw Man"
72
72
  ```
73
73
 
74
- Movies work the same way — search returns both TV and movies, and you pick:
74
+
75
+ Movies work the same way:
75
76
 
76
77
  ```bash
77
78
  cinnamon search "Inception"
78
79
  cinnamon watch --type movie --query "Inception"
79
80
  ```
80
81
 
81
- ### Download episodes
82
-
83
- Downloading needs [yt-dlp](https://github.com/yt-dlp/yt-dlp). Install it together with cinnamon in one step:
82
+ you can also run this:
84
83
 
85
84
  ```bash
86
- pip install "cinnamon-cli[download]"
85
+ cinnamon Inception
86
+ cinnamon Breaking bad
87
+ cinnamon chainsaw man
87
88
  ```
88
89
 
89
- Or install yt-dlp on its own (any platform):
90
+ ### Download episodes
91
+
92
+ Downloading needs [yt-dlp](https://github.com/yt-dlp/yt-dlp).
93
+
90
94
 
91
95
  ```bash
92
96
  pip install yt-dlp
93
97
  ```
94
98
 
99
+ Now you can run:
100
+
95
101
  ```bash
96
102
  cinnamon search "Breaking Bad" -d -e 1-5
97
103
  ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Watch TV shows, movies, and anime from your terminal. Search, pick a title, and it plays in mpv or VLC.
4
4
 
5
- [![Version](https://img.shields.io/badge/version-0.2.25-blue)](#)
5
+ [![version](https://img.shields.io/pypi/v/cinnamon-cli)](https://pypi.org/project/cinnamon-cli/)
6
6
  [![Python](https://img.shields.io/badge/python-%3E%3D3.10-blue)](#)
7
7
  [![License](https://img.shields.io/badge/license-CC%20BY--NC%204.0-green)](#)
8
8
  [![Platform](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux%20%7C%20termux-lightgrey)](#)
@@ -36,33 +36,39 @@ The setup wizard asks for a TMDB API key ([free account](https://www.themoviedb.
36
36
  cinnamon search "Breaking Bad"
37
37
  ```
38
38
 
39
- Pick a title, pick an episode (for TV) or just play (for movies), and it plays. Anime is detected automatically:
39
+ For Anime you can run:
40
40
 
41
41
  ```bash
42
- cinnamon search "Chainsaw Man"
42
+ cinnamon anime "Chainsaw Man"
43
43
  ```
44
44
 
45
- Movies work the same way — search returns both TV and movies, and you pick:
45
+
46
+ Movies work the same way:
46
47
 
47
48
  ```bash
48
49
  cinnamon search "Inception"
49
50
  cinnamon watch --type movie --query "Inception"
50
51
  ```
51
52
 
52
- ### Download episodes
53
-
54
- Downloading needs [yt-dlp](https://github.com/yt-dlp/yt-dlp). Install it together with cinnamon in one step:
53
+ you can also run this:
55
54
 
56
55
  ```bash
57
- pip install "cinnamon-cli[download]"
56
+ cinnamon Inception
57
+ cinnamon Breaking bad
58
+ cinnamon chainsaw man
58
59
  ```
59
60
 
60
- Or install yt-dlp on its own (any platform):
61
+ ### Download episodes
62
+
63
+ Downloading needs [yt-dlp](https://github.com/yt-dlp/yt-dlp).
64
+
61
65
 
62
66
  ```bash
63
67
  pip install yt-dlp
64
68
  ```
65
69
 
70
+ Now you can run:
71
+
66
72
  ```bash
67
73
  cinnamon search "Breaking Bad" -d -e 1-5
68
74
  ```
@@ -0,0 +1 @@
1
+ __version__ = "0.2.26"
@@ -321,7 +321,8 @@ def play_mpv(url, title="", referer=None):
321
321
  raise PlayerNotFoundError("mpv")
322
322
  if _in_termux():
323
323
  return _termux_open(url, "mpv", referer=referer, user_agent=DEFAULT_UA)
324
- cmd = [exe, f"--title={title}", "--alang=eng", "--slang=eng", "--subs-with-matching-audio=yes"]
324
+ cmd = [exe, f"--title={title}", "--alang=eng", "--slang=eng", "--subs-with-matching-audio=yes",
325
+ "--seekable=yes", "--force-seekable=yes", "--cache=yes", "--cache-secs=300"]
325
326
  if referer:
326
327
  cmd += ["--http-header-fields=Referer: " + referer]
327
328
  cmd.append(url)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cinnamon-cli
3
- Version: 0.2.25
3
+ Version: 0.2.26
4
4
  Summary: CLI to search TV shows, movies & anime via TMDB/AniList, scrape m3u8 links, and play in VLC/mpv
5
5
  Author: pizza-droid
6
6
  License: CC BY-NC 4.0
@@ -31,7 +31,7 @@ Dynamic: license-file
31
31
 
32
32
  > Watch TV shows, movies, and anime from your terminal. Search, pick a title, and it plays in mpv or VLC.
33
33
 
34
- [![Version](https://img.shields.io/badge/version-0.2.25-blue)](#)
34
+ [![version](https://img.shields.io/pypi/v/cinnamon-cli)](https://pypi.org/project/cinnamon-cli/)
35
35
  [![Python](https://img.shields.io/badge/python-%3E%3D3.10-blue)](#)
36
36
  [![License](https://img.shields.io/badge/license-CC%20BY--NC%204.0-green)](#)
37
37
  [![Platform](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux%20%7C%20termux-lightgrey)](#)
@@ -65,33 +65,39 @@ The setup wizard asks for a TMDB API key ([free account](https://www.themoviedb.
65
65
  cinnamon search "Breaking Bad"
66
66
  ```
67
67
 
68
- Pick a title, pick an episode (for TV) or just play (for movies), and it plays. Anime is detected automatically:
68
+ For Anime you can run:
69
69
 
70
70
  ```bash
71
- cinnamon search "Chainsaw Man"
71
+ cinnamon anime "Chainsaw Man"
72
72
  ```
73
73
 
74
- Movies work the same way — search returns both TV and movies, and you pick:
74
+
75
+ Movies work the same way:
75
76
 
76
77
  ```bash
77
78
  cinnamon search "Inception"
78
79
  cinnamon watch --type movie --query "Inception"
79
80
  ```
80
81
 
81
- ### Download episodes
82
-
83
- Downloading needs [yt-dlp](https://github.com/yt-dlp/yt-dlp). Install it together with cinnamon in one step:
82
+ you can also run this:
84
83
 
85
84
  ```bash
86
- pip install "cinnamon-cli[download]"
85
+ cinnamon Inception
86
+ cinnamon Breaking bad
87
+ cinnamon chainsaw man
87
88
  ```
88
89
 
89
- Or install yt-dlp on its own (any platform):
90
+ ### Download episodes
91
+
92
+ Downloading needs [yt-dlp](https://github.com/yt-dlp/yt-dlp).
93
+
90
94
 
91
95
  ```bash
92
96
  pip install yt-dlp
93
97
  ```
94
98
 
99
+ Now you can run:
100
+
95
101
  ```bash
96
102
  cinnamon search "Breaking Bad" -d -e 1-5
97
103
  ```
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cinnamon-cli"
7
- version = "0.2.25"
7
+ version = "0.2.26"
8
8
  description = "CLI to search TV shows, movies & anime via TMDB/AniList, scrape m3u8 links, and play in VLC/mpv"
9
9
  license = { text = "CC BY-NC 4.0" }
10
10
  readme = "README.md"
@@ -1 +0,0 @@
1
- __version__ = "0.2.25"
File without changes
File without changes