ID=Kodi //ScreenDef Title=Windows SpecCharFile= #Header %Common.SetPriority(500) %Plugin.Kodi.Connection.Open('127.0.0.1', 9090) %DefVar(i=0) %Param.RenderMode(Full) #EndHeader #TextMode / insert textmode script code here / #EndTextMode #GfxMode %LCD.SetSymbol(10,00) %LCD.SetSymbol(11,00) %LCD.SetSymbol(12,00) %LCD.SetSymbol(13,00) %LCD.SetSymbol(14,00) %LCD.SetSymbol(15,00) %LCD.SetSymbol(16,00) %LCD.SetSymbol(17,00) %LCD.SetSymbol(18,00) %LCD.SetSymbol(19,00) %LCD.SetSymbol(20,00) %LCD.SetSymbol(21,00) %LCD.SetSymbol(22,00) %LCD.SetSymbol(23,00) %LCD.SetSymbol(24,00) %Format.AlignCenter() %Graph.Font('Lucida Console',7,1) %Plugin.AIDA64.System.TimeNS() %Common.CreateNewLine() %Plugin.AIDA64.System.Date() /Screenwechsel/ %Common.ChangeScreen(5000, 3) %If(%Plugin.Kodi.Connection.State() = 'Connected')Then{%Common.ChangeScreen(1000,1) } /EndScreenWechsel/ #EndGfxMode //EndDef //ScreenDef Title=Start-Gui SpecCharFile= #Header %Common.SetPriority(100) %Plugin.Kodi.Connection.Open('127.0.0.1', 9090) %Param.RenderMode(Full) #EndHeader #TextMode / insert textmode script code here / #EndTextModee #GfxMode %LCD.SetSymbol(00,00) %LCD.SetSymbol(01,00) %LCD.SetSymbol(10,01) %Format.AlignCenter() %Graph.Font('Lucida Console',7,1) %Param.EnableScrolling(Horizontal,Swing,2,94,1,500) %CleanUp.TextArea(All) %Format.AlignCenter() %Plugin.Kodi.GUI.CurrentWindowLabel() %Common.CreateNewLine() %Format.Offset(Vertical, -1) %Param.EnableScrolling(Horizontal,Swing,2,94,1,500) %Plugin.Kodi.GUI.CurrentControl() /Screenwechsel/ %If(%Plugin.Kodi.Connection.State() ! 'Connected')Then{%Common.ChangeScreen(1000,0) } %If(%Plugin.Kodi.ActivePlayer() = 'Audio' OR %Plugin.Kodi.ActivePlayer() = 'Video' OR %Plugin.Kodi.ActivePlayer() = 'Picture')Then{ %Common.ChangeScreen(1000,2) } /EndScreenWechsel/ %If(%Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.State()') = 'Paused') { %LCD.SetSymbol(01,01) } Else { %LCD.SetSymbol(01,00) } %If(%Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.State()') = 'Playing') { %LCD.SetSymbol(00,01) } Else { %LCD.SetSymbol(00,00) } %If(%Plugin.Kodi.PVR.Recording() = 'True') { %LCD.SetSymbol(02,01) } Else { %LCD.SetSymbol(02,00) } %If(%Plugin.Kodi.Application.Muted() = 'True' OR %Plugin.Kodi.Application.Volume() = 0) { %LCD.SetSymbol(05,01) } Else { %LCD.SetSymbol(05,00) } %If(%Plugin.Kodi.Application.Volume() > 1) { %LCD.SetSymbol(11,01) } Else { %LCD.SetSymbol(11,00) } %If(%Plugin.Kodi.Application.Volume() > 9) { %LCD.SetSymbol(12,01) } Else { %LCD.SetSymbol(12,00) } %If(%Plugin.Kodi.Application.Volume() > 16) { %LCD.SetSymbol(13,01) } Else { %LCD.SetSymbol(13,00) } %If(%Plugin.Kodi.Application.Volume() > 23) { %LCD.SetSymbol(14,01) } Else { %LCD.SetSymbol(14,00) } %If(%Plugin.Kodi.Application.Volume() > 30) { %LCD.SetSymbol(15,01) } Else { %LCD.SetSymbol(15,00) } %If(%Plugin.Kodi.Application.Volume() > 37) { %LCD.SetSymbol(16,01) } Else { %LCD.SetSymbol(16,00) } %If(%Plugin.Kodi.Application.Volume() > 44) { %LCD.SetSymbol(17,01) } Else { %LCD.SetSymbol(17,00) } %If(%Plugin.Kodi.Application.Volume() > 51) { %LCD.SetSymbol(18,02) } Else { %LCD.SetSymbol(18,00) } %If(%Plugin.Kodi.Application.Volume() > 58) { %LCD.SetSymbol(19,01) } Else { %LCD.SetSymbol(19,00) } %If(%Plugin.Kodi.Application.Volume() > 65) { %LCD.SetSymbol(20,01) } Else { %LCD.SetSymbol(20,00) } %If(%Plugin.Kodi.Application.Volume() > 72) { %LCD.SetSymbol(21,01) } Else { %LCD.SetSymbol(21,00) } %If(%Plugin.Kodi.Application.Volume() > 79) { %LCD.SetSymbol(22,01) } Else { %LCD.SetSymbol(22,00) } %If(%Plugin.Kodi.Application.Volume() > 86) { %LCD.SetSymbol(23,01) } Else { %LCD.SetSymbol(23,00) } %If(%Plugin.Kodi.Application.Volume() = 100) { %LCD.SetSymbol(24,02) } Else { %LCD.SetSymbol(24,00) } %If((%Plugin.Kodi.ActivePlayer() = 'Audio' OR %Plugin.Kodi.ActivePlayer() = 'Video') AND %Plugin.Kodi.PVR.CurrentProgram.State() ! 'Playing') { %Param.OverlayMode() %Format.Bar( Horizontal, /horizontal display/ %Common.Config(LCDWidth), /width/ 1, /height/ 0, /minimum/ %Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.Playlist.Item(%i(), Length)'), /maximum/ %Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.CurrentItem.Position()'), /current/ 0, /frame width/ 0, /frame border/ 0, /xpos/ 15 /ypos/ ) } Else { } %If((%Plugin.Kodi.ActivePlayer() = 'Audio' OR %Plugin.Kodi.ActivePlayer() = 'Video') AND %Plugin.Kodi.PVR.CurrentProgram.State() = 'Playing') { %Param.OverlayMode() %Format.Bar( Horizontal, /horizontal display/ %Common.Config(LCDWidth), /width/ 1, /height/ 0, /minimum/ %Eval('%Plugin.Kodi.PVR.CurrentProgram.Length(0, Length)'), /maximum/ %Eval('%Plugin.Kodi.PVR.CurrentProgram.Position()'), /current/ 0, /frame width/ 0, /frame border/ 0, /xpos/ 15 /ypos/ ) } Else { } %If((%Plugin.Kodi.ActivePlayer() = 'Audio' OR %Plugin.Kodi.ActivePlayer() = 'Video') AND (%Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.Playlist.Item(0, Length)') > 0 OR %Plugin.Kodi.PVR.CurrentProgram.Length(0, Length) > 0)) { %Graph.SetPixel(0,14,1) %Graph.SetPixel(0,15,1) %Graph.SetPixel(47,14,1) %Graph.SetPixel(47,15,1) %Graph.SetPixel(95,14,1) %Graph.SetPixel(95,15,1) } Else { } #EndGfxMode //EndDef //ScreenDef Title=Player SpecCharFile= #Header %Common.SetPriority(100) %Plugin.Kodi.Connection.Open('127.0.0.1', 9090) %Param.RenderMode(Full) %DefVar(i=0) %DefVar(t1=%System.Uptime()) %DefVar(t2=%System.Uptime()) %DefVar(LabelKind='Artist') %DefVar(TVShowID=0) %DefVar(TVShowLabel=%Plugin.Kodi.VideoPlayer.Playlist.Item(%i(), Title)) %Graph.SetTextArea(0,0,96,15) #EndHeader #TextMode / insert textmode script code here / #EndTextMode #GfxMode %LCD.SetSymbol(10,01) %CleanUp.TextArea(All) %Format.AlignCenter() %Format.Offset(Vertical, -1) %Graph.Font('Lucida Console',7,1) %Param.EnableScrolling(Horizontal,Swing,2,94,1,500) /Screenwechsel/ %If(%Plugin.Kodi.Connection.State() ! 'Connected')Then{%Common.ChangeScreen(1000,0) } %If(%Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.State()') = 'Inactive' AND %Plugin.Kodi.ActivePlayer() ! 'Picture')Then{ %Common.ChangeScreen(1000,1) } /EndScreenWechsel/ %If(%Plugin.Kodi.ActivePlayer() = 'Audio')Then{%Assign(i, %Plugin.Kodi.AudioPlayer.CurrentItem.Index())} %If(%Plugin.Kodi.ActivePlayer() = 'Video')Then{%Assign(i, %Plugin.Kodi.VideoPlayer.CurrentItem.Index())} %If(%Plugin.Kodi.ActivePlayer() = 'Audio') { %If(%Plugin.Kodi.AudioPlayer.Playlist.Item(%i(), Artist) ! '') { %Assign(t2, %System.Uptime()) %If(%Dec(%t2(), %t1()) >= 20000) { %If(%LabelKind() = 'Artist') { %Assign(LabelKind, 'Title') } Else { %Assign(LabelKind, 'Artist') } %Assign(t1, %t2()) } %Plugin.Kodi.AudioPlayer.Playlist.Item(%i(), %LabelKind()) } Else { %Plugin.Kodi.AudioPlayer.Playlist.Item(%i(), Title) } } Else { } %If(%Plugin.Kodi.ActivePlayer() = 'Video' AND %Plugin.Kodi.PVR.CurrentProgram.State() ! 'Playing') { %Assign(TVShowID, %Plugin.Kodi.VideoPlayer.Playlist.Item(%i(), 'TVShowID')) %If(%TVShowID() > 0) { %Assign(t2, %System.Uptime()) %If(%Dec(%t2(), %t1()) >= 20000) { %If(%TVShowLabel() = %Plugin.Kodi.VideoPlayer.Playlist.Item(%i(), Title)) { %Assign(TVShowLabel, %Plugin.Kodi.TVShow.Detail(%TVShowID(), 'Title')) } Else { %Assign(TVShowLabel, %Plugin.Kodi.VideoPlayer.Playlist.Item(%i(), Title)) } %Assign(t1, %t2()) } Else { %If(%TVShowLabel() = '') { %Plugin.Kodi.TVShow.Detail(%TVShowID(), 'Title') } Else { %TVShowLabel() } } } Else { %Plugin.Kodi.VideoPlayer.Playlist.Item(%i(), Title) } } Else { } %If(%Plugin.Kodi.ActivePlayer() = 'Video' AND %Plugin.Kodi.PVR.CurrentProgram.State() = 'Playing')THEN{%Plugin.Kodi.PVR.CurrentProgram.Name()} %If((%Plugin.Kodi.ActivePlayer() = 'Picture') AND %Plugin.Kodi.PicturePlayer.State() = 'Playing') { 'Diashow' } Else { } %Common.CreateNewLine() %Format.Offset(Vertical,-1) %Graph.Font('Lucida Console',5,1) %System.GetDateTime('hh:nn') %If(%Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.State()') = 'Paused') { %LCD.SetSymbol(01,01) } Else { %LCD.SetSymbol(01,00) } %If(%Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.State()') = 'Playing') { %LCD.SetSymbol(00,01) } Else { %LCD.SetSymbol(00,00) } %If(%Plugin.Kodi.PVR.Recording() = 'True') { %LCD.SetSymbol(02,01) } Else { %LCD.SetSymbol(02,00) } %If(%Plugin.Kodi.Application.Muted() = 'True' OR %Plugin.Kodi.Application.Volume() = 0) { %LCD.SetSymbol(05,01) } Else { %LCD.SetSymbol(05,00) } %If(%Plugin.Kodi.Application.Volume() > 1) { %LCD.SetSymbol(11,01) } Else { %LCD.SetSymbol(11,00) } %If(%Plugin.Kodi.Application.Volume() > 9) { %LCD.SetSymbol(12,01) } Else { %LCD.SetSymbol(12,00) } %If(%Plugin.Kodi.Application.Volume() > 16) { %LCD.SetSymbol(13,01) } Else { %LCD.SetSymbol(13,00) } %If(%Plugin.Kodi.Application.Volume() > 23) { %LCD.SetSymbol(14,01) } Else { %LCD.SetSymbol(14,00) } %If(%Plugin.Kodi.Application.Volume() > 30) { %LCD.SetSymbol(15,01) } Else { %LCD.SetSymbol(15,00) } %If(%Plugin.Kodi.Application.Volume() > 37) { %LCD.SetSymbol(16,01) } Else { %LCD.SetSymbol(16,00) } %If(%Plugin.Kodi.Application.Volume() > 44) { %LCD.SetSymbol(17,01) } Else { %LCD.SetSymbol(17,00) } %If(%Plugin.Kodi.Application.Volume() > 51) { %LCD.SetSymbol(18,02) } Else { %LCD.SetSymbol(18,00) } %If(%Plugin.Kodi.Application.Volume() > 58) { %LCD.SetSymbol(19,01) } Else { %LCD.SetSymbol(19,00) } %If(%Plugin.Kodi.Application.Volume() > 65) { %LCD.SetSymbol(20,01) } Else { %LCD.SetSymbol(20,00) } %If(%Plugin.Kodi.Application.Volume() > 72) { %LCD.SetSymbol(21,01) } Else { %LCD.SetSymbol(21,00) } %If(%Plugin.Kodi.Application.Volume() > 79) { %LCD.SetSymbol(22,01) } Else { %LCD.SetSymbol(22,00) } %If(%Plugin.Kodi.Application.Volume() > 86) { %LCD.SetSymbol(23,01) } Else { %LCD.SetSymbol(23,00) } %If(%Plugin.Kodi.Application.Volume() = 100) { %LCD.SetSymbol(24,02) } Else { %LCD.SetSymbol(24,00) } %If((%Plugin.Kodi.ActivePlayer() = 'Audio' OR %Plugin.Kodi.ActivePlayer() = 'Video') AND %Plugin.Kodi.PVR.CurrentProgram.State() ! 'Playing') { %Param.OverlayMode() %Format.Bar( Horizontal, /horizontal display/ %Common.Config(LCDWidth), /width/ 1, /height/ 0, /minimum/ %Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.Playlist.Item(%i(), Length)'), /maximum/ %Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.CurrentItem.Position()'), /current/ 0, /frame width/ 0, /frame border/ 0, /xpos/ 15 /ypos/ ) } Else { } %If((%Plugin.Kodi.ActivePlayer() = 'Audio' OR %Plugin.Kodi.ActivePlayer() = 'Video') AND %Plugin.Kodi.PVR.CurrentProgram.State() = 'Playing') { %Param.OverlayMode() %Format.Bar( Horizontal, /horizontal display/ %Common.Config(LCDWidth), /width/ 1, /height/ 0, /minimum/ %Eval('%Plugin.Kodi.PVR.CurrentProgram.Length(0, Length)'), /maximum/ %Eval('%Plugin.Kodi.PVR.CurrentProgram.Position()'), /current/ 0, /frame width/ 0, /frame border/ 0, /xpos/ 15 /ypos/ ) } Else { } %If((%Plugin.Kodi.ActivePlayer() = 'Audio' OR %Plugin.Kodi.ActivePlayer() = 'Video') AND (%Eval('%Plugin.Kodi.'%Plugin.Kodi.ActivePlayer()'Player.Playlist.Item(0, Length)') > 0 OR %Plugin.Kodi.PVR.CurrentProgram.Length(0, Length) > 0)) { %Graph.SetPixel(0,14,1) %Graph.SetPixel(0,15,1) %Graph.SetPixel(47,14,1) %Graph.SetPixel(47,15,1) %Graph.SetPixel(95,14,1) %Graph.SetPixel(95,15,1) } Else { } #EndGfxMode //EndDef //ScreenDef Title=Aida SpecCharFile= #Header %Common.SetPriority(500) %Plugin.Kodi.Connection.Open('127.0.0.1', 9090) %DefVar(i=0) %Param.RenderMode(Full) #EndHeader #TextMode / insert textmode script code here / #EndTextMode #GfxMode %LCD.SetSymbol(10,00) %LCD.SetSymbol(11,00) %LCD.SetSymbol(12,00) %LCD.SetSymbol(13,00) %LCD.SetSymbol(14,00) %LCD.SetSymbol(15,00) %LCD.SetSymbol(16,00) %LCD.SetSymbol(17,00) %LCD.SetSymbol(18,00) %LCD.SetSymbol(19,00) %LCD.SetSymbol(20,00) %LCD.SetSymbol(21,00) %LCD.SetSymbol(22,00) %LCD.SetSymbol(23,00) %LCD.SetSymbol(24,00) %Format.AlignCenter() %Graph.Font('Lucida Console',7,1) 'i5-7500 '%Plugin.AIDA64.System.CPU.Utilization()'% ' %Plugin.AIDA64.Temperature.CPU()'c' %Common.CreateNewLine() 'GTX1050ti '%Plugin.AIDA64.System.GPU.Utilization(1)'% ' %Plugin.AIDA64.Temperature.GPU.Diode(1)'c' /Screenwechsel/ %Common.ChangeScreen(10000, 0) %If(%Plugin.Kodi.Connection.State() = 'Connected')Then{%Common.ChangeScreen(1000,1) } /EndScreenWechsel/ #EndGfxMode //EndDef