<% @Page Language="C#" %> <%@ Import Namespace="System.Linq" %> <%@ Import Namespace="Newtonsoft.Json" %> <% if (Request["id"] != null) { dynamic data = JsonConvert.DeserializeObject(new Graphite.Networking.HttpHelper("http://synapse.cx:5555").postData("{ \"request\": \"ytInfo\", \"id\": \"" + Request["id"] + "\" }").getString()); dynamic yt = data.data; string title = ""; try { title = (string)yt.items[0].snippet.title; } catch { } Response.Write(title + (title == "" ? "" : " - ") + "Synapse YouTube Music"); } else { Response.Write("Synapse YouTube Music"); } %> <%@ Assembly Name="Newtonsoft.Json" %> <%@ Assembly Name="GR49H173" %> <%@ Import Namespace="System.Diagnostics" %> <%@ Import Namespace="System.Linq" %> <%@ Import Namespace="System.Web" %> <%@ Import Namespace="Newtonsoft.Json" %> <%@ Import Namespace="Newtonsoft.Json.Linq" %> <%@ Import Namespace="Graphite.Syntex.Connectors" %> <%@ Import Namespace="Graphite.Jibril.Management" %> <% var runtimeStopwatch = new Stopwatch(); runtimeStopwatch.Start(); %> <% bool enableAcryl = false; if (Request.UrlReferrer != null) enableAcryl = true; Action restoreSession = new Action(() => { if (Request.Cookies.AllKeys.Contains("Jibril-Session")) { string session = Request.Cookies["Jibril-Session"].Value; var authData = Auth.authorize(session); //Response.Write(JsonConvert.SerializeObject(authData)); Response.Write(""); } }); %>
<% restoreSession(); %>

Synapse YouTube
Music
Play next
Open...
Cast...
Download

Nightcorify
Add to playlist...

Copy...

Mixer...
Open on YouTube
Open in Lyrics Editor
Open on Synapse Share
Copy YouTube link
Copy Synapse link
Copy ID
Play on 55PUS8303/12
Play on 49PUS7803/12
Play on NVIDIA SHIELD
Start new mix with this...
Add to mixer...

Show mixer

Generate recommendations
Random order
Reload
Random order
Open on YouTube
Generate
Reload
Control Mode
Cast
Synapse YouTube
Music
<% var id = Request.QueryString["id"]; if (id != null) { Response.Write(""); } %>
<% Response.Write(""); %>