use the small thumbnails on tracklists

This commit is contained in:
geoffrey45
2022-09-17 17:37:09 +03:00
parent 5130f85300
commit 5af3d9cfc3
7 changed files with 17 additions and 11 deletions
+10 -4
View File
@@ -1,5 +1,5 @@
// "local" | "remote"
let mode = "remote";
let mode = "local";
export interface D<T = string> {
[key: string]: T;
@@ -16,7 +16,10 @@ const ports = {
};
const imageRoutes = {
thumb: "/t/",
thumb: {
large: "/t/",
small: "/t/s/",
},
artist: "/a/",
playlist: "/p/",
raw: "/raw/",
@@ -72,7 +75,10 @@ const paths = {
files: baseApiUrl + "/file",
},
images: {
thumb: baseImgUrl + imageRoutes.thumb,
thumb: {
small: baseImgUrl + imageRoutes.thumb.small,
large: baseImgUrl + imageRoutes.thumb.large,
},
artist: baseImgUrl + imageRoutes.artist,
playlist: baseImgUrl + imageRoutes.playlist,
raw: baseImgUrl + imageRoutes.raw,
@@ -81,4 +87,4 @@ const paths = {
export { paths, toggleMode };
// TODO: Add setting to toggle between extending to edges or not
// TODO: Add setting to toggle between extending to edges or not