Jellyfin Forum
use "DateAdded" from nfo file instead from file creation time - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: use "DateAdded" from nfo file instead from file creation time (/t-use-dateadded-from-nfo-file-instead-from-file-creation-time)



use "DateAdded" from nfo file instead from file creation time - vbs - 2023-11-14

Hi everyone,

when adding media (e.g. music albums) then I don't want to use the file creation date for "Date Added" but I want to use a manually entered date from e.g. "album.nfo" file.

So, to the music album folder, I added a file "album.nfo" with this content:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<album>
  <dateadded>2000-05-06</dateadded>
  <releasedate>1999-09-09</releasedate>
</album>

The release date is used from file, but date added is not used. I did a library scan using "replace metadata".

Any idea how to make this work please?


RE: use "DateAdded" from nfo file instead from file creation time - TheDreadPirate - 2023-11-14

I'm not sure dateadded is used. I don't see any documentation that it is a valid field.

https://kodi.wiki/view/NFO_files/Templates#album.nfo_Template


RE: use "DateAdded" from nfo file instead from file creation time - tmsrxzar - 2023-11-14

dateadded is used https://jellyfin.org/docs/general/server/metadata/nfo/

but you have to make a full nfo file, you can't just override certain parts

that nfo isn't enough to identify the album so it is ignored entirely


RE: use "DateAdded" from nfo file instead from file creation time - vbs - 2023-11-15

(2023-11-14, 09:39 PM)tmsrxzar Wrote: but you have to make a full nfo file, you can't just override certain parts

that nfo isn't enough to identify the album so it is ignored entirely
Hm, but it is not ignored entirely: as said, "releasedate" is being considered, but "dateadded" not. Could be a bug then?


RE: use "DateAdded" from nfo file instead from file creation time - tmsrxzar - 2023-11-15

(2023-11-15, 06:52 AM)vbs Wrote:
(2023-11-14, 09:39 PM)tmsrxzar Wrote: but you have to make a full nfo file, you can't just override certain parts

that nfo isn't enough to identify the album so it is ignored entirely
Hm, but it is not ignored entirely: as said, "releasedate" is being considered, but "dateadded" not. Could be a bug then?

did you try a different releasedate or is it just coincidence that it scraped the same release date and you think it used your nfo?

there is no overlaying afaik - either it gets all info from the site or all of it from the nfo


RE: use "DateAdded" from nfo file instead from file creation time - vbs - 2023-11-15

Yes, I tested it multiple times back and forth with different releasedate values in the nfo. Metadata is used from the MP3, but releasedate is used from the nfo. dateadded is ignored from the nfo. Kinda strange.