# HG changeset patch # User drewp@bigasterisk.com # Date 2013-06-16 21:42:55 # Node ID 1627032629dcce4e0296836aa56f2511054656df # Parent 995155e1dc7422f32d90c7db42c4d1edfcc10252 add a note about the fix for song orders Ignore-this: 8b88b1f9016a675fe9eb1d9a7d619e2f diff --git a/light9/ascoltami/playlist.py b/light9/ascoltami/playlist.py --- a/light9/ascoltami/playlist.py +++ b/light9/ascoltami/playlist.py @@ -30,6 +30,8 @@ class Playlist(object): URIRef("http://light9.bigasterisk.com/show/dance2013/song16"), URIRef("http://light9.bigasterisk.com/show/dance2013/song17"), ] + # probably fixed with the patch in https://github.com/RDFLib/rdflib/issues/305 + #self.songs = list(graph.items(playlistUri)) def nextSong(self, currentSong): """Returns the next song in the playlist or raises NoSuchSong if diff --git a/light9/showconfig.py b/light9/showconfig.py --- a/light9/showconfig.py +++ b/light9/showconfig.py @@ -96,6 +96,8 @@ def getSongsFromShow(graph, show): URIRef("http://light9.bigasterisk.com/show/dance2013/song16"), URIRef("http://light9.bigasterisk.com/show/dance2013/song17"), ] + # probably fixed with the patch in https://github.com/RDFLib/rdflib/issues/305 + #songs = list(graph.items(playList)) return songs