public void Save() { string pls = ""; string sep = ""; Hyena.Log.Information("Playlist=" + _playlist); foreach (CS_PlayListEntry ple in _playlist) { Hyena.Log.Information("ple=" + ple); CueSheetEntry e = ple.GetCueSheetEntry(); Hyena.Log.Information("e=" + e); CueSheet s = e.getCueSheet(); Hyena.Log.Information("sheet=" + s + ", entry=" + e); string id = s.id(); string e_id = e.id(); string entry = "cuesheet=" + id + "%%%entry=" + e_id; pls += sep; pls += entry; sep = "#@%@#"; } _db.Set("playlist:" + _name, pls); }
public void setGridLayout(string id, bool g) { _track_info_db.Set("grid-" + id, g); }