marcus-crane / khinsider

A khinsider downloader written in Go
MIT License
45 stars 6 forks source link

Add support for albums that share the same name #23

Closed marcus-crane closed 2 years ago

marcus-crane commented 2 years ago

Previously, albums with the same exact name would get overwritten and the index file would flip back and forth as it detects a different name each time (a race condition)

This PR appends the album slug to the end of the album name to help identify whether an album is a rip or an OST. It works for now but there are more ideal ways to tackle this of course.

CleanShot 2022-05-22 at 15 06 29@2x CleanShot 2022-05-22 at 15 07 38@2x CleanShot 2022-05-22 at 15 07 00@2x CleanShot 2022-05-22 at 15 07 21@2x