Commit Graph

8 Commits

Author SHA1 Message Date
Danilo Reyes
e6f96107aa Add NixOS module and deployment guide for lidarr-mb-gap
- Introduced a new NixOS module for the lidarr-mb-gap service, allowing users to configure and manage the report generation process through NixOS.
- Added a comprehensive deployment guide in `nixos/DEPLOYMENT.md`, detailing setup instructions, configuration options, and troubleshooting tips for deploying the service on NixOS and serving reports via Caddy.
- Updated `flake.nix` to export the new NixOS module.
- Enhanced the report generation scripts to support customizable output paths for generated reports.
2025-11-11 11:04:01 -06:00
Danilo Reyes
d38fb12e17 Add README.md for lidarr-mb-gap project
- Created a comprehensive README.md file detailing the purpose, features, installation instructions, usage, and project structure for the lidarr-mb-gap tool.
- Included sections on requirements, configuration, and troubleshooting to assist users in setting up and using the application effectively.
- Provided examples of output and logging for better understanding of the tool's functionality.
2025-11-11 10:43:37 -06:00
Danilo Reyes
7f6b998787 Refactor flake.nix and enhance project structure
- Updated `flake.nix` to define a new Python application `lidarr-mb-gap` for identifying missing albums on MusicBrainz.
- Improved development shell environment by including a Python environment with necessary packages.
- Added new source files: `__init__.py`, `html_report.py`, and `main.py` to implement core functionality and HTML report generation.
- Introduced `pyproject.toml` for better package management and project metadata.
- Enhanced user instructions in the shell hook for running the application.
2025-11-11 10:42:34 -06:00
Danilo Reyes
20b07450d9 Update Harmony link format in SubmissionLinkGenerator
- Modified the URL structure in the generate_harmony_link method to include 'release' in the path for better clarity and accuracy in generating submission links from Deezer URLs.
2025-11-11 10:25:48 -06:00
Danilo Reyes
ba0cdcb27b Add HTML report generation for missing albums
- Introduced a new `html_report.py` file to generate an HTML report for albums to add and update.
- Implemented a `generate_html_report` function that creates a styled HTML document with clickable submission links.
- Integrated the new report generation function into `main.py` to streamline the process of reporting missing albums.
- Enhanced user experience with filtering options for album types and artists in the generated report.
2025-11-11 10:21:41 -06:00
Danilo Reyes
da03de4b3c Enhance development environment and improve main.py functionality
- Added `black` to the development environment in flake.nix for code formatting.
- Updated shell hook to include instructions for using `black`.
- Refactored `main.py` to improve code organization and readability, including reordering imports and simplifying list comprehensions.
- Enhanced album processing functions for better clarity and efficiency.
- Improved error handling and output formatting for better user experience.
2025-11-11 10:13:59 -06:00
Danilo Reyes
0dca7474a9 Refactor find_missing_albums method to return tuples and enhance album processing
- Updated the return type of find_missing_albums to return a tuple of lists: albums_to_add and albums_to_update.
- Improved response handling and debugging output for API responses.
- Enhanced album categorization based on status indicators (red for missing, orange for needing updates).
- Updated main function to process and display albums to add and update separately.
- Modified HTML report generation to reflect changes in album categorization.
2025-11-11 09:51:29 -06:00
Danilo Reyes
51df3f15db Add initial project files for MusicBrainz Missing Albums Finder
- Created .gitignore to exclude unnecessary files and directories.
- Added flake.nix for Nix package management and development environment setup.
- Introduced flake.lock to lock dependencies for reproducibility.
- Implemented main.py script to identify missing albums on MusicBrainz from Deezer releases for artists monitored in Lidarr, including functionality for generating submission links.
2025-11-11 09:35:54 -06:00