chef 3784 Posted April 5, 2022 Share Posted April 5, 2022 8 hours ago, Tolerant said: I always have files left over from the movie watched folder on my NAS. No idea why Emby won't do a full clean. Any ideas? It all seems setup correctly. Hi @Tolerant, It is possible that we didn't have the proper write permissions on the folder to delete the files. when it happens again, a log would be helpful. Then we'd know for certain. Link to comment Share on other sites More sharing options...
chef 3784 Posted April 5, 2022 Share Posted April 5, 2022 17 hours ago, Ryan_vl said: Hi @chef not sure if i am doing anything wrong but i cannot seem to get the "Overwrite existing library files" working". if i set it to on and hit save it will just revert back to off You weren't doing anything wrong. I've fixed this now. Thanks! Link to comment Share on other sites More sharing options...
chef 3784 Posted April 5, 2022 Share Posted April 5, 2022 (edited) version 1.6.1.7 Fixed - Copy over existing files option configuration broken Feature Request - Table options added back to the activity screen ( @Cheesegeezer request) Fix - Find Existing Series in the library and sort into that folder properly. TODO: Finish - If existing series spans multiple folders, await user input. This has been partially coded. Just need to create the new enumerations for the result Status. Clear browsing data: DOWNLOAD: Emby.AutoOrganize_v1.6.1.7.zip Edited April 5, 2022 by chef 2 Link to comment Share on other sites More sharing options...
GiGo 103 Posted April 5, 2022 Share Posted April 5, 2022 28 minutes ago, chef said: version 1.6.1.7 Fix - Copy over existing files option configuration broken Feature Request - Table options added back to the activity screen ( @Cheesegeezer request) Fix - Find Existing Series in the library and sort into that folder properly. TODO: Finish - If existing series spans multiple folders, await user input. This has been partially coded. Just need to create the new enumerations for the result Status. Clear browsing data: DOWNLOAD: Emby.AutoOrganize_v1.6.1.7.zip I'm not seeing a version change on the Plugins screen 1 Link to comment Share on other sites More sharing options...
chef 3784 Posted April 5, 2022 Share Posted April 5, 2022 Your're right. Here it is: DOWNLOAD: Emby.AutoOrganize_v1.6.1.7.zip 2 Link to comment Share on other sites More sharing options...
GiGo 103 Posted April 5, 2022 Share Posted April 5, 2022 Seems to be having issues recognising "1x01" format TV shows Was the same in v1.6.1.6 I just assumed it was the formatting of the show but has done it with .7 too. Sorry to cause more issues. Link to comment Share on other sites More sharing options...
ttgapers 94 Posted April 5, 2022 Share Posted April 5, 2022 14 hours ago, vaise said: season 99 changing to season 100 would be with sonarr - but I am a long way off that Try long running show like ITV docs, BBC doc, 60 minutes, The Fifth Estate etc. and there are issues with 100+ seasons, as well as I have seen huge issues when the Season is actually a year like S2020xe1 Auto-organize usually throws a barf on seasons like that, or even episodes that have numbers in the name like "Who did it - Part 1" or "Who did it in 1998". I also see issues with TV shows with numbers in their title. Shows like "1881", "11.22.63" <-- caused all kinds of auto organizing grief It's like a jungle sometimes Link to comment Share on other sites More sharing options...
chef 3784 Posted April 5, 2022 Share Posted April 5, 2022 5 hours ago, GiGo said: Seems to be having issues recognising "1x01" format TV shows Was the same in v1.6.1.6 I just assumed it was the formatting of the show but has done it with .7 too. Sorry to cause more issues. That's okay. I'm glad we have this to fix. It's in the regex. The original regex had this problem. Now is a great time to fix it. 4 hours ago, ttgapers said: Try long running show like ITV docs, BBC doc, 60 minutes, The Fifth Estate etc. and there are issues with 100+ seasons, as well as I have seen huge issues when the Season is actually a year like S2020xe1 Auto-organize usually throws a barf on seasons like that, or even episodes that have numbers in the name like "Who did it - Part 1" or "Who did it in 1998". I also see issues with TV shows with numbers in their title. Shows like "1881", "11.22.63" <-- caused all kinds of auto organizing grief It's like a jungle sometimes Again, regex issues. This is a perfect time to find a regex that will match these properly. Ive got my trusty regex tester ready to write! 1 Link to comment Share on other sites More sharing options...
chef 3784 Posted April 5, 2022 Share Posted April 5, 2022 5 hours ago, GiGo said: Seems to be having issues recognising "1x01" format TV shows Was the same in v1.6.1.6 I just assumed it was the formatting of the show but has done it with .7 too. Sorry to cause more issues. Oh and specifically with this, it is the new regex that attempts to read media type. The 1x01 is being interpreted as a movie. So, I know exactly where to look and how to how to fix this. Once we get it reading as an episode, it will be fixed. Amazing work! 1 Link to comment Share on other sites More sharing options...
chef 3784 Posted April 6, 2022 Share Posted April 6, 2022 (edited) I was able to fix the regex. DOWNLOAD: Emby.AutoOrganize_v1.6.1.8.zip Edited April 6, 2022 by chef Link to comment Share on other sites More sharing options...
neik 855 Posted April 6, 2022 Share Posted April 6, 2022 (edited) On 3/29/2022 at 5:32 PM, chef said: @neik I'm looking at the code for this issue here. Is it possible that you have some custom css installed that would change the text color of the theme? I'm not seeing this issue... Sorry for the delay. No, I am not using any CSS styling on my Emby install. Just updated to the latest version of the plugin and cleared the cache using the console for my Emby dashboard but unfortunately I ended up with black buttons. Edit: Following situation I just wanted to add a 4K version of "Harry Potter and Half-Blood Prince" to my 4K library (seperate library from 1080p) but the plugin is still moving the movie to the existing movies folder - in my case the 1080p version. Any chance we can have this fixed? Apart from this, the plugin is working flawlessly for me. Edit2: FWIW, I am also on the latest server beta (.33). Edited April 6, 2022 by neik Link to comment Share on other sites More sharing options...
chef 3784 Posted April 6, 2022 Share Posted April 6, 2022 3 hours ago, neik said: Sorry for the delay. No, I am not using any CSS styling on my Emby install. Just updated to the latest version of the plugin and cleared the cache using the console for my Emby dashboard but unfortunately I ended up with black buttons. Edit: Following situation I just wanted to add a 4K version of "Harry Potter and Half-Blood Prince" to my 4K library (seperate library from 1080p) but the plugin is still moving the movie to the existing movies folder - in my case the 1080p version. Any chance we can have this fixed? Apart from this, the plugin is working flawlessly for me. Edit2: FWIW, I am also on the latest server beta (.33). Im not entirely sure why the buttons are black, however I'll make sure to write some code to make sure they show properly. Perhaps when a file is found and flagged as "New Resolution", I'll add an option to wait for user input before sorting. 1 Link to comment Share on other sites More sharing options...
daedalus 430 Posted April 6, 2022 Share Posted April 6, 2022 (edited) 21 hours ago, chef said: version 1.6.1.7 Fixed - Copy over existing files option configuration broken server version: 4.6.7.0 here i can't save any keywords to overwrite files, form gets cleared when exiting the configuration page, and they don't get applied, so no "visual" bug v.8 same Edited April 6, 2022 by daedalus 1 Link to comment Share on other sites More sharing options...
chef 3784 Posted April 6, 2022 Share Posted April 6, 2022 5 hours ago, neik said: Sorry for the delay. No, I am not using any CSS styling on my Emby install. Just updated to the latest version of the plugin and cleared the cache using the console for my Emby dashboard but unfortunately I ended up with black buttons. Edit: Following situation I just wanted to add a 4K version of "Harry Potter and Half-Blood Prince" to my 4K library (seperate library from 1080p) but the plugin is still moving the movie to the existing movies folder - in my case the 1080p version. Any chance we can have this fixed? Apart from this, the plugin is working flawlessly for me. Edit2: FWIW, I am also on the latest server beta (.33). @neik, what theme are you running in the dashboard? I just have to find the appropriate css custom variable. Link to comment Share on other sites More sharing options...
neik 855 Posted April 6, 2022 Share Posted April 6, 2022 1 hour ago, chef said: @neik, what theme are you running in the dashboard? I just have to find the appropriate css custom variable. Black or dark Link to comment Share on other sites More sharing options...
chef 3784 Posted April 6, 2022 Share Posted April 6, 2022 14 minutes ago, neik said: Black or dark This is very strange. We tell the svg to have the fill color of the current themes custom css property "--theme-text-color". On dark themes this is a white color. Which results in this: Even on beta server. I'm not sure why that is happening. Link to comment Share on other sites More sharing options...
chef 3784 Posted April 6, 2022 Share Posted April 6, 2022 (edited) Version: 1.6.1.9 Fix - configuration issue with saving "Over libraries Items when files contain keywords" input. DOWNLOAD: Emby.AutoOrganize_v1.6.1.9.zip Edited April 6, 2022 by chef Link to comment Share on other sites More sharing options...
GiGo 103 Posted April 6, 2022 Share Posted April 6, 2022 (edited) Seem to be having an issue with 1.6.1.8 and 1.6.1.9 on my Synology runing 4.7.30 Nothing is being populated in Auto Organize 2022-04-06 16:53:39.987 Error LibraryMonitor: Error in Directory watcher for: /volume1/online-backup/emby-primary/Movies *** Error Report *** Version: 4.7.0.30 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /volume1/Emby/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Sat Aug 28 02:15:59 CST 2021 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system System.IO.IOException: System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource. Source: TargetSite: No Stack Trace Available 2022-04-06 16:53:39.988 Info LibraryMonitor: Stopping directory watching for path /volume1/online-backup/emby-primary/Movies 2022-04-06 16:53:40.009 Info LibraryMonitor: Watching directory /volume1/online-backup/emby-primary/Movies 2022-04-06 16:53:41.334 Error LibraryMonitor: Error in Directory watcher for: /volume1/online-backup/emby-primary/TV *** Error Report *** Version: 4.7.0.30 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /volume1/Emby/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Sat Aug 28 02:15:59 CST 2021 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system System.IO.IOException: System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource. Source: TargetSite: No Stack Trace Available 2022-04-06 16:53:41.334 Info LibraryMonitor: Stopping directory watching for path /volume1/online-backup/emby-primary/TV 2022-04-06 16:53:41.655 Info LibraryMonitor: Watching directory /volume1/online-backup/emby-primary/TV 2022-04-06 16:56:41.709 Error Server: Error processing request *** Error Report *** Version: 4.7.0.30 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /volume1/Emby/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Sat Aug 28 02:15:59 CST 2021 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system SQLitePCL.pretty.SQLiteException: Error: no such column: ExtractedResolution - SELECT ResultId, OriginalPath, TargetPath, FileLength, OrganizationDate, Status, OrganizationType, StatusMessage, ExtractedName, ExtractedYear, ExtractedSeasonNumber, ExtractedEpisodeNumber, ExtractedEndingEpisodeNumber, ExtractedResolution, ExtractedEdition, ExternalSubtitlePaths, DuplicatePaths from FileOrganizerResults ORDER BY OrganizationDate desc LIMIT 50 SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, String& tail) at SQLitePCL.pretty.DatabaseConnection.PrepareStatement(IDatabaseConnection This, String sql) at Emby.AutoOrganize.Data.SqliteFileOrganizationRepository.GetResults(FileOrganizationResultQuery query) at Emby.AutoOrganize.Core.InternalFileOrganizationService.GetResults(FileOrganizationResultQuery query) at Emby.AutoOrganize.Api.FileOrganizationService.Get(GetFileOrganizationActivity request) at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: SQLitePCL.pretty TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.String ByRef) 2022-04-06 16:57:09.072 Info HttpClient: GET https://api.github.com/repos/MediaBrowser/Emby.Releases/releases 2022-04-06 16:57:38.593 Info Server: http/1.1 POST http://host1:8096/emby/System/Configuration/autoorganize?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=b1b12d7d-1577-4318-b8e3-9790fe47b9e6&X-Emby-Client-Version=4.7.0.30. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36 2022-04-06 16:57:38.656 Info Server: http/1.1 Response 204 to 87.114.77.180. Time: 63ms. http://host1:8096/emby/System/Configuration/autoorganize?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=b1b12d7d-1577-4318-b8e3-9790fe47b9e6&X-Emby-Client-Version=4.7.0.30 2022-04-06 16:58:07.173 Info Server: http/1.1 POST http://host1:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=b1b12d7d-1577-4318-b8e3-9790fe47b9e6&X-Emby-Client-Version=4.7.0.30. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36 2022-04-06 16:58:07.184 Info Server: http/1.1 Response 204 to 87.114.77.180. Time: 11ms. http://host1:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=b1b12d7d-1577-4318-b8e3-9790fe47b9e6&X-Emby-Client-Version=4.7.0.30 2022-04-06 16:58:07.473 Info Server: http/1.1 POST http://host1:8096/emby/System/Configuration/autoorganize?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=b1b12d7d-1577-4318-b8e3-9790fe47b9e6&X-Emby-Client-Version=4.7.0.30. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36 2022-04-06 16:58:07.475 Info Server: http/1.1 Response 204 to 87.114.77.180. Time: 2ms. http://host1:8096/emby/System/Configuration/autoorganize?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=b1b12d7d-1577-4318-b8e3-9790fe47b9e6&X-Emby-Client-Version=4.7.0.30 2022-04-06 16:58:15.904 Info Server: http/1.1 POST http://host1:8096/emby/System/Configuration/autoorganize?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=b1b12d7d-1577-4318-b8e3-9790fe47b9e6&X-Emby-Client-Version=4.7.0.30. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36 2022-04-06 16:58:15.907 Info Server: http/1.1 Response 204 to 87.114.77.180. Time: 2ms. http://host1:8096/emby/System/Configuration/autoorganize?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=b1b12d7d-1577-4318-b8e3-9790fe47b9e6&X-Emby-Client-Version=4.7.0.30 2022-04-06 16:58:17.992 Error Server: Error processing request *** Error Report *** Version: 4.7.0.30 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /volume1/Emby/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Sat Aug 28 02:15:59 CST 2021 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system SQLitePCL.pretty.SQLiteException: Error: no such column: ExtractedResolution - SELECT ResultId, OriginalPath, TargetPath, FileLength, OrganizationDate, Status, OrganizationType, StatusMessage, ExtractedName, ExtractedYear, ExtractedSeasonNumber, ExtractedEpisodeNumber, ExtractedEndingEpisodeNumber, ExtractedResolution, ExtractedEdition, ExternalSubtitlePaths, DuplicatePaths from FileOrganizerResults ORDER BY OrganizationDate desc LIMIT 50 SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, String& tail) at SQLitePCL.pretty.DatabaseConnection.PrepareStatement(IDatabaseConnection This, String sql) at Emby.AutoOrganize.Data.SqliteFileOrganizationRepository.GetResults(FileOrganizationResultQuery query) at Emby.AutoOrganize.Core.InternalFileOrganizationService.GetResults(FileOrganizationResultQuery query) at Emby.AutoOrganize.Api.FileOrganizationService.Get(GetFileOrganizationActivity request) at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: SQLitePCL.pretty TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.String ByRef) 2022-04-06 16:59:46.993 Error Server: Error processing request *** Error Report *** Version: 4.7.0.30 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /volume1/Emby/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Sat Aug 28 02:15:59 CST 2021 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system SQLitePCL.pretty.SQLiteException: Error: no such column: ExtractedResolution - SELECT ResultId, OriginalPath, TargetPath, FileLength, OrganizationDate, Status, OrganizationType, StatusMessage, ExtractedName, ExtractedYear, ExtractedSeasonNumber, ExtractedEpisodeNumber, ExtractedEndingEpisodeNumber, ExtractedResolution, ExtractedEdition, ExternalSubtitlePaths, DuplicatePaths from FileOrganizerResults ORDER BY OrganizationDate desc LIMIT 50 SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, String& tail) at SQLitePCL.pretty.DatabaseConnection.PrepareStatement(IDatabaseConnection This, String sql) at Emby.AutoOrganize.Data.SqliteFileOrganizationRepository.GetResults(FileOrganizationResultQuery query) at Emby.AutoOrganize.Core.InternalFileOrganizationService.GetResults(FileOrganizationResultQuery query) at Emby.AutoOrganize.Api.FileOrganizationService.Get(GetFileOrganizationActivity request) at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: SQLitePCL.pretty TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.String ByRef) EDIT; Deleted FileOrganization.db and all is good again Edited April 6, 2022 by GiGo 1 Link to comment Share on other sites More sharing options...
daedalus 430 Posted April 6, 2022 Share Posted April 6, 2022 (edited) 1 hour ago, chef said: Version: 1.6.1.9 Fix - configuration issue with saving "Over libraries Items when files contain keywords" input. DOWNLOAD: Emby.AutoOrganize_v1.6.1.9.zip ok now the keywords get saved, but the delimiter gets replaced by a , instead of the entered ; and it's not working, even with one word entered just as a throwin, the ignore list is comma separated (at least as stated by the info text), the cleanup and overwrite lists are semicolon sparated wouldnt it be easier to use one delimiter in all fields? Edited April 6, 2022 by daedalus 1 Link to comment Share on other sites More sharing options...
chef 3784 Posted April 6, 2022 Share Posted April 6, 2022 10 minutes ago, daedalus said: ok now the keywords get saved, but the delimiter gets replaced by a , instead of the entered ; and it's not working, even with one word entered just as a throwin, the ignore list is comma separated (at least as stated by the info text), the cleanup and overwrite lists are semicolon sparated wouldnt it be easier to use one delimiter in all fields? This is very strange. The javascript is 100% telling the values to be joined by a comma, and yet they are not. I will look further into this. Thank you! Link to comment Share on other sites More sharing options...
chef 3784 Posted April 6, 2022 Share Posted April 6, 2022 Oh! found it! Mental note, don't use null coalesce... because it is not a substitute for a standard conditionals in javascript. The object may not be actually null, it might be empty, or undefined. DOH! Link to comment Share on other sites More sharing options...
chef 3784 Posted April 6, 2022 Share Posted April 6, 2022 @vaise Here is what happens when more then one destination location is found for the series. I know it's code, but the comments explain. When there are multiple destinations found, the file will be "Waiting", and have a message about why it is waiting. This will be optional in the settings. //The series only has one folder location - we'll return that location as the destination folder if (series.Count == 1) { return series.Cast<Series>().FirstOrDefault(); } //The series is divided up into several folders, and the user has the option enabled. //Place the result in the "Waiting" state, and attach the message to it as to why. //This will throw an error in the logs because we are existing the task early. But we will have updated the UI and saved the result before. if(config.NoMoveWhenMulitplePaths) if(series.Count > 1) { result.Status = FileSortingStatus.Waiting; const string msg = "Item has more then one possible destination folders."; result.StatusMessage = msg; result.TargetPath = string.Empty; Log.Warn(msg); OrganizationService.RemoveFromInprogressList(result); OrganizationService.SaveResult(result, cancellationToken); EventHelper.FireEventIfNotNull(ItemUpdated, this, new GenericEventArgs<FileOrganizationResult>(result), Log); throw new OrganizationException(msg); } I'm going to run it though it's paces now. Link to comment Share on other sites More sharing options...
chef 3784 Posted April 6, 2022 Share Posted April 6, 2022 This fixes the input problems mentioned by @daedalus But it doesn't contain the finished code to support waiting on multiple destination folders. DOWNLOAD: Emby.AutoOrganize_v1.6.2.0.zip Link to comment Share on other sites More sharing options...
daedalus 430 Posted April 6, 2022 Share Posted April 6, 2022 54 minutes ago, chef said: This fixes the input problems mentioned by @daedalus sry to get back, keywords are saved now correctly, but overwriting still does not work, also with one keyword 2022-04-06 20:07:49.320 Info App: Beginning Episode Organization 2022-04-06 20:07:49.320 Info App: Sorting file D:\SORT IT BITCH !!\video\Meine Wilden Töchter - S03E01 - Duschen mit den Jungs.repack.mkv into series E:\Serien\Meine wilden Töchter 2022-04-06 20:07:49.320 Info App: Sorting file D:\SORT IT BITCH !!\video\Meine Wilden Töchter - S03E01 - Duschen mit den Jungs.repack.mkv to new path E:\Serien\Meine wilden Töchter\Season 03\S03E01 - Duschen mit den Jungs.mkv 2022-04-06 20:07:49.321 Info App: Plugin options: no overwrite episode 2022-04-06 20:07:49.321 Info App: File 'D:\SORT IT BITCH !!\video\Meine Wilden Töchter - S03E01 - Duschen mit den Jungs.repack.mkv' already exists as 'E:\Serien\Meine wilden Töchter\Season 03\S03E01 - Duschen mit den Jungs.mkv', stopping organization 1 Link to comment Share on other sites More sharing options...
GiGo 103 Posted April 6, 2022 Share Posted April 6, 2022 Just thinking..... not wanting to make more work for you but...... I noticed that with Movies it now says 'New resolution available' could this be added to TV Shows too? However..... could it be possible for it to compare both resolution and return 'Higher' or 'Lower' resolutions? Also.... just to add, sometimes I get higher resolutions of shows, for instance I have a collection of old TV shows, some of these are all in AVI's and every now and again new ones become available in with different extentions, I would prefer to be able to replace the old copies with the higher resolutions, but it will transfer the new files with the new extentions over and keep the old versions too, is there a way of Auto Organize to show this also, ie/ if S01E01.ext exsists then return 'new extention version available' Link to comment Share on other sites More sharing options...
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