mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
use the small thumbnails on tracklists
This commit is contained in:
+10
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user