Software per la creazione di un canale community per Stream4me, addon kodi
| .gitignore | ||
| community_channel_helper.py | ||
| demo_functionality.py | ||
| demo_movies_list.json | ||
| README.md | ||
| requirements_diff.txt | ||
| test_import.py | ||
Community Channel Helper
A GTK-based Python application for searching movies via the TMDB API and managing a custom list of movies with streaming links and quality information.
Features
- Search movies using TMDB API
- Display movie posters and details
- Add movies to a custom list with streaming links and quality information
- Save the movie list to a JSON file
Requirements
- Python 3.6+
- PyGObject (for GTK bindings)
- requests library
Installation
-
Install system dependencies:
# On Ubuntu/Debian: sudo apt-get install python3-gi python3-gi-cairo gir1.2-gtk-3.0 # On macOS with Homebrew: brew install pygobject3 gtk+3 -
Install Python dependencies:
pip install -r requirements.txt
Usage
Run the application:
python community_channel_helper.py
How to Use
- Search for a movie: Enter the movie title in the search box and click "Cerca"
- Select a movie: Choose a movie from the search results to view details and poster
- Add streaming link: Enter the streaming URL and quality (e.g., 1080p)
- Add to list: Click "Aggiungi alla lista" to add the selected movie with its streaming info
- Save list: Click "Salva Lista" to export your movie list to
movies_list.json - API Key: Optionally enter your TMDB API key (or use the default one in the code)
Configuration
The application includes a default TMDB API key, but you can use your own by:
- Entering it in the API Key field in the UI
- Or modifying the
api_keyvariable in the source code
Output Format
The saved movies_list.json file contains an array of movies with the following structure:
{
"movies_list": [
{
"title": "Movie Title",
"year": "2023",
"tmdb_id": 12345,
"links": [
{
"url": "streaming-url",
"quality": "1080p"
}
]
}
]
}
Dependencies
gi.repository.Gtk- GTK+ 3 GUI toolkitrequests- HTTP library for API callsjson- For saving/loading dataGdkPixbuf- For image handling