Posts Tagged ‘squeezecenter’

Automatisk rescan av Sqeezecenters musikk bibliotek

Sunday, January 25th, 2009

Jeg hadde et ønske om å rescanne musikk biblioteket i Squeezecenter hver natt slik at nye sanger jeg la til skulle dukke opp automatisk. Squeezecenter kjører på en Ubuntu boks.

I /etc/cron.daily laget jeg en fil som heter squeezecenter_rescan, med følgende innhold:

#!/bin/sh
wget -q -o /dev/null “http://localhost:9000/status?p0=rescan&;cauth=secretsecretsecretsecretsecret”

cauth parameterens innhold avhenger av din server setup. Du kan finne den ved å kjøre http lenken i en browser som følger:

http://localhost:9000/status.html?p0=rescan

Erstatt “localhost” hvis nettleseren er på en annen maskin en serveren.

Language

Categories

Archives

Linker

Snapshot of the International Space Station

 
On March 13, 2008, the International Space Station passed across the field-of-view of Germany's remote sensing satellite, TerraSAR-X, at a distance of 195 kilometers, or 122 miles, and at a relative speed of 34,540 kilometers per hour, or more than 22,000 mph. In contrast to optical cameras, radar does not 'see' surfaces. Instead, it is much more aware of the edges and corners which bounce back the microwave signal it transmits. Smooth surfaces such as those on the station's solar generators or the radiator panels used to dissipate excess heat, unless directly facing the radar antenna, tend to deflect rather than reflect the radar beam, causing these features to appear on the radar image as dark areas. The radar image of the station therefore looks like a dense collection of bright spots from which the outlines of the space station can be clearly identified. The central element on the station, to which all the modules are docked, has a grid structure that presents a multiplicity of reflecting surfaces to the radar beam, making it readily identifiable. This image has a resolution of about one meter (about 39 inches). In other words, objects can be depicted as discrete units--that is, shown separately--provided that they are at least one meter apart. If they are closer together than that, they tend to merge into a single block on a radar image. Since this image was taken, the station has expanded and is more than 90 percent complete, including a full complement of solar arrays. Image Credit: DLR
Read More