Jump to content

Where to set metadata path


Recommended Posts

revengineer
Posted

Where can I set the metadata path that is shown on the dashboard?

 

Is there anything I need to do after changing this path?

 

Posted

Library > Advanced > Metadata Path

 

Afterwards, I suggest a restart and a full scan as I don't believe any previous metadata is 'moved' after the change.

 

I hope that helps.  :)

revengineer
Posted

Library > Advanced > Metadata Path

 

Afterwards, I suggest a restart and a full scan as I don't believe any previous metadata is 'moved' after the change.

 

I hope that helps.  :)

 

Thank you. Ah, there it is, I was looking all over for this setting. 

 

I was wondering if I can move the metadata folder from the old to the new location to avoid having to redownload everything.

  • 1 year later...
Posted

I' must wondering same thing - can I re-assign path to metadata, stop Emby, and just cp -R old/path new/path ?

Happy2Play
Posted
18 minutes ago, barat said:

I' must wondering same thing - can I re-assign path to metadata, stop Emby, and just cp -R old/path new/path ?

Copying your metadata to new to new path will not update the database so I am pretty sure it will get purged and re-added on next library scan.  I believe you would have to copy metadata to new location and manually update the path in the database from the default token to your custom path.

Similar to this

 

Posted (edited)
1 hour ago, Happy2Play said:

Copying your metadata to new to new path will not update the database so I am pretty sure it will get purged and re-added on next library scan.  I believe you would have to copy metadata to new location and manually update the path in the database from the default token to your custom path.

Am I correct, that if bellow query returns none, then I don't need to replace anything? 

SELECT * FROM MediaItems WHERE Path LIKE "%volumeUSB2%" OR Images LIKE "%volumeUSB2%";

volumeUSB2 is my current location (USB3.0 SSD) - I've put lot of Emby stuff there (also symlinked data folder), but I would like to reset everything to default locations before I upgrade to new emby 4.5.*

I see plenty of records there has %MetadataPath%, or other %%, or things like https links.

Also query like bellow returns less than 100 records, and non looks suspecious.

Select Id, type, Path, Images FROM MediaItems WHERE (Path IS NOT NULL OR Images IS NOT NULL) AND Images NOT LIKE "https://%" AND Path NOT LIKE "/volume1/%" AND (Path NOT LIKE "\%MetadataPath\%%" ESCAPE '\' OR Images NOT LIKE "\%MetadataPath\%%" ESCAPE '\');


Are there any other tables in library.db (or other sqlite files I should search in?)

 

Edited by barat
Happy2Play
Posted
4 hours ago, barat said:

Am I correct, that if bellow query returns none, then I don't need to replace anything? 


SELECT * FROM MediaItems WHERE Path LIKE "%volumeUSB2%" OR Images LIKE "%volumeUSB2%";

volumeUSB2 is my current location (USB3.0 SSD) - I've put lot of Emby stuff there (also symlinked data folder), but I would like to reset everything to default locations before I upgrade to new emby 4.5.*

I see plenty of records there has %MetadataPath%, or other %%, or things like https links.

Also query like bellow returns less than 100 records, and non looks suspecious.


Select Id, type, Path, Images FROM MediaItems WHERE (Path IS NOT NULL OR Images IS NOT NULL) AND Images NOT LIKE "https://%" AND Path NOT LIKE "/volume1/%" AND (Path NOT LIKE "\%MetadataPath\%%" ESCAPE '\' OR Images NOT LIKE "\%MetadataPath\%%" ESCAPE '\');


Are there any other tables in library.db (or other sqlite files I should search in?)

 

Yes if Path and Images don't point to %volumeUSB2%.

You should maintain a copy of the entire Emby Server Programdata folder if you want to make changes, as that will allow you to restore if anything goes wrong.

  • Thanks 1

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