openbsd-ports/audio/last.fm/patches/patch-src_Radio_cpp
dcoppa e3e04c6dcc The Unix (linux) client does not do fingerprinting, so don't build
it: this reduces package dependencies (dropped audio/libsamplerate
and math/fftw3).

iPods were identified by a directory timestamp, but it changed each
time the ipod was mounted. Instead identify a device by its
FirewireGuid.
2011-09-19 12:50:57 +00:00

22 lines
762 B
Plaintext

$OpenBSD: patch-src_Radio_cpp,v 1.2 2011/09/19 12:50:57 dcoppa Exp $
--- src/Radio.cpp.orig Mon Sep 19 11:46:56 2011
+++ src/Radio.cpp Mon Sep 19 12:00:00 2011
@@ -129,8 +129,6 @@ Radio::handshakeReturn( Request* req )
m_session = handshake->session();
m_basePath = handshake->basePath();
- The::settings().setFingerprintUploadUrl( handshake->fingerprintUploadUrl() );
-
setState( State_Handshaken );
if ( !m_pendingStation.isEmpty() )
@@ -652,7 +650,7 @@ Radio::onAudioControllerError( RadioError err,
}
else
{
- if ( err == Radio_PluginLoadFailed )
+ if ( err == Radio_PluginLoadFailed || err == Radio_NoSoundcard )
{
m_broken = true;
}