maphia 0 Posted June 22, 2018 Share Posted June 22, 2018 Hello I am unable to scan my music library, in the log file I see that there is a problem with path or filenames Per try and error (moving files in a test directory) I could identify single files with special characters in the name, but I am still missing a few, because there are so many files in my directory that I can't move them one by one and find all culprits. Is there a possibility to log the files that cant be processed but still continue scanning? at the moment there is not a single file in the library after the scan crashes here is the logged error of a library scan. Recursive=true&ImageRefreshMode=FullRefresh&MetadataRefreshMode=FullRefresh&ReplaceAllImages=false&ReplaceAllMetadata=true 2018-06-22 22:49:23.770 Error App: Error validating images for /var/lib/emby/root/default/Music *** Error Report *** Version: 3.3.0.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.15.0.20 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.ArgumentException: Illegal characters in path. Parameter name: path at System.IO.PathInternal.CheckInvalidPathChars(String path) at System.IO.Path.Combine(String path1, String path2) at System.IO.UnixFileSystem.FileSystemEnumerable`1.<Enumerate>d__11.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext() at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items) at System.Collections.Generic.SparseArrayBuilder`1.AddRange(IEnumerable`1 items) at System.Collections.Generic.SparseArrayBuilder`1.ReserveOrAdd(IEnumerable`1 items) at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToArray() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.OrderedEnumerable`1.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, IEnumerable`1 paths, Boolean arePathsInMediaFolders, IDirectoryService directoryService) at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, IEnumerable`1 providers, IDirectoryService directoryService) at MediaBrowser.Providers.Manager.MetadataService`2.<RefreshMetadata>d__8.MoveNext() System.ArgumentException at System.IO.PathInternal.CheckInvalidPathChars(String path) at System.IO.Path.Combine(String path1, String path2) at System.IO.UnixFileSystem.FileSystemEnumerable`1.<Enumerate>d__11.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext() at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items) at System.Collections.Generic.SparseArrayBuilder`1.AddRange(IEnumerable`1 items) at System.Collections.Generic.SparseArrayBuilder`1.ReserveOrAdd(IEnumerable`1 items) at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToArray() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.OrderedEnumerable`1.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, IEnumerable`1 paths, Boolean arePathsInMediaFolders, IDirectoryService directoryService) at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, IEnumerable`1 providers, IDirectoryService directoryService) at MediaBrowser.Providers.Manager.MetadataService`2.<RefreshMetadata>d__8.MoveNext() thank you in advance Martin Link to comment Share on other sites More sharing options...
Luke 37066 Posted June 22, 2018 Share Posted June 22, 2018 Hi there, can you please attach the complete emby server log? thanks. Link to comment Share on other sites More sharing options...
maphia 0 Posted June 23, 2018 Author Share Posted June 23, 2018 log attached, thank you for your support Log.txt Link to comment Share on other sites More sharing options...
Luke 37066 Posted June 23, 2018 Share Posted June 23, 2018 What are the contents of this directory? /home/maphia/Music/r_and_b Link to comment Share on other sites More sharing options...
maphia 0 Posted June 23, 2018 Author Share Posted June 23, 2018 Content Type is set to music, it consists of subfolders containing Mp3 and FLAC files Link to comment Share on other sites More sharing options...
Luke 37066 Posted June 24, 2018 Share Posted June 24, 2018 Can we please see the contents of the directory? thanks. Link to comment Share on other sites More sharing options...
Solution maphia 0 Posted June 24, 2018 Author Solution Share Posted June 24, 2018 (edited) good morning, I figured out what the culprit was. There were files encoded with windows filenames that couldn't be displayed properly with Ubuntu UTF8 all I had to do was convmv -r --notest -f windows-1255 -t UTF-8 * that changes all filenames in the folder + subfolder to UTF-8 and emby can work with that. anyways,if you have time, maybe take a look at the scanning routine to not make it quit as soon as it encounters this problem? have a great day! Edited June 24, 2018 by maphia Link to comment Share on other sites More sharing options...
Luke 37066 Posted June 24, 2018 Share Posted June 24, 2018 Thanks for the feedback. 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