tomx 2 Posted September 7, 2018 Posted September 7, 2018 Hello, been running emby 3.5.2.0 on centos7 without any problems, but i got one bug: If i go on server dashboard - Library and Manage library (my movies) and try to change something in download languages it just won't save that setting. If i remove Only download subtitles it wont save. Got nothing in logs.
schmitty 66 Posted September 7, 2018 Posted September 7, 2018 @@Luke this is a bug I have reported a couple of times in the last year or so Sent from my iPhone using Tapatalk
Luke 42078 Posted September 7, 2018 Posted September 7, 2018 I'm not able to reproduce this. Make sure to click the back button after changing settings to ensure they are saved.
tomx 2 Posted September 11, 2018 Author Posted September 11, 2018 i click back button...weird really.
jfd 1 Posted October 22, 2018 Posted October 22, 2018 I got this in the browser console when clicking back or just outside the modal: apiclient.js?v=3.5.3.0:2 Uncaught Error: null name at ApiClient.updateVirtualFolderOptions (apiclient.js?v=3.5.3.0:2) at HTMLDivElement.onDialogClosing (medialibraryeditor.js?v=3.5.3.0:1) at closeDialog (dialoghelper.js?v=3.5.3.0:1) at onHashChange (dialoghelper.js?v=3.5.3.0:1) It seems id is null in apiclient.js: ApiClient.prototype.updateVirtualFolderOptions = function(id, libraryOptions) { if (!id) throw new Error("null name"); var url = "Library/VirtualFolders/LibraryOptions"; return url = this.getUrl(url), this.ajax({ type: "POST", url: url, data: JSON.stringify({ Id: id, LibraryOptions: libraryOptions }), contentType: "application/json" }) } hm ItemId is undefined in medialibraryeditor/medialibraryeditor.js?v=3.5.3.0:formatted function onDialogClosing() { var dlg = this , libraryOptions = libraryoptionseditor.getLibraryOptions(dlg.querySelector(".libraryOptions")); libraryOptions = Object.assign(currentOptions.library.LibraryOptions || {}, libraryOptions), ApiClient.updateVirtualFolderOptions(currentOptions.library.ItemId, libraryOptions) } JSON.stringify(currentOptions.library) "{"Name":"Kinderserien","Locations":["/mnt/storage/Kinderserien"],"CollectionType":"tvshows"}" hmmm ... should http://localhost:8096/emby/Library/VirtualFolders contain ItemIds? On of the subsequent requests is http://localhost:8096/emby/Libraries/AvailableOptions?LibraryContentType=tvshows&IsNewLibrary=true ... but those libraries have been there for quite a while... maybe a migration bug? ping me if I should dig deeper.
Luke 42078 Posted October 22, 2018 Posted October 22, 2018 I would suggest trying this again with the next release of emby server. Thanks.
jfd 1 Posted November 21, 2018 Posted November 21, 2018 (edited) Still happens with beta 3.6.0.66 apiclient.js?v=3.6.0.66:formatted:1321 Uncaught Error: null name at ApiClient.updateVirtualFolderOptions (apiclient.js?v=3.6.0.66:formatted:1321) at HTMLDivElement.onDialogClosing (medialibraryeditor.js?v=3.6.0.66:formatted:130) at closeDialog (dialoghelper.js?v=3.6.0.66:formatted:114) at onHashChange (dialoghelper.js?v=3.6.0.66:formatted:23) Edited November 21, 2018 by jfd
Luke 42078 Posted November 21, 2018 Posted November 21, 2018 Yea the problem is that this is only going to be related to old setups. If you create a new library this shouldn't happen anymore. I will have to see if i can get this to work coming from an older version. Thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now