Giter Site home page Giter Site logo

danstis / plex-sync Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 348 KB

Plex-Sync is a synchronisation tool for Plex. It syncs media and watched status between a remote and a local plex server.

License: MIT License

Go 50.93% CSS 0.19% HTML 42.13% JavaScript 6.74%
hacktoberfest movies plex synchronization tv

plex-sync's Introduction

Metrics

@danstis's Holopin board

plex-sync's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

plex-sync's Issues

Add ability to clear cached token

Add the ability to clear the cached token

Acceptance Criteria:

What are the minimum requirements to close this issue?

  • Web interface exposes a method of clearing the cached token

Add usage instructions to the Readme

Feature Request:

The readme file should provide configuration instructions.

Acceptance Criteria:

  • Readme file describes the requirements to run the tool.
  • Instructions are tested to be working.

Move token file to .cache folder

Feature Request:

Relocate the token file to the .\config folder, as this is a cache item.

Acceptance Criteria:

What are the minimum requirements to close this issue?

  • token file is moved to the cache folder.
  • All references are updated.

Add web interface for management

Feature Request:

Create a web interface to allow for management of the application.

Acceptance Criteria:

What are the minimum requirements to close this issue?

  • Web Interface is served locally on a user defined port
  • User is able to generate a new Auth token by entering credentials into web interface

Enable the selection of TV shows to sync via the webinterface

The web interface should provide a list of shows on the remote server, to enable the user to select which shows they would like to sync

Acceptance Criteria:

What are the minimum requirements to close this issue?

  • Web interface shows list of shows.
  • User is able to select the shows that should be synced.
    • The selection of items should be done via a lookup on the local/remote server.
    • When the user is presented with the media details, the metadata of the media should be presented (resolution, bitrate, size, audio, extra streams/subtitle info, etc...)

Error getting new token: unable to create token file

Bug Report:

Bug summary

When attempting to generate a token from a clean install the following error is shown:
Error getting new token: unable to create token file

Reproduction Steps

  1. Unzip Plex-Sync.zip into a directory.
  2. Start main.exe
  3. Attempt to generate a new token from Settigs -> Generate Token.
  4. Error is displayed in Web UI.

Desired Behaviour

Token file should be created.

Update WebUI home page to list shows in responsive manner for mobile

Feature Request:

The WebUI listing of shows is currntly not responsive. When viewed on mobile it can be rather large.
The show listing should be updated to use a grid format and be responsive for mobile.

Acceptance Criteria:

What are the minimum requirements to close this issue?

  • Listing displays on mobile devices correctly.
  • Listing displays on desktop devices correctly.

Sort selected shows on Home page

Bug Report:

Bug summary

Selected shows on the Home page are not sorted.

Desired Behavior

Should be sorted alphabetically.

Acceptance Criteria:

What are the minimum requirements to close this issue?

  • Sort the selected shows alphabetically.

Partly watched items are marked as watched on remote server

Bug Report:

Bug summary

Partly watched items are marked as watched on remote server.

Reproduction Steps

  1. For a show that is selected for sync, start watching an episode on the local server.
  2. Wait for a sync cycle.
  3. Check the remote server (or system logs) to see that the episode is marked as watched.

Desired Behaviour

The episode should not be marked as watched until the show is completely watched (using the same logic as plex does on watched episodes).

Sync TV Shows

The application should sync TV shows from the remote server to the local server.

This should be configurable with the following settings:

  • Sync only unwatched episodes, or all episodes
  • Sync a limited number of episodes ahead of the latest episode that is currently marked watched
  • Should be able to remove media once it has been marked as watched

Acceptance criteria:

  • Media is synced to a user selected directory
  • The folder structure of the directory mirrors the server folder structure
  • Setting defined to control the number of episodes to sync
  • Setting defined to control sync of unwatched items only
  • Setting defined to control if the server syncs ahead from last watched item
  • Setting defined to control if the app removes watched media

Move Selected content to DB

Once a Database has been implemented, the selected content (shows/movies) should be moved into the DB.
This will remove the shows.txt files etc.

When a token request fails the app should exit

Bug Report:

Bug summary

If Plex-Sync fails to get a token from MyPlex, then the app still attempts to perform actions.

Reproduction Steps

  1. Open app without a cached token
  2. Enter incorrect details to request token
  3. Application will still attempt to perform sync tasks, even though it knows that is has no token

Desired Behavior

Application should panic and exit

Move tvshows.txt file to config folder

Feature Request:

Relocate the tvshows.txt file to the .\config folder, as this is a configuration item.

Acceptance Criteria:

What are the minimum requirements to close this issue?

  • tvshows.txt file is moved to the config folder.
  • All references are updated.

HTTPS setting does not work

The HTTPS checkbox on the settings page needs to be updated so that it correctly stores and displays the data from the Database.

Sync the View Offset attribute to remote server

Feature Request:

For partly watched media, the "viewOffset" (and potentially the "lastViewedAt") attributes should be synced as part of the watched status sync.

Acceptance Criteria:

  • For media that is partially watched, the viewOffset attribute is synced from the local server to the remote server.

Replace show titles on homepage with images from Plex

Rather than having the show titles listed on the home page, get the show image from plex and display it on the homepage in a grid.
The show titles should also be listed to ensure missing artwork does not impact users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.