Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submit Folksonomy Tags: Refactor code + clean up imports #358

Closed

Conversation

Viktini
Copy link
Contributor

@Viktini Viktini commented Aug 9, 2023

First off, thanks to @rdswift for updating SFT to work with version 2.9's API. I was recovering from illness when that PR was merged, so I wouldn't have been able to deal with it.

Now, a while back I said I would refactor the code, and this is essentially part of that. There might be some more refactoring required, but I think this should be good enough right now to make the code easier to deal with. I've also split the network function and submit handling off to separate files.

LMK if there are any problems!

"""
Processes a track list to just a file list, checking if
the MBID is in the banned list and if alert_multiple_mbids
needs to be checked.
"""
global inconsistent_detected, alert_multiple_mbids
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops, removed the wrong one. 😐 fixed it though

@Viktini Viktini closed this Sep 24, 2023
@Viktini
Copy link
Contributor Author

Viktini commented Sep 24, 2023

Closing as I'm not 100% satisfied with how it was done, I'll keep the old code for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant