| 27 | } |
| 28 | |
| 29 | JsonStore Session::serialise() const { |
| 30 | JsonStore jsn; |
| 31 | |
| 32 | jsn["container"] = Container::serialise(); |
| 33 | jsn["media_rate"] = media_rate_; |
| 34 | jsn["playhead_rate"] = playhead_rate_; |
| 35 | |
| 36 | // identify actors that are media.. |
| 37 | jsn["playlists"] = playlists_.serialise(); |
| 38 | jsn["current_playlist_uuid"] = current_playlist_uuid_; |
| 39 | jsn["viewed_playlist_uuid"] = viewed_playlist_uuid_; |
| 40 | |
| 41 | return jsn; |
| 42 | } |
| 43 | |
| 44 | void Session::set_filepath(const caf::uri &path) { |
| 45 | filepath_ = path; |
no outgoing calls