Jump to content

Metadata and images location


0v3rl0rd
Go to solution Solved by GrimReaper,

Recommended Posts

0v3rl0rd

Hi. 

I've set up a Raspberry Pi 4 with an external 4TB HDD. It's running Raspberry OS Lite (Debian GNU/Linux 11, bullseye), with installed Docker and Emby server in it - it's all working well for direct streaming to my LG C1. 

About SUBTITLES - I always do this manually - find them and put them in the same folder where the movie file is. 
About IMAGES and other info - I don't have any images, covers, etc. I only have movie+subtitle files, nothing else. 

All the extra data which Emby creates automatically when creating a library (nfo metadata files, covers, actor images, etc.) I'd like to have it in separate folder of my choice. 
I "played" a little when creating a test library. But I cannot seem to find the solution. 


1) NFO files
When creating a library, if I enable "metadata savers", it saves the NFO's in same folder that the media is located. 
When leaving the "metadata savers" disabled, I have no idea where it stores the NFO's files. 

2) IMAGES
When creating a library, if I enable "save artwork into media folders", it save the images in same folder that the media is located. 
When leaving the "save artwork into media folders" disabled, I have no idea where it stores the image files. 


I'd like to have my files that I manually downloaded (media+subtitles) intact, AS IS, without any extra info in the same folder - all the NFOs, covers, etc. in one folder (to rule them all :D ). Inside that "one" folder I don't mind having subfolders 

My media structure is simple like this: 

MOVIES

\movies\air_america_1990\avatar_2009.mkv
\movies\air_america_1990\avatar_2009.srt
\movies\atlantis_the_lost_continent_1961\atlantis_the_lost_continent_1961.mkv
\movies\atlantis_the_lost_continent_1961\atlantis_the_lost_continent_1961.srt
\movies\the_kings_man_2021\the_kings_man_2021.mp4
\movies\the_kings_man_2021\the_kings_man_2021.srt
\movies\mortdecai_2015\mortdecai_2015.mkv
\movies\mortdecai_2015\mortdecai_2015.srt
\movies\elysium_2013\elysium_2013.mkv
\movies\elysium_2013\elysium_2013.srt


SERIES

\series\loki_2021\loki_s01e01_glorious_purpose.mp4
\series\loki_2021\loki_s01e01_glorious_purpose.srt
\series\loki_2021\loki_s01e02_the_variant.mp4
\series\loki_2021\loki_s01e02_the_variant.srt
\series\loki_2021\loki_s01e03_lamentis.mp4
\series\loki_2021\loki_s01e03_lamentis.srt
... etc ... 

\series\the_it_crowd\the_it_crowd_s01e01.mkv
\series\the_it_crowd\the_it_crowd_s01e01.srt
\series\the_it_crowd\the_it_crowd_s01e02.mkv
\series\the_it_crowd\the_it_crowd_s01e02.srt
\series\the_it_crowd\the_it_crowd_s02e01.mkv
\series\the_it_crowd\the_it_crowd_s02e01.srt
\series\the_it_crowd\the_it_crowd_s02e02.mkv
\series\the_it_crowd\the_it_crowd_s02e02.srt
\series\the_it_crowd\the_it_crowd_s03e01.mkv
\series\the_it_crowd\the_it_crowd_s03e01.srt
\series\the_it_crowd\the_it_crowd_s04e01.mkv
\series\the_it_crowd\the_it_crowd_s04e01.srt
... etc ... 


Any help appreciated :)

Link to comment
Share on other sites

  • Solution
GrimReaper
1 minute ago, 0v3rl0rd said:

1) NFO files
When creating a library, if I enable "metadata savers", it saves the NFO's in same folder that the media is located. 
When leaving the "metadata savers" disabled, I have no idea where it stores the NFO's files.

Nowhere. It's either NFOs with media or no NFOs/db only. 

1 minute ago, 0v3rl0rd said:

2) IMAGES
When creating a library, if I enable "save artwork into media folders", it save the images in same folder that the media is located. 
When leaving the "save artwork into media folders" disabled, I have no idea where it stores the image files. 

To \metadata folder, your Dashboard should tell you where that path is (or if you customized it under Settings>Library>Advanced tab).

  • Thanks 1
Link to comment
Share on other sites

0v3rl0rd
3 hours ago, GrimReaper said:

Nowhere. It's either NFOs with media or no NFOs/db only. 

To \metadata folder, your Dashboard should tell you where that path is (or if you customized it under Settings>Library>Advanced tab).

It's a pity that's not possible that for NFOs. 

Two question though: 

1. By "db only" I suppose that You mean that the "NFO" data is than stored in the database somewhere, right? Where is that database located than? I just want to know the location of it :)

