Hi.
Some time ago I added a review on the Addon's page about two features I thought would be rather useful. The response I got was that some features had, understandably, been stalled for a while. So I started messing around with the addon's files locally and, through trial and error, copy-paste, a bit of help from AI, and lots and lots of troubleshooting, the experimental implementation of these two features was made possible:
- Add a list of extensions as exceptions for image conversion. Configurable from the Advanced Settings window.
- Experimental implementation of opus conversion for audio files. Configurable from the Advanced Settings window.
I tried not to modify the original code too much, and tried to follow a similar logic to the existing image conversion for the new functionality. These features have been tested for a few days without issues and here's a few findings.
a. Audio conversion uses ffmpeg since it was already used.
b. Conversion works for cards whether they have an image, a sound file, or both.
c. Audio conversion can be turned off individually from the advanced settings window.
d. Audio conversion has been implemented and tested only for bulk conversion.
e. Bulk-reconvert affects both image and audio conversion simultaneously.
Here's the Fork with the changes I made. But, since I'm not actually a programmer, I'd rather leave this here so someone with more experience can look at these changes and determine if they should be added to the addon's code or not.
That's it for now.
Greetings.
Hi.
Some time ago I added a review on the Addon's page about two features I thought would be rather useful. The response I got was that some features had, understandably, been stalled for a while. So I started messing around with the addon's files locally and, through trial and error, copy-paste, a bit of help from AI, and lots and lots of troubleshooting, the experimental implementation of these two features was made possible:
I tried not to modify the original code too much, and tried to follow a similar logic to the existing image conversion for the new functionality. These features have been tested for a few days without issues and here's a few findings.
a. Audio conversion uses ffmpeg since it was already used.
b. Conversion works for cards whether they have an image, a sound file, or both.
c. Audio conversion can be turned off individually from the advanced settings window.
d. Audio conversion has been implemented and tested only for bulk conversion.
e. Bulk-reconvert affects both image and audio conversion simultaneously.
Here's the Fork with the changes I made. But, since I'm not actually a programmer, I'd rather leave this here so someone with more experience can look at these changes and determine if they should be added to the addon's code or not.
That's it for now.
Greetings.