Skip to content

Commit

Permalink
Transmission fix upgrade from dsm6
Browse files Browse the repository at this point in the history
  • Loading branch information
publicarray authored and hgy59 committed May 22, 2021
1 parent e05045c commit ed82109
Showing 1 changed file with 52 additions and 1 deletion.
53 changes: 52 additions & 1 deletion spk/transmission/src/wizard/upgrade_uifile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,56 @@
},
{
"desc": "<strong style='color:red'>NOTE:</strong> The package upgrade will try to set the correct permissions on your folders. If you get permission errors within Transmission, manually set Read/Write permissions on the reported folders using File Station."
},
{
"type": "combobox",
"desc": "Please select a volume to use for the download folder",
"subitems": [
{
"key": "wizard_volume",
"desc": "volume name",
"displayField": "display_name",
"valueField": "volume_path",
"editable": false,
"mode": "remote",
"api_store": {
"api": "SYNO.Core.Storage.Volume",
"method": "list",
"version": 1,
"baseParams": {
"limit": -1,
"offset": 0,
"location": "internal"
},
"root": "volumes",
"idProperty": "volume_path",
"fields": [
"display_name",
"volume_path"
]
},
"validator": {
"fn": "{console.log(arguments);return true;}"
}
}
]
},
{
"type": "textfield",
"desc": "Download shared folder (using the volume chosen above)",
"subitems": [
{
"key": "wizard_download_dir",
"desc": "Download shared folder",
"defaultValue": "downloads",
"validator": {
"allowBlank": false,
"regex": {
"expr": "/^[\\w _-]+$/",
"errorText": "Subdirectories are not supported."
}
}
}
]
}]
}]
}]

0 comments on commit ed82109

Please sign in to comment.