Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 10, 2013
  1. @onto

    New plugin for integration Sonata with Last.fm: scrobbler, "add to fa…

    onto authored committed
    …vorites" button. It using pylast.
  2. @onto

    Add "plugin_configure" interface.

    onto authored committed
  3. @onto
  4. Reindent Glade files using Glade

    authored
    During the migration to GtkBuilder, most of the Glade files were edited
    by hand instead of using Glade, since it was much more convenient for
    the mass-changes that had to be done.
    However, Glade doesn't really agree with the XML ordering, and used to
    reorder everything, just upon saving an unmodified file (and removed
    some "useless" properties).
    I saved them again with Glade this time, fixed some properties which
    disapeared; now, files content should be more stable when edited with
    Glade.
Commits on Jan 9, 2013
  1. Simplified and homogenized use of icons in Sonata

    authored
    Merge remote-tracking branch 'others/hobophobe/iconfactory-from-string2'
    
    Conflicts:
    	sonata/library.py
  2. Better translation support and formatting for time-related strings

    authored
    Merge remote-tracking branch 'others/hobophobe/refactor_time_text'
  3. @hobophobe

    Refactor song time texts

    hobophobe authored
    There are three:
    1. About dialog
    2. The main status bar
    3. Library (in the item listings for genre, artist, and album views)
    
    This updates the localization strings and should be more useful way to
    handle for localizers.
Commits on Jan 8, 2013
  1. @hobophobe

    Fix mpdhelper ValueError on weird disc values

    hobophobe authored
    As with the fix that was present for the track property, disc could
    be formatted as, eg, 1/2.  This fixes that, and moves the cleanup
    for both track and disc into a common function.
  2. @hobophobe

    Rework all icons into the iconfactory

    hobophobe authored
    Icons require absolute paths, so sonata/ui/icons.glade gets read into a
    string, the absolute path added to icons, and then the string builds
    an icon factory.
    
    Removed unused icons. Made icon naming consistent.
  3. Remove some MPD caching, causing troubles with password authentication

    authored
    Merge remote-tracking branch 'others/hobophobe/remove-mpdhelper-caching2'
Commits on Jan 5, 2013
  1. @kurisuke

    packaging: include Glade files in distribution

    kurisuke authored committed
    We forgot to change the name of the Glade files included in the
    packaging when we renamed them from .ui to .glade in
    9c7cdd5
    
    Fix: #28
    Co-Edited-By: Jonathan Ballet <jon@multani.info>
Commits on Jan 4, 2013
  1. mpd: if a song attribute exists several times, keep only the first one

    authored
    An attribute of a song can be present several times on some song (for
    example, 'Genre'). In this case, python-mpd returns a list containing
    all the values of this attribute. This doesn't really fit in Sonata, so
    we keep only the first one.
  2. plugin: simplified cover fetching API for plugin writers

    authored
    The plugins now don't have to take care of saving the covers to the file
    system, to differentiate between getting one cover or many, nor to return
    special values depending on what they did.
    
    Previously, all those things had to be done in each and every cover-fetching
    plugins, which was redundant and not very practical. I believe this is now much
    easier.
  3. covers lastfm: detect errors

    authored
  4. cover: log and images detection is done by Sonata itself

    authored
    This simplifies even more covers downloading.
  5. covers: provide new API to simplify writing of covers plugins

    authored
    The plugin doesn't have to handle the cover savings anymore, it just has to
    signal through a callback mechanism that it got some cover somewhere, and
    Sonata will save the cover at the right place with the right name.
  6. covers: fix size of covers in the search remote covers dialog

    authored
    For some reasons, it was working a long time ago, but didn't since a
    while. I couldn't bisect the changeset, too many non-working changesets
    during the Py3/Gtk3 migration branch :/
    
    "162" is an arbitrary value, which is supposed to be the size of the
    image plus the size of the "spiner" on the left.
  7. covers lastfm: new API key

    authored
  8. @hobophobe

    Port to Python3

    hobophobe authored committed
  9. covers_lastfm: Fetch covers from Last.fm

    authored
    The API key should be changed to something specific to Sonata.
    
    It lacks currently any errors checking. It should at least do something if on
    of the error code from http://www.last.fm/api/show?service=290 is returned.
    Also, it seems sometimes Last.fm returns broken XML, so we should do
    something about it.
Something went wrong with that request. Please try again.