justinemter / pseudo-channel

This is a python based cli-app using the python-plex-api to control a plex-client and act like a real TV channel with show scheduling, commercial breaks, movie nights, etc. "Home-Brewed TV Channel(s) for Hackers"
GNU General Public License v3.0
130 stars 18 forks source link

Allow -e and -i to also back up and restore the daily schedule #66

Closed MoeFwacky closed 6 years ago

MoeFwacky commented 6 years ago

When doing a full wipe and update of the database, something that gets lost is the current day's schedule. I would like to be be able to restore the day's schedule after doing a wipe and rescan of the database, in addition to restoring the show episode positions for future schedule generation.

justinemter commented 6 years ago

@MoeFwacky I added support so that -e and -i will also export / import the Daily Schedule. You can also manually run -eds and -ids to manually "export daily schedule" and "import daily schedule". I tested this pretty well on my end and seems to be working well.

justinemter commented 6 years ago

Added "-eds" and "-ids" to backup / restore the daily schedule.