2025-01-19 23:59:24 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< title > LispPlayground< / title >
< / head >
< body >
< div id = "LispPlaygroundConfigPage" data-role = "page" class = "page type-interior pluginConfigurationPage" data-require = "emby-input,emby-button,emby-select,emby-checkbox" data-controller = "__plugin/lispPlayground.js" >
< div data-role = "content" >
< div class = "content-primary" >
< form id = "LispPlaygroundConfigForm" >
2025-02-26 23:36:52 +01:00
< div class = "inputContainer" >
< label class = "inputLabel inputLabelUnfocused" for = "LispPlaygroundInputLinks" > Input Items< / label >
< div class = "fieldDescription" >
Items which should be given to the filter program, one link per line.
2025-02-26 23:40:37 +01:00
This list is provided to the program in the
< code > *items*< / code > variable.< br >
Hint: Just copy the link to the media item,
it should contain a < code > id< / code > in
the query part of the URL's
fragment.< br >
Example:
< code > https://jellyfin.example.com/web/#/details?id=9f63ee779963588ed2ad94d37d6abe4e& serverId=dc0683d7a413473eb8246d21eaea2f99< / code > < br >
2025-02-26 23:46:15 +01:00
< textarea id = "LispPlaygroundInputLinks" class = "emby-input smartplayground-monospace" name = "InputLinks" rows = "6" cols = "120" > < / textarea >
2025-02-26 23:36:52 +01:00
< / div >
2025-01-19 23:59:24 +01:00
< div class = "inputContainer" >
< label class = "inputLabel inputLabelUnfocused" for = "LispPlaygroundEditProgram" > Program< / label >
< div class = "fieldDescription" > A program which should return < code > t< / code > or < code > nil< / code > to include or exclude the provided < code > item< / code > .< / div >
2025-02-26 23:36:52 +01:00
< textarea id = "LispPlaygroundEditProgram" class = "emby-input smartplayground-monospace" name = "Program" rows = "16" cols = "120" > < / textarea >
2025-01-19 23:59:24 +01:00
< / div >
< div class = "inputContainer" >
< label class = "inputLabel inputLabelUnfocused" for = "LispPlaygroundOutput" > Output< / label >
< div class = "fieldDescription" > The output of the program.< / div >
2025-02-26 23:36:52 +01:00
< textarea id = "LispPlaygroundOutput" class = "emby-input smartplayground-monospace" name = "Output" rows = "16" cols = "120" > < / textarea >
2025-01-19 23:59:24 +01:00
< / div >
< div class = "inputContainer" >
< label class = "inputLabel inputLabelUnfocused" for = "LispPlaygroundReturn" > Final expression< / label >
< div class = "fieldDescription" > The final expression the program has been reduced to.< / div >
2025-02-26 23:36:52 +01:00
< textarea id = "LispPlaygroundReturn" class = "emby-input smartplayground-monospace" name = "Output" rows = "1" cols = "120" > < / textarea >
2025-01-19 23:59:24 +01:00
< / div >
< div >
< button is = "emby-button" type = "submit" class = "raised button-submit block emby-button" >
< span > Run< / span >
< / button >
< / div >
< / form >
< / div >
< / div >
< style >
2025-02-26 23:36:52 +01:00
.smartplayground-monospace {
2025-01-19 23:59:24 +01:00
font-family: monospace;
}
< / style >
< / div >
< / body >
< / html >