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)
commit5bb2759ddcd34da4a06ca8a9149f59ac20aceeb2
tree73d0b3ebc407ab2f1047b1bdfe09a9bc45978537
parentdd8889f4ce0e6ef2a5bd94528bb3d93f0942fa45
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