zachpmanson / penultimate-guitar

A streamlined Ultimate Guitar client with Spotify integration
https://pg.zachmanson.com
MIT License
6 stars 5 forks source link

Check behaviour in getTab when official tabs are passed in #54

Open zachpmanson opened 1 year ago

zachpmanson commented 1 year ago

Right now it does this:

        if (blacklist.includes(dataContent?.store?.page?.data?.tab?.type)) {
          songData.name = "Couldn't display tab type";
          songData.artist = dataContent?.store?.page?.data?.tab?.type;
          return;
        }

which seems wrong