Jump to content

How to fix Library without deleting and adding?


Go to solution Solved by MaxMax,

Recommended Posts

Posted

I have library that contains 3 folders.

The problem is that I got the first folder without path like the picture and I can't remove from the library. The main problem is that the folder is empty actually it does not exist on the server and the movies keep showing on the emby server, of course cant be played... I won't delete the Library... any way to fix this?

I tryied to edit the .xml file on /emby/root/../movies/options.xml but have not succes...

thanks in advance

 

 

library emby.PNG

GrimReaper
Posted

That's odd. What paths does your options.xml list? 

Posted

<PathInfos>
    <MediaPathInfo>
       <Path>/dbe3/Peliculas2/Ingles-G</Path>
    </MediaPathInfo>
    <MediaPathInfo>
       <Path>/dbe3/Peliculas2/Ingles</Path>
    </MediaPathInfo>
 

GrimReaper
Posted

Just to confirm, are you positive you're looking at the correct library options.xml?

As per your screenshot you have \Ingles-F and \Ingles-G folders as library paths:

19 minutes ago, MaxMax said:

library emby.PNG

Whereas your options.xml file lists different set of folders: \Ingles-G and \Ingles? 

Posted

Of course, the library name is "Peliculas Subtituladas" and the Folder name is "Peliculas Subtituladas" thats the only folder I have on the /emby/root/default/ 

GrimReaper
Posted

I have to admit I've never encountered such issue. Could you post server log upon trying to remove that rogue/blank folder, in order to check for any db-related errors? 

Posted

I did not found the part when Edit Library logs... which file got it? emby or emby-server log??

  • Solution
Posted (edited)

I just resolve this issue sending request tru the api..

But the team must check this bug.

 

Ussing python and post to this url:
http://server:port/emby/Library/VirtualFolders/LibraryOptions?X-Emby-Token=[EMBY-API-KEY]&reqformat=json

Data: 

{"Id":"4975","LibraryOptions":{"EnableArchiveMediaFiles":false,"EnablePhotos":true,"EnableRealtimeMonitor":false,"EnableMarkerDetection":false,"EnableMarkerDetectionDuringLibraryScan":false,"IntroDetectionFingerprintLength":10,"EnableChapterImageExtraction":false,"ExtractChapterImagesDuringLibraryScan":false,"DownloadImagesInAdvance":false,"CacheImages":false,"PathInfos":[{"Path":"/dbe3/Peliculas2/Ingles-F"},{"Path":"/dbe3/Peliculas2/Ingles-G"}],"IgnoreHiddenFiles":false,"IgnoreFileExtensions":[],"SaveLocalMetadata":false,"SaveMetadataHidden":false,"SaveLocalThumbnailSets":false,"ImportPlaylists":true,"EnableAutomaticSeriesGrouping":true,"ShareEmbeddedMusicAlbumImages":true,"EnableEmbeddedTitles":false,"EnableAudioResume":false,"AutoGenerateChapters":true,"AutomaticRefreshIntervalDays":0,"PlaceholderMetadataRefreshIntervalDays":0,"PreferredMetadataLanguage":"","PreferredImageLanguage":"","ContentType":"movies","MetadataCountryCode":"","MetadataSavers":["Nfo"],"DisabledLocalMetadataReaders":[],"LocalMetadataReaderOrder":["Nfo"],"DisabledLyricsFetchers":[],"SaveLyricsWithMedia":true,"LyricsDownloadMaxAgeDays":"0","LyricsFetcherOrder":[],"LyricsDownloadLanguages":[],"DisabledSubtitleFetchers":["Open Subtitles"],"SubtitleFetcherOrder":["Open Subtitles"],"SkipSubtitlesIfEmbeddedSubtitlesPresent":false,"SkipSubtitlesIfAudioTrackMatches":false,"SubtitleDownloadLanguages":[],"SubtitleDownloadMaxAgeDays":"0","RequirePerfectSubtitleMatch":false,"SaveSubtitlesWithMedia":true,"ForcedSubtitlesOnly":false,"HearingImpairedSubtitlesOnly":false,"TypeOptions":[{"Type":"Movie","ImageFetchers":[],"ImageFetcherOrder":["Image Capture"],"ImageOptions":[]}],"CollapseSingleItemFolders":true,"EnableAdultMetadata":false,"ImportCollections":false,"MinCollectionItems":2,"MinResumePct":"3","MaxResumePct":"90","MinResumeDurationSeconds":"120","ThumbnailImagesIntervalSeconds":"10","SampleIgnoreSize":314572800,"EnableInternetProviders":true,"ImportMissingEpisodes":false,"MusicFolderStructure":null}}

 

Just edit the Json array and delete the "Path": "" that was incorrect...

 

Edited by MaxMax
Happy2Play
Posted (edited)

Because the options.xml for libraries is obsolete now, ie the entire /root/default folder is no longer read it is database only and on a new install it will not exist.

Edited by Happy2Play
  • Thanks 1
Posted

Just to inform that the "solution" does not work, I still having the same problem, I have a lot of items what even exist on the server, the Library Settings now shows only 2 paths but the Library still loaded with items that no longer exist...

 

Posted
On 10/12/2024 at 8:42 PM, MaxMax said:

Just to inform that the "solution" does not work, I still having the same problem, I have a lot of items what even exist on the server, the Library Settings now shows only 2 paths but the Library still loaded with items that no longer exist...

 

What exactly did you do?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...