diff --git a/package.json b/package.json
index 06fb1b73..04a81ef8 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "cobalt",
"description": "save what you love",
- "version": "7.6",
+ "version": "7.6.1",
"author": "wukko",
"exports": "./src/cobalt.js",
"type": "module",
diff --git a/src/front/updateBanners/meowthcenter.png b/src/front/updateBanners/meowthcenter.png
deleted file mode 100644
index 2dc39e2e..00000000
Binary files a/src/front/updateBanners/meowthcenter.png and /dev/null differ
diff --git a/src/front/updateBanners/meowthcenter.webp b/src/front/updateBanners/meowthcenter.webp
new file mode 100644
index 00000000..8690882b
Binary files /dev/null and b/src/front/updateBanners/meowthcenter.webp differ
diff --git a/src/modules/changelog/changelog.json b/src/modules/changelog/changelog.json
index 9ea24d64..47f0a177 100644
--- a/src/modules/changelog/changelog.json
+++ b/src/modules/changelog/changelog.json
@@ -4,11 +4,11 @@
"date": "October 15, 2023",
"title": "customizable file names, instagram stories, and first cobalt sponsor!",
"banner": {
- "file": "meowthcenter.png",
+ "file": "meowthcenter.webp",
"width": 851,
"height": 640
},
- "content": "as many have (very) often requested, cobalt now lets you pick between several file name format styles!\ngo to settings > other and change it to whichever you like! there's a preview of each style, so you know how exactly files are gonna look like.\n\nif you liked file names the way they were before, don't worry: classic style is still the default :)\n\non a different but not any less important note: cobalt is now sponsored by royalehosting.net!\noverall service performance and stability is gonna be better, but also more content will be possible to download thanks to geniuine server locations. and yes, still no ads or trackers.\n\nthis update also includes a bunch of other changes, check them out:\n\nservice improvements:\n*; added support for instagram stories thanks to #194.\n*; fixed reddit support thanks to #221.\n*; added support for rich file names for youtube, vimeo, soundcloud, rutube, and vk.\n*; mute and audio dub file name tags don't appear together anymore.\n*; youtube: dub file name tag doesn't appear anymore if audio track is default.\n\ninterface improvements:\n*; added a list of sponsors to about tab. if you host an instance, it's disabled by default, but can be enabled with showSponsors env variable.\n*; about button now opens about tab when no new changelog is available.\n*; fixed download button thickness on ios.\n\nyou now can reach out to cobalt via email for support! it's located in the about tab along with other socials, such as discord.\n\ni hope you enjoy this long-awaited update and have a blissful day :D"
+ "content": "as many have (very) often requested, cobalt now lets you pick between several file name format styles!\ngo to settings > other and change it to whichever you like! there's a preview of each style, so you know how exactly files are gonna look like.\n\nif you liked file names the way they were before, don't worry: classic style is still the default :)\n\non a different but not any less important note: cobalt is now sponsored by royalehosting.net!\noverall service performance and stability is gonna be better, but also more content will be possible to download thanks to geniuine server locations. and yes, still no ads or trackers.\n\nthis update also includes a bunch of other changes, check them out:\n\nservice improvements:\n*; added support for instagram stories thanks to #194.\n*; fixed reddit support thanks to #221.\n*; added support for rich file names for youtube, vimeo, soundcloud, rutube, and vk.\n*; numbers and emoji no longer disappear from file metadata and title.\n*; mute and audio dub file name tags don't appear together anymore.\n*; youtube: dub file name tag doesn't appear anymore if audio track is default.\n\ninterface improvements:\n*; added a list of sponsors to about tab. if you host an instance, it's disabled by default, but can be enabled with showSponsors env variable.\n*; about button now opens about tab when no new changelog is available.\n*; fixed download button thickness on ios.\n\nyou now can reach out to cobalt via email for support! it's located in the about tab along with other socials, such as discord.\n\ni hope you enjoy this long-awaited update and have a blissful day :D"
},
"history": [{
"version": "7.5",
diff --git a/src/modules/processing/services/soundcloud.js b/src/modules/processing/services/soundcloud.js
index dc9e2e25..fcc6de02 100644
--- a/src/modules/processing/services/soundcloud.js
+++ b/src/modules/processing/services/soundcloud.js
@@ -70,8 +70,8 @@ export default async function(obj) {
if (!file) return { error: 'ErrorCouldntFetch' };
let fileMetadata = {
- title: cleanString(json.title.replace(/\p{Emoji}/gu, '').trim()),
- artist: cleanString(json.user.username.replace(/\p{Emoji}/gu, '').trim()),
+ title: cleanString(json.title.trim()),
+ artist: cleanString(json.user.username.trim()),
}
return {
diff --git a/src/modules/processing/services/vimeo.js b/src/modules/processing/services/vimeo.js
index dc300f7c..b60a1c39 100644
--- a/src/modules/processing/services/vimeo.js
+++ b/src/modules/processing/services/vimeo.js
@@ -34,8 +34,8 @@ export default async function(obj) {
if (!obj.forceDash && JSON.stringify(api).includes('"progressive":[{')) downloadType = "progressive";
let fileMetadata = {
- title: cleanString(api.video.title.replace(/\p{Emoji}/gu, '').trim()),
- artist: cleanString(api.video.owner.name.replace(/\p{Emoji}/gu, '').trim()),
+ title: cleanString(api.video.title.trim()),
+ artist: cleanString(api.video.owner.name.trim()),
}
if (downloadType !== "dash") {
diff --git a/src/modules/processing/services/vk.js b/src/modules/processing/services/vk.js
index b10a4c0d..30d05f29 100644
--- a/src/modules/processing/services/vk.js
+++ b/src/modules/processing/services/vk.js
@@ -34,8 +34,8 @@ export default async function(o) {
url = js.player.params[0][`url${quality}`];
let fileMetadata = {
- title: cleanString(js.player.params[0].md_title.replace(/\p{Emoji}/gu, '').trim()),
- artist: cleanString(js.player.params[0].md_author.replace(/\p{Emoji}/gu, '').trim()),
+ title: cleanString(js.player.params[0].md_title.trim()),
+ artist: cleanString(js.player.params[0].md_author.trim()),
}
if (url) return {
diff --git a/src/modules/processing/services/youtube.js b/src/modules/processing/services/youtube.js
index 71a617b2..71783fa0 100644
--- a/src/modules/processing/services/youtube.js
+++ b/src/modules/processing/services/youtube.js
@@ -61,8 +61,8 @@ export default async function(o) {
}
}
let fileMetadata = {
- title: cleanString(info.basic_info.title.replace(/\p{Emoji}/gu, '').trim()),
- artist: cleanString(info.basic_info.author.replace("- Topic", "").replace(/\p{Emoji}/gu, '').trim()),
+ title: cleanString(info.basic_info.title.trim()),
+ artist: cleanString(info.basic_info.author.replace("- Topic", "").trim()),
}
if (info.basic_info.short_description && info.basic_info.short_description.startsWith("Provided to YouTube by")) {
let descItems = info.basic_info.short_description.split("\n\n");