Any way to load custom properties from other sources? ffmpeg ffprobe?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Any way to load custom properties from other sources? ffmpeg ffprobe?

Post by raccoon »

I would like to create a column for the video property tag "creation_time" that can be attached to video containers as well as individual video/audio streams within that media container. (for my purposes, i'm only interested in one-or-the-other, whichever exists.)

I can do the work to generate my own .csv or .json database file or individual localized files, but I need some avenue for Everything to import that data into a property column.

Does anything like that exist yet for custom properties?

https://stackoverflow.com/questions/315 ... ation-date

https://gist.github.com/nrk/2286511

https://ffmpeg.org/ffprobe.html
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Any way to load custom properties from other sources? ffmpeg ffprobe?

Post by void »

It's possible.

A UI to do this is in development.

For now, please see:
Custom Properties Values
Custom Properties
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Any way to load custom properties from other sources? ffmpeg ffprobe?

Post by raccoon »

property_user_values=C:\Propertys\Tags.csv
Is this allowed to be a relative path to any given indexed file? Eg:
property_user_values=.\Tags.csv;.\imdb.csv

I'm in a situation where all my files are uniquely named, but they move around into different/renamed folders all the time, can I create a flat list of filenames without a path? Since the file paths always change?

Code: Select all

Filename,tag1,tag2,tag3
VeryUniqueFilename.Ext,value1,value2,value3
AnotherUniqueFilename.Ext,value1,value2,value
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Any way to load custom properties from other sources? ffmpeg ffprobe?

Post by void »

Is this allowed to be a relative path to any given indexed file? Eg:
property_user_values=.\Tags.csv;.\imdb.csv
property_user_values will load files relative to the current working directory.
I recommend using absolute paths for property_user_values.



Currently, filenames in the csv files must be absolute.
The next alpha update will allow filenames relative to the csv-file path.
mvdeckard
Posts: 30
Joined: Tue Oct 25, 2022 11:46 pm

Re: Any way to load custom properties from other sources? ffmpeg ffprobe?

Post by mvdeckard »

@void is .json supported for custom properties parsing, or is it csv only?

I have .json files I'd like Everything to parse "duration_string" -> "Length" or "Duration" custom column.

"duration_string": "57:37",
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Any way to load custom properties from other sources? ffmpeg ffprobe?

Post by void »

Currently, CSV only.

I am exploring support for json sidecar files.
Post Reply