Automatic updates to the nightly builds?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Fabulist
Blank Cone
Blank Cone
Posts: 26
Joined: 09 Jun 2010 16:14

Automatic updates to the nightly builds?

Postby Fabulist » 11 Mar 2012 14:30

Hello everyone,

As the topic suggests, is there a way to do this?

Similar to Chrome's Canary builds that update automatically daily, is there a way to automatically or manually install the latest VLC build, but without navigating to the website and going through the installation process?

Thanks in advance!

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: Automatic updates to the nightly builds?

Postby Jean-Baptiste Kempf » 12 Mar 2012 13:41

so far, we have not done that.
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.

Fabulist
Blank Cone
Blank Cone
Posts: 26
Joined: 09 Jun 2010 16:14

Postby Fabulist » 12 Mar 2012 14:29

Alright, it would be so nice if we could do that though; be able to automatically stay up to date with the 'nightlies'.

Some of us like to live on the edge :P

Thanks for taking your time responding!

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Automatic updates to the nightly builds?

Postby Sébastien Escudier » 12 Mar 2012 14:34

note that there are versions without installation. Don't download the .exe if you don't want to install.

Fabulist
Blank Cone
Blank Cone
Posts: 26
Joined: 09 Jun 2010 16:14

Re: Automatic updates to the nightly builds?

Postby Fabulist » 12 Mar 2012 15:14

Well I asked this so I can get an "automatic" update of the latest nightly version the next time I start VLC.

For example, assuming I have the latest nightly build today, I can get the new one (that will come out tonight?) tomorrow morning that I will launch VLC again to watch another video.

This can either happen silently, like it happens most of the times with Chrome Canary, or after manual confirmation, or I can simply decide when to update VLC, but the program will look for new nightly builds (assuming I want it to) and I can update accordingly.

I assume this can help power users and developers identify problems and compatibility issues faster and easier instead of waiting for RC versions or manually updating to the nightly builds daily, which I most of the times need to look again for myself to get; like visiting your website, developer website, VLC build tree and so on.

And since you guys take the effort building and uploading daily, I believe more users would be able to use them more often than what they are now, just an assumption.

Another example: assuming you have 2.1 or 2.0.1 RC right now online, unless I visit your websites, I can't know; and for those who want to stay up to date they need to to this on a daily basis to actually be able to use your work.

As you understand the problem is not installation, but more broad and convenient ways of interacting with your work.

Thanks for your time again!

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Automatic updates to the nightly builds?

Postby Sébastien Escudier » 12 Mar 2012 15:25

I know what you asked, and you also said "without navigating to the website and going through the installation process"

Just wanted to let you know that skipping the installation process is possible that's all.

Fabulist
Blank Cone
Blank Cone
Posts: 26
Joined: 09 Jun 2010 16:14

Re: Automatic updates to the nightly builds?

Postby Fabulist » 12 Mar 2012 15:38

Alright I thought I should elaborate a bit.

Thanks for your time again guys!

forcharity
New Cone
New Cone
Posts: 1
Joined: 10 Apr 2013 21:09

Re: Automatic updates to the nightly builds?

Postby forcharity » 10 Apr 2013 21:10

since he said not to use the *.exe, what about a script that goes to
http://nightlies.videolan.org/build/win32/last/
and grabs the latest *.zip and extracts it to the C:\Program Files\VLC folder?

Who is technically competent to write one?

mattvail
New Cone
New Cone
Posts: 2
Joined: 23 Jun 2016 20:25

Re: Automatic updates to the nightly builds?

Postby mattvail » 23 Jun 2016 20:35

Here's a PowerShell script that should do the trick.
Prerequisites:
- 7-Zip for extracting (.7z results in a smaller download)
- BITS (Background Intelligent Transfer Service) to download the file. This should technically already be a running service in Windows.

Code: Select all

Import-Module BitsTransfer $7zip = "C:\Program Files (x86)\7-Zip\7z.exe" $url = "http://nightlies.videolan.org/build/win64/last/" $vlc_folder = "C:\Data\VLC\" If (!(Test-Path $vlc_folder)) { New-Item -Path $vlc_folder -ItemType Directory } $response = Invoke-WebRequest $url -UseBasicParsing $filename = ($response.Links |?{$_.href -match ".7z"} ).href $download_url = $url + $filename Start-BitsTransfer -Source $download_url -Destination $vlc_folder $downloaded_file = $vlc_folder + $filename Get-ChildItem $downloaded_file | % {& $7zip "x" $_.fullname -o"$vlc_folder" -y } Remove-Item $downloaded_file

mattvail
New Cone
New Cone
Posts: 2
Joined: 23 Jun 2016 20:25

Re: Automatic updates to the nightly builds?

Postby mattvail » 27 Jun 2016 16:19

script broke since they added debug builds

need to change line

Code: Select all

$filename = ($response.Links |?{$_.href -match ".7z"} ).href
with

Code: Select all

$filename = ($response.Links |?{$_.href -match "win64.7z"} ).href


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 55 guests