Jump to content

Is options.xml supposed to reflect what's in the GUI for each library?


Recommended Posts

Posted (edited)

Emby Version 4.8.8.0 (Docker)

 

For my TV library, I added a new folder (/nasdata/media/tv) and deleted the old folder (/mnt/media/tv).  The change was saved and the GUI reflects this even after multiple restarts and vacuuming the database.

image.png.431f0fd48910ee798fcb5b7a53055ce5.png

However, while reviewing the logs, I see that operations are still being performed on the old path (/mnt/media/tv) instead of the new path:

2024-09-25 13:52:23.306 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /bin/ffprobe -i file:"/mnt/media/tv/Higurashi - When They Cry (2020) [imdbid-tt12367868]/Season 02/Higurashi - When They Cry (2020) - S02E10 - 034 - Curse-Revealing Chapter Part 4 [HDTV-1080p].mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data

 

So, I grepped the entire emby directory for the string '/mnt/' and saw that the '/opt/docker/volumes/emby/config/root/default/TV shows/options.xml' still reflects the old library path and doesn't even mention the new one:

<?xml version="1.0"?>
<LibraryOptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EnableArchiveMediaFiles>false</EnableArchiveMediaFiles>
  <EnablePhotos>true</EnablePhotos>
  <EnableRealtimeMonitor>true</EnableRealtimeMonitor>
  <EnableMarkerDetection>true</EnableMarkerDetection>
  <EnableMarkerDetectionDuringLibraryScan>false</EnableMarkerDetectionDuringLibraryScan>
  <EnableChapterImageExtraction>false</EnableChapterImageExtraction>
  <ExtractChapterImagesDuringLibraryScan>false</ExtractChapterImagesDuringLibraryScan>
  <DownloadImagesInAdvance>false</DownloadImagesInAdvance>
  <PathInfos>
    <MediaPathInfo>
      <Path>/mnt/media/tv</Path>
      <NetworkPath>\\10.0.10.10\nasdata\media\tv</NetworkPath>
    </MediaPathInfo>
  </PathInfos>

 

Additionally, the '/opt/docker/volumes/emby/config/root/default/TV shows/TV.mblink' file only consists of the old path:

image.thumb.png.3dd5aa47cc87f7004158b519a36be01c.png

 

Is this supposed to happen? 

Edited by cnstarz
Happy2Play
Posted

As of 4.8 library options.xml are no longer used/created/read and is only available via the api/database.  But Dev will have to comment further if there are platform variables.

Posted

Hmmm, I wonder why it's still using /mnt/media/tv then, even after several reboots.

Posted

After you removed the library it kicks off a scan. Did you allow that to finish?

Posted
3 minutes ago, Luke said:

After you removed the library it kicks off a scan. Did you allow that to finish?

Well, I didn't remove the library, I just removed a folder that was associated with the library.

image.thumb.png.0f43e26bc1a9093735d6bc512502f96b.png

Posted

Has everything been removed now?

  • 4 weeks later...

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...