




pducharme wrote:Amazon AWS error: Your request is missing required parameters. Required parameters include AssociateTag.







When downloading an album I get this:
Album art fetch from AMZN: Album name here
Amazon AWS error: Your request is missing required parameters. Required parameters include AssociateTag.
.... songs...
.... songs...
.... songs...
Error: Directory not empty, cannot remove


zakharm wrote:Hi Andy,
Thanks for the good review and glad you like it.
I guess I'm just too afraid to wipe out a directory that still has any content within.
zakharm wrote:I think it's a great idea. I don't have the time right now, but do you have any interest in contributing to the script to add the functionality for custom directory / file name structures?
I could then roll it into the main branch of the script.
def tagToString(self, pattern):
# %A - artist
# %a - album
# %t - title
# %n - track number
# %N - track total
# %Y - year
s = self._subst(pattern, "%A", self.getArtist());
s = self._subst(s, "%a", self.getAlbum());
s = self._subst(s, "%t", self.getTitle());
s = self._subst(s, "%n", self._prettyTrack(self.getTrackNum()[0]));
s = self._subst(s, "%N", self._prettyTrack(self.getTrackNum()[1]));
s = self._subst(s, "%Y", self.getYear());
return s;




Return to Post-Processing Scripts