`
36 | );
37 |
38 | const toggle = $("#ChristianModeToggle");
39 |
40 | toggle.on("click", () => {
41 | ChristianMode = !ChristianMode;
42 | Spicetify.LocalStorage.set(
43 | "ChristianMode",
44 | JSON.stringify(ChristianMode)
45 | );
46 | if (ChristianMode) {
47 | toggle.addClass("MenuItemToggle--checked MenuItem--is-active");
48 | } else {
49 | toggle.removeClass("MenuItemToggle--checked MenuItem--is-active");
50 | }
51 | });
52 | });
53 |
54 | menuObserver.observe(menuEl[0], { childList: true });
55 |
56 | Spicetify.Player.addEventListener("songchange", () => {
57 | if (!Spicetify.Player.data) return;
58 |
59 | let isExplicit =
60 | ChristianMode &&
61 | Spicetify.Player.data.track.metadata.is_explicit === "true";
62 | if (isExplicit) {
63 | Spicetify.Player.next();
64 | }
65 | });
66 | })();
67 |
--------------------------------------------------------------------------------
/Extensions/wnpPlugin.js:
--------------------------------------------------------------------------------
1 | // START METADATA
2 | // NAME: WebNowPlaying Companion
3 | // AUTHOR: tjrulz (modded by khanhas)
4 | // DESCRIPTION: Get song information and control player
5 | // END METADATA
6 |
7 | ///
8 |
9 | (function WebNowPlaying() {
10 | const INFO_LIST = [
11 | "state",
12 | "title",
13 | "artist",
14 | "album",
15 | "cover",
16 | "duration",
17 | "position",
18 | "volume",
19 | "rating",
20 | "repeat",
21 | "shuffle",
22 | ];
23 |
24 | const currentMusicInfo = {};
25 |
26 | INFO_LIST.forEach((field) => {
27 | currentMusicInfo[field] = null;
28 | })
29 |
30 | let ws;
31 | let musicEvents = {};
32 | let musicInfo = {};
33 | let currState = 0
34 |
35 | /*
36 | ooooo ooooo oooooooooooo ooooo ooooooooo. oooooooooooo ooooooooo. .oooooo..o
37 | `888' `888' `888' `8 `888' `888 `Y88. `888' `8 `888 `Y88. d8P' `Y8
38 | 888 888 888 888 888 .d88' 888 888 .d88' Y88bo.
39 | 888ooooo888 888oooo8 888 888ooo88P' 888oooo8 888ooo88P' `"Y8888o.
40 | 888 888 888 " 888 888 888 " 888`88b. `"Y88b
41 | 888 888 888 o 888 o 888 888 o 888 `88b. oo .d8P
42 | o888o o888o o888ooooood8 o888ooooood8 o888o o888ooooood8 o888o o888o 8""88888P'
43 | */
44 | /**
45 | * Zero padding a number
46 | * @param {number} number number to pad
47 | * @param {number} length
48 | */
49 | function pad(number, length) {
50 | var str = String(number);
51 | while (str.length < length) {
52 | str = "0" + str;
53 | }
54 | return str;
55 | }
56 |
57 | /**
58 | * Convert seconds to a time string acceptable to Rainmeter
59 | * @param {number} timeInMs
60 | */
61 | function convertTimeToString(timeInMs) {
62 | const timeInSeconds = Math.round(timeInMs / 1000);
63 | const timeInMinutes = Math.floor(timeInSeconds / 60);
64 | if (timeInMinutes < 60) {
65 | return timeInMinutes + ":" + pad(timeInSeconds % 60, 2);
66 | }
67 | return (
68 | timeInMinutes / 60 +
69 | ":" +
70 | pad(timeInMinutes % 60, 2) +
71 | ":" +
72 | pad(timeInSeconds % 60, 2)
73 | );
74 | }
75 |
76 | /*
77 | .oooooo. oooooooooo. oooo oooooooooooo .oooooo. ooooooooooooo .oooooo..o
78 | d8P' `Y8b `888' `Y8b `888 `888' `8 d8P' `Y8b 8' 888 `8 d8P' `Y8
79 | 888 888 888 888 888 888 888 888 Y88bo.
80 | 888 888 888oooo888' 888 888oooo8 888 888 `"Y8888o.
81 | 888 888 888 `88b 888 888 " 888 888 `"Y88b
82 | `88b d88' 888 .88P 888 888 o `88b ooo 888 oo .d8P
83 | `Y8bood8P' o888bood8P' .o. 88P o888ooooood8 `Y8bood8P' o888o 8""88888P'
84 | `Y888P
85 | */
86 | function resetEventHandler() {
87 | musicEvents = {
88 | readyCheck: null,
89 | playpause: null,
90 | next: null,
91 | previous: null,
92 | progressSeconds: null,
93 | volume: null,
94 | repeat: null,
95 | shuffle: null,
96 | rating: null,
97 | };
98 | }
99 |
100 | //Use this object to define custom logic to retrieve data
101 | function resetMusicInfo() {
102 | INFO_LIST.forEach((field) => {
103 | musicInfo[field] = null;
104 | })
105 | musicInfo.readyCheck = null;
106 | }
107 |
108 | /*
109 | ooooo ooo ooooooooo. oooooooooo. .o. ooooooooooooo oooooooooooo ooooooooo.
110 | `888' `8' `888 `Y88. `888' `Y8b .888. 8' 888 `8 `888' `8 `888 `Y88.
111 | 888 8 888 .d88' 888 888 .8"888. 888 888 888 .d88'
112 | 888 8 888ooo88P' 888 888 .8' `888. 888 888oooo8 888ooo88P'
113 | 888 8 888 888 888 .88ooo8888. 888 888 " 888`88b.
114 | `88. .8' 888 888 d88' .8' `888. 888 888 o 888 `88b.
115 | `YbodP' o888o o888bood8P' o88o o8888o o888o o888ooooood8 o888o o888o
116 | */
117 | function updateInfo() {
118 | if (musicInfo.readyCheck === null || musicInfo.readyCheck()) {
119 | INFO_LIST.forEach((field) => {
120 | try {
121 | if (musicInfo[field] === null) {
122 | return;
123 | }
124 |
125 | let temp = musicInfo[field].call();
126 | if (temp !== null && currentMusicInfo[field] !== temp) {
127 | ws.send(`${field.toUpperCase()}:${temp}`);
128 | currentMusicInfo[field] = temp;
129 | }
130 | } catch (e) {
131 | ws.send(
132 | `Error:Error updating ${field} for Spotify Desktop`
133 | );
134 | ws.send("ErrorD:" + e);
135 | }
136 | });
137 | } else {
138 | if (currState !== 0) {
139 | ws.send("STATE:" + 0);
140 | currState = 0;
141 | }
142 | }
143 | }
144 |
145 | /*
146 | oooooooooooo oooooo oooo oooooooooooo ooooo ooo ooooooooooooo .oooooo..o
147 | `888' `8 `888. .8' `888' `8 `888b. `8' 8' 888 `8 d8P' `Y8
148 | 888 `888. .8' 888 8 `88b. 8 888 Y88bo.
149 | 888oooo8 `888. .8' 888oooo8 8 `88b. 8 888 `"Y8888o.
150 | 888 " `888.8' 888 " 8 `88b.8 888 `"Y88b
151 | 888 o `888' 888 o 8 `888 888 oo .d8P
152 | o888ooooood8 `8' o888ooooood8 o8o `8 o888o 8""88888P'
153 | */
154 | function fireEvent(event) {
155 | if (!(musicEvents.readyCheck && musicEvents.readyCheck())) {
156 | return;
157 | }
158 | const m = event.data;
159 | const n = m.indexOf(" ");
160 | let type = n === -1 ? m : m.substring(0, n);
161 | type = type.toLowerCase();
162 | const info = m.substring(n + 1);
163 | switch (type) {
164 | case "playpause":
165 | musicEvents.playpause();
166 | break;
167 | case "next":
168 | musicEvents.next();
169 | break;
170 | case "previous":
171 | musicEvents.previous();
172 | break;
173 | case "setposition":
174 | musicEvents.progressSeconds(parseInt(info));
175 | break;
176 | case "setvolume":
177 | musicEvents.volume(parseInt(info) / 100);
178 | break;
179 | case "repeat":
180 | musicEvents.repeat();
181 | break;
182 | case "shuffle":
183 | musicEvents.shuffle();
184 | break;
185 | case "rating":
186 | musicEvents.rating(parseInt(info));
187 | break;
188 | case "search": {
189 | let query = info;
190 |
191 | if (!Spicetify.CosmosAPI) {
192 | console.error("Cosmos API is not available.");
193 | return;
194 | }
195 |
196 | if (!query) {
197 | return;
198 | }
199 |
200 | let field = "tracks"
201 | const exclamPos = query.indexOf('!');
202 |
203 | if (exclamPos !== -1) {
204 | let foundField = false;
205 | const findField = query.substring(0, exclamPos).toLowerCase();
206 | switch (findField) {
207 | case "album": foundField = true; field = "albums"; break;
208 | case "artist": foundField = true; field = "artists"; break;
209 | case "playlist": foundField = true; field = "playlists"; break;
210 | case "show": foundField = true; field = "shows"; break;
211 | case "podcast": foundField = true; field = "audioepisodes"; break;
212 | }
213 | if (foundField) {
214 | query = query.substring(exclamPos + 1);
215 | }
216 | }
217 |
218 | query = escape(query);
219 | const limit = 20;
220 | const uri = `hm://searchview/km/v4/search/${query}?entityVersion=2&limit=${limit}&imageSize=small&catalogue=&country=${__spotify.product_state.country_code}&locale=${__spotify.locale}&platform=${__spotify.client}&username=${__spotify.username}`;
221 |
222 | Spicetify.CosmosAPI.resolver.resolve(
223 | new Spicetify.CosmosAPI.Request("GET", uri), (error, res) => {
224 | if (error) {
225 | console.log(error);
226 | return;
227 | }
228 | console.log(res.getJSONBody().results[field])
229 | let result = res.getJSONBody().results[field].hits;
230 |
231 | if (result.length > 0) {
232 | result = result.map((item) => ({
233 | a: item.artists ? item.artists.map((a) => a.name).join(", ") : "",
234 | n: item.name,
235 | u: item.uri,
236 | i: item.image,
237 | }));
238 | }
239 | ws.send("SEARCHRESULT:" + JSON.stringify(result));
240 | }
241 | );
242 | break;
243 | }
244 | case "playurl": {
245 | const uri = Spicetify.LibURI.from(info);
246 | switch (uri.type) {
247 | case "track":
248 | case "episode":
249 | Spicetify.PlaybackControl.playTrack(info, {}, () => {});
250 | break;
251 | case "album":
252 | case "show":
253 | case "playlist":
254 | Spicetify.PlaybackControl.playFromResolver(info, {}, () => {});
255 | break;
256 | case "artist":
257 | Spicetify.PlaybackControl.playFromArtist(info, {}, () => {});
258 | break;
259 | }
260 | }
261 | }
262 | }
263 |
264 | /*
265 | .oooooo..o oooooooooooo ooooooooooooo ooooo ooo ooooooooo.
266 | d8P' `Y8 `888' `8 8' 888 `8 `888' `8' `888 `Y88.
267 | Y88bo. 888 888 888 8 888 .d88'
268 | `"Y8888o. 888oooo8 888 888 8 888ooo88P'
269 | `"Y88b 888 " 888 888 8 888
270 | oo .d8P 888 o 888 `88. .8' 888
271 | 8""88888P' o888ooooood8 o888o `YbodP' o888o
272 | */
273 |
274 | function init() {
275 | const url = "ws://127.0.0.1:8974/";
276 |
277 | ws = new WebSocket(url);
278 | let sendData;
279 |
280 | ws.onopen = function() {
281 | ws.send("PLAYER: Spotify Desktop");
282 |
283 | INFO_LIST.forEach(field => {
284 | currentMusicInfo[field] = null;
285 | })
286 |
287 | //@TODO Dynamic update rate based on success rate
288 | sendData = setInterval(() => {
289 | updateInfo();
290 | }, 500);
291 | };
292 |
293 | ws.onclose = () => {
294 | clearInterval(sendData);
295 | setTimeout(function() {
296 | init();
297 | }, 5000);
298 | };
299 |
300 | ws.onmessage = (event) => fireEvent(event);
301 | }
302 |
303 | window.onbeforeunload = () => {
304 | ws.onclose = () => {}; // disable onclose handler first
305 | ws.close();
306 | };
307 |
308 | function setup() {
309 | resetMusicInfo();
310 |
311 | musicInfo.readyCheck = () => (Spicetify.Player.data ? true : false);
312 |
313 | musicInfo.state = () => (Spicetify.Player.isPlaying() ? 1 : 2);
314 |
315 | musicInfo.title = () =>
316 | Spicetify.Player.data.track.metadata.title || "N/A";
317 |
318 | musicInfo.artist = () =>
319 | document
320 | .getElementsByClassName("view-player")[0]
321 | .getElementsByClassName("artist")[0]
322 | .innerText.replace(/\n/, "");
323 |
324 | musicInfo.album = () =>
325 | Spicetify.Player.data.track.metadata.album_title || "N/A";
326 |
327 | musicInfo.cover = () => {
328 | let currCover =
329 | Spicetify.Player.data.track.metadata.image_xlarge_url || "";
330 | if (currCover !== "" && currCover.indexOf("localfile") === -1) {
331 | return (
332 | "https://i.scdn.co/image/" +
333 | currCover.substring(currCover.lastIndexOf(":") + 1)
334 | );
335 | } else {
336 | return "";
337 | }
338 | };
339 |
340 | musicInfo.duration = () =>
341 | convertTimeToString(Spicetify.Player.getDuration());
342 |
343 | musicInfo.position = () =>
344 | convertTimeToString(Spicetify.Player.getProgressMs());
345 |
346 | musicInfo.volume = () =>
347 | Math.round(Spicetify.Player.getVolume() * 100);
348 |
349 | musicInfo.rating = () => {
350 | const heart = document.querySelector(
351 | '[data-interaction-target="heart-button"]'
352 | );
353 |
354 | const isHeartAvailable = heart.style.display !== "none";
355 | if (isHeartAvailable) {
356 | if (heart.classList.contains("active")) {
357 | return 5;
358 | }
359 |
360 | return 0;
361 | } else {
362 | const add = document.querySelector('[data-button="add"]');
363 | if (
364 | add.attributes["data-interaction-intent"].value === "remove"
365 | ) {
366 | return 5;
367 | }
368 |
369 | return 0;
370 | }
371 | };
372 |
373 | musicInfo.repeat = () => Spicetify.Player.getRepeat();
374 |
375 | musicInfo.shuffle = () => (Spicetify.Player.getShuffle() ? 1 : 0);
376 |
377 | resetEventHandler();
378 |
379 | musicEvents.readyCheck = () => (Spicetify.Player.data ? true : false);
380 |
381 | musicEvents.playpause = () => Spicetify.Player.togglePlay();
382 |
383 | musicEvents.next = () => Spicetify.Player.next();
384 |
385 | musicEvents.previous = () => Spicetify.Player.back();
386 |
387 | musicEvents.progressSeconds = (p) => Spicetify.Player.seek(p * 1000);
388 |
389 | musicEvents.volume = (v) => Spicetify.Player.setVolume(v);
390 |
391 | musicEvents.repeat = () => Spicetify.Player.toggleRepeat();
392 |
393 | musicEvents.shuffle = () => Spicetify.Player.toggleShuffle();
394 |
395 | musicEvents.rating = (rating) => {
396 | const like = rating > 3;
397 | const heart = document.querySelector(
398 | '[data-interaction-target="heart-button"]'
399 | );
400 | const isHeartAvailable = heart.style.display !== "none";
401 | if (isHeartAvailable) {
402 | if (heart.classList.contains("active") && !like) {
403 | heart.click();
404 | } else if (!heart.classList.contains("active") && like) {
405 | heart.click();
406 | }
407 | } else {
408 | const add = document.querySelector('[data-button="add"]');
409 | if (
410 | !like &&
411 | add.attributes["data-interaction-intent"].value == "remove"
412 | ) {
413 | add.click();
414 | } else if (
415 | like &&
416 | add.attributes["data-interaction-intent"].value == "save"
417 | ) {
418 | add.click();
419 | }
420 | }
421 | };
422 | }
423 |
424 | setup();
425 | init();
426 | })();
427 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 | {one line to give the program's name and a brief idea of what it does.}
635 | Copyright (C) 2018 {name of author}
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Spicetify Copyright (C) 2018 Nguyen Xuan Khanh
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
--------------------------------------------------------------------------------
/LOGO.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
31 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## This repo is no longer maintained.
2 |
3 | ## Windows, Linux and MacOS users, please check out https://github.com/khanhas/spicetify-cli
4 |
--------------------------------------------------------------------------------
/Spicetify.ini:
--------------------------------------------------------------------------------
1 | [Rainmeter]
2 | Update = 1000
3 | ContextTitle = New theme
4 | ContextAction = !CommandMeasure Script ThemeNew()
5 | ContextTitle2 = Duplicate current theme
6 | ContextAction2 = !CommandMeasure Script ThemeDuplicate()
7 |
8 | [Metadata]
9 | Name=Spicetify
10 | Author=khanhas (khanhas#3928 @ discord, /u/khanhas @ reddit)
11 | Information=Spice up Spotify client
12 | Version=1.7.7
13 | License=GNU General Public License v3.0
14 |
15 | [Variables]
16 | CurrentTheme =SpicetifyDefault
17 | @include = #ROOTCONFIGPATH#Themes\#CurrentTheme#\color.inc
18 |
19 | Replace_Colors =1
20 | Inject_CSS =1
21 | Radio =0
22 | Home =0
23 | LyricAlwaysShow =0
24 | LyricForceNoSync =0
25 | VisualizationHighFramerate =0
26 | ExperimentalFeatures=1
27 | FastUserSwitching=1
28 | MadeForYouHub=0
29 | SongPage=0
30 |
31 | DisableSentry =1
32 | DisableUILogging =1
33 | RemoveRTLRule =1
34 |
35 | LiveUpdate =0
36 |
37 | ;Shouldn't change those below
38 | ActivatedExtensions=shuffle+.js;wnpplugin.js;trashbin.js;queueall.js;
39 | ActivatedApps=reddit;
40 | LastSpotifyVersion=
41 |
42 | ;If you experience crash when using Spicetify skin, please
43 | ;comment out or delete this [Websocket] measure.
44 | [WebSocket]
45 | Measure=Plugin
46 | Plugin=MessagePassing
47 | Name=Spicetify
48 |
49 | [Script]
50 | Measure = Script
51 | ScriptFile = #@#Script.lua
52 |
53 | [Backup]
54 | Measure = Plugin
55 | Plugin = RunCommand
56 | Parameter = robocopy "%appdata%\Spotify\Apps" "#@#Backup"
57 | OutputType = ANSI
58 | FinishAction = !CommandMeasure Script "Init_Unzip()"
59 |
60 | [Restore]
61 | Measure = Plugin
62 | Plugin = RunCommand
63 | Parameter = RD "%appdata%\Spotify\Apps" /S /Q
64 | OutputType = ANSI
65 | FinishAction = [!CommandMeasure Restore2 Run]
66 |
67 | [Restore2]
68 | Measure = Plugin
69 | Plugin = RunCommand
70 | Parameter = robocopy "#@#Backup" "%appdata%\Spotify\Apps"
71 | OutputType = ANSI
72 | FinishAction = [!CommandMeasure Script "Restored()"]["#@#AutoRestart.exe"]
73 |
74 | [ClearBackup]
75 | Measure = Plugin
76 | Plugin = RunCommand
77 | Parameter = RD "#@#Backup" /S /Q
78 | OutputType = ANSI
79 | FinishAction = [!CommandMeasure ClearBackup2 "Run"]
80 |
81 | [ClearBackup2]
82 | Measure = Plugin
83 | Plugin = RunCommand
84 | Parameter = RD "#@#Extracted" /S /Q
85 | OutputType = ANSI
86 | FinishAction = [!WriteKeyValue Variables LastSpotifyVersion " "][!Refresh]
87 |
88 | [Unzip]
89 | Measure = Plugin
90 | Plugin = RunCommand
91 | StartInFolder = #@#
92 | OutputType = ANSI
93 | DynamicVariables = 1
94 | FinishAction = !CommandMeasure Script "Unzip()"
95 |
96 | [Duplicate]
97 | Measure = Plugin
98 | Plugin = RunCommand
99 | OutputType = ANSI
100 | StartInFolder = #@#Extracted
101 | FinishAction = !CommandMeasure Script "Init_PrepareCSS()"
102 |
103 | [Remove]
104 | Measure = Plugin
105 | Plugin = RunCommand
106 | Parameter = del "%appdata%\Spotify\Apps" /S /Q
107 | OutputType = ANSI
108 | FinishAction = [!CommandMeasure TransferRawToSpotify "Run"][!CommandMeasure Script "UpdateStatus('Copying extracted files to Spotify')"]
109 |
110 | [TransferRawToSpotify]
111 | Measure = Plugin
112 | Plugin = RunCommand
113 | Parameter = robocopy "#@#Extracted\Raw" "%appdata%\Spotify\Apps" /S /COPY:D /R:50 /W:1 /NJH /NS /LOG:"#@#robocopy_transfer_raw_log.txt"
114 | OutputType = ANSI
115 | FinishAction = !CommandMeasure Script "Transfer()"
116 |
117 | [TransferMod]
118 | Measure = Plugin
119 | Plugin = RunCommand
120 | OutputType = ANSI
121 | FinishAction = !CommandMeasure Script "Finishing()"
122 |
123 | [CopyApp]
124 | Measure = Plugin
125 | Plugin = RunCommand
126 | OutputType = ANSI
127 | FinishAction = !CommandMeasure Script "App_CopyRountine()"
128 |
129 | [ThemeFolderView]
130 | Measure = Plugin
131 | Plugin = FileView
132 | Path = #ROOTCONFIGPATH#Themes
133 | ShowDotDot = 0
134 | ShowFolder = 1
135 | ShowFile = 0
136 | FinishAction = [!UpdateMeasure ThemeFolderCount][!UpdateMeasure ThemeFolderName][!CommandMeasure Script "UpdateTheme()"]
137 |
138 | [ThemeFolderCount]
139 | Measure = Plugin
140 | Plugin = FileView
141 | Path = [ThemeFolderView]
142 | Type = FolderCount
143 |
144 | [ThemeFolderName]
145 | Measure = Plugin
146 | Plugin = FileView
147 | Path = [ThemeFolderView]
148 | Type = FileName
149 | Index = 1
150 | IgnoreCount = 1
151 |
152 | [BackupFileCount]
153 | Measure = Plugin
154 | Plugin = FileView
155 | Path = #@#Backup
156 | ShowDotDot = 0
157 | ShowFolder = 0
158 | FinishAction = [!UpdateMeasure BackupFileCount][!CommandMeasure Script "UpdateInitStatus()"]
159 | Type = FileCount
160 |
161 | [BackupFileName]
162 | Measure = Plugin
163 | Plugin = FileView
164 | Path = [BackupFileCount]
165 | Type = FileName
166 | Index = 1
167 | IgnoreCount = 1
168 |
169 | [SpotifyFileCount]
170 | Measure = Plugin
171 | Plugin = FileView
172 | Path = %appdata%\Spotify\Apps
173 | ShowDotDot = 0
174 | ShowFolder = 0
175 | Type = FileCount
176 |
177 | [CSSFileView]
178 | Measure = Plugin
179 | Plugin = FileView
180 | Extensions = "css"
181 | Recursive = 2
182 |
183 | [CSSFileName]
184 | Measure = Plugin
185 | Plugin = FileView
186 | Path = [CSSFileView]
187 | Type = FilePath
188 | Index = 1
189 | IgnoreCount = 1
190 |
191 | [Background]
192 | Meter = Shape
193 | Shape = Rectangle 10,10,1490,605,5 | StrokeWidth 0 | Fill Color f7f9f9
194 | Shape2 = Rectangle 210, 40, 1, 530 | StrokeWidth 1 | Stroke Color 50505050
195 | Shape3 = Rectangle 810, 40, 1, 530 | StrokeWidth 1 | Stroke Color 50505050
196 | Shape4 = Rectangle 1160, 40, 1, 530 | StrokeWidth 1 | Stroke Color 50505050
197 |
198 | [Theme]
199 | Meter = String
200 | Text = Theme:
201 | FontFace = Bahnschrift
202 | FOntSize = 13
203 | FontColor = 282828
204 | X = 230
205 | Y = 30
206 | AntiAlias = 1
207 | FontWeight = 600
208 |
209 | [ThemeBack_Disabled]
210 | Meter = String
211 | Text = [\xf191]
212 | FontFace = Font Awesome 5 Free
213 | FontSize = 18
214 | FontColor = 909090
215 | AntiAlias = 1
216 | X = 10R
217 | Y = -5r
218 |
219 | [ThemeBack]
220 | Meter = String
221 | MeterStyle = ThemeBack_Disabled
222 | FontColor = 282828
223 | X = r
224 | Y = r
225 | MouseOverAction = [!SetOption #CURRENTSECTION# FontColor 8a4fff][!UpdateMeter #CURRENTSECTION#][!Redraw]
226 | MouseLeaveAction = [!SetOption #CURRENTSECTION# FontColor 282828][!UpdateMeter #CURRENTSECTION#][!Redraw]
227 | LeftMouseUpAction = !CommandMeasure Script ThemeChange(-1)
228 | Hidden = 1
229 |
230 | [ThemeNext_Disabled]
231 | Meter = String
232 | Text = [\xf152]
233 | FontFace = Font Awesome 5 Free
234 | FontSize = 18
235 | FontColor = 909090
236 | AntiAlias = 1
237 | X = 330
238 | Y = r
239 |
240 | [ThemeNext]
241 | Meter = String
242 | MeterStyle = ThemeNext_Disabled
243 | FontColor = 282828
244 | X = r
245 | Y = r
246 | MouseOverAction = [!SetOption #CURRENTSECTION# FontColor 8a4fff][!UpdateMeter #CURRENTSECTION#][!Redraw]
247 | MouseLeaveAction = [!SetOption #CURRENTSECTION# FontColor 282828][!UpdateMeter #CURRENTSECTION#][!Redraw]
248 | LeftMouseUpAction = !CommandMeasure Script ThemeChange(1)
249 | Hidden = 1
250 |
251 | [ThemeName]
252 | Meter = String
253 | Text = #CurrentTheme#
254 | X = 370
255 | Y = 30
256 | FontFace = Bahnschrift
257 | FOntSize = 13
258 | FontColor = 282828
259 | AntiAlias = 1
260 | ClipString = 1
261 | W = 400
262 |
263 | [ThemeRunCommand]
264 | Measure = Plugin
265 | Plugin = RunCommand
266 | OutputType = ANSI
267 | StartInFolder = #ROOTCONFIGPATH#Themes
268 |
269 | [CoreSetting]
270 | Meter = String
271 | Text = Core setting:
272 | FontFace = Bahnschrift
273 | FOntSize = 13
274 | FontColor = 282828
275 | X = 30
276 | Y = 30
277 | AntiAlias = 1
278 | FontWeight = 600
279 |
280 | [DevTool]
281 | Meter = Shape
282 | MeterStyle = ButtonStyle
283 | X = 25
284 | Y = 60
285 | Shape = Rectangle 0, 0, 170, 40, 5 | StrokeWidth 1.25 | Extend StrokeColor,Color
286 | StrokeColor = Stroke Color 8a4fff
287 | Color = Fill Color 00000000
288 | MouseOverAction = [!SetOption #CURRENTSECTION# Color "Fill Color 8a4fff"][!UpdateMeter #CURRENTSECTION#][!SetOption #CURRENTSECTION#Text FontColor f7f9f9][!UpdateMeter #CURRENTSECTION#Text][!ShowMeterGroup DevToolTip][!Redraw]
289 | MouseLeaveAction = [!SetOption #CURRENTSECTION# Color "Fill Color 00000000"][!UpdateMeter #CURRENTSECTION#][!SetOption #CURRENTSECTION#Text FontColor 8a4fff][!UpdateMeter #CURRENTSECTION#Text][!HideMeterGroup DevToolTip][!Redraw]
290 |
291 | [DevToolText]
292 | Meter = String
293 | MeterStyle = ButtonTextStyle
294 | Text = [\xf0c8] Developer mode
295 | H = 30
296 | Y = 22r
297 | X = 30
298 | StringAlign = LeftCenter
299 | FontSize = 13
300 | InlinePattern = ^(.)
301 | InlineSetting = Face | Font Awesome 5 Free
302 |
303 | [ReplaceColorsMeasure]
304 | Measure = Calc
305 | IfCondition = #Replace_Colors# = 1
306 | IfTrueAction = [!SetOption ReplaceColorsToggle Text "[\xf14a] Replace colors"]
307 | IfFalseAction = [!SetOption ReplaceColorsToggle Text "[\xf0c8] Replace colors"]
308 | DynamicVariables=1
309 |
310 | [ReplaceColorsToggle]
311 | Meter = String
312 | Text =
313 | InlinePattern = ^(.)
314 | InlineSetting = Face | Font Awesome 5 Free
315 | FontFace = Bahnschrift
316 | FOntSize = 13
317 | FontColor = 282828
318 | X = 30
319 | Y = 10R
320 | AntiAlias = 1
321 | LeftMouseUpAction = [!WriteKeyValue Variables Replace_Colors "(1-#Replace_Colors#)"][!SetVariable Replace_Colors "(1-#Replace_Colors#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure ReplaceColorsMeasure][!UpdateMeter ReplaceColorsToggle][!Redraw]
322 | Group = CoreSettings
323 |
324 | [InjectCSSMeasure]
325 | Measure = Calc
326 | IfCondition = #Inject_CSS# = 1
327 | IfTrueAction = !SetOption InjectCSSToggle Text "[\xf14a] Inject CSS"
328 | IfFalseAction = !SetOption InjectCSSToggle Text "[\xf0c8] Inject CSS"
329 | DynamicVariables=1
330 |
331 | [InjectCSSToggle]
332 | Meter = String
333 | Text =
334 | InlinePattern = ^(.)
335 | InlineSetting = Face | Font Awesome 5 Free
336 | FontFace = Bahnschrift
337 | FOntSize = 13
338 | FontColor = 282828
339 | ClipString = 2
340 | ClipStringW= 170
341 | X = r
342 | Y = 10R
343 | LeftMouseUpAction = [!WriteKeyValue Variables Inject_CSS "(1-#Inject_CSS#)"][!SetVariable Inject_CSS "(1-#Inject_CSS#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure InjectCSSMeasure][!UpdateMeter InjectCSSToggle][!Redraw]
344 | AntiAlias = 1
345 | Group = CoreSettings
346 |
347 | [HomeMeasure]
348 | Measure = Calc
349 | IfCondition = #Home# = 1
350 | IfTrueAction = !SetOption HomeToggle Text "[\xf14a] Enable Home"
351 | IfFalseAction = !SetOption HomeToggle Text "[\xf0c8] Enable Home"
352 | DynamicVariables=1
353 |
354 | [HomeToggle]
355 | Meter = String
356 | MeterStyle = InjectCSSToggle
357 | LeftMouseUpAction = [!WriteKeyValue Variables Home "(1-#Home#)"][!SetVariable Home "(1-#Home#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure HomeMeasure][!UpdateMeter HomeToggle][!Redraw]
358 | MouseOverAction = [!ShowMeterGroup HomeTip][!Redraw]
359 | MouseLeaveAction = [!HideMeterGroup HomeTip][!Redraw]
360 |
361 | [RadioMeasure]
362 | Measure = Calc
363 | IfCondition = #Radio# = 1
364 | IfTrueAction = !SetOption RadioToggle Text "[\xf14a] Enable Radio"
365 | IfFalseAction = !SetOption RadioToggle Text "[\xf0c8] Enable Radio"
366 | DynamicVariables=1
367 |
368 | [RadioToggle]
369 | Meter = String
370 | MeterStyle = InjectCSSToggle
371 | LeftMouseUpAction = [!WriteKeyValue Variables Radio "(1-#Radio#)"][!SetVariable Radio "(1-#Radio#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure RadioMeasure][!UpdateMeter RadioToggle][!Redraw]
372 | MouseOverAction = [!ShowMeterGroup RadioTip][!Redraw]
373 | MouseLeaveAction = [!HideMeterGroup RadioTip][!Redraw]
374 |
375 | [LyricAlwaysShowMeasure]
376 | Measure = Calc
377 | IfCondition = #LyricAlwaysShow# = 1
378 | IfTrueAction = !SetOption LyricAlwaysShowToggle Text "[\xf14a] Lyrics button always show"
379 | IfFalseAction = !SetOption LyricAlwaysShowToggle Text "[\xf0c8] Lyrics button always show"
380 | DynamicVariables=1
381 |
382 | [LyricAlwaysShowToggle]
383 | Meter = String
384 | MeterStyle = InjectCSSToggle
385 | LeftMouseUpAction = [!WriteKeyValue Variables LyricAlwaysShow "(1-#LyricAlwaysShow#)"][!SetVariable LyricAlwaysShow "(1-#LyricAlwaysShow#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure LyricAlwaysShowMeasure][!UpdateMeter LyricAlwaysShowToggle][!Redraw]
386 | MouseOverAction = [!ShowMeterGroup LyricAlwaysShowTip][!Redraw]
387 | MouseLeaveAction = [!HideMeterGroup LyricAlwaysShowTip][!Redraw]
388 |
389 | [LyricForceNoSyncMeasure]
390 | Measure = Calc
391 | IfCondition = #LyricForceNoSync# = 1
392 | IfTrueAction = !SetOption LyricForceNoSyncToggle Text "[\xf14a] Force no sync lyrics"
393 | IfFalseAction = !SetOption LyricForceNoSyncToggle Text "[\xf0c8] Force no sync lyrics"
394 | DynamicVariables=1
395 |
396 | [LyricForceNoSyncToggle]
397 | Meter = String
398 | MeterStyle = InjectCSSToggle
399 | LeftMouseUpAction = [!WriteKeyValue Variables LyricForceNoSync "(1-#LyricForceNoSync#)"][!SetVariable LyricForceNoSync "(1-#LyricForceNoSync#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure LyricForceNoSyncMeasure][!UpdateMeter LyricForceNoSyncToggle][!Redraw]
400 | MouseOverAction = [!ShowMeterGroup LyricForceNoSyncTip][!Redraw]
401 | MouseLeaveAction = [!HideMeterGroup LyricForceNoSyncTip][!Redraw]
402 |
403 | [VisualizationHighFramerateMeasure]
404 | Measure = Calc
405 | IfCondition = #VisualizationHighFramerate# = 1
406 | IfTrueAction = !SetOption VisualizationHighFramerateToggle Text "[\xf14a] High visualization framerate"
407 | IfFalseAction = !SetOption VisualizationHighFramerateToggle Text "[\xf0c8] High visualization framerate"
408 | DynamicVariables=1
409 |
410 | [VisualizationHighFramerateToggle]
411 | Meter = String
412 | MeterStyle = InjectCSSToggle
413 | LeftMouseUpAction = [!WriteKeyValue Variables VisualizationHighFramerate "(1-#VisualizationHighFramerate#)"][!SetVariable VisualizationHighFramerate "(1-#VisualizationHighFramerate#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure VisualizationHighFramerateMeasure][!UpdateMeter VisualizationHighFramerateToggle][!Redraw]
414 | MouseOverAction = [!ShowMeterGroup VisualizationHighFramerateTip][!Redraw]
415 | MouseLeaveAction = [!HideMeterGroup VisualizationHighFramerateTip][!Redraw]
416 |
417 | [ExperimentalFeaturesMeasure]
418 | Measure = Calc
419 | IfCondition = #ExperimentalFeatures# = 1
420 | IfTrueAction = !SetOption ExperimentalFeaturesToggle Text "[\xf14a] Experimental features"
421 | IfFalseAction = !SetOption ExperimentalFeaturesToggle Text "[\xf0c8] Experimental features"
422 | DynamicVariables=1
423 |
424 | [ExperimentalFeaturesToggle]
425 | Meter = String
426 | MeterStyle = InjectCSSToggle
427 | LeftMouseUpAction = [!WriteKeyValue Variables ExperimentalFeatures "(1-#ExperimentalFeatures#)"][!SetVariable ExperimentalFeatures "(1-#ExperimentalFeatures#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure ExperimentalFeaturesMeasure][!UpdateMeter ExperimentalFeaturesToggle][!Redraw]
428 | MouseOverAction = [!ShowMeterGroup ExperimentalFeaturesTip][!Redraw]
429 | MouseLeaveAction = [!HideMeterGroup ExperimentalFeaturesTip][!Redraw]
430 |
431 | [FastUserSwitchingMeasure]
432 | Measure = Calc
433 | IfCondition = #FastUserSwitching# = 1
434 | IfTrueAction = !SetOption FastUserSwitchingToggle Text "[\xf14a] Fast user switching"
435 | IfFalseAction = !SetOption FastUserSwitchingToggle Text "[\xf0c8] Fast user switching"
436 | DynamicVariables=1
437 |
438 | [FastUserSwitchingToggle]
439 | Meter = String
440 | MeterStyle = InjectCSSToggle
441 | LeftMouseUpAction = [!WriteKeyValue Variables FastUserSwitching "(1-#FastUserSwitching#)"][!SetVariable FastUserSwitching "(1-#FastUserSwitching#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure FastUserSwitchingMeasure][!UpdateMeter FastUserSwitchingToggle][!Redraw]
442 | MouseOverAction = [!ShowMeterGroup FastUserSwitchingTip][!Redraw]
443 | MouseLeaveAction = [!HideMeterGroup FastUserSwitchingTip][!Redraw]
444 |
445 | [MadeForYouHubMeasure]
446 | Measure = Calc
447 | IfCondition = #MadeForYouHub# = 1
448 | IfTrueAction = !SetOption MadeForYouHubToggle Text "[\xf14a] Enable Made For You hub"
449 | IfFalseAction = !SetOption MadeForYouHubToggle Text "[\xf0c8] Enable Made For You hub"
450 | DynamicVariables=1
451 |
452 | [MadeForYouHubToggle]
453 | Meter = String
454 | MeterStyle = InjectCSSToggle
455 | LeftMouseUpAction = [!WriteKeyValue Variables MadeForYouHub "(1-#MadeForYouHub#)"][!SetVariable MadeForYouHub "(1-#MadeForYouHub#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure MadeForYouHubMeasure][!UpdateMeter MadeForYouHubToggle][!Redraw]
456 | MouseOverAction = [!ShowMeterGroup MadeForYouHubTip][!Redraw]
457 | MouseLeaveAction = [!HideMeterGroup MadeForYouHubTip][!Redraw]
458 |
459 | [SongPageMeasure]
460 | Measure = Calc
461 | IfCondition = #SongPage# = 1
462 | IfTrueAction = !SetOption SongPageToggle Text "[\xf14a] Enable Song Page"
463 | IfFalseAction = !SetOption SongPageToggle Text "[\xf0c8] Enable Song Page"
464 | DynamicVariables=1
465 |
466 | [SongPageToggle]
467 | Meter = String
468 | MeterStyle = InjectCSSToggle
469 | LeftMouseUpAction = [!WriteKeyValue Variables SongPage "(1-#SongPage#)"][!SetVariable SongPage "(1-#SongPage#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure SongPageMeasure][!UpdateMeter SongPageToggle][!Redraw]
470 | MouseOverAction = [!ShowMeterGroup SongPageTip][!Redraw]
471 | MouseLeaveAction = [!HideMeterGroup SongPageTip][!Redraw]
472 |
473 | [Preprocess]
474 | Meter = String
475 | Text = Pre-process:
476 | FontFace = Bahnschrift
477 | FOntSize = 13
478 | FontColor = 282828
479 | X = 30
480 | Y = 120
481 | AntiAlias = 1
482 | FontWeight = 600
483 | Group = Preprocess
484 | Hidden = 1
485 |
486 | [SentryMeasure]
487 | Measure = Calc
488 | IfCondition = #DisableSentry# = 1
489 | IfTrueAction = !SetOption SentryToggle Text "[\xf14a] Disable Sentry"
490 | IfFalseAction = !SetOption SentryToggle Text "[\xf0c8] Disable Sentry"
491 | DynamicVariables=1
492 |
493 | [SentryToggle]
494 | Meter = String
495 | MeterStyle = InjectCSSToggle
496 | LeftMouseUpAction = [!WriteKeyValue Variables DisableSentry "(1-#DisableSentry#)"][!SetVariable DisableSentry "(1-#DisableSentry#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure SentryMeasure][!UpdateMeter SentryToggle][!Redraw]
497 | MouseOverAction = [!ShowMeterGroup SentryTip][!Redraw]
498 | MouseLeaveAction = [!HideMeterGroup SentryTip][!Redraw]
499 | Group = Preprocess
500 | Hidden = 1
501 |
502 | [UILoggingMeasure]
503 | Measure = Calc
504 | IfCondition = #DisableUILogging# = 1
505 | IfTrueAction = !SetOption UILoggingToggle Text "[\xf14a] Disable UI logger"
506 | IfFalseAction = !SetOption UILoggingToggle Text "[\xf0c8] Disable UI logger"
507 | DynamicVariables=1
508 |
509 | [UILoggingToggle]
510 | Meter = String
511 | MeterStyle = InjectCSSToggle
512 | LeftMouseUpAction = [!WriteKeyValue Variables DisableUILogging "(1-#DisableUILogging#)"][!SetVariable DisableUILogging "(1-#DisableUILogging#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure UILoggingMeasure][!UpdateMeter UILoggingToggle][!Redraw]
513 | MouseOverAction = [!ShowMeterGroup UILoggingTip][!Redraw]
514 | MouseLeaveAction = [!HideMeterGroup UILoggingTip][!Redraw]
515 | Group = Preprocess
516 | Hidden = 1
517 |
518 | [RemoveRTLRuleMeasure]
519 | Measure = Calc
520 | IfCondition = #RemoveRTLRule# = 1
521 | IfTrueAction = !SetOption RemoveRTLRuleToggle Text "[\xf14a] Remove RTL rules"
522 | IfFalseAction = !SetOption RemoveRTLRuleToggle Text "[\xf0c8] Remove RTL rules"
523 | DynamicVariables=1
524 |
525 | [RemoveRTLRuleToggle]
526 | Meter = String
527 | MeterStyle = InjectCSSToggle
528 | LeftMouseUpAction = [!WriteKeyValue Variables RemoveRTLRule "(1-#RemoveRTLRule#)"][!SetVariable RemoveRTLRule "(1-#RemoveRTLRule#)"][!CommandMeasure Script "ParseCoreSetting()"][!UpdateMeasure RemoveRTLRuleMeasure][!UpdateMeter RemoveRTLRuleToggle][!Redraw]
529 | MouseOverAction = [!ShowMeterGroup RemoveRTLRuleTip][!Redraw]
530 | MouseLeaveAction = [!HideMeterGroup RemoveRTLRuleTip][!Redraw]
531 | Group = Preprocess
532 | Hidden = 1
533 |
534 | [ButtonStyle]
535 | Y = 520
536 | Shape = Rectangle 0,0,135,40,20 | StrokeWidth 1.25 | Extend StrokeColor,Color
537 | StrokeColor = Stroke Color 8a4fff
538 | Color = Fill Color 00000000
539 | MouseOverAction = [!SetOption #CURRENTSECTION# Color "Fill Color 8a4fff"][!UpdateMeter #CURRENTSECTION#][!SetOption #CURRENTSECTION#Text FontColor f7f9f9][!UpdateMeter #CURRENTSECTION#Text][!Redraw]
540 | MouseLeaveAction = [!SetOption #CURRENTSECTION# Color "Fill Color 00000000"][!UpdateMeter #CURRENTSECTION#][!SetOption #CURRENTSECTION#Text FontColor 8a4fff][!UpdateMeter #CURRENTSECTION#Text][!Redraw]
541 |
542 | [ButtonTextStyle]
543 | FontFace = Bahnschrift
544 | FontWeight = 600
545 | FontSize = 14
546 | StringAlign = CenterCenter
547 | X = (135/2)r
548 | Y = 22r
549 | W = 135
550 | H = 40
551 | AntiAlias = 1
552 | FontColor = 8a4fff
553 |
554 | [LiveUpdateMeasure]
555 | Measure = Calc
556 | IfCondition = #LiveUpdate# = 1
557 | IfTrueAction = !SetOption LiveUpdateToggle Text "[\xf14a] Live update"
558 | IfFalseAction = !SetOption LiveUpdateToggle Text "[\xf0c8] Live update"
559 | IfConditionMode = 1
560 | DynamicVariables = 1
561 |
562 | [LiveUpdateToggle]
563 | Meter = String
564 | MeterStyle = InjectCSSToggle
565 | Y = 540
566 | X = 520
567 | LeftMouseUpAction = [!WriteKeyValue Variables LiveUpdate "(1-#LiveUpdate#)"][!SetVariable LiveUpdate "(1-#LiveUpdate#)"][!Update]
568 | MouseOverAction = [!ShowMeterGroup LiveUpdateTip][!Redraw]
569 | MouseLeaveAction = [!HideMeterGroup LiveUpdateTip][!Redraw]
570 | DynamicVariables = 1
571 |
572 | [BackupButton]
573 | Meter = Shape
574 | MeterStyle = ButtonStyle
575 | X = 230
576 | LeftMouseUpAction = !CommandMeasure Backup Run
577 | Group = BackupButton
578 |
579 | [BackupButtonText]
580 | Meter = String
581 | MeterStyle = ButtonTextStyle
582 | Text = Backup
583 | Group = BackupButton
584 |
585 | [RestoreButton]
586 | Meter = Shape
587 | MeterStyle = ButtonStyle
588 | X = 230
589 | Y = 470
590 | LeftMouseUpAction = !CommandMeasure Restore Run
591 | Group = Button_Disabled | Apply_Disabled
592 |
593 | [RestoreButtonText]
594 | Meter = String
595 | MeterStyle = ButtonTextStyle
596 | Text = Restore
597 | Group = ButtonText_Disabled | ApplyText_Disabled
598 |
599 | [ClearBackupButton]
600 | Meter = Shape
601 | MeterStyle = ButtonStyle
602 | X = 230
603 | StrokeColor = Stroke Color FF3030
604 | MouseOverAction = [!SetOption #CURRENTSECTION# Color "Fill Color FF3030 "][!UpdateMeter #CURRENTSECTION#][!SetOption #CURRENTSECTION#Text FontColor f7f9f9][!UpdateMeter #CURRENTSECTION#Text][!ShowMeterGroup PopupClearBackup][!Redraw]
605 | MouseLeaveAction = [!SetOption #CURRENTSECTION# Color "Fill Color 00000000"][!UpdateMeter #CURRENTSECTION#][!SetOption #CURRENTSECTION#Text FontColor FF3030][!UpdateMeter #CURRENTSECTION#Text][!HideMeterGroup PopupClearBackup][!Redraw]
606 | LeftMouseUpAction = !CommandMeasure "ClearBackup" "Run"
607 | Group = ClearBackupGroup
608 |
609 | [ClearBackupButtonText]
610 | Meter = String
611 | MeterStyle = ButtonTextStyle
612 | Text = Clear backup
613 | FontColor = FF3030
614 | Group = ClearBackupGroup
615 |
616 | [EditCSSButton]
617 | Meter = Shape
618 | MeterStyle = ButtonStyle
619 | X = 375
620 | Y = 470
621 | LeftMouseUpAction = ["#ROOTCONFIGPATH#Themes/#CurrentTheme#/user.css"]
622 | Group =
623 |
624 | [EditCSSButtonText]
625 | Meter = String
626 | MeterStyle = ButtonTextStyle
627 | Text = Edit CSS
628 | Group =
629 |
630 |
631 | [UpdateCSSButton]
632 | Meter = Shape
633 | MeterStyle = ButtonStyle
634 | X = 375
635 | LeftMouseUpAction = [!CommandMeasure Script "UpdateUserCSS()"]
636 | Group = Button_Disabled | Apply_Disabled
637 |
638 | [UpdateCSSButtonText]
639 | Meter = String
640 | MeterStyle = ButtonTextStyle
641 | Text = Update CSS
642 | Group = ButtonText_Disabled | ApplyText_Disabled
643 |
644 | [ApplyButton]
645 | Meter = Shape
646 | MeterStyle = ButtonStyle
647 | X = 650
648 | LeftMouseUpAction = !CommandMeasure Script "StartMod()"
649 | Group = Button_Disabled
650 |
651 | [ApplyButtonText]
652 | Meter = String
653 | MeterStyle = ButtonTextStyle
654 | Text = Apply
655 | Group = ButtonText_Disabled
656 |
657 | [RestartButton]
658 | Meter = Shape
659 | MeterStyle = ButtonStyle
660 | X = 650
661 | Y= 470
662 | LeftMouseUpAction = ["#@#AutoRestart.exe"]
663 |
664 | [RestartButtonText]
665 | Meter = String
666 | MeterStyle = ButtonTextStyle
667 | Text = Restart
668 | MouseOverAction = [!ShowMeterGroup RestartTip][!Redraw]
669 | MouseLeaveAction = [!HideMeterGroup RestartTip][!Redraw]
670 |
671 | [ColorBoxStyle]
672 | X = 25R
673 | Y = r
674 | Shape = Rectangle 0,0,120,35,8 | StrokeWidth 0 | Extend Color
675 | Group = ColorBox
676 |
677 | [TextStyle]
678 | X = 25R
679 | Y = r
680 | W = 120
681 | ClipstringW = 120
682 | Clipstring = 2
683 | StringAlign = LeftBottom
684 | FontFace = Bahnschrift
685 | FontSize = 13
686 | FontWeight = 400
687 | AntiAlias = 1
688 | FontColor = 282828
689 | Group = ColorBoxText
690 |
691 | [ShadowStyle]
692 | ImageName = #@#Shadow.png
693 | X = 15R
694 | Y = r
695 |
696 | [Text1]
697 | Meter = String
698 | X = 230
699 | Y = 80
700 | MeterStyle = TextStyle
701 |
702 | [Text2]
703 | Meter = String
704 | MeterStyle = TextStyle
705 |
706 | [Text3]
707 | Meter = String
708 | MeterStyle = TextStyle
709 |
710 | [Text4]
711 | Meter = String
712 | MeterStyle = TextStyle
713 |
714 | [Shadow1]
715 | Meter = Image
716 | X = 225
717 | Y = -8r
718 | MeterStyle = ShadowStyle
719 |
720 | [Shadow2]
721 | Meter = Image
722 | MeterStyle = ShadowStyle
723 |
724 | [Shadow3]
725 | Meter = Image
726 | MeterStyle = ShadowStyle
727 |
728 | [Shadow4]
729 | Meter = Image
730 | MeterStyle = ShadowStyle
731 |
732 | [Box1]
733 | Meter=Shape
734 | X = 230
735 | Y = 18r
736 | MeterStyle = ColorBoxStyle
737 |
738 | [Box2]
739 | Meter=Shape
740 | MeterStyle = ColorBoxStyle
741 |
742 | [Box3]
743 | Meter=Shape
744 | MeterStyle = ColorBoxStyle
745 |
746 | [Box4]
747 | Meter=Shape
748 | MeterStyle = ColorBoxStyle
749 |
750 | [Text5]
751 | Meter = String
752 | X = 230
753 | Y = 60R
754 | MeterStyle = TextStyle
755 |
756 | [Text6]
757 | Meter = String
758 | MeterStyle = TextStyle
759 |
760 | [Text7]
761 | Meter = String
762 | MeterStyle = TextStyle
763 |
764 | [Text8]
765 | Meter = String
766 | MeterStyle = TextStyle
767 |
768 | [Shadow5]
769 | Meter = Image
770 | X = 225
771 | Y = -8r
772 | MeterStyle = ShadowStyle
773 |
774 | [Shadow6]
775 | Meter = Image
776 | MeterStyle = ShadowStyle
777 |
778 | [Shadow7]
779 | Meter = Image
780 | MeterStyle = ShadowStyle
781 |
782 | [Shadow8]
783 | Meter = Image
784 | MeterStyle = ShadowStyle
785 |
786 | [Box5]
787 | Meter=Shape
788 | X = 230
789 | Y = 18r
790 | MeterStyle = ColorBoxStyle
791 |
792 | [Box6]
793 | Meter=Shape
794 | MeterStyle = ColorBoxStyle
795 |
796 | [Box7]
797 | Meter=Shape
798 | MeterStyle = ColorBoxStyle
799 |
800 | [Box8]
801 | Meter=Shape
802 | MeterStyle = ColorBoxStyle
803 |
804 | [Text9]
805 | Meter = String
806 | X = 230
807 | Y = 60R
808 | MeterStyle = TextStyle
809 |
810 | [Text10]
811 | Meter = String
812 | MeterStyle = TextStyle
813 |
814 | [Text11]
815 | Meter = String
816 | MeterStyle = TextStyle
817 |
818 | [Text12]
819 | Meter = String
820 | MeterStyle = TextStyle
821 |
822 | [Shadow9]
823 | Meter = Image
824 | X = 225
825 | Y = -8r
826 | MeterStyle = ShadowStyle
827 |
828 | [Shadow10]
829 | Meter = Image
830 | MeterStyle = ShadowStyle
831 |
832 | [Shadow11]
833 | Meter = Image
834 | MeterStyle = ShadowStyle
835 |
836 | [Shadow12]
837 | Meter = Image
838 | MeterStyle = ShadowStyle
839 |
840 | [Box9]
841 | Meter=Shape
842 | X = 230
843 | Y = 18r
844 | MeterStyle = ColorBoxStyle
845 |
846 | [Box10]
847 | Meter=Shape
848 | MeterStyle = ColorBoxStyle
849 |
850 | [Box11]
851 | Meter=Shape
852 | MeterStyle = ColorBoxStyle
853 |
854 | [Box12]
855 | Meter=Shape
856 | MeterStyle = ColorBoxStyle
857 |
858 | [Text13]
859 | Meter = String
860 | X = 230
861 | Y = 60R
862 | MeterStyle = TextStyle
863 |
864 | [Text14]
865 | Meter = String
866 | MeterStyle = TextStyle
867 |
868 | [Text15]
869 | Meter = String
870 | MeterStyle = TextStyle
871 |
872 | [Text16]
873 | Meter = String
874 | MeterStyle = TextStyle
875 |
876 | [Shadow13]
877 | Meter = Image
878 | X = 225
879 | Y = -8r
880 | MeterStyle = ShadowStyle
881 |
882 | [Shadow14]
883 | Meter = Image
884 | MeterStyle = ShadowStyle
885 |
886 | [Shadow15]
887 | Meter = Image
888 | MeterStyle = ShadowStyle
889 |
890 | [Shadow16]
891 | Meter = Image
892 | MeterStyle = ShadowStyle
893 |
894 | [Box13]
895 | Meter=Shape
896 | X = 230
897 | Y = 18r
898 | MeterStyle = ColorBoxStyle
899 |
900 | [Box14]
901 | Meter=Shape
902 | MeterStyle = ColorBoxStyle
903 |
904 | [Box15]
905 | Meter=Shape
906 | MeterStyle = ColorBoxStyle
907 |
908 | [Box16]
909 | Meter=Shape
910 | MeterStyle = ColorBoxStyle
911 |
912 | [PercentBar]
913 | Meter=Shape
914 | X = 10
915 | Y = 10
916 | Shape = Rectangle 0,0,1490,605,5
917 | Shape2 = Rectangle 0,605,1490,-4 | StrokeWidth 0 | Fill Color 50505050
918 | Shape3 = Combine Shape2 | Intersect Shape
919 | Shape4 = Rectangle 0,605,(1490*[Script:GetPercent()]),-4 | StrokeWidth 0 | Fill Color 8a4fff
920 | Shape5 = Combine Shape4 | Intersect Shape
921 | DynamicVariables = 1
922 |
923 | [Status]
924 | Meter = String
925 | MeasureName = Script
926 | FontFace = Source Sans Pro
927 | FontWeight = 300
928 | FOntSize = 14
929 | X = 30
930 | Y = 608
931 | StringAlign=LeftBottom
932 | FontCOlor =505050
933 | AntiAlias = 1
934 | InlinePattern = ^.
935 | InlineSetting = Face | Font Awesome 5 Free
936 | InlinePattern2 = ([\w\-]+\.spa)
937 | InlineSetting2 = Weight | 500
938 | InlinePattern3 = Mod succeeded
939 | InlineSetting3 = Weight | 500
940 | InlinePattern4 = Transferring (.*) to (.*)
941 | InlineSetting4 = Weight | 500
942 | InlinePattern5 = ^(.+?) is updated at (.*)
943 | InlineSetting5 = Weight | 500
944 |
945 | ;PLUGIN SECTION
946 | [ExtensionFolderCount]
947 | Measure = Plugin
948 | Plugin = FileView
949 | Path = #ROOTCONFIGPATH#Extensions
950 | ShowFolder=0
951 | Extensions="js"
952 | Type = FileCount
953 | ShowDotDot=0
954 | FinishAction=!CommandMeasure Script "Extension_Init()"
955 |
956 | [ExtensionFolderName]
957 | Measure = Plugin
958 | Plugin = FileView
959 | Path = [ExtensionFolderCount]
960 | Type = FileName
961 | Index = 1
962 | IgnoreCount = 1
963 |
964 | [Extension]
965 | Meter = String
966 | Text = Extension:
967 | FontFace = Bahnschrift
968 | FOntSize = 13
969 | FontColor = 282828
970 | X = 840
971 | Y = 30
972 | AntiAlias = 1
973 | FontWeight = 600
974 |
975 | [ExtensionBackStyle]
976 | X=840
977 | Y=-20r
978 | Shape=Rectangle 0,0,300,80,5 | StrokeWidth 2 | Fill Color E4E5E5 | Extend Active
979 | Active = StrokeColor 200,200,200,100
980 | Hidden=1
981 |
982 | [ExtensionNameStyle]
983 | Text=N/A
984 | FontFace=Bahnschrift
985 | FontWeight=500
986 | FontSize=13
987 | AntiAlias=1
988 | X=845
989 | Y=10r
990 | ClipString=1
991 | W=250
992 | Hidden=1
993 |
994 | [ExtensionAuthorStyle]
995 | Text=N/A
996 | FontFace=Bahnschrift
997 | FontWeight=400
998 | FontSize=12
999 | AntiAlias=1
1000 | X=845
1001 | Y=5R
1002 | ClipString=1
1003 | W=250
1004 | Hidden=1
1005 |
1006 | [ExtensionDescrStyle]
1007 | Text=N/A
1008 | FontFace=Bahnschrift
1009 | FontWeight=300
1010 | FontSize=12
1011 | AntiAlias=1
1012 | X=845
1013 | Y=5R
1014 | ClipString=1
1015 | W=250
1016 | Hidden=1
1017 |
1018 | [ExtensionActivateStyle]
1019 | X=1140
1020 | Y=r
1021 | Shape=Rectangle 0,0,-40,80,5 | StrokeWidth 2 | Extend Active
1022 | Shape2=Rectangle -20,0,-20,80
1023 | Shape3=Combine Shape | Union Shape2
1024 | Shape4=Ellipse -20, 40, 10 | StrokeWidth 2 | StrokeColor FFFFFF | FillColor 0,0,0,0
1025 | Shape5=Path Check | StrokeWidth 2 | Extend Active2
1026 | Check=-27,40|LineTo -21,46|LineTo -14,35|ClosePath 0
1027 | Active=StrokeColor 200,200,200,200 | FillColor 0,0,0,0
1028 | Active2=StrokeColor 0,0,0,0
1029 | Hidden=1
1030 |
1031 | [ExtensionShadowStyle]
1032 | ImageName=#@#Shadow.png
1033 | W=280
1034 | H=80
1035 | X=845
1036 | Y=49R
1037 | Hidden=1
1038 |
1039 | [ExtensionShadow1]
1040 | Meter=Image
1041 | Group=ExtensionGroup1
1042 | MeterStyle=ExtensionShadowStyle
1043 | Y=80
1044 | [ExtensionBack1]
1045 | Meter=Shape
1046 | Group=ExtensionGroup1
1047 | MeterStyle=ExtensionBackStyle
1048 | Y=60
1049 | [ExtensionActivate1]
1050 | Meter=Shape
1051 | Group=ExtensionGroup1
1052 | MeterStyle=ExtensionActivateStyle
1053 | [ExtensionName1]
1054 | Meter= String
1055 | Group=ExtensionGroup1
1056 | MeterStyle=ExtensionNameStyle
1057 | [ExtensionAuthor1]
1058 | Meter=String
1059 | Group=ExtensionGroup1
1060 | MeterStyle=ExtensionAuthorStyle
1061 | [ExtensionDescr1]
1062 | Meter=String
1063 | Group=ExtensionGroup1
1064 | MeterStyle=ExtensionDescrStyle
1065 | [ExtensionShadow2]
1066 | Meter=Image
1067 | Group=ExtensionGroup2
1068 | MeterStyle=ExtensionShadowStyle
1069 | [ExtensionBack2]
1070 | Meter=Shape
1071 | Group=ExtensionGroup2
1072 | MeterStyle=ExtensionBackStyle
1073 | [ExtensionActivate2]
1074 | Meter=Shape
1075 | Group=ExtensionGroup2
1076 | MeterStyle=ExtensionActivateStyle
1077 | [ExtensionName2]
1078 | Meter= String
1079 | Group=ExtensionGroup2
1080 | MeterStyle=ExtensionNameStyle
1081 | [ExtensionAuthor2]
1082 | Meter=String
1083 | Group=ExtensionGroup2
1084 | MeterStyle=ExtensionAuthorStyle
1085 | [ExtensionDescr2]
1086 | Meter=String
1087 | Group=ExtensionGroup2
1088 | MeterStyle=ExtensionDescrStyle
1089 | [ExtensionShadow3]
1090 | Meter=Image
1091 | Group=ExtensionGroup3
1092 | MeterStyle=ExtensionShadowStyle
1093 | [ExtensionBack3]
1094 | Meter=Shape
1095 | Group=ExtensionGroup3
1096 | MeterStyle=ExtensionBackStyle
1097 | [ExtensionActivate3]
1098 | Meter=Shape
1099 | Group=ExtensionGroup3
1100 | MeterStyle=ExtensionActivateStyle
1101 | [ExtensionName3]
1102 | Meter= String
1103 | Group=ExtensionGroup3
1104 | MeterStyle=ExtensionNameStyle
1105 | [ExtensionAuthor3]
1106 | Meter=String
1107 | Group=ExtensionGroup3
1108 | MeterStyle=ExtensionAuthorStyle
1109 | [ExtensionDescr3]
1110 | Meter=String
1111 | Group=ExtensionGroup3
1112 | MeterStyle=ExtensionDescrStyle
1113 | [ExtensionShadow4]
1114 | Meter=Image
1115 | Group=ExtensionGroup4
1116 | MeterStyle=ExtensionShadowStyle
1117 | [ExtensionBack4]
1118 | Meter=Shape
1119 | Group=ExtensionGroup4
1120 | MeterStyle=ExtensionBackStyle
1121 | [ExtensionActivate4]
1122 | Meter=Shape
1123 | Group=ExtensionGroup4
1124 | MeterStyle=ExtensionActivateStyle
1125 | [ExtensionName4]
1126 | Meter= String
1127 | Group=ExtensionGroup4
1128 | MeterStyle=ExtensionNameStyle
1129 | [ExtensionAuthor4]
1130 | Meter=String
1131 | Group=ExtensionGroup4
1132 | MeterStyle=ExtensionAuthorStyle
1133 | [ExtensionDescr4]
1134 | Meter=String
1135 | Group=ExtensionGroup4
1136 | MeterStyle=ExtensionDescrStyle
1137 | [ExtensionShadow5]
1138 | Meter=Image
1139 | Group=ExtensionGroup5
1140 | MeterStyle=ExtensionShadowStyle
1141 | [ExtensionBack5]
1142 | Meter=Shape
1143 | Group=ExtensionGroup5
1144 | MeterStyle=ExtensionBackStyle
1145 | [ExtensionActivate5]
1146 | Meter=Shape
1147 | Group=ExtensionGroup5
1148 | MeterStyle=ExtensionActivateStyle
1149 | [ExtensionName5]
1150 | Meter= String
1151 | Group=ExtensionGroup5
1152 | MeterStyle=ExtensionNameStyle
1153 | [ExtensionAuthor5]
1154 | Meter=String
1155 | Group=ExtensionGroup5
1156 | MeterStyle=ExtensionAuthorStyle
1157 | [ExtensionDescr5]
1158 | Meter=String
1159 | Group=ExtensionGroup5
1160 | MeterStyle=ExtensionDescrStyle
1161 |
1162 | [ExtensionOptionBack]
1163 | Meter=Shape
1164 | X=840
1165 | Y=60
1166 | Shape=Rectangle 0,0,300,80,5 | StrokeWidth 2 | StrokeColor 8a4fff | FillColor FFFFFFF9
1167 | Hidden = 1
1168 | Group = ExtensionOption
1169 |
1170 | [ExtensionOptionOpen]
1171 | Meter = String
1172 | Text = [\xf360]
1173 | FontFace = Font Awesome 5 Free Solid
1174 | FontSize = 18
1175 | AntiAlias = 1
1176 | StringAlign=CenterCenter
1177 | Y = (40)r
1178 | ToolTipText = Open this extension file
1179 | Hidden = 1
1180 | Group = ExtensionOption
1181 |
1182 | [ExtensionOptionUpdate]
1183 | Meter = String
1184 | MeterStyle=ExtensionOptionOpen
1185 | Text = [\xf093]
1186 | X = 20R
1187 | Y = r
1188 | ToolTipText = Manually update extension content and reload Spotify
1189 |
1190 | [ExtensionOptionWatch]
1191 | Meter = String
1192 | MeterStyle=ExtensionOptionOpen
1193 | Text = [\xf06e]
1194 | X = 20R
1195 | Y = r
1196 | ToolTipText = Watch file change, automatically update and reload Spotify
1197 |
1198 |
1199 | [ExtensionBack_Disabled]
1200 | Meter = String
1201 | Text = [\xf191]
1202 | FontFace = Font Awesome 5 Free
1203 | FontSize = 18
1204 | FontColor = 909090
1205 | AntiAlias = 1
1206 | X = 940
1207 | Y = 25
1208 |
1209 | [ExtensionBack]
1210 | Meter = String
1211 | MeterStyle = ThemeBack_Disabled
1212 | FontColor = 282828
1213 | X = r
1214 | Y = r
1215 | MouseOverAction = [!SetOption #CURRENTSECTION# FontColor 8a4fff][!UpdateMeter #CURRENTSECTION#][!Redraw]
1216 | MouseLeaveAction = [!SetOption #CURRENTSECTION# FontColor 282828][!UpdateMeter #CURRENTSECTION#][!Redraw]
1217 | LeftMouseUpAction = !CommandMeasure Script Extension_ChangePage(-1)
1218 | Hidden = 1
1219 |
1220 | [ExtensionNext_Disabled]
1221 | Meter = String
1222 | Text = [\xf152]
1223 | FontFace = Font Awesome 5 Free
1224 | FontSize = 18
1225 | FontColor = 909090
1226 | AntiAlias = 1
1227 | X = 968
1228 | Y = r
1229 |
1230 | [ExtensionNext]
1231 | Meter = String
1232 | MeterStyle = ThemeNext_Disabled
1233 | FontColor = 282828
1234 | X = r
1235 | Y = r
1236 | MouseOverAction = [!SetOption #CURRENTSECTION# FontColor 8a4fff][!UpdateMeter #CURRENTSECTION#][!Redraw]
1237 | MouseLeaveAction = [!SetOption #CURRENTSECTION# FontColor 282828][!UpdateMeter #CURRENTSECTION#][!Redraw]
1238 | LeftMouseUpAction = !CommandMeasure Script Extension_ChangePage(1)
1239 | Hidden = 1
1240 |
1241 | [ExtensionOpenFolder]
1242 | Meter=String
1243 | Text=[\xf07c] Open Extensions folder
1244 | FontFace = Bahnschrift
1245 | FontWeight = 400
1246 | FontSize = 12
1247 | StringAlign = RightBottom
1248 | X = 1145
1249 | Y = 585
1250 | AntiAlias = 1
1251 | InlinePattern = ^.
1252 | InlineSetting = Face | Font Awesome 5 Free
1253 | MouseOverAction = [!SetOption ExtensionOpenFolder InlineSetting2 "Underline"][!Updatemeter ExtensionOpenFolder][!Redraw]
1254 | MouseLeaveAction = [!SetOption ExtensionOpenFolder InlineSetting2 "None"][!Updatemeter ExtensionOpenFolder][!Redraw]
1255 | LeftMouseUpAction = ["#ROOTCONFIGPATH#Extensions"]
1256 |
1257 | ;App section
1258 | [AppFolderCount]
1259 | Measure = Plugin
1260 | Plugin = FileView
1261 | Path = #ROOTCONFIGPATH#Apps
1262 | ShowFolder=1
1263 | ShowFile=0
1264 | Type = FolderCount
1265 | ShowDotDot=0
1266 | FinishAction=!CommandMeasure Script "App_Init()"
1267 |
1268 | [AppFolderName]
1269 | Measure = Plugin
1270 | Plugin = FileView
1271 | Path = [AppFolderCount]
1272 | Type = FileName
1273 | Index = 1
1274 | IgnoreCount = 1
1275 |
1276 | [App]
1277 | Meter = String
1278 | Text = App:
1279 | FontFace = Bahnschrift
1280 | FOntSize = 13
1281 | FontColor = 282828
1282 | X = 1180
1283 | Y = 30
1284 | AntiAlias = 1
1285 | FontWeight = 600
1286 |
1287 | [AppBackStyle]
1288 | X=1180
1289 | Y=-20r
1290 | Shape=Rectangle 0,0,300,80,5 | StrokeWidth 2 | Fill Color E4E5E5 | Extend Active
1291 | Active = StrokeColor 200,200,200,100
1292 | Hidden=1
1293 |
1294 | [AppNameStyle]
1295 | Text=N/A
1296 | FontFace=Bahnschrift
1297 | FontWeight=500
1298 | FontSize=13
1299 | AntiAlias=1
1300 | X=1185
1301 | Y=10r
1302 | ClipString=1
1303 | W=255
1304 | Hidden=1
1305 |
1306 | [AppAuthorStyle]
1307 | Text=N/A
1308 | FontFace=Bahnschrift
1309 | FontWeight=400
1310 | FontSize=12
1311 | AntiAlias=1
1312 | X=1185
1313 | Y=5R
1314 | ClipString=1
1315 | W=255
1316 | Hidden=1
1317 |
1318 | [AppDescrStyle]
1319 | Text=N/A
1320 | FontFace=Bahnschrift
1321 | FontWeight=300
1322 | FontSize=12
1323 | AntiAlias=1
1324 | X=1185
1325 | Y=5R
1326 | ClipString=1
1327 | W=255
1328 | Hidden=1
1329 |
1330 | [AppActivateStyle]
1331 | X=1480
1332 | Y=r
1333 | Shape=Rectangle 0,0,-40,80,5 | StrokeWidth 2 | Extend Active
1334 | Shape2=Rectangle -20,0,-20,80
1335 | Shape3=Combine Shape | Union Shape2
1336 | Shape4=Ellipse -20, 40, 10 | StrokeWidth 2 | StrokeColor FFFFFF | FillColor 0,0,0,0
1337 | Shape5=Path Check | StrokeWidth 2 | Extend Active2
1338 | Check=-27,40|LineTo -21,46|LineTo -14,35|ClosePath 0
1339 | Active=StrokeColor 200,200,200,200 | FillColor 0,0,0,0
1340 | Active2=StrokeColor 0,0,0,0
1341 | Hidden=1
1342 |
1343 | [AppShadowStyle]
1344 | ImageName=#@#Shadow.png
1345 | W=280
1346 | H=80
1347 | X=1185
1348 | Y=49R
1349 | Hidden=1
1350 |
1351 | [AppShadow1]
1352 | Meter=Image
1353 | Group=AppGroup1
1354 | MeterStyle=AppShadowStyle
1355 | Y=80
1356 | [AppBack1]
1357 | Meter=Shape
1358 | Group=AppGroup1
1359 | MeterStyle=AppBackStyle
1360 | Y=60
1361 | [AppActivate1]
1362 | Meter=Shape
1363 | Group=AppGroup1
1364 | MeterStyle=AppActivateStyle
1365 | [AppName1]
1366 | Meter= String
1367 | Group=AppGroup1
1368 | MeterStyle=AppNameStyle
1369 | [AppAuthor1]
1370 | Meter=String
1371 | Group=AppGroup1
1372 | MeterStyle=AppAuthorStyle
1373 | [AppDescr1]
1374 | Meter=String
1375 | Group=AppGroup1
1376 | MeterStyle=AppDescrStyle
1377 | [AppShadow2]
1378 | Meter=Image
1379 | Group=AppGroup2
1380 | MeterStyle=AppShadowStyle
1381 | [AppBack2]
1382 | Meter=Shape
1383 | Group=AppGroup2
1384 | MeterStyle=AppBackStyle
1385 | [AppActivate2]
1386 | Meter=Shape
1387 | Group=AppGroup2
1388 | MeterStyle=AppActivateStyle
1389 | [AppName2]
1390 | Meter= String
1391 | Group=AppGroup2
1392 | MeterStyle=AppNameStyle
1393 | [AppAuthor2]
1394 | Meter=String
1395 | Group=AppGroup2
1396 | MeterStyle=AppAuthorStyle
1397 | [AppDescr2]
1398 | Meter=String
1399 | Group=AppGroup2
1400 | MeterStyle=AppDescrStyle
1401 | [AppShadow3]
1402 | Meter=Image
1403 | Group=AppGroup3
1404 | MeterStyle=AppShadowStyle
1405 | [AppBack3]
1406 | Meter=Shape
1407 | Group=AppGroup3
1408 | MeterStyle=AppBackStyle
1409 | [AppActivate3]
1410 | Meter=Shape
1411 | Group=AppGroup3
1412 | MeterStyle=AppActivateStyle
1413 | [AppName3]
1414 | Meter= String
1415 | Group=AppGroup3
1416 | MeterStyle=AppNameStyle
1417 | [AppAuthor3]
1418 | Meter=String
1419 | Group=AppGroup3
1420 | MeterStyle=AppAuthorStyle
1421 | [AppDescr3]
1422 | Meter=String
1423 | Group=AppGroup3
1424 | MeterStyle=AppDescrStyle
1425 | [AppShadow4]
1426 | Meter=Image
1427 | Group=AppGroup4
1428 | MeterStyle=AppShadowStyle
1429 | [AppBack4]
1430 | Meter=Shape
1431 | Group=AppGroup4
1432 | MeterStyle=AppBackStyle
1433 | [AppActivate4]
1434 | Meter=Shape
1435 | Group=AppGroup4
1436 | MeterStyle=AppActivateStyle
1437 | [AppName4]
1438 | Meter= String
1439 | Group=AppGroup4
1440 | MeterStyle=AppNameStyle
1441 | [AppAuthor4]
1442 | Meter=String
1443 | Group=AppGroup4
1444 | MeterStyle=AppAuthorStyle
1445 | [AppDescr4]
1446 | Meter=String
1447 | Group=AppGroup4
1448 | MeterStyle=AppDescrStyle
1449 | [AppShadow5]
1450 | Meter=Image
1451 | Group=AppGroup5
1452 | MeterStyle=AppShadowStyle
1453 | [AppBack5]
1454 | Meter=Shape
1455 | Group=AppGroup5
1456 | MeterStyle=AppBackStyle
1457 | [AppActivate5]
1458 | Meter=Shape
1459 | Group=AppGroup5
1460 | MeterStyle=AppActivateStyle
1461 | [AppName5]
1462 | Meter= String
1463 | Group=AppGroup5
1464 | MeterStyle=AppNameStyle
1465 | [AppAuthor5]
1466 | Meter=String
1467 | Group=AppGroup5
1468 | MeterStyle=AppAuthorStyle
1469 | [AppDescr5]
1470 | Meter=String
1471 | Group=AppGroup5
1472 | MeterStyle=AppDescrStyle
1473 |
1474 | [AppOptionBack]
1475 | Meter=Shape
1476 | X=1180
1477 | Y=60
1478 | Shape=Rectangle 0,0,300,80,5 | StrokeWidth 2 | StrokeColor 8a4fff | FillColor FFFFFFF9
1479 | Hidden = 1
1480 | Group = AppOption
1481 |
1482 | [AppOptionOpen]
1483 | Meter = String
1484 | Text = [\xf360]
1485 | FontFace = Font Awesome 5 Free Solid
1486 | FontSize = 18
1487 | AntiAlias = 1
1488 | StringAlign=CenterCenter
1489 | Y = (40)r
1490 | ToolTipText = Open this app folder
1491 | Hidden = 1
1492 | Group = AppOption
1493 |
1494 | [AppOptionUpdate]
1495 | Meter = String
1496 | MeterStyle=AppOptionOpen
1497 | Text = [\xf093]
1498 | X = 20R
1499 | Y = r
1500 | ToolTipText = Manually update app content and reload Spotify
1501 |
1502 | [AppBack_Disabled]
1503 | Meter = String
1504 | Text = [\xf191]
1505 | FontFace = Font Awesome 5 Free
1506 | FontSize = 18
1507 | FontColor = 909090
1508 | AntiAlias = 1
1509 | X = 1230
1510 | Y = 25
1511 |
1512 | [AppBack]
1513 | Meter = String
1514 | MeterStyle = ThemeBack_Disabled
1515 | FontColor = 282828
1516 | X = r
1517 | Y = r
1518 | MouseOverAction = [!SetOption #CURRENTSECTION# FontColor 8a4fff][!UpdateMeter #CURRENTSECTION#][!Redraw]
1519 | MouseLeaveAction = [!SetOption #CURRENTSECTION# FontColor 282828][!UpdateMeter #CURRENTSECTION#][!Redraw]
1520 | LeftMouseUpAction = !CommandMeasure Script App_ChangePage(-1)
1521 | Hidden = 1
1522 |
1523 | [AppNext_Disabled]
1524 | Meter = String
1525 | Text = [\xf152]
1526 | FontFace = Font Awesome 5 Free
1527 | FontSize = 18
1528 | FontColor = 909090
1529 | AntiAlias = 1
1530 | X = 1260
1531 | Y = r
1532 |
1533 | [AppNext]
1534 | Meter = String
1535 | MeterStyle = ThemeNext_Disabled
1536 | FontColor = 282828
1537 | X = r
1538 | Y = r
1539 | MouseOverAction = [!SetOption #CURRENTSECTION# FontColor 8a4fff][!UpdateMeter #CURRENTSECTION#][!Redraw]
1540 | MouseLeaveAction = [!SetOption #CURRENTSECTION# FontColor 282828][!UpdateMeter #CURRENTSECTION#][!Redraw]
1541 | LeftMouseUpAction = !CommandMeasure Script App_ChangePage(1)
1542 | Hidden = 1
1543 |
1544 | [AppOpenFolder]
1545 | Meter=String
1546 | Text=[\xf07c] Open Apps folder
1547 | FontFace = Bahnschrift
1548 | FontWeight = 400
1549 | FontSize = 12
1550 | StringAlign = RightBottom
1551 | X = 1485
1552 | Y = 585
1553 | AntiAlias = 1
1554 | InlinePattern = ^.
1555 | InlineSetting = Face | Font Awesome 5 Free
1556 | MouseOverAction = [!SetOption AppOpenFolder InlineSetting2 "Underline"][!Updatemeter AppOpenFolder][!Redraw]
1557 | MouseLeaveAction = [!SetOption AppOpenFolder InlineSetting2 "None"][!Updatemeter AppOpenFolder][!Redraw]
1558 | LeftMouseUpAction = ["#ROOTCONFIGPATH#Apps"]
1559 |
1560 | ;TOOLTIP METERS
1561 | [PopupClearBackup]
1562 | Meter = Shape
1563 | X = 410
1564 | Y = 500
1565 | Shape = Rectangle -180,0,360,-125,5 | StrokeWidth 0 | Fill Color FF3030
1566 | Shape2 = Rectangle -120,0,20,20,3 | StrokeWidth 0 | Fill Color FF3030 | Rotate 45 | Offset 0,(-20/sqrt(2))
1567 | Group = PopupClearBackup
1568 | Hidden = 1
1569 |
1570 | [PopupClearBackupIcon]
1571 | Meter = String
1572 | Text = [\xf057]
1573 | FontFace = Font Awesome 5 Free
1574 | FontSize = 40
1575 | X = -170r
1576 | Y = (500-57.5)
1577 | StringAlign = LeftCenter
1578 | AntiAlias = 1
1579 | FontColor = FFFFFF
1580 | Group = PopupClearBackup
1581 | Hidden = 1
1582 |
1583 | [PopupClearBackupText]
1584 | Meter = String
1585 | Text = Before clearing backup and backing up again, make sure you have restored or re-installed Spotify to original state
1586 | FontFace = Bahnschrift
1587 | FontWeight = 400
1588 | FontSize = 13
1589 | StringAlign = LeftBottom
1590 | ClipStringW = 250
1591 | ClipString = 2
1592 | X = 10R
1593 | Y = 490
1594 | AntiAlias = 1
1595 | FontColor = FFFFFF
1596 | Group = PopupClearBackup
1597 | Hidden = 1
1598 |
1599 | [DevToolTipBG]
1600 | Meter = Shape
1601 | X = 565
1602 | Y = 40
1603 | Shape = Rectangle 0,0,-360,80,5 | StrokeWidth 0 | Fill Color 8a4fff
1604 | Shape2 = Rectangle -380,25,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset (20/sqrt(2)),0
1605 | Group = DevToolTip
1606 | Hidden = 1
1607 |
1608 | [DevToolTipText]
1609 | Meter = String
1610 | Text = Developer mode allows you to access Inspect Element, DevTools and Chrome Tools, reload client and view page source.
1611 | FontFace = Bahnschrift
1612 | FontWeight = 400
1613 | FontSize = 13
1614 | ClipStringW = 340
1615 | ClipString = 2
1616 | X = (565-360 + 10)
1617 | Y = 10r
1618 | AntiAlias = 1
1619 | FontColor = FFFFFF
1620 | InlinePattern=\n\n
1621 | InlineSetting=Size | 8
1622 | Group = DevToolTip
1623 | Hidden = 1
1624 |
1625 | [HomeTipBG]
1626 | Meter = Shape
1627 | X = 565
1628 | Y = 150
1629 | Shape = Rectangle 0,0,-360,60,5 | StrokeWidth 0 | Fill Color 8a4fff
1630 | Shape2 = Rectangle -380,25,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset (20/sqrt(2)),0
1631 | Group = HomeTip
1632 | Hidden = 1
1633 |
1634 | [HomeTipText]
1635 | Meter = String
1636 | Text = Home page is hidden by unknown reason. Use this to unhide it.
1637 | FontFace = Bahnschrift
1638 | FontWeight = 400
1639 | FontSize = 13
1640 | ClipStringW = 340
1641 | ClipString = 2
1642 | X = (565-360 + 10)
1643 | Y = 10r
1644 | AntiAlias = 1
1645 | FontColor = FFFFFF
1646 | InlinePattern=\n\n
1647 | InlineSetting=Size | 8
1648 | Group = HomeTip
1649 | Hidden = 1
1650 |
1651 | [RadioTipBG]
1652 | Meter = Shape
1653 | X = 565
1654 | Y = ([RadioToggle:Y] - 30)
1655 | Shape = Rectangle 0,0,-360,60,5 | StrokeWidth 0 | Fill Color 8a4fff
1656 | Shape2 = Rectangle -380,25,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset (20/sqrt(2)),0
1657 | Group = RadioTip
1658 | DynamicVariables = 1
1659 | Hidden = 1
1660 |
1661 | [RadioTipText]
1662 | Meter = String
1663 | Text = Radio page is hidden in some regions. Use this to bring it back.
1664 | FontFace = Bahnschrift
1665 | FontWeight = 400
1666 | FontSize = 13
1667 | ClipStringW = 340
1668 | ClipString = 2
1669 | X = (565-360 + 10)
1670 | Y = 10r
1671 | AntiAlias = 1
1672 | FontColor = FFFFFF
1673 | InlinePattern=\n\n
1674 | InlineSetting=Size | 8
1675 | Group = RadioTip
1676 | Hidden = 1
1677 |
1678 | [ExperimentalFeaturesTipBG]
1679 | Meter = Shape
1680 | X = 565
1681 | Y = ([ExperimentalFeaturesToggle:Y] - 30)
1682 | Shape = Rectangle 0,0,-360,80,5 | StrokeWidth 0 | Fill Color 8a4fff
1683 | Shape2 = Rectangle -380,25,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset (20/sqrt(2)),0
1684 | Group = ExperimentalFeaturesTip
1685 | DynamicVariables = 1
1686 | Hidden = 1
1687 |
1688 | [ExperimentalFeaturesTipText]
1689 | Meter = String
1690 | Text = Enables and opens some experimental pages, apps. Accesss it in profile menu at top right of the client.
1691 | FontFace = Bahnschrift
1692 | FontWeight = 400
1693 | FontSize = 13
1694 | ClipStringW = 340
1695 | ClipString = 2
1696 | X = (565-360 + 10)
1697 | Y = 10r
1698 | AntiAlias = 1
1699 | FontColor = FFFFFF
1700 | InlinePattern=\n\n
1701 | InlineSetting=Size | 8
1702 | Group = ExperimentalFeaturesTip
1703 | Hidden = 1
1704 |
1705 | [FastUserSwitchingTipBG]
1706 | Meter = Shape
1707 | X = 565
1708 | Y = ([FastUserSwitchingToggle:Y] - 30)
1709 | Shape = Rectangle 0,0,-360,95,5 | StrokeWidth 0 | Fill Color 8a4fff
1710 | Shape2 = Rectangle -380,25,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset (20/sqrt(2)),0
1711 | Group = FastUserSwitchingTip
1712 | DynamicVariables = 1
1713 | Hidden = 1
1714 |
1715 | [FastUserSwitchingTipText]
1716 | Meter = String
1717 | Text = Enables instant user switching feature. Convinient for who uses multiple accounts. Accesss it in profile menu at top right of the client.
1718 | FontFace = Bahnschrift
1719 | FontWeight = 400
1720 | FontSize = 13
1721 | ClipStringW = 340
1722 | ClipString = 2
1723 | X = (565-360 + 10)
1724 | Y = 10r
1725 | AntiAlias = 1
1726 | FontColor = FFFFFF
1727 | InlinePattern=\n\n
1728 | InlineSetting=Size | 8
1729 | Group = FastUserSwitchingTip
1730 | Hidden = 1
1731 |
1732 | [MadeForYouHubTipBG]
1733 | Meter = Shape
1734 | X = 565
1735 | Y = ([MadeForYouHubToggle:Y] - 30)
1736 | Shape = Rectangle 0,0,-360,80,5 | StrokeWidth 0 | Fill Color 8a4fff
1737 | Shape2 = Rectangle -380,25,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset (20/sqrt(2)),0
1738 | Group = MadeForYouHubTip
1739 | DynamicVariables = 1
1740 | Hidden = 1
1741 |
1742 | [MadeForYouHubTipText]
1743 | Meter = String
1744 | Text = Made For You hub contains Daily Mix playlists plus some additional playlists specially made for your taste.
1745 | FontFace = Bahnschrift
1746 | FontWeight = 400
1747 | FontSize = 13
1748 | ClipStringW = 340
1749 | ClipString = 2
1750 | X = (565-360 + 10)
1751 | Y = 10r
1752 | AntiAlias = 1
1753 | FontColor = FFFFFF
1754 | InlinePattern=\n\n
1755 | InlineSetting=Size | 8
1756 | Group = MadeForYouHubTip
1757 | Hidden = 1
1758 |
1759 | [SongPageTipBG]
1760 | Meter = Shape
1761 | X = 565
1762 | Y = ([SongPageToggle:Y] - 30)
1763 | Shape = Rectangle 0,0,-360,80,5 | StrokeWidth 0 | Fill Color 8a4fff
1764 | Shape2 = Rectangle -380,25,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset (20/sqrt(2)),0
1765 | Group = SongPageTip
1766 | DynamicVariables = 1
1767 | Hidden = 1
1768 |
1769 | [SongPageTipText]
1770 | Meter = String
1771 | Text = Clicks at song name in player bar will access that song page (instead of its album page) to discover playlists it appearing on.
1772 | FontFace = Bahnschrift
1773 | FontWeight = 400
1774 | FontSize = 13
1775 | ClipStringW = 340
1776 | ClipString = 2
1777 | X = (565-360 + 10)
1778 | Y = 10r
1779 | AntiAlias = 1
1780 | FontColor = FFFFFF
1781 | InlinePattern=\n\n
1782 | InlineSetting=Size | 8
1783 | Group = SongPageTip
1784 | Hidden = 1
1785 |
1786 | [SentryTipBG]
1787 | Meter = Shape
1788 | X = 565
1789 | Y = ([SentryToggle:Y] - 30)
1790 | Shape = Rectangle 0,0,-360,135,5 | StrokeWidth 0 | Fill Color 8a4fff
1791 | Shape2 = Rectangle -380,25,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset (20/sqrt(2)),0
1792 | Group = SentryTip
1793 | Hidden = 1
1794 | DynamicVariables = 1
1795 |
1796 | [SentryTipText]
1797 | Meter = String
1798 | Text = Sentry is console.log/warn/error, interaction events tracking service that automatically reports back to Spotify.#CRLF##CRLF#Disable it if you do not want to attract their attention.
1799 | FontFace = Bahnschrift
1800 | FontWeight = 400
1801 | FontSize = 13
1802 | ClipStringW = 340
1803 | ClipString = 2
1804 | X = (565-360 + 10)
1805 | Y = 10r
1806 | AntiAlias = 1
1807 | FontColor = FFFFFF
1808 | InlinePattern=\n\n
1809 | InlineSetting=Size | 8
1810 | Group = SentryTip
1811 | Hidden = 1
1812 |
1813 | [UILoggingTipBG]
1814 | Meter = Shape
1815 | X = 565
1816 | Y = ([UILoggingToggle:Y] - 30)
1817 | Shape = Rectangle 0,0,-360,115,5 | StrokeWidth 0 | Fill Color 8a4fff
1818 | Shape2 = Rectangle -380,25,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset (20/sqrt(2)),0
1819 | Group = UILoggingTip
1820 | Hidden = 1
1821 | DynamicVariables = 1
1822 |
1823 | [UILoggingTipText]
1824 | Meter = String
1825 | Text = Large amount of elements are used to logging user interaction and impression.#CRLF##CRLF#Disable them to decrease workload when interacting with client UI.
1826 | FontFace = Bahnschrift
1827 | FontWeight = 400
1828 | FontSize = 13
1829 | ClipStringW = 340
1830 | ClipString = 2
1831 | X = (565-360 + 10)
1832 | Y = 10r
1833 | AntiAlias = 1
1834 | FontColor = FFFFFF
1835 | InlinePattern=\n\n
1836 | InlineSetting=Size | 8
1837 | Group = UILoggingTip
1838 | Hidden = 1
1839 |
1840 | [RemoveRTLRuleTipBG]
1841 | Meter = Shape
1842 | X = 565
1843 | Y = ([RemoveRTLRuleToggle:Y] - 30)
1844 | Shape = Rectangle 0,0,-360,120,5 | StrokeWidth 0 | Fill Color 8a4fff
1845 | Shape2 = Rectangle -380,25,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset (20/sqrt(2)),0
1846 | Group = RemoveRTLRuleTip
1847 | Hidden = 1
1848 | DynamicVariables = 1
1849 |
1850 | [RemoveRTLRuleTipText]
1851 | Meter = String
1852 | Text = Spotify design team added a large amount of CSS rules to support Right-To-Left languages. If you don't use any of those languages, enable this to simplify CSS files for better performance.
1853 | FontFace = Bahnschrift
1854 | FontWeight = 400
1855 | FontSize = 13
1856 | ClipStringW = 340
1857 | ClipString = 2
1858 | X = (565-360 + 10)
1859 | Y = 10r
1860 | AntiAlias = 1
1861 | FontColor = FFFFFF
1862 | InlinePattern=\n\n
1863 | InlineSetting=Size | 8
1864 | Group = RemoveRTLRuleTip
1865 | Hidden = 1
1866 |
1867 | [LiveUpdateTipBG]
1868 | Meter = Shape
1869 | X = 650
1870 | Y = 530
1871 | Shape = Rectangle 0,0,-280,-80,5 | StrokeWidth 0 | Fill Color 8a4fff
1872 | Shape2 = Rectangle -75,0,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset 0,(-20/sqrt(2))
1873 | Group = LiveUpdateTip
1874 | Hidden = 1
1875 |
1876 | [LiveUpdateTipText]
1877 | Meter = String
1878 | Text = Watching theme's user.css file and automatically applying whenever its contain is changed.
1879 | FontFace = Bahnschrift
1880 | FontWeight = 400
1881 | FontSize = 13
1882 | ClipStringW = 260
1883 | ClipString = 2
1884 | StringAlign = RightBottom
1885 | X = -10r
1886 | Y = -10r
1887 | AntiAlias = 1
1888 | FontColor = FFFFFF
1889 | InlinePattern = (user\.css)
1890 | InlineSetting= Weight | 800
1891 | Group = LiveUpdateTip
1892 | Hidden = 1
1893 |
1894 | [RestartBG]
1895 | Meter = Shape
1896 | X = 780
1897 | Y = 450
1898 | Shape = Rectangle 0,0,-370,-160,5 | StrokeWidth 0 | Fill Color 8a4fff
1899 | Shape2 = Rectangle -75,0,20,20,3 | StrokeWidth 0 | Fill Color 8a4fff | Rotate 45 | Offset 0,(-20/sqrt(2))
1900 | Group = RestartTip
1901 | Hidden = 1
1902 |
1903 | [RestartText]
1904 | Meter = String
1905 | Text = Restart Spotify client.#Crlf##Crlf#Use Update CSS if you just change colors or edit CSS. When Developer Mode is enabled, you can manually reload Spotify client via right click menu or hit Ctrl+Shift+R in the client.
1906 | FontFace = Bahnschrift
1907 | FontWeight = 400
1908 | FontSize = 13
1909 | ClipStringW = 350
1910 | ClipString = 2
1911 | StringAlign = RightBottom
1912 | X = -10r
1913 | Y = -10r
1914 | AntiAlias = 1
1915 | FontColor = FFFFFF
1916 | InlinePattern=\n\n
1917 | InlineSetting=Size | 8
1918 | InlinePattern2 = (Update CSS).*(right click menu).*(Ctrl\+Shift\+R )
1919 | InlineSetting2= Weight | 800
1920 | Group = RestartTip
1921 | Hidden = 1
1922 |
--------------------------------------------------------------------------------
/Themes/SpicetifyDefault/color.inc:
--------------------------------------------------------------------------------
1 | [Variables]
2 | Main_FG =00FF9C
3 | Secondary_FG =DEDEDE
4 | Main_BG =2E2837
5 | Sidebar_And_Player_BG =2E2837
6 | Cover_Overlay_And_Shadow =000000
7 | Indicator_FG_And_Button_BG =00FF9C
8 | Pressing_FG = FF5C86
9 | Slider_BG =3F3C45
10 | Sidebar_Indicator_And_Hover_Button_BG =00BF76
11 | Scrollbar_FG_And_Selected_Row_BG =615670
12 | Pressing_Button_FG =DEDEDE
13 | Pressing_Button_BG =383145
14 | Selected_Button =00BF76
15 | Miscellaneous_BG =3F3C45
16 | Miscellaneous_Hover_BG =383145
17 | Preserve_1 =FFFFFF
18 |
--------------------------------------------------------------------------------
/Themes/SpicetifyDefault/user.css:
--------------------------------------------------------------------------------
1 | /*Round corner cover image*/
2 | .card-image,
3 | .card-placeholder-wrapper,
4 | .card-image-content-wrapper,
5 | .GlueCard:not(.GlueCard--artist) .GlueCard__image,
6 | .GlueCard:not(.GlueCard--artist) .GlueCard__image-wrapper,
7 | .Card:not(.Card--artist) .Card__image,
8 | .Card:not(.Card--artist) .Card__image-wrapper {
9 | border-radius: 10px !important;
10 | overflow: hidden !important
11 | }
12 |
13 | /*Hide some annoying elements like profile name and pic, upgrade button and device connect bar at bottom, new playlist button*/
14 | .profile.content-top-bar__profile-link,
15 | .upgrade-button,
16 | .view-player .remote-playback-bar,
17 | .NewPlaylistButton {
18 | display: none !important;
19 | }
20 |
21 | /*Force player bar to has fixed height*/
22 | body.remotebar .view-player .player-bar-wrapper {
23 | height: 87px !important;
24 | }
25 |
26 | /*Exclude these elements from draggable property because it stops them from clickable*/
27 | .profile-items-container,
28 | .profile
29 | {
30 | -webkit-app-region: no-drag !important;
31 | }
32 |
33 | /*Thinner scrollbar*/
34 | ::-webkit-scrollbar {
35 | height: 6px !important;
36 | width: 6px !important;
37 | background-color: transparent;
38 | }
39 |
40 | /*Round corner scrollbar*/
41 | ::-webkit-scrollbar-thumb {
42 | border-radius: 3px !important;
43 | }
44 |
45 | /*Hide top and bottom buttons of scrollbar */
46 | /*who uses those, lol*/
47 | ::-webkit-scrollbar-button {
48 | display: none !important;
49 | }
50 |
51 | /*Hide cover image overlay*/
52 | .card-overlay {
53 | visibility: hidden !important;
54 | }
55 |
56 | /*Lift up cover when hovering on it*/
57 | .card-image-content-wrapper,
58 | .GlueCard__image-wrapper,
59 | .Card:not(.Card--artist) .Card__image-wrapper {
60 | transition-property: transform box-shadow !important;
61 | transition-duration: 1s !important;
62 | transition-timing-function: cubic-bezier(.3,0,0,1) !important;
63 | box-shadow: 0 5px 20px rgba(0,0,0,0.3);
64 | }
65 |
66 | .card-image-hit-area:not(.no-hover):hover .card-image-content-wrapper,
67 | .GlueCard__image-hit-area-counter-scale:hover .GlueCard__image-wrapper,
68 | .Card:not(.Card--artist) .Card__image-hit-area-counter-scale:hover .Card__image-wrapper {
69 | transform: translateY(-10px);
70 | box-shadow: 0 15px 30px rgba(0,0,0,0.3);
71 | }
72 |
73 | .card-image-hit-area .card-button-add,
74 | .card-image-hit-area .card-button-play,
75 | .card-image-hit-area .card-button-more,
76 | .GlueCard__image-hit-area .card-button-add,
77 | .GlueCard__image-hit-area .card-button-play,
78 | .GlueCard__image-hit-area .card-button-more,
79 | .GlueCard__image-hit-area .GlueCard__play-button,
80 | .GlueCard__image-hit-area .GlueCard__add-button,
81 | .GlueCard__image-hit-area .GlueCard__more-button,
82 | .GlueCard__image-hit-area .GlueCard__overlay,
83 | .Card__image-hit-area .card-button-add,
84 | .Card__image-hit-area .card-button-play,
85 | .Card__image-hit-area .card-button-more,
86 | .Card__image-hit-area .Card__play-button,
87 | .Card__image-hit-area .Card__add-button,
88 | .Card__image-hit-area .Card__more-button,
89 | .Card__image-hit-area .Card__overlay {
90 | transition-property: all !important;
91 | transition-duration: 1s !important;
92 | transition-timing-function: cubic-bezier(.3,0,0,1) !important;
93 | opacity: 0 !important;
94 | }
95 | .card-image-hit-area:not(.no-hover):hover .card-button-add,
96 | .card-image-hit-area:not(.no-hover):hover .card-button-play,
97 | .card-image-hit-area:not(.no-hover):hover .card-button-more,
98 | .GlueCard__image-hit-area:not(.no-hover):hover .card-button-add,
99 | .GlueCard__image-hit-area:not(.no-hover):hover .card-button-play,
100 | .GlueCard__image-hit-area:not(.no-hover):hover .card-button-more,
101 | .Card__image-hit-area:not(.no-hover):hover .card-button-add,
102 | .Card__image-hit-area:not(.no-hover):hover .card-button-play,
103 | .Card__image-hit-area:not(.no-hover):hover .card-button-more {
104 | opacity: 1 !important;
105 | transform: translateY(-10px);
106 | }
107 |
108 | .GlueCard__image-hit-area:hover .GlueCard__play-button,
109 | .GlueCard__image-hit-area:hover .GlueCard__add-button,
110 | .GlueCard__image-hit-area:hover .GlueCard__more-button,
111 | .GlueCard__image-hit-area:hover .GlueCard__overlay,
112 | .Card__image-hit-area:hover .Card__play-button,
113 | .Card__image-hit-area:hover .Card__add-button,
114 | .Card__image-hit-area:hover .Card__more-button,
115 | .Card__image-hit-area:hover .Card__overlay {
116 | opacity: 1 !important;
117 | }
118 |
119 | .card-placeholder-wrapper {
120 | background: transparent !important;
121 | }
122 |
123 | /*Spice up search input background*/
124 | .SearchInput__input {
125 | color: var(--modspotify_secondary_fg);
126 | background-color: rgba(var(--modspotify_rgb_scrollbar_fg_and_selected_row_bg), 0.5) !important;
127 | }
128 |
129 | /*Fixed player bar height and add cool shadow under*/
130 | .view-player {
131 | height: 87px !important;
132 | box-shadow: 0 -10px 40px rgba(0,0,0,0.5) !important;
133 | }
134 |
135 | /*
136 | Make cover image in player bar bigger and change position it abit
137 | Also padding tilte and artist to correct position
138 | */
139 | .view-player .now-playing,
140 | .view-player .now-playing-container,
141 | .view-player .now-playing .cover-image-container {
142 | height: 100% !important;
143 | overflow: visible !important;
144 | }
145 |
146 | .view-player .now-playing .cover-image-container {
147 | position: absolute !important;
148 | overflow: visible !important;
149 | bottom: 55px !important;
150 | left: -70px !important;
151 | }
152 | .view-player .now-playing .cover-image-container .cover-image {
153 | width: 120px !important;
154 | height: 120px !important;
155 | position: absolute !important;
156 | box-shadow: 0 5px 10px rgba(0,0,0,0.5) !important;
157 | background-size: cover !important;
158 | }
159 |
160 | .view-player .now-playing-container .caption {
161 | height: 100% !important;
162 | align-content: center !important;
163 | padding-left: 70px !important;
164 | }
165 |
166 | @media (min-width: 1200px){
167 | .view-player .now-playing-container {
168 | min-width: 500px;
169 | }
170 | }
171 |
172 |
173 | .view-player .now-playing-container {
174 | z-index: 9998 !important;
175 | }
176 |
177 | /*
178 | Minimize left sidebar
179 | Expand when hovering on windows's left edge
180 | */
181 | #menu-wrapper {
182 | position: absolute !important;
183 | z-index: 9999 !important;
184 | display: flex !important;
185 | height: 100% !important;
186 | }
187 |
188 | .sidebar {
189 | /*Widen the hover zone here*/
190 | min-width: 15px !important;
191 | width: 15px !important;
192 | transition-duration: .5s !important;
193 | transition-timing-function: cubic-bezier(.3,0,0,1) !important;
194 | opacity: 0;
195 | }
196 |
197 | /*Expanded sidebar width*/
198 | .sidebar:hover {
199 | width: 200px !important;
200 | opacity: 1;
201 | }
202 |
203 | .sidebar .sidebar-navbar.sidebar-scroll-element {
204 | padding-top: 30px !important;
205 | padding-bottom: 60px !important;
206 | opacity: 0 !important;
207 | transition-property: opacity !important;
208 | transition-duration: .5s !important;
209 | transition-timing-function: cubic-bezier(.3,0,0,1) !important;
210 | }
211 |
212 | /* Playlist content */
213 | #content {
214 | padding-bottom: 60px;
215 | }
216 |
217 | .sidebar:hover .sidebar-navbar.sidebar-scroll-element {
218 | opacity: 1!important;
219 | }
220 |
221 | .view-player .player-controls-container,
222 | .view-player .player-controls-container .controls {
223 | overflow: visible !important;
224 | }
225 |
226 | .view-player .player-controls-container .controls .button-play{
227 | height:50px !important;
228 | border-radius:50px !important;
229 | background: transparent !important;
230 | box-shadow:0 0 0 0 !important;
231 | width:50px !important;
232 | overflow: visible !important;
233 | box-shadow: 0 5px 15px rgba(0,0,0,0.7) !important;
234 | transition:none 0.3s cubic-bezier(.3,0,.7,1);
235 | }
236 |
237 | .view-player .player-controls-container .controls .button-play:before{
238 | font-size:18px !important;
239 | padding-left: 16px !important;
240 | padding-top: 9px !important;
241 | }
242 |
243 |
244 | .view-player .player-controls-container {
245 | position: absolute !important;
246 | width: 100% !important;
247 | }
248 |
249 | .view-player .player-controls-container .controls {
250 | width: 100% !important;
251 | height: 100% !important;
252 | align-items: center !important;
253 | margin-top : 0px !important;
254 | }
255 |
256 | /*
257 | Hide the song duration and elapsed text. I dont know where to put those so I just hide them
258 | */
259 | .view-player .player-controls-container .progress-container .elapsed,
260 | .view-player .player-controls-container .progress-container .remaining {
261 | display: none !important;
262 | }
263 |
264 | /*
265 | Move progress bar to bottom of window
266 | */
267 | .view-player .player-controls-container .progress-container {
268 | position: absolute !important;
269 | width: 100% !important;
270 | height: 100% !important;
271 | bottom: (-87/2px) !important;
272 | margin : 0 0 0 0 !important;
273 | z-index: 9999 !important;
274 | }
275 |
276 | .view-player .player-controls-container .progress-container .progress-bar {
277 | margin-top: -6px !important;
278 | top: 100% !important;
279 | }
280 |
281 | .view-player .player-controls-container .progress-container .progress-bar .inner {
282 | top: 100% !important;
283 | margin-top: -4px !important;
284 | border-radius: 0 2px 2px 0 !important;
285 | background-color: var(--modspotify_main_fg);
286 | }
287 |
288 | /* Add round corner for Gerne and Mood cards */
289 | .gc-image-container,
290 | .gc-image {
291 | border-radius: 10px !important;
292 | }
293 |
294 | /*
295 | Collage of 3 album covers is usually seen in Browse and Chart.
296 | */
297 | .card-puff__image-wrapper,
298 | .card-puff__info-container,
299 | .card-puff__card-image {
300 | border-radius: 10px !important;
301 | }
302 |
303 | .card-puff__image-wrapper {
304 | overflow: visible;
305 | }
306 |
307 | .card-puff__card-image {
308 | box-shadow: 5px 0 30px rgba(0,0,0,0.7);
309 | overflow: visible;
310 | }
311 |
312 | .card-puff__title-container {
313 | background-color: rgba(0,0,0,0) !important;
314 | align-items: start !important;
315 | }
316 |
317 | .card-puff.pressed .card-puff__image-wrapper,
318 | .card-puff.pressed .card-puff__info-container {
319 | opacity: 0.7 !important;
320 | }
321 |
322 | .card-puff__title {
323 | padding: 5px 10px 5px 10px !important;
324 | background-color: rgba(var(--modspotify_rgb_cover_overlay_and_shadow),0.8) !important;
325 | border-radius: 10px 10px 0 0 !important;
326 | text-align: left !important;
327 | width: 100% !important;
328 | margin: 0 20px !important;
329 | }
330 | /*
331 | We use round corner on cover so they look weird in original
332 | form, so I move last cover to the right 20px and first one to the left 20px
333 | */
334 | .card-puff__card-image:nth-child(1) {
335 | right: 20px;
336 | box-shadow: 0 0 0 0 !important;
337 | }
338 |
339 | .card-puff__card-image:nth-child(3) {
340 | left: 20px;
341 | }
342 |
343 | .grid-overlay-label {
344 | top: 140px !important;
345 | }
346 |
347 | /**/
348 | .glue-page-header__background-color {
349 | background-image: none !important;
350 | background: var(--modspotify_main_bg);
351 | }
352 |
353 | .glue-page-header__background-overlay {
354 | background-color: transparent !important;
355 | }
356 |
357 | .glue-page-header__sticky {
358 | padding-top: 60px !important;
359 | }
360 |
361 | /*
362 | Remove those title, cringy description and
363 | meaningless followers number
364 | */
365 |
366 | .carousel .card-info-subtitle-description,
367 | .carousel .card-info-subtitle-metadata,
368 | .carousel .card:not(.card-type-station).card-info-title,
369 | .carousel .card.card-type-playlist.image-loaded .card-info-subtitle-description,
370 | .carousel .card.card-type-playlist.image-loaded .card-info-subtitle-metadata {
371 | display: none !important;
372 | }
373 |
374 |
375 | /*
376 | In top of Browse usually has bunch of Playlist or Album cards,
377 | and they has .carousel as a wrapper and it hides anything that
378 | overflows from its zone, aka our shadow and lifting animation.
379 | */
380 | .carousel {
381 | overflow: visible !important;
382 | }
383 |
384 | /*
385 | Button with text Play
386 | */
387 | .button.button-green,
388 | .GlueButton.GlueButton--style-green {
389 | color: var(--modspotify_main_bg) !important;
390 | }
391 |
392 | /*
393 | Change text color in playlist
394 | */
395 | .tl-explicit .label,
396 | .tl-premium .label,
397 | .tl-cell:not(.tl-number),
398 | .tl-cell a:link,
399 | .tl-highlight {
400 | color: var(--modspotify_secondary_fg);
401 | }
402 |
403 | .card-type-album .card-info-title,
404 | .card-type-track .card-info-title,
405 | .card-type-collection-album .card-info-title,
406 | .card-type-episode .card-info-title {
407 | font-size: 15px;
408 | font-weight: 900 !important;
409 | text-align: center !important;
410 | width: 100% !important;
411 | }
412 |
413 | .card-type-album .card-info-subtitle-links,
414 | .card-type-track .card-info-subtitle-links,
415 | .card-type-collection-album .card-info-subtitle-links,
416 | .card-type-episode .card-info-subtitle-links {
417 | text-align: center !important;
418 | width: 100% !important;
419 | }
420 |
421 | .tracklist-station-container::after {
422 | background: transparent !important;
423 | }
424 |
425 | .GlueHeader__background-overlay {
426 | background: var(--modspotify_main_bg) !important;
427 | }
428 |
429 | /* Move navigation buttons and search field to the right and down */
430 | .browser-navigation-top-bar {
431 | margin-left: 40px !important;
432 | margin-top: 15px !important;
433 | }
434 |
435 | .SearchInput__input,
436 | .SearchInput__searchIcon,
437 | .SearchInput__clearButton {
438 | margin-top: 15px !important;
439 | }
440 |
441 | .content-top-bar__profile-menu-button {
442 | margin-top: 15px !important;
443 | }
444 |
445 | .body-container--windows:not(.with-buddy-list):not(.messagebar) .content-top-bar__profile {
446 | margin-right: 110px !important;
447 | margin-top: -5px;
448 | }
449 |
450 | /* Spice up Fullscreen mode */
451 | #view-player .album-art .album-art__image {
452 | border-radius: 30px !important;
453 | box-shadow: 0 10px 70px rgba(var(--modspotify_rgb_cover_overlay_and_shadow),.5) !important;
454 | }
455 |
456 | #view-player .album-art .album-art__image .card-image-content-wrapper,
457 | #view-player .album-art .album-art__image .card-image-content-wrapper .card-image {
458 | border-radius: 30px !important;
459 | }
460 |
461 | /* Daily mixes */
462 | .carousel .card-info-wrapper.card-info-with-description.card-info-with-metadata {
463 | height: 50px !important;
464 | }
465 |
466 | /* Remove section divider */
467 | .section-divider {
468 | border-bottom: 0 !important;
469 | }
470 |
471 | /* Adjust Position of border active tab in Nav bar at top
472 | and add little glowing effect
473 | */
474 | .nav.navbar-nav {
475 | overflow: hidden !important;
476 | }
477 |
478 | .nav.navbar-nav a {
479 | overflow: visible !important;
480 | }
481 |
482 | .nav.navbar-nav a::after {
483 | bottom: 0px !important;
484 | width: 100% !important;
485 | }
486 |
487 | .nav.navbar-nav .active a::after{
488 | box-shadow: 0 0px 20px !important;
489 | }
490 |
491 | .nav.navbar-nav a:focus:not(.button):active::after{
492 | background-color: var(--modspotify_pressing_fg) !important;
493 | }
494 |
495 | /* Friend sidebar */
496 | #view-buddy-list {
497 | min-width: 15px !important;
498 | width: 15px !important;
499 | transition-property: all !important;
500 | transition-duration: .5s !important;
501 | transition-timing-function: cubic-bezier(.3,0,0,1) !important;
502 | opacity: 0;
503 | }
504 |
505 | #view-buddy-list:hover {
506 | width: 277px !important;
507 | opacity: 1;
508 | }
509 |
510 | .body-container--windows .buddy-list-iframe {
511 | height: 100% !important;
512 | }
513 |
514 | .with-buddy-list #view-buddy-list {
515 | position: absolute;
516 | right: 0px;
517 | display: flex;
518 | z-index: 999999;
519 | height: 100%;
520 | }
521 |
522 | /* Notification bar */
523 | #content-wrapper #view-message-bar {
524 | position: absolute !important;
525 | width: calc(100% - 160px) !important;
526 | margin-left: 80px !important;
527 | border-radius: 0 0 10px 10px !important;
528 | }
529 |
530 | /* Small cover Big cover mechanism */
531 | .now-playing.cover-size-transition.active.image-expanded .cover-image {
532 | width: 10px !important;
533 | height: 10px !important;
534 | }
535 | .now-playing.cover-size-transition.active.image-expanded .caption {
536 | padding-left: 0px !important;
537 | }
538 | #view-now-playing a.image {
539 | overflow: visible !important;
540 | }
541 |
542 | #view-now-playing.expanded {
543 | width: 200px;
544 | height: 200px;
545 | }
546 |
547 | #now-playing-image-large .cover-image {
548 | height: 200px !important;
549 | }
550 |
551 | /* Profile arrow in top left */
552 | .content-top-bar__profile-menu-button .dropdown {
553 | position: fixed !important;
554 | right: 200px !important;
555 | top: 10px !important;
556 | -webkit-app-region: no-drag !important;
557 | }
558 |
559 | /* Small tooltip */
560 | #tooltip {
561 | box-shadow: 0 0 10px rgba(0,0,0,0.5) !important;
562 | border-radius: 5px !important;
563 | }
564 |
565 | .lyrics-lines-container,
566 | .message-container {
567 | color: var(--modspotify_secondary_fg) !important;
568 | }
569 |
570 | /* Home page */
571 | .GlueCarousel__grid-wrapper::-webkit-scrollbar-thumb {
572 | display: none;
573 | }
574 |
575 | .GlueCard__info-wrapper,
576 | .Card__info-wrapper {
577 | margin-bottom: 30px;
578 | }
579 |
580 | .card-horizontal-interior-wrapper .card-info-title {
581 | text-align: start !important;
582 | }
583 |
584 | .tl-row.selected:hover .tl-cell {
585 | background: var(--modspotify_scrollbar_fg_and_selected_row_bg) !important;
586 | }
587 |
588 | .GlueTableRow--is-selected {
589 | background-color: var(--modspotify_scrollbar_fg_and_selected_row_bg) !important;
590 | }
591 |
592 | .tracklist-podcast .tl-progress .row-progress__bar {
593 | background-color: var(--modspotify_main_fg);
594 | }
595 |
596 | .Header__background-color{
597 | background-color: var(--modspotify_main_bg) !important;
598 | }
599 |
600 | .Button--style-green {
601 | color: var(--modspotify_main_bg) !important;
602 | }
603 |
604 | /* Display usable add playlist button */
605 | .LeftSidebarNewPlaylistButton__button {
606 | padding: 0 168px !important;
607 | padding-right: 40px;
608 | }
609 |
610 | .LeftSidebarNewPlaylistButton__text {
611 | display: none !important;
612 | }
--------------------------------------------------------------------------------
/clean.ps1:
--------------------------------------------------------------------------------
1 | Remove-Item "./@Resources/robocopy_copyapp_log.txt"
2 | Remove-Item "./@Resources/robocopy_transfer_log.txt"
3 | Remove-Item "./@Resources/robocopy_transfer_raw_log.txt"
4 | Remove-Item "./@Resources/console.log"
--------------------------------------------------------------------------------
/globals.d.ts:
--------------------------------------------------------------------------------
1 | declare class Spicetify {
2 | public static Player: {
3 | /**
4 | * Register a listener `type` on Spicetify.Player.
5 | *
6 | * On default, `Spicetify.Player` always dispatch:
7 | * - `songchange` type when player changes track.
8 | * - `onplaypause` type when player plays or pauses.
9 | * @param type
10 | * @param callback
11 | */
12 | addEventListener(type: string, callback: () => void): void;
13 | /**
14 | * Skip to previous track.
15 | */
16 | back(): void;
17 | /**
18 | * An object contains all information about current track and player.
19 | */
20 | data: any;
21 | /**
22 | * Decrease a small amount of volume.
23 | */
24 | decreaseVolume(): void;
25 | /**
26 | * Dispatches an event at `Spicetify.Player`.
27 | *
28 | * On default, `Spicetify.Player` always dispatch
29 | * - `songchange` type when player changes track.
30 | * - `onplaypause` type when player plays or pauses.
31 | * @param event
32 | */
33 | dispatchEvent(event: Event): void;
34 | eventListeners: {
35 | [key: string]: Array<() => void>
36 | };
37 | /**
38 | * Convert milisecond to `mm:ss` format
39 | * @param milisecond
40 | */
41 | formatTime(milisecond: number): string;
42 | /**
43 | * Return song total duration in milisecond.
44 | */
45 | getDuration(): number;
46 | /**
47 | * Return mute state
48 | */
49 | getMute(): boolean;
50 | /**
51 | * Return elapsed duration in milisecond.
52 | */
53 | getProgressMs(): number;
54 | /**
55 | * Return elapsed duration in percentage (0 to 1).
56 | */
57 | getProgressPercent(): number;
58 | /**
59 | * Return current Repeat state (No repeat = 0/Repeat all = 1/Repeat one = 2).
60 | */
61 | getRepeat(): number;
62 | /**
63 | * Return current shuffle state
64 | */
65 | getShuffle(): boolean;
66 | /**
67 | * Return track thumb down state
68 | */
69 | getThumbDown(): boolean;
70 | /**
71 | * Return track thumb up state
72 | */
73 | getThumbUp(): boolean;
74 | /**
75 | * Return current volume level.
76 | */
77 | getVolume(): number;
78 | /**
79 | * Increase a small amount of volume.
80 | */
81 | increaseVolume(): void;
82 | /**
83 | * Return a boolean whether player is playing.
84 | */
85 | isPlaying(): boolean;
86 | /**
87 | * Skip to next track.
88 | */
89 | next(): void;
90 | /**
91 | * Pause track.
92 | */
93 | pause(): void;
94 | /**
95 | * Resume track.
96 | */
97 | play(): void;
98 | /**
99 | * Unregister added event listener `type`.
100 | * @param type
101 | * @param callback
102 | */
103 | removeEventListener(type: string, callback: () => void): void;
104 | /**
105 | * Seek track to position.
106 | * @param position can be in percentage (0 to 1) or in milisecond.
107 | */
108 | seek(position: number): void;
109 | /**
110 | * Turn mute on/off
111 | * @param state
112 | */
113 | setMute(state: boolean): void;
114 | /**
115 | *
116 | * @param mode `0` No repeat. `1` Repeat all. `2` Repeat one track.
117 | */
118 | setRepeat(mode: number): void;
119 | /**
120 | * Set shuffle state to true or false
121 | * @param state
122 | */
123 | setShuffle(state: boolean): void;
124 | /**
125 | * Set volume level
126 | * @param level 0 to 1
127 | */
128 | setVolume(level: number): void;
129 | /**
130 | * Seek to next `amount` of milisecond
131 | * @param amount in milisecond. Default: 15000.
132 | */
133 | skipBack(amount?: number): void;
134 | /**
135 | * Seek to previous `amount` of milisecond
136 | * @param amount in milisecond. Default: 15000.
137 | */
138 | skipForward(amount?: number): void;
139 | /**
140 | * Thumb down current track.
141 | */
142 | thumbDown(): void;
143 | /**
144 | * Thumb up current track.
145 | */
146 | thumbUp(): void;
147 | /**
148 | * Toggle Mute/No mute.
149 | */
150 | toggleMute(): void;
151 | /**
152 | * Toggle Play/Pause.
153 | */
154 | togglePlay(): void;
155 | /**
156 | * Toggle No repeat/Repeat all/Repeat one.
157 | */
158 | toggleRepeat(): void;
159 | /**
160 | * Toggle Shuffle/No shuffle.
161 | */
162 | toggleShuffle(): void;
163 | }
164 |
165 | public static addToQueue: (uri: string, callback: () => void) => void;
166 | public static BridgeAPI: any;
167 | public static CosmosAPI: any;
168 | public static getAudioData: (callback: (data: any) => void, uri?: string) => void;
169 | public static LibURI: any;
170 | public static LiveAPI: any;
171 | public static LocalStorage: any;
172 | public static PlaybackControl: any;
173 | public static Queue: any;
174 | public static removeFromQueue: (uri: string, callback: () => void) => void;
175 | public static showNotification: (text: string) => void;
176 | }
--------------------------------------------------------------------------------