mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add options to library setup
This commit is contained in:
parent
d28cb2cc7e
commit
1895de9249
8 changed files with 94 additions and 45 deletions
|
@ -1728,7 +1728,7 @@
|
|||
* Adds a virtual folder
|
||||
* @param {String} name
|
||||
*/
|
||||
self.addVirtualFolder = function (name, type, refreshLibrary, initialPaths) {
|
||||
self.addVirtualFolder = function (name, type, refreshLibrary, initialPaths, libraryOptions) {
|
||||
|
||||
if (!name) {
|
||||
throw new Error("null name");
|
||||
|
@ -1751,7 +1751,8 @@
|
|||
type: "POST",
|
||||
url: url,
|
||||
data: JSON.stringify({
|
||||
Paths: initialPaths
|
||||
Paths: initialPaths,
|
||||
LibraryOptions: libraryOptions
|
||||
}),
|
||||
contentType: 'application/json'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue