Save playlist digest on loading.
authorW. Trevor King <wking@drexel.edu>
Thu, 13 May 2010 14:08:54 +0000 (10:08 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 13 May 2010 14:08:54 +0000 (10:08 -0400)
commit9fd509e9de0a72e0100fdfb40b405d1d52a6d6fd
tree73d0b3ebc407ab2f1047b1bdfe09a9bc45978537
parent8901efc6ca6af9e4610f860b59fadd204f605cd3
Save playlist digest on loading.

The previous implementation felt that playlists were not saved
(.is_saved() -> False) when the playlists had not been altered since
loading.

We *don't* save the digest when we load from a string, because
that string is not necessarily on disk and we *do* want to save
it, even if the playlist hasn't change since loading.

I also removed the return bits, since FilePlaylist._from_xml_doc()
doesn't return anything.
hooke/playlist.py