Changeset - 47cf5a26adf0
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 20 months ago 2023-05-18 00:29:05
drewp@bigasterisk.com
stray hardcoded show uri
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/ascoltami/Light9AscoltamiUi.ts
Show inline comments
 
@@ -294,23 +294,23 @@ export class Light9AscoltamiUi extends L
 

	
 
    getTopGraph().then((g) => {
 
      this.graph = g;
 
      this.musicSetup(); // async
 
      this.graph.runHandler(this.graphChanged.bind(this), "loadsongs");
 
    });
 
  }
 
  graphChanged() {
 
    this.songList = [];
 
    try {
 
      const playList = this.graph.uriValue(
 
        //
 
        this.graph.Uri("http://light9.bigasterisk.com/show/dance2022"),
 
        this.graph.Uri("http://light9.bigasterisk.com/show/dance2023"),
 
        this.graph.Uri(":playList")
 
      );
 
      log(playList);
 
      this.songList = this.graph.items(playList) as NamedNode[];
 
    } catch (e) {
 
      log("no playlist yet");
 
    }
 
    log(this.songList.length);
 
  }
 
}
0 comments (0 inline, 0 general)