Industrial-Parasite / issues

A repo for reporting issues with Industrial Parasite Apps
0 stars 0 forks source link

[FEATURE REQUEST] Pending Approval Cron #66

Open Klastic opened 5 months ago

Klastic commented 5 months ago

Is your feature request related to a problem? Please describe.

Currently, the process of preparing an approved release for distribution is manual, involving several steps that are time-consuming and prone to human error. This manual process can delay the distribution of new music and increase workload.

Describe the solution you'd like

I propose the implementation of a cron job that automates the process once a release is approved. This cron job would perform the following tasks:

  1. Check the Approval State: Regularly check if any releases have been approved but not yet processed for distribution.
  2. Stamp Cover Art: Automatically stamp the cover art with our brand logo and the catalog number.
  3. Push to Platforms: Once the cover art is updated, push the release data to SoundCloud and our distribution partners.
  4. Update Status: Change the release status to "Pending Distribution" once all steps are completed.

Technical Specifications:

Describe alternatives you've considered

An alternative could be to continue with the manual process, but this is less efficient. Another option is to semi-automate parts of the process, though this still requires manual oversight and can lead to inconsistencies.

Additional context

Automating this process would significantly speed up the time to market for new releases, reduce the administrative burden on our team, and minimize the risk of errors during release preparation. This would not only enhance operational efficiency but also improve artist satisfaction with our distribution speed.

Benefits

Klastic commented 5 months ago

Encountered an issue with using Node Canvas for stamping covers, resolved by upgrading to Node v20.x. Cover stamping is now integrated into our system. Every night at midnight, we automatically check for pending releases. If a cover hasn't been stamped, the system will stamp it and update the cover field in the database.

Klastic commented 2 weeks ago

Ran into an issue when pushing the distro push script. Sadly Vercel's functions cannot handle it. I will need to setup a lambda function that will trigger for this step.