Having a hard time storing video metadata via code

Discuss your Lua playlist, album art and interface scripts.
codeChaba
New Cone
New Cone
Posts: 1
Joined: 15 Feb 2019 13:13

Having a hard time storing video metadata via code

Postby codeChaba » 15 Feb 2019 13:21

Hey guys,

For a plugin I am writing I need to change mp4 metadata. I tried using vlc.input.item():set_meta(),
so for example

vlc.input.item():set_meta("description", "test is it working?")

The code runs fine (as in it doesn't crash) but somehow it does nothing.
Does anyone have the same issue and maybe knows some fix?
Would appreciate any help!

This is on vlc 3.0.4 windows.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Having a hard time storing video metadata via code

Postby mederi » 15 Feb 2019 17:24

It works. The new description appears in Comments in Current Media Information (Tools > Media Information). It does not write permanent changes in a media file.

look
New Cone
New Cone
Posts: 2
Joined: 11 Mar 2019 17:05

Re: Having a hard time storing video metadata via code

Postby look » 11 Mar 2019 17:15

I have the same problem V3.0.6 windows doesn't save the changes.

W7 64 bit

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: Having a hard time storing video metadata via code

Postby unidan » 04 Jun 2019 11:52

I have the same problem V3.0.6 windows doesn't save the changes.
Hi, it's not meant to save the changes into the file, but to provide information to the users.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 7 guests