daksh2k / Spicetify-stuff

Some spicetify extensions!
https://daksh2k.me/Spicetify-stuff/
MIT License
208 stars 25 forks source link

[Feature Request]: No 'Nasheed' Genre Auto-Skip Functionality #146

Open ibrahimkettaneh opened 9 months ago

ibrahimkettaneh commented 9 months ago

Choose the extension for feature request.

Auto Skip

📝 Provide a description of the new feature

Proposal: Enhance auto-skip Spicetify extension with an auto-skip feature targeting tracks not labeled 'Nasheed'. This addition will streamline user experience by honoring genre preferences.

Sample Track: 'My Soul - Vocals Only Original'.

Your consideration of this request is greatly appreciated.

➕ Additional Information

I started working on implementing this and I would eagerly contribute based on your direction.

      skipNasheed: {
        menuTitle: "Nasheed Songs",
        check: (e) =>
          !e.name.toLowerCase().includes("nasheed"),
      },
diff --git a/autoSkip.js b/autoSkip.js
index 75c97cc..df9ebc7 100644
--- a/autoSkip.js
+++ b/autoSkip.js
@@ -42,10 +42,7 @@
     (u = {
       skipAcoustic: {
         menuTitle: "Acoustic Songs",
-        check: (t) =>
-          ["acoustic", "stripped", "unplugged"].some((e) =>
-            t.name.toLowerCase().includes(e),
-          ) || 0.85 < t?.features?.acousticness,
+        check: (t) => false,
         callback: async (e) => {
           await r(a(e.name) + " artist:" + e.artists[0].name);
         },
@@ -53,7 +50,7 @@
       skipNassheed: {
         menuTitle: "Nasheed Songs",
         check: (e) =>
-          e.name.toLowerCase().includes("nasheed"),
+          !e.name.toLowerCase().includes("nasheed"),
       },
       skipRemix: {
         menuTitle: "Remix Songs",