Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.
/ luntiq-backend Public archive

Scans premiumize cloud files to create media library of movies and tv shows, syncs/downloads to local storage with options from web UI.

Notifications You must be signed in to change notification settings

alashow/luntiq-backend

Repository files navigation

luntiq-backend

This app generates a movie and tv shows library by scanning Premiumize Cloud files. It recursively scans your Premiumize Cloud for video files, guesses it's name, searches in TMDB, and adds to the database.

Includes downloader that downloads checked media to local storage via aria2.

I created this mainly for myself. A lot of things needs to be documented. Feel free to open an issue or contact me about details.

Setup

# copy .env, setup database, add your Premiumize account and TMDB API Key in .env file
cp -n .env.example .env

# install dependencies via https://getcomposer.org/
composer install

# create your database before running this, default database name in .env
# creates tables
php artisan migrate

# main sync library command
# scans for new, removed, changed files in Premiumize Cloud
php artisan sync:library

# start web server for library
# Database dump at http://127.0.0.1:8000/api/library
php artisan serve  

External programs

  1. guessit command when scanning PM Cloud files to find media files. Install it via pip install guessit. Docs

  2. aria2s rpc interface for downloading medias. Only when downloads enabled in .env. Configure rpc interface location and rpc secret in .env. Docs.

About

Scans premiumize cloud files to create media library of movies and tv shows, syncs/downloads to local storage with options from web UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published