mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 11:48:26 -07:00
Add series changes
This commit is contained in:
parent
19dfd49ad3
commit
684a72792a
7 changed files with 32 additions and 17 deletions
|
@ -22,13 +22,10 @@ define(['app', 'Shared/NotificationCollection', 'Series/SeriesCollection'], func
|
|||
addSeries: function () {
|
||||
|
||||
var quality = this.ui.qualityProfile.val();
|
||||
|
||||
//Todo: This will create an invalid path on linux...
|
||||
var rootPath = this.ui.rootFolder.find(":selected").text();
|
||||
var path = rootPath + "\\" + this.model.get('title');
|
||||
var rootFolderId = this.ui.rootFolder.val();
|
||||
|
||||
this.model.set('qualityProfileId', quality);
|
||||
this.model.set('path', path);
|
||||
this.model.set('rootFolderId', rootFolderId);
|
||||
|
||||
var self = this;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue