Page 1 of 1
Proper use of set_meta?
Posted: 29 Nov 2012 05:24
by basaquer
I'm trying to use lua to set meta data on an mp3 file. I had read in the README that there is a set_meta function for the input module, when I call this, it appears to change the meta data key for the attribute I wish to set. However, this seems to only be a temporary change, neither the file itself nor the playlist file retains the changed meta data.
I was hoping there was some way that setting the meta data could be kept. Is there some additional function I would need to call to save the meta data changes, or otherwise is there another function that I would need to call instead?
Re: Proper use of set_meta?
Posted: 03 Dec 2012 14:57
by mederi
I do no think there is a way to save changed metadata straight in multimedia file. But you can manually save a playlist with changed metadata from VLC menu: Media > Save Playlist to File... > .xspf. If you open the playlist in VLC, the new metada stored in playlist file is ignored and VLC just reads metadata from multimedia files. Then I really do not know what is the temporary change of metadata good for.
--- EDIT ---
By the way:
viewtopic.php?f=7&t=106236#p360372
Re: Proper use of set_meta?
Posted: 04 Dec 2012 04:53
by basaquer
Hmmm, looking at the meta data, it doesn't store the rating into the playlist file, even though if I do a set_meta for another field, such as artist, that does get stored into the playlist file and pulled up the next time the playlist is loaded. It seems that the functionality for this is not set up correctly?
Re: Proper use of set_meta?
Posted: 05 Aug 2013 23:17
by LakeyC
I'm trying to use lua to set meta data on an mp3 file. I had read in the README that there is a set_meta function for the input module, when I call this, it appears to change the meta data key for the attribute I wish to set. However, this seems to only be a temporary change, neither the file itself nor the playlist file retains the changed meta data.
I was hoping there was some way that setting the meta data could be kept. Is there some additional function I would need to call to save the meta data changes, or otherwise is there another function that I would need to call instead?
Also unable to permenantly change the meta tags using set_meta, did you manage to solve this problem?