(144/200)

One downside of using as a photo and video manager is that it isn’t that straight forward to extract tags from videos as it is with photos. With photos one can grab the data directly with an tool.

After going through the source code and battling with and , I got a script that extracts tags from both media formats.

The nice thing is that it is more performant than the previous script I was using only for images.

Follow

(145/200)

The TagTable has a photo_ids_list which contain each photo or video with the specific tag. Further each id is either prepended by thumb for photo and video- for video. The id itself is saved as a hexadecimal number.

Once one has the id’s as a decimal number, one can use it to search through either the PhotoTable or VideoTable.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.