Changeset - 9af29b8a635f
[Not reviewed]
default
0 2 0
Drew Perttula - 11 years ago 2014-05-26 20:51:57
drewp@bigasterisk.com
update the workaround for song id corruption
Ignore-this: 181e0edae9961f5fd3123eda4269f86f
2 files changed with 34 insertions and 34 deletions:
0 comments (0 inline, 0 general)
light9/ascoltami/playlist.py
Show inline comments
 
@@ -12,23 +12,23 @@ class Playlist(object):
 

	
 
        # this should be fixed to share with getSongsFromShow. See note in that one for why I had to stop using graph.items
 
        self.songs = [
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song1"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song2"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song3"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song4"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song5"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song6"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song7"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song8"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song9"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song10"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song11"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2013/song12"),
 
            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"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song1"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song2"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song3"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song4"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song5"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song6"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song7"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song8"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song9"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song10"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song11"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song12"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song13"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song14"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song15"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song16"),
 
            URIRef("http://light9.bigasterisk.com/show/dance2014/song17"),
 
        ]
 
        # probably fixed with the patch in https://github.com/RDFLib/rdflib/issues/305
 
        #self.songs = list(graph.items(playlistUri))
light9/showconfig.py
Show inline comments
 
@@ -78,23 +78,23 @@ def getSongsFromShow(graph, show):
 
        # this was graph.items(playlistUri) but i was getting other
 
        # items from a totally different list! seems like bnode
 
        # corruption.
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song1"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song2"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song3"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song4"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song5"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song6"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song7"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song8"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song9"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song10"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song11"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2013/song12"),
 
        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"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song1"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song2"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song3"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song4"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song5"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song6"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song7"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song8"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song9"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song10"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song11"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song12"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song13"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song14"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song15"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song16"),
 
        URIRef("http://light9.bigasterisk.com/show/dance2014/song17"),
 
    ]
 
    # probably fixed with the patch in https://github.com/RDFLib/rdflib/issues/305
 
    #songs = list(graph.items(playList))
0 comments (0 inline, 0 general)