[videodb] fix crash linking a movie to a show if there's no tvshows left to link.
[videodb] show select dialog for linking a movie to a show, even if there's only one show to link to.
Merge pull request #4479 from mossywell/master

Change FLAC MIME type
Merge pull request #4487 from Montellese/settings_defaults

settings: remember whether a setting has its default value or not
Merge pull request #4484 from jmarshallnz/curl_ssl_fix

[openssl] backport fix to alert handling from openssl 0.9.8za to fix github repos
Merge pull request #4486 from Montellese/jsonrpc_screensaver_notifications

jsonrpc: add missing GUI.OnScreensaverActivated/OnScreensaverDeactivated notifications to the API definition
Merge pull request #4463 from jmarshallnz/osx_vsync_always

[osx] vsync should default to always
Revert "[osxsink] - for devices which report samplerate 0hz - allow user override with 44.1khz and 48khz" (pull request #4467)

This reverts commit e2cff35c794a7b7a6be6d22eb56ca8c45eda5665.
Revert "[darwinsink] - increase the initial startup timeout of the sinks to 4500ms and log error case" (pull request #4471)

This reverts commit 714e7f2c0d81371c02945ef80549a65f289fe4b7.
Revert "[osxsink] - always fetch the defaultdevice from osx instead of or (maybe"

This reverts commit 753e70826c7d28ab827843afcd96aa6dc31ff0d8.
Revert "[osxsink/iossink] - don't spam the log with audiobuffer underruns with 0 bytes available - those underruns happen alot when we idle but sink isn't suspended yet - instead only log those underruns once until there was some data played again"

This reverts commit 943845f5a9005b737532178d562b39058d1da542.
Revert "[iossink/osxsink] - fixed - condvar has to wait on the mutex - not on the singlelock"

This reverts commit dc701c06c265b8a295cb5bba99b6d9fbf82ef215.
Revert "[iossink/osxsink] - don't deadloop in drain when device is gone - but"

This reverts commit c7b5c584a55e93cc810cb90060e92affb512324f.
Revert "[osxsink] - properly set the ae device type based on either ca or heuristical criteria - fixes DisplayPort not detected as LPCM capable and maybe others"

This reverts commit dc87b59b349fca01cc8fda4e655978a229f4a791.
Revert "[osxsink/iossink] - don't block addpackets if ca didn't do the initial data pull - but timeout gracefully for signaling an error condition to the engine (use a timer for detecting a real timeout as condvar can be signaled by spurious interrupts)"

This reverts commit ecd891c4db757f190b2acbb6266e79db10b94dc0.
Revert "[osxsink] - detect digital outputs based on device name and make capable passthrough devices "AE_DEVTYPE_IEC958" for showing the passthrough options in the gui - fixes missing passthrough options on some special audio setups"

This reverts commit 352d013f8dd7a43be490a2468fbcc7fd8ebd865f.
Revert "[AESink/ios] - fix drain - we need to output silence when no samples are left - else CA on iOS will repeat loop the last sample"

This reverts commit b1d9c64cc2dacc4e54ebe43af0a2cb64835931fc.
Revert "[ae/darwin] we don't need another mutex when we already have one"

This reverts commit ca63894383b9a86eff7cc8c8bdbf238b3ab7a561.
Revert "[osx/aesink] - fix compile on older SDKs"

This reverts commit 1d9b670f40299c5bed6730c652359b779102c610.
Revert "[osx] drop outputbuffer index and iterate over them all"

This reverts commit b9a1d07a7d1a2bec3bb094b97cc7d96a325b9b98.