mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update library setup
This commit is contained in:
parent
273da03c0f
commit
99d3154872
10 changed files with 101 additions and 45 deletions
|
@ -1800,7 +1800,7 @@
|
|||
* Adds a virtual folder
|
||||
* @param {String} name
|
||||
*/
|
||||
self.addVirtualFolder = function (name, type, refreshLibrary) {
|
||||
self.addVirtualFolder = function (name, type, refreshLibrary, initialPath) {
|
||||
|
||||
if (!name) {
|
||||
throw new Error("null name");
|
||||
|
@ -1821,7 +1821,10 @@
|
|||
|
||||
return self.ajax({
|
||||
type: "POST",
|
||||
url: url
|
||||
url: url,
|
||||
data: {
|
||||
Path: initialPath
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue