Permalink
Switch branches/tags
Nothing to show
Commits on Feb 6, 2011
  1. Fix lyrics fetching.

    Kirill Lashuk committed Feb 6, 2011
Commits on Sep 4, 2010
  1. Merge branch 'tray' into develop

    Kirill Lashuk committed Sep 4, 2010
  2. Use 'sonata_stop.png' in systray instead of 'sonata.png'

    Use 'sonata_stop.png' instead 'sonata.png' as systray icon if MPD is
    stopped. That makes sonata state icons (play/pause/stop/disconnect)
    that are used in systray separated from application's main icon that's
    'sonata.png' so we can change systray icon style without affecting
    main sonata's icon.
    Kirill Lashuk committed Sep 4, 2010
Commits on Aug 31, 2010
  1. Update README.textile

    Kirill Lashuk committed Aug 29, 2010
Commits on Aug 29, 2010
  1. main: replace 'Random' in tray menu with 'Play Mode' menu

    Replace 'Random' menu item in tray menu with 'Play Mode' submenu, that
    contains all MPD play modes: repeat, random, single, consume.
    Kirill Lashuk committed Aug 29, 2010
  2. Merge branch 'consume-single' into develop

    Kirill Lashuk committed Aug 29, 2010
  3. Add support for MPD "single" mode

    Add menu item and cli command for single mode.
    Kirill Lashuk committed Aug 29, 2010
  4. cli: integrate MPD consume mode into cli

    Kirill Lashuk committed Aug 29, 2010
  5. Add support for MPD "consume" mode

    Adds a new tick box below "random" and "repeat" in the context menu.
    nickg committed with Kirill Lashuk Aug 14, 2010
