Changeset - 1627032629dc
[Not reviewed]
default
0 2 0
drewp@bigasterisk.com - 12 years ago 2013-06-16 21:42:55
drewp@bigasterisk.com
add a note about the fix for song orders
Ignore-this: 8b88b1f9016a675fe9eb1d9a7d619e2f
2 files changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
light9/ascoltami/playlist.py
Show inline comments
 
@@ -27,12 +27,14 @@ class Playlist(object):
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song13"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song14"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song15"),
 
            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 
 
        we are at the end of the playlist."""
 
        try:
 
            currentIndex = self.songs.index(currentSong)
light9/showconfig.py
Show inline comments
 
@@ -93,12 +93,14 @@ def getSongsFromShow(graph, show):
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song13"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song14"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song15"),
 
        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
 

	
 
def curvesDir():
 
    return path.join(root(),"curves")
 

	
0 comments (0 inline, 0 general)