Is Convert/Save accessible programmatically through Lua?

Discuss your Lua playlist, album art and interface scripts.
philipr
New Cone
New Cone
Posts: 3
Joined: 23 Dec 2016 03:39

Is Convert/Save accessible programmatically through Lua?

Postby philipr » 05 Apr 2017 21:26

Use case:
I often rip mp3 tracks and would like to automate the process of doing "Convert/Save" on multiple tracks on one CD. My impression is that choosing track number "0" was once supposed to do this for all tracks, but that has never worked for me. (In any case, being able to automate has other benefits.)

Immediate question:
Is Convert/Save not accessible via Lua?



Longer term question:
Would there be any interest in a patch to expose Convert/Save to the Lua interface, or is it intentional that this functionality is excluded?



VLC version 2.2.4 Weatherwax (2.2.4-0-g888b7e89)
Compiled by jb on villacia.jbkempf.com (Jun 1 2016 16:26:00)
Compiler: gcc version 4.9.2 (GCC)

Microsoft Windows [Version 10.0.14393]


Possible workaround (non-Lua?):
If I could at least set the default profile to MP3, not "Video - H.264 + MP3 (MP4)", that would help. AFAICT this is hard-coded but perhaps I could build my own VLC with the default I want?

Forum search attempted:
Tried searching on "convert/save" in this forum, found two posts in one thread, seem irrelevant.

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: Is Convert/Save accessible programmatically through Lua?

Postby mederi » 05 Apr 2017 22:18



Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 11 guests