Skip to content

Commit 02e5646

Browse files
committed
Bump v3.4.3
1 parent d5eb856 commit 02e5646

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<div align="center">
22

3-
## 📊 Project Status & Info
43
[![PyPI Version](https://img.shields.io/pypi/v/streamingcommunity?logo=pypi&logoColor=white&labelColor=2d3748&color=3182ce&style=for-the-badge)](https://pypi.org/project/streamingcommunity)
54
[![Last Commit](https://img.shields.io/github/last-commit/Arrowar/StreamingCommunity?logo=git&logoColor=white&labelColor=2d3748&color=805ad5&style=for-the-badge)](https://github.com/Arrowar/StreamingCommunity/commits)
65
[![Issues](https://img.shields.io/github/issues/Arrowar/StreamingCommunity?logo=github&logoColor=white&labelColor=2d3748&color=ed8936&style=for-the-badge)](https://github.com/Arrowar/StreamingCommunity/issues)

StreamingCommunity/Lib/TMBD/tmdb.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@
1212
# Internal utilities
1313
from .obj_tmbd import Json_film
1414
from StreamingCommunity.Util.http_client import create_client
15+
from StreamingCommunity.Util.config_json import config_manager
1516
from StreamingCommunity.Util.table import TVShowManager
1617

1718

1819
# Variable
1920
load_dotenv()
2021
console = Console()
2122
table_show_manager = TVShowManager()
23+
show_trending = config_manager.get_bool('DEFAULT', 'show_trending')
2224
api_key = os.environ.get("TMDB_API_KEY")
2325

24-
if not api_key:
26+
if not api_key and show_trending:
2527
raise ValueError("TMDB_API_KEY non trovata nel file .env")
2628

2729

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__title__ = 'StreamingCommunity'
2-
__version__ = '3.4.2'
2+
__version__ = '3.4.3'
33
__author__ = 'Arrowar'
44
__description__ = 'A command-line program to download film'
55
__copyright__ = 'Copyright 2025'

0 commit comments

Comments
 (0)