[mpris] playlist name change

Mirsal Ennaime mirsal at mirsal.fr
Fri Feb 4 02:31:09 CET 2011


On Thu, 2011-02-03 at 20:15 +0100, Lennart Poettering wrote:
> On Thu, 27.01.11 11:25, Conor Curran (conor.curran at canonical.com) wrote:
> 
> > Hi folks,
> > 
> > On testing with Rhythmbox and Banshee I just noticed that I have no
> > way to tell if the name of a playlist changes at some point.
> > Therefore when the user creates a new playlist the property changed
> > signal for the playlistcount is triggered. All fine so far, I react
> > to this signal and refresh my playlists. Usually at this point the
> > new playlist is named 'New Playlist'. The user then continues on to
> > renaming the new playlist after which no signal is sent. So my list
> > of playlists has a stale name. Would it be possible to add another
> > signal to inform that a playlist detail has been edited.
> > Alternatively the server could send another playlist count change
> > signal after the edit is complete.
> 
> Why aren't you implementing this with the usual PropertyChanged events?

There is no property change involved here :/
So we would be emitting PropertyChanged about either a property that has
not changed or one which does not exist.

-- 
mirsal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.videolan.org/pipermail/mpris/attachments/20110204/654ec697/attachment.pgp>


More information about the mpris mailing list