Code:
--------------------
     latest_lms=$(wget -q -O - 
"http://www.mysqueezebox.com/update/?version=8.0&revision=1&geturl=1&os=rpm";)
--------------------


However this returns
"http://downloads.slimdevices.com/LogitechMediaServer_v8.0.0/logitechmediaserver-8.0.0-1.noarch.rpm";
which is not the latest NIGHTLY

As you're on a stable release version, you wouldn't get nightlies. If you provided your real revision number instead of 1, you'd get it.

I Also check the revision by


Code:
--------------------
     latest_release=$(echo $latest_lms | awk -F "logitechmediaserver" {'print $2'} | awk 
-F "." {'print $5'})
--------------------

and only update if the returned release is higher than that installed

Again: if you provided the real revision number instead of just 1 in the request, you'd only get a URL back in case your revision was older than what was available. You could save yourself this check.

But the return no longer has the release version, I did some looking
around and found that the nightlys do still have the release version in
the filename.

Correct, but not the release version.

What is the new way to get the URL of the latest nightly ?

No new way. But provide your full revision number in the request.

--

Michael
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to