Date Added Change To Date Created In Jellyfin

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Stewart
Posts: 28
Joined: 08 May 2024, 06:44

Re: Date Added Change To Date Created In Jellyfin

Post by Stewart »

Hi rednoah

There is a line which matches as below
Run Script

Code: Select all

POST http://192.168.0.5:8096/Library/Refresh {}
GET http://192.168.0.5:8096/Items?Recursive=true&Fields=Path,Genres,SortName,Studios,Writer,Taglines,LocalTrailerCount,OfficialRating,CumulativeRunTimeTicks,ItemCounts,Metascore,AirTime,DateCreated,People,Overview,CriticRating,CriticRatingSummary,Etag,ShortOverview,ProductionLocations,Tags,ProviderIds,ParentId,RemoteTrailers,SpecialEpisodeNumbers,MediaSources,VoteCount,RecursiveItemCount,PrimaryImageAspectRatio
INDEX: 5311
4151* [The Lost Century - And How to Reclaim It (2023) [tmdbid-1136906]/The Lost Century - And How to Reclaim It (2023) - 1080p.mp4] ≠ [The Lost Century - And How To Reclaim It (2023) [tmdbid-1136906]/The Lost Century - And How to Reclaim It (2023) - 1080p.mp4]
Regards

Stewart
User avatar
rednoah
The Source
Posts: 24201
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Date Added Change To Date Created In Jellyfin

Post by rednoah »

The Lost Century - And How to Reclaim It (2023) [tmdbid-1136906]/The Lost Century - And How to Reclaim It (2023) - 1080p.mp4
The Lost Century - And How To Reclaim It (2023) [tmdbid-1136906]/The Lost Century - And How to Reclaim It (2023) - 1080p.mp4
I see. The folder name in the history in FileBot does not match the folder name in Jellyfin because to to ≠ To.


:?: Did you manually change the t to T on the server after organising the files with FileBot? Any idea how the folder name changed at some point?

:?: Could this be an isolated corner case? Have you tried with other newly organised files for good measure? We would typically expect the file paths in the FileBot history to match exactly the file path on the server-side.
:idea: Please read the FAQ and How to Request Help.
Stewart
Posts: 28
Joined: 08 May 2024, 06:44

Re: Date Added Change To Date Created In Jellyfin

Post by Stewart »

Hi rednoah,

I have looked at all movie folder names and all have been capitalised by filebot in the past, could this be the problem?

Regards

Stewart
User avatar
rednoah
The Source
Posts: 24201
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Date Added Change To Date Created In Jellyfin

Post by rednoah »

The lower-case to And How to Reclaim It was generated by FileBot according to the FileBot history. I don't know where the upper-case To And How To Reclaim It come from.

In any case, the post-processing script likely already works you just need to use FileBot to organising files into the Jellyfin structure and then let the post-processing script do it's thing.

You can create a new file name Avatar.mkv and then organise that into your Jellyfin structure, and then see if that works.
:idea: Please read the FAQ and How to Request Help.
Stewart
Posts: 28
Joined: 08 May 2024, 06:44

Re: Date Added Change To Date Created In Jellyfin

Post by Stewart »

Hi rednoah,

I think you have spent to much time on this so lets call it a day.
If you look at some of my old post you will find you created a script to capitalise all folders and files that's where I think it's come from.
I have used filebot to organise my files into jellyfin format?
I will make sure all of my files have correct date creation date then move them out in batches then move them back in then that should sort it

Thanks Again

Stewart
User avatar
rednoah
The Source
Posts: 24201
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Date Added Change To Date Created In Jellyfin

Post by rednoah »

Alright, so in conclusion [Script] Set Jellyfin DateCreated property can be added to the post-process to set the creation date of the Jellyfin library item to the movie release date as files are added to the Jellyfin library. This assumes that FileBot is used to move / rename / organize files into the Jellyfin library.
:idea: Please read the FAQ and How to Request Help.
Post Reply