File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 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 )
Original file line number Diff line number Diff line change 1212# Internal utilities
1313from .obj_tmbd import Json_film
1414from StreamingCommunity .Util .http_client import create_client
15+ from StreamingCommunity .Util .config_json import config_manager
1516from StreamingCommunity .Util .table import TVShowManager
1617
1718
1819# Variable
1920load_dotenv ()
2021console = Console ()
2122table_show_manager = TVShowManager ()
23+ show_trending = config_manager .get_bool ('DEFAULT' , 'show_trending' )
2224api_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
Original file line number Diff line number Diff line change 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'
You can’t perform that action at this time.
0 commit comments