Updated Greek translation
Update translators.xml
OSX: Move to cocoa API (bgo#677866)

This commit moves from the ige-/gtk-mac-integration API to the
GtkOSXApplication API (which is still provided by the same library
called 'gtk-mac-integration', not to be confused with the API name).
This means banshee no longer uses any OS X carbon functions (which are
deprecated), but cocoa only. The Banshee.Osx backend also now fully
relies on gtk-mac-integration as interface to OS X specific functions
and does no longer contain own DllImports into OS X core framework.

This drops the support for closing the banshee main window (via
Cmd+Close) since GtkOSXApplication does not handle this properly right
now. Banshee is a single-window only application at the moment, so this
shouldn't be a usecase anyway.

Signed-off-by: Bertrand Lorentz <bertrand.lorentz@gmail.com>
File Policies are dependend on Source

Added the Options copy-on-import and move-files to LibrarySource, which
makes it dependend on the Source if your files are copied to the
SourceDirectory or renamed on Metadata changes. Settings are migrated.

Closes bgo#535911

Signed-off-by: Alexander Kojevnikov <alexk@gnome.org>
Tidy
LastFM: Clean the queue after a scrobbling failure (bgo#667499)

If invalid tracks are present in the audioscrobbler queue we receive
an error when submitting to LastFM. Since we are not cleaning the
queue upon a failure we continue to attempt to resubmit indefinitely.

Adds a step to remove invalid tracks from the queue upon receiving
a failure so this no longer occurs. Also adds a simple logging
statement when invalid data is detected in a track being added to
the LastFM queue to help diagnose the root cause of the submission
failures.

Signed-off-by: Alexander Kojevnikov <alexk@gnome.org>
Tidy
Re-enable AAC profile bgo#612741

Signed-off-by: Alexander Kojevnikov <alexk@gnome.org>
Last.fm: Switch to 2.0 API for scrobbling

Signed-off-by: Alexander Kojevnikov <alexk@gnome.org>
Tidy
Last.fm: Additional API status codes
Last.fm: Set the now_playing_started flag
Last.fm: Remove debug printfs
Last.fm: Better scrobbling error handling
build: Fix "make run" with automake 1.12

The $(mkdir_p) variable has been removed in automake 1.12, and its
replacement $(MKDIR_P) is only available since automake 1.10.

So we now use MKDIR_P and require automake 1.10.
Updated Spanish translation
Updated French translation
Last.fm: update scrobbling error handling

Right now we remove all tracks we attempted to submit if we
receive an unknown error from LastFM. Now we will instead call
the queue.RemoveInvalidTracks() method and try to resubmit if
any good tracks remain. This way one bad track won't cause
other tracks to be discarded.

Also adds back the debug statement showing what we are about
to submit to help with future error investigations.

Signed-off-by: Alexander Kojevnikov <alexk@gnome.org>
Last.fm: update response stream handling

Currently there are two methods in LastFmRequest that attempt
to read the response stream. If both methods are called during
the same request then the second read returns nothing from the
stream since it was already consumed with the first read. This
change stores the stream contents in the request object instead
to avoid this situation.

Also updates the number of tracks we submit at a time from 50 to
30. With the change to the 2.0 API it seems we receive '414' HTTP
errors if our post url is too large.

Signed-off-by: Alexander Kojevnikov <alexk@gnome.org>
AppleDevice: null check for MediaDatabase.PodcastPlaylist (bgo#679260)

If invalid tracks are found in the iPod, they could be
marked as podcast without having a podcast playlist in
place, which would cause a NullReferenceException when
trying to remove them.

Fixes BGO#679260.