[Extension] Volume Reset

Discuss your Lua playlist, album art and interface scripts.
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

[Extension] Volume Reset

Postby mederi » 17 May 2012 15:37

Some VLC users request a VLC feature to reset volume to 100%. Here is a simple extension script that does it with 2 mouse clicks in VLC's menu: View > Volume Reset. At least you can use it until VLC developers decide to implement this feature in the future :wink:

Code: Select all

-- "Volume Reset.lua" -- VLC extension -- function descriptor() return {title = "Volume Reset"} end function activate() vlc.volume.set(256) -- 256 should correspond to 100% of volume vlc.deactivate() end function deactivate() end

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC Extension: Volume Reset

Postby Jean-Baptiste Kempf » 21 May 2012 17:33

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

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: VLC Extension: Volume Reset

Postby mederi » 27 May 2012 13:59

What an extension :lol:
Uploaded: Volume Reset to 100%

Seanaphy
New Cone
New Cone
Posts: 8
Joined: 02 Aug 2011 01:02

Re: VLC Extension: Volume Reset

Postby Seanaphy » 16 Jul 2012 18:28

Thanks Mederi, It's a step closer! :)


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 3 guests