faulander / P4S

Premieres for Sonarr - a small sonarr companion app to find all the new shows you've never known you're interested in!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

P4S

All Contributors

Premieres for Sonarr - a small sonarr companion app to find all the new shows you've never been interested in!

P4S - Premieres for Sonarr

P4S is a app that updates it's local database with the show information from TV Maze. You can then search for shows and conveniently adding them to Sonarr. The difference between Sonarr's own search is, that you can filter by language, premiere date, etc.

CI

Django CI

Installation

Production/Docker:

  • Clone the repository: git clone https://github.com/faulander/P4S.git
  • Change into app directory cd P4S/app
  • Copy the example file cp .env.prod.example .env.prod
  • Copy the example file cp .env.prod.db.example .env.prod.db
  • Edit the files and enter your desired variable values
  • Make the Shell files executables chmod +x *.sh
  • Run ./firstart.prod.sh
  • Run ./startapp.prod.sh

Usage

  • Browse to http://localhost:1337/
  • Browse to settings
  • add Sonarr url in form of "http://ip of sonarr:8989/api"
  • add the Sonarr apikey
  • save
  • Browse to settings
  • Choose at least the profile with which the shows should be added to sonarr (if no profile is selectable, the Sonarr credentials are wrong!)
  • Browse to shows
  • Click the add button on any show you want added to Sonarr

First Update of the db

If you want to update the db right away (it's afterwards scheduled), do the following:

  • Browse to http://localhost:1337/admin (or wherever you installed P4S)
  • Login with admin:admin
  • Browse to Django Apscheduler / Django Jobs
  • Run the 2 jobs: "updateTVMaze" and "updateShows" manually (you can check their progress under Django job executions)

Meta

Harald Fauland – @Faulanderharald.fauland@gmail.com Distributed under the MIT license. See LICENSE for more information.

Contributing

  1. Fork it (https://github.com/faulander/P4S/fork)
  2. Create your feature branch (git checkout -b yourfeaturename)
  3. Commit your changes (git commit -am 'Add some yourfeaturename')
  4. Push to the branch (git push origin yourfeaturename)
  5. Create a new Pull Request

Changes

  • Dropped support for MySQL and Nginx - because it's not needed
  • Changed the way the updates work

.## Contributors ✨

Thanks goes to these wonderful people (emoji key):


arogl

⚠️ 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Premieres for Sonarr - a small sonarr companion app to find all the new shows you've never known you're interested in!

License:MIT License


Languages

Language:JavaScript 40.5%Language:CSS 33.6%Language:Python 21.8%Language:HTML 2.5%Language:Shell 1.3%Language:Dockerfile 0.2%