Skip to content

Commit

Permalink
Start v3.0.33
Browse files Browse the repository at this point in the history
Remove GIF support for DeviantArt since their API is unreliable and unwieldy
  • Loading branch information
mvdicarlo committed May 13, 2021
1 parent 30c4b38 commit 66e7acb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion electron-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postybirb-plus",
"version": "3.0.32",
"version": "3.0.33",
"description": "(ClientServer) PostyBirb is an application that helps artists post art and other multimedia to multiple websites more quickly.",
"main": "dist/main.js",
"author": "Michael DiCarlo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export class DeviantArt extends Website {
'swf',
'tiff',
'tif',
'gif',
];
readonly refreshInterval = 10 * 60000;
readonly usernameShortcuts = [
Expand Down Expand Up @@ -176,19 +175,6 @@ export class DeviantArt extends Website {
uploadForm[`tags[${i}]`] = t;
});

if (data.thumbnail) {
uploadForm.preview = data.thumbnail;
} else if (data.primary.file.options.contentType === 'image/gif') {
const frame0 = await GifManipulator.getFrame(data.primary.file.value);
uploadForm.preview = {
value: frame0,
options: {
filename: 'thumbnail.png',
contentType: 'image/png',
},
};
}

this.checkCancelled(cancellationToken);
const upload = await Http.post<{ itemid: string; error_description: string }>(
`${this.BASE_URL}/api/v1/oauth2/stash/submit`,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postybirb-plus",
"version": "3.0.32",
"version": "3.0.33",
"description": "PostyBirb is an application that helps artists post art and other multimedia to multiple websites more quickly..",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postybirb-plus-ui",
"version": "3.0.32",
"version": "3.0.33",
"license": "BSD-3-Clause",
"private": true,
"Author": "Michael DiCarlo",
Expand Down

0 comments on commit 66e7acb

Please sign in to comment.