1
0
Fork 0
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:
Luke Pulverenti 2016-08-13 02:33:31 -04:00
parent d28cb2cc7e
commit 1895de9249
8 changed files with 94 additions and 45 deletions

View file

@ -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'
});