Changeset 9098

Show
Ignore:
Timestamp:
12/04/07 11:20:52 (12 months ago)
Author:
asterix
Message:

[Florob] add album to tune pep message. see #3053

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/pep/src/roster_window.py

    r8487 r9098  
    36813681                                artist = music_track_info.artist 
    36823682                                title = music_track_info.title 
    3683                                 status_message = '♪ ' + _('"%(title)s" by %(artist)s') % \ 
    3684                                 {'title': music_track_info.title, 
    3685                                         'artist': music_track_info.artist } + ' ♪' 
    3686                 print "change (%s - %s) for %s" % (artist, title, account) 
     3683                                source = music_track_info.album 
     3684                print "change (%s - %s - %s) for %s" % (artist, source, title, account) 
    36873685                if account == '': 
    36883686                        print "Multi accounts" 
     
    36933691                                if not gajim.connections[account].pep_supported: 
    36943692                                        continue 
    3695                                 pep.user_send_tune(account, artist, title, source = '') 
     3693                                pep.user_send_tune(account, artist, title, source) 
    36963694                else: 
    36973695                        print "Single account" 
    3698                         pep.user_send_tune(account, artist, title, source = '') 
     3696                        pep.user_send_tune(account, artist, title, source) 
    36993697 
    37003698