Commits on Aug 28, 2010
  1. scrobbler: scrobble after seeking to the beginning

    Scrobble song if current song is the same as previously prepared for
    scrobbling, we're at the beginning of the track and elapsed time is
    smaller than previous one (that means user sought to the beginning of
    the track or just went to the next song which is the same as the
    previous one).
    Kirill Lashuk committed Aug 22, 2010
  2. Merge branch 'fix-ui-connection' into develop

    Kirill Lashuk committed Aug 28, 2010
  3. update README.textile

    Kirill Lashuk committed Aug 28, 2010
  4. Merge branch 'tray' into develop

    Kirill Lashuk committed Aug 28, 2010
  5. main: withdraw_app_undo shows sonata on current workspace

    Fix not showing (or showing at strange position) sonata if it's not
    sticky ('Show window on all workspaces' option isn't set) and before
    clicking on tray icon sonata was not on the current workspace.
    Kirill Lashuk committed Aug 26, 2010
  6. main: add some items to tray menu

    Add 'Random', 'Fullscreen Mode' and 'Preferences...' to tray-icon menu.
    Kirill Lashuk committed Aug 23, 2010
  7. main: pass proper widget to tray tooltip on song change

    Fix jumping tray icon tooltip for a moment from its position near tray
    icon  to the (0, 0) position on the screen if gtk.StatusIcon is used
    and song is changed while tooltip is visible (mouse is over tray icon).
    That is caused by passing self.trayeventbox (regardless of tray icon
    type currently used), that is None if we use gtk.StatusIcon, to
    self.traytips._real_display method.
    Kirill Lashuk committed Aug 23, 2010
Commits on Aug 23, 2010
  1. artwork: remove default artwork blink that sometimes occurs

    Looking for local artwork doesn't involves separate threads or any
    other time-consuming operations, so there's no need to install default
    artwork icon until the actual artwork is found (we'll install default only
    if actual one wasn't found).
    
    Base.playing_song_change method is called whenever status changed (e.g.
    on pause), but the artwork need to be updated only if current song
    changed so we check it manually.
    Kirill Lashuk committed Aug 23, 2010
Commits on Aug 22, 2010
  1. ui-connection: display the 'offline' UI if mpd doesn't run at Sonata …

    …startup
    
    Kirill Lashuk (KL-7) from Github discovered that the previous fix on this branch
    made Sonata display the 'online' UI if it was launched while mpd wasn't running.
    
    This is due to the missing call to Base.handle_change_conn in Base.iterate if
    'self.conn == self.prevconn', and the fact that the default behavior is to be
    'connected' by default.
    multani committed Aug 22, 2010
  2. main: add scroll event to gtk.StatusIcon to control volume

    Kirill Lashuk committed Aug 22, 2010
Commits on Aug 20, 2010
  1. lyricwiki: improve capitalizing words in titles

    Capitalize words manually as str.title method capitalizes letter after
    an apostrophe that is not necessary in most cases.
    Kirill Lashuk committed Aug 9, 2010
Commits on Aug 9, 2010
  1. lyricwiki: update site to lyrics.wikia.com (to avoid redirect)

    Update all lyricwiki links as LyricWiki moved to new domain and all
    requests to lyricwiki.org are redirected to lyrics.wikia.com.
    Kirill Lashuk committed Aug 9, 2010
  2. save fetched lyrics to id3tags of the mp3 file

    Fetched lyrics can be automatically saved to id3tags of the mp3 file.
    To enable this feature eyeD3 python module should be properly installed
    and the corresponding option in preferences window (on display tab)
    should be checked.
    
    Lyrics are save in 'utf-8' encoding, default eyeD3 language (English)
    and 'sonata' as the description. If the mp3 file already contains lyrics
    tag with the same language and description it's not overwritten.
    
    Add '(save)' button to info tab to manually save lyrics to id3tags
    (overwrite existing lyrics with the same language and description).
    Kirill Lashuk committed Jul 26, 2010
  3. info: escape only '&' before setting lyricsText markup

    Escaping '<' and '>' characters prevents lyricsText from interpreting
    properly <b> and <i> tags (they're displayed as plain text). Escaping
    ampersand is necessary because it sometimes occurs in lyrics.
    Kirill Lashuk committed Jul 31, 2010
  4. fullscreen: disable gnome-screensaver, hide cursor

    Some improvements of fullscreen mode:
    
     - disable gnome-screensaver while in fullscreen mode. Screensaver is
       re-enabled after exiting either from fullscreen mode or application
       itself.
    
     - hide (set invisible, actually) cursor that is useless in fullscreen
       mode
    
     - add extra space between artwork and title
    Kirill Lashuk committed Jul 30, 2010
  5. multi-CD albums: prevent multiple entries, improve art search

    Improve handling of multi-CD albums:
    
     - revert 8cb4b55 that fixes the problem
       with showing multi-CD albums multiple times, but it breaks artwork
       caching for album view. As the album path is ignored we search artwork
       with path=None and as the result when Artwork.artwork_get_local_image
       is called with songpath=None it looks for artwork in the directory of
       current song. So all the albums get the same artwork and the art_cache
       is broken.
    
     - add Base.get_multicd_album_root_dir method to get album root directory
       for tracks from multi-CD albums. For example, if track is located in
       'artist/album/CD 2' directory than the method returns 'artist/album'.
       This method is used in artwork search algorithm (to look for artwork
       in album root directory but not in CD's subdirectory) and while
       populating album view (to merge all CDs into single album entry).
    Kirill Lashuk committed Jul 18, 2010
  6. main: postpone lyrics search dialog destroying

    Destroy lyrics search dialog after all data is read from it (otherwise
    artist_entry.get_text() returns empty string).
    Kirill Lashuk committed Jul 24, 2010
  7. preferences: replace 'custom' entry with actual artwork location

    If self.config.art_location_custom_filename is non-empty string,
    e.g. 'artwork.jpg', combobox entry is SONG_DIR/artwork.jpg instead of
    SONG_DIR/custom. If self.config.art_location_custom_filename is empty
    it shows just SONG_DIR/custom. Combobox entry is properly updated after
    editing custom artwork location.
    Kirill Lashuk committed Jul 15, 2010
  8. lyricwiki: strip fetched lyrics, fix problem with nested tags

    Improve lyrics fetching:
    
     - strip fetched lyrics that usually contains unnecessary trailing
       and leading newlines
    
     - separately process ''''' (wikimarkup tag for bold and italic) before
       single bold and italic tags (otherwise it's interpreted as
       <b><i>...</b></i> that causes error while setting lyricsText markup)
    Kirill Lashuk committed Jul 31, 2010
  9. main: always use gkt.StatusIcon instead of egg.trayicon

    Prevent usage of egg.trayicon because it causes tray icon background
    to lose its transparency.
    Kirill Lashuk committed Jul 19, 2010
  10. add README.textile (for github)

    Kirill Lashuk committed Aug 9, 2010