Pommes 8 Posted October 10, 2022 Share Posted October 10, 2022 I am currently redoing/refreshing my emby install and i am trying to fix a problem i have had for years (NOT embys fault). I got many youtube videos automatically downloaded and sorted by ytdlp, the thing is it set the date in the metadata wrong like 20210516 instead of 2021-05-16 so emby picks the videos up from the year 20210516 instead of 16 Mai 2021. In the file name the date is written correct in 2021-05-16. Whats the best way to fix this? Is there a way that emby just ignores the metadata date and takes it from the filename? This effect nearly 400k videofiles so manual fixing is out of question, do you know any good scripts that could fix this Thx Link to comment Share on other sites More sharing options...
Luke 37289 Posted October 10, 2022 Share Posted October 10, 2022 Hi, what do you mean by the year 20210516 ? Link to comment Share on other sites More sharing options...
Pommes 8 Posted October 10, 2022 Author Share Posted October 10, 2022 1 hour ago, Luke said: Hi, what do you mean by the year 20210516 ? under year in emby it is shown as from this year (20 mil in the future) Link to comment Share on other sites More sharing options...
Happy2Play 8377 Posted October 10, 2022 Share Posted October 10, 2022 Can you show a specific example of what shows in the UI and the embedded file data. Link to comment Share on other sites More sharing options...
Pommes 8 Posted October 10, 2022 Author Share Posted October 10, 2022 9 minutes ago, Happy2Play said: Can you show a specific example of what shows in the UI and the embedded file data. thx for the reply Link to comment Share on other sites More sharing options...
Happy2Play 8377 Posted October 10, 2022 Share Posted October 10, 2022 That is file name is there an embedded year if file metadata? Link to comment Share on other sites More sharing options...
Pommes 8 Posted October 10, 2022 Author Share Posted October 10, 2022 (edited) 37 minutes ago, Happy2Play said: That is file name is there an embedded year if file metadata? yes and the embeded one is wrong, is there a way to let emby ignore it? or sorry if this is the wrong place but does any of you know a good way/script to remove the embeded date? Edited October 10, 2022 by Pommes Link to comment Share on other sites More sharing options...
Luke 37289 Posted October 11, 2022 Share Posted October 11, 2022 4 hours ago, Pommes said: thx for the reply So in the metadata editor what value does it show for the year? Link to comment Share on other sites More sharing options...
Happy2Play 8377 Posted October 11, 2022 Share Posted October 11, 2022 So the embedded tag has bad information. There are no options to ignore embedded tags that I know of. We would need to see the embedded tags. But would assume the dev would have to parse the tag to 4 digits from a specific format. Link to comment Share on other sites More sharing options...
Luke 37289 Posted October 11, 2022 Share Posted October 11, 2022 We do have a sanity check on the year value, but it is missing from one place, so maybe that is the problem .That's easily fixed. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now