Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating and merging with recent commits #2

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
139336a
fix(reddit): use `fetch` instead of `CosmosAsync` (#2892)
rxri Mar 12, 2024
a5f2154
fix: implement missing class for cards for `1.2.33` and higher (#2894)
rxri Mar 12, 2024
4741c93
ci: remove 'update the homebrew tap' step (#2896)
rxri Mar 12, 2024
03668a3
fix: disable sentry completely (#2898)
rxri Mar 12, 2024
ef0b493
fix: properly set every value in state (#2899)
rxri Mar 12, 2024
e181309
fix: repair helpers to work on newer versions (#2888)
rxri Mar 12, 2024
c9b6250
fix(homeConfig): support all versions (#2897)
ohitstom Mar 12, 2024
c77801a
fix(styledClassName): add another key and exclude one (#2902)
rxri Mar 13, 2024
5e1dce1
fix(wrapper/MenuItem): set `isEnabled` not `_isEnabled` (#2905)
rxri Mar 13, 2024
c904733
fix(lyrics-plus): access props when copying translated lyrics (#2908)
rxri Mar 21, 2024
2a005de
feat: add support for new global navbar (#2911)
rxri Mar 21, 2024
3cf0568
fix(NavLinkSidebar): use `TextComponent`, not `TextWrapper` (#2912)
rxri Mar 21, 2024
9ef07f9
docs: create `contributing.md` (#2915)
b-chen00 Mar 23, 2024
cac4af8
feat(config): add another folder to `potentialList` (#2916)
rxri Mar 25, 2024
6f88fb6
fix: make various changes to global navbar (#2913)
rxri Mar 25, 2024
4950982
feat(shuffle+): add an option to shuffle queue (#2923)
rxri Mar 26, 2024
03770a9
feat: add support for pre-Library X UI again (#2922)
rxri Mar 26, 2024
80437c9
fix(wrapper): adapt `checkForUpdate` to new changelog (#2926)
rxri Mar 28, 2024
8bc619f
feat(navlink): match spotify style & use `SeekToCloseParen` (#2927)
rxri Mar 29, 2024
ccb023b
ci(release): add support for windows `arm64` (#2928)
rxri Apr 1, 2024
29fc298
feat(windows/install): add support for `arm64` (#2933)
rxri Apr 1, 2024
6dbc53c
fix(ci/build): add arm64 to 7z checks (#2934)
rxri Apr 2, 2024
1d9de3a
fix(install/linux): properly parse `--root` flag and tag option (#2932)
rxri Apr 6, 2024
9ee6202
fix: do not replace color variables in mini player css (#2948)
rxri Apr 7, 2024
cb3e8f8
fix(new-releases): update `viewportSelector` for `1.2.34` and higher …
rxri Apr 7, 2024
b82f6e2
chore(deps): bump golang.org/x/net from 0.22.0 to 0.24.0 (#2945)
dependabot[bot] Apr 7, 2024
32c7006
fix(wrapper/cards): change hook for `Default` card component (#2942)
harbassan Apr 7, 2024
1e4f069
feat(cmd/update): add support for `arm64` (#2952)
rxri Apr 8, 2024
445868e
fix(manifest): remove borked extensions on marketplace (#2953)
rxri Apr 8, 2024
6591a1a
feat(windows/install): add help text for `?` choices (#2957)
Bergbok Apr 8, 2024
c77623b
fix: adapt regexes for `1.2.35` (#2958)
rxri Apr 8, 2024
84273d1
fix(getStyledClassName): add `$semanticColor` to included keys (#2962)
rxri Apr 10, 2024
d31784f
fix(lyrics-plus): add second selector for viewport (#2961)
rxri Apr 12, 2024
1ba6ef0
fix(config): check for duplicates when adding multiple values (#2963)
rxri Apr 15, 2024
83c3ad8
fix: make changes for `1.2.36` (#2973)
rxri Apr 22, 2024
43c3b8b
fix(css-map): add missing classes across the client (#2978)
rxri Apr 23, 2024
7849eb2
fix(getStyledClassName): remove `$` from `childrenProps` (#2979)
rxri Apr 23, 2024
49d5cbd
fix(getStyledClassName): add `paddingBottom` back to `customExactKeys…
rxri Apr 23, 2024
205a28b
feat(wrapper/cards): re-add "Default" as `FeatureCard` (#2990)
rxri Apr 27, 2024
d0faddf
chore(wrapper): remove additional graphql getters (#2986)
rxri Apr 29, 2024
1723d79
fix(translator): force setting `currentLyrics` on cache hit (#2983)
rxri Apr 30, 2024
ffdb5c1
fix(wrapper): revert `CardImage` component (#2996)
rxri May 2, 2024
df1bcb2
feat(css-map): map home classes (#3002)
rxri May 2, 2024
95969fb
fix(install/windows): use `System.IO` to get `TEMP` path (#2995)
rxri May 2, 2024
8ec27dd
fix(shuffle+): lower limit & bring back `queryArtistOverview` (#3001)
rxri May 2, 2024
ffec2ad
feat(css-map): add search bar (#3006)
veryboringhwl May 3, 2024
564cf2d
feat(css-map): map settings classes (#3003)
rxri May 3, 2024
bf98eb4
feat(css-map): 1.2.36 tracklist row hearts (#3005)
ohitstom May 3, 2024
8ac6ad3
fix(wrapper/platform): assign product state to old prop (#3011)
rxri May 7, 2024
9a39e97
chore(deps): bump golang.org/x/net from 0.24.0 to 0.25.0 (#3010)
dependabot[bot] May 9, 2024
fef1c42
feat(css-map): map text next to cover art (#3016)
veryboringhwl May 9, 2024
49a279f
chore(css-map): search carousel (#3017)
ohitstom May 9, 2024
2a10bdf
fix(keyboardShortcut): correctly call functions for volume (#3019)
senisia May 11, 2024
e23e0f2
feat(css-map): add device picker + equalizer gif classes (#3021)
veryboringhwl May 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(shuffle+): lower limit & bring back queryArtistOverview (spicet…
rxri authored May 2, 2024
commit 8ec27dd091ead45003dd5a76f6624075bae39de6
11 changes: 9 additions & 2 deletions Extensions/shuffle+.js
Original file line number Diff line number Diff line change
@@ -333,7 +333,7 @@

async function fetchAlbumTracks(uri, includeMetadata = false) {
const { queryAlbumTracks } = Spicetify.GraphQL.Definitions;
const { data, errors } = await Spicetify.GraphQL.Request(queryAlbumTracks, { uri, offset: 0, limit: 500 });
const { data, errors } = await Spicetify.GraphQL.Request(queryAlbumTracks, { uri, offset: 0, limit: 100 });

if (errors) throw errors[0].message;
if (data.albumUnion.playability.playable === false) throw "Album is not playable";
@@ -368,7 +368,14 @@
}

async function fetchArtistTracks(uri) {
const { queryArtistDiscographyAll, queryArtistOverview } = Spicetify.GraphQL.Definitions;
const { queryArtistDiscographyAll } = Spicetify.GraphQL.Definitions;
// Definition from older Spotify version
const queryArtistOverview = {
name: "queryArtistOverview",
operation: "query",
sha256Hash: "35648a112beb1794e39ab931365f6ae4a8d45e65396d641eeda94e4003d41497",
value: null
};

const discography = await Spicetify.GraphQL.Request(queryArtistDiscographyAll, {
uri,