PeerTube icon indicating copy to clipboard operation
PeerTube copied to clipboard

Metadata templating for importing files

Open tilllt opened this issue 1 year ago • 4 comments

Describe the problem to be solved

We would love to be able to map certain metadata from the source platforms to peertubes metadata. i.E. Instagram clips have no "Title", so peertube imports IG Clips with "Video by Username"... It would be preferrable if i.e. the hashtags or the beginning of the description could be set as the title of the clip. Maybe it would be possible to have a config file to assign the extracted metadata fields into peertubes metadata:

peertube_title: %desc(32) - "Video by" + %username

It would also be phantastic if the Metadata could be programmatically extended, i.e. by content extraction / sentiment analysis using AI systems.

Describe the solution you would like

A flexible way how metadata in peertube could be mapped, changed and extended, preferably also in a programatic way.

tilllt avatar Sep 24 '24 15:09 tilllt

Are you talinkg about video import or channel synchronization?

Chocobozzz avatar Sep 25 '24 06:09 Chocobozzz

I havent looked at channel synchronization that much for our use-case, the only channel i have synced is a tiktok channel which supplies pertty much all metadata we "need" for peertube. If channel sync works with Instagram accounts as well, i guess the metadata mapping would be useful there, for things like the missing "title" field.

tilllt avatar Sep 25 '24 07:09 tilllt

As an addition to this feature request: for our use case it would be extremely important, if the original URL of the imported video would show up in the regular metadata, as a means to check the original source.

We provide an archive of "problematic" content and right now its quite complicated to find the import source, going through the "imported videos" log files... at the moment we have to manually add the original URL to the video description, it would be great to show this automatically. as far as i understood the import URL is already in the database, it would just need to be shown,.

Image

tilllt avatar Mar 12 '25 09:03 tilllt

@tilllt Related to https://github.com/Chocobozzz/PeerTube/issues/6187, https://github.com/Chocobozzz/PeerTube/issues/6022 and https://github.com/Chocobozzz/PeerTube/issues/6013

Chocobozzz avatar Mar 12 '25 12:03 Chocobozzz