2. Thank You for the "Settings>Library>Advanced tab" suggestion. That work like a charm for the images. But, is there any logic behind the weird naming scheme for folders&files that Emby automatically creates? 
What I mean is, it looks like it's giving random numbers/letters/names to folders and image files: 

Z:\METADATA\metadata\library\0b\0b12f4436fc8382d9bfc2bab62da0fa8\clearlogo.png
Z:\METADATA\metadata\library\0b\0b12f4436fc8382d9bfc2bab62da0fa8\fanart.jpg
Z:\METADATA\metadata\library\0b\0b12f4436fc8382d9bfc2bab62da0fa8\landscape.jpg
Z:\METADATA\metadata\library\0b\0b12f4436fc8382d9bfc2bab62da0fa8\poster.jpg
Z:\METADATA\metadata\library\0b\0b18149353c9dfbcecd0c23e071dd60a\clearlogo.png
Z:\METADATA\metadata\library\0b\0b18149353c9dfbcecd0c23e071dd60a\fanart.jpg
Z:\METADATA\metadata\library\0b\0b18149353c9dfbcecd0c23e071dd60a\landscape.jpg
Z:\METADATA\metadata\library\0b\0b18149353c9dfbcecd0c23e071dd60a\poster.jpg
Z:\METADATA\metadata\library\0b\0b1c13c4b6b138d7ef7526132d85510a\fanart.jpg
Z:\METADATA\metadata\library\0b\0b1c13c4b6b138d7ef7526132d85510a\poster.jpg
Z:\METADATA\metadata\library\0b\0b4d7c7af8564621905ffeddf251b1f6\poster.jpg
Z:\METADATA\metadata\library\0b\0b54467a89768112d7e05717918e878d\poster.jpg
Z:\METADATA\metadata\library\0b\0b81fb88757a5f2c67629200fb5093e3\poster.jpg
Z:\METADATA\metadata\library\0b\0b9f818ce66438912d8845e947048a75\poster.jpg
Z:\METADATA\metadata\library\0b\0bb8c583cf829b754a771590de7595bf\poster.jpg
Z:\METADATA\metadata\library\0b\0bc1de4a00c0dbfdcf6850644bad8994\poster.jpg
Z:\METADATA\metadata\library\0b\0bcca5a2502d89da8b0f3fdb3dfa26e5\clearlogo.png
Z:\METADATA\metadata\library\0b\0bcca5a2502d89da8b0f3fdb3dfa26e5\fanart.jpg
Z:\METADATA\metadata\library\0b\0bcca5a2502d89da8b0f3fdb3dfa26e5\landscape.jpg
Z:\METADATA\metadata\library\0b\0bcca5a2502d89da8b0f3fdb3dfa26e5\poster.jpg

 

Link to comment
Share on other sites

GrimReaper
44 minutes ago, 0v3rl0rd said:

1. By "db only" I suppose that You mean that the "NFO" data is than stored in the database somewhere, right? Where is that database located than? I just want to know the location of it :)

In \data folder, should be something like /var/lib/emby-server/data or /var/lib/emby/data.

47 minutes ago, 0v3rl0rd said:

2. Thank You for the "Settings>Library>Advanced tab" suggestion. That work like a charm for the images. But, is there any logic behind the weird naming scheme for folders&files that Emby automatically creates? 

Nope, there is no semantic linking.

  • Thanks 1
Link to comment
Share on other sites

0v3rl0rd
1 minute ago, GrimReaper said:

In \data folder, should be something like /var/lib/emby-server/data or /var/lib/emby/data.

Nope, there is no semantic linking.

Yep, I tought so, that there's no semantic linking. 

Anyway, thank You for Your help, really appreciate it :)

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
GrimReaper
42 minutes ago, mixXxim said:

how can I achieve that the nfo files are rewritten into the xxx.mkv directory. Thanks

Enable NFO Metadata Saver in library settings, Refresh Metadata. 

Link to comment
Share on other sites

Hi,
Thanks for your answer. I have done it now. Does this also apply to existing content in the library? Or only for newly added content. Can a new scan of the library write existing content to an nfo?
Thanks

Link to comment
Share on other sites

GrimReaper
1 minute ago, mixXxim said:

Does this also apply to existing content in the library? Or only for newly added content. Can a new scan of the library write existing content to an nfo?

 

19 hours ago, GrimReaper said:

Enable NFO Metadata Saver in library settings, Refresh Metadata

For existing content, Refresh Metadata is needed, simple scan won't do; if you don't perform metadata refresh, it'll apply on new content only, going onwards. 

Link to comment
Share on other sites

Hi,
Thank you very much, that sheds some light in the dark.
Another question...does the metadata scan then have to be carried out with "update ALL metadata" or "only missing metadata".
Thanks

Link to comment
Share on other sites

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