This repository contains the logic for the Backend of the CineHome service. It is used together with the CinePro backend to download movies and tv episodes. It is ment to be run on a home server. You can send a get request with the specified Movie / episode, it will get links for downloads from the CinePro Backend server and download them into a specified directory.
This route will download the specified media to the defined folder.
- type: "movie" or "tv"
- id: the tmdb id of the movie or tv show you want to download
- s: Only for tv: The season of the episode you want to download
- e: Only for tv: The number of the episode you want to download
- filename: the name of the file it should get saved as
- is optional, will resort to filename of the link it uses if no name is provided
- CINEPROBACKENDURL: The Url on which the CinePro backend server is running.
- Default: none -> mandatory
- PORT: The Port the server should get hosted on.
- Default: 500
- DOWNLOADFOLDER: The folder where to file should get downloaded to.
- Default: cineHome/downloads
- important: Does not work with Docker
- Node.js
- streamlink (for downloading and converting m3u8 to mp4)
- Clone the repository
- Install the dependencies with
npm install
- Create a
.env
file in the root directory and define the variables mentioned above - Start the server with
npm start
- The sever should now be running on
http://localhost:5000
or whatever Port you defined in the .env file
You can use this project for personal and non-commercial use ONLY! You are not allowed to sell this project or any part of it and/or add ANY KIND of tracking or advertisement to it.
This project is for educational purposes only. We do not host any kind of content. We provide only the links to already available content on the internet. We do not host, upload any videos, films or media files. We are not responsible for the accuracy, compliance, copyright, legality, decency, or any other aspect of the content of other linked sites. If you have any legal issues please contact the appropriate media file owners or host sites. And fun fact: If you are law enforcement, this project might acctually help you take sites down, since you can easily check where the media is hosted on. (pls dont)