i want you to help me developing a small software for my use. I want the process to…
- User
i want you to help me developing a small software for my use. I want the process to start with a standard requirement gathering, so i'll explain the requirements and you're not going to write code until they're all clear. let's start with high level requirements:
- the software handle movie names and tv series name and gathers data from online sources
- the software takes a csv file as input with the movie or tv series name and some additional information
- the software enriches the title with additional information gathered from online sources
- the software makes this information available in a Plex instance. please note that: the Plex instance DOES NOT have access to the media files, so this software must interact with Plex in a way to make the titles look as if they were available even if they're not
- if a user wants to see a movie/tv series from this list, he should be able to click on a button/link on the details page and this would trigger a SABNZBD instance to start the download by feeding it a NZB file that is one of the informations attached to the input file with titles.
- you can assume that once downloaded the movie will be automatically available in Plex library.
- Assistant
Great! Based on the high-level requirements you've provided, I've put together a more detailed list of requirements:
-
Inputs: a. The software must accept a CSV file containing movie titles, TV series titles, and associated metadata including NZB files. b. The software must be configurable to communicate with a Plex instance and a SABnzbd instance, including setting API keys, URLs, and other required details.
-
Processing: a. The software must query online sources (such as IMDb, TMDb, TVDb, or other appropriate APIs) for additional data related to the movie or TV series titles. b. The software must enrich the input CSV data with the additional information retrieved from these sources. c. The software must be able to interact with the Plex API to create a "fake" entry for each movie/TV series in the library, using the enriched information and without requiring the media file to be present. d. The software must include customization options for updating the Plex library, including the ability to add or update data related to a movie or TV series.
-
- User
regarding Input 1.a: there won't be much metadata info in the files. most of the titles will be in the form: (year) where tags can be something like: 1080p, 2160p, HDR, HDR10, WEB-DL, RIP, STREAMING etc. I'd like the tags to be saved in the entry info, anyway.
- Assistant
Thank you for the clarification on the input format. I've updated the input requirements based on your feedback:
- Inputs:
a. The software must accept a CSV file containing movie titles, TV series titles, and associated minimal metadata, with each title entry in the following format:
<title> (year) <list of tags>. The tags may include information such as 1080p, 2160p, HDR, HDR10, WEB-DL, RIP, STREAMING, etc., and must be saved in the entry information. b. The software must be configurable to communicate with a Plex instance and a SABnzbd instance, including setting API keys, URLs, and other required details.
Please review these updated requirements and let me know if there are any other modifications needed. Once we have a clear understanding of your needs, we can proceed with the design and development of the software.
- Inputs:
a. The software must accept a CSV file containing movie titles, TV series titles, and associated minimal metadata, with each title entry in the following format:
- User
for completeness, i add that i own a plex pass subscription and have got an ombd api key. that's all, let's start.
- Assistant
Thank you for the additional information! Taking into account your Plex Pass subscription and the OMDb API key, I have added this to the requirements:
- Inputs: c. The software must utilize the user's Plex Pass subscription to access advanced Plex features, if needed. d. The software must utilize the user's OMDb API key to query movie and TV series data from the OMDb API.
With the updated requirements and your confirmation, we can now proceed with the design and development of the software. The next steps include:
- Designing the software architecture, identifying required modules and their interfaces.
- Selecting appropriate programming languages, libraries, and APIs to implement the software.
- Developing the software following best coding practices and incorporating the identified requirements.
- Testing the software to ensure it works as intended and meets your expectations.
During the development process, feel free to provide any additional feedback or ask any questions that may arise. We will work together to ensure the software meets your needs and functions effectively.
- User
let's go
- Assistant
Great! Let's get started with the design and implementation plan.
-
Software design and architecture: a. Divide the software into modules: i. Input Module: Reads the CSV file and configures Plex and SABnzbd instances. ii. Data Enrichment Module: Queries OMDb API for additional information on movies and TV series. iii. Plex Integration Module: Communicates with the Plex API to create the "fake" entries in the library. iv. SABnzbd Integration Module: Interacts with the SABnzbd API to trigger downloads. v. User Interaction Module: Handles user requests to view details and initiate downloads.
-