Win KODI4SMARTIE - Kodi DLL for LCD Smartie
#91
$dll(Kodi4smartie,2,,) shows the time when nothing is playing. the line is blank when playing video stream either local or remote. shows the time left bar playing bar when playing music. if you then stop playing music and play a video stream local or remote the time left bar works ok (or untill crash or system reboot.

Will capture a log for you tonight.

Chris.

a quick sample from my log.. most of the info is just repeated chunk after chunk so i cut and pasted a few lines.

03/21/17 01:37:09: Init
03/21/17 01:37:09: SmartieInit
03/21/17 01:37:09: Connecting to ws://LOCALHOST:9090
03/21/17 01:37:09: Connected to ws://LOCALHOST:9090
03/21/17 01:38:27: Sending: {"id":303,"jsonrpc":"2.0","method":"Player.GetActivePlayers"}
03/21/17 01:38:27: Received: {"id":303,"jsonrpc":"2.0","result":[]}
03/21/17 01:38:27: Received: {"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"episode":8,"season":1,"showtitle":"24: Legacy","title":"7:00 P.M. - 8:00 P.M.","type":"episode"},"player":{"playerid":-1,"speed":1}},"sender":"xbmc"}}
03/21/17 01:38:27: Mode set to episode
03/21/17 01:38:27: title 7:00 P.M. - 8:00 P.M.
03/21/17 01:38:27: title=7:00 P.M. - 8:00 P.M.
03/21/17 01:38:27: Sending: {"id":304,"jsonrpc":"2.0","method":"Player.GetActivePlayers"}
03/21/17 01:38:27: Received: {"id":304,"jsonrpc":"2.0","result":[{"playerid":1,"type":"video"}]}
03/21/17 01:38:27: Sending: {"id":305,"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":1,"properties":["speed"]}}
03/21/17 01:38:27: Received: {"id":305,"jsonrpc":"2.0","result":{"speed":1}}
03/21/17 01:38:27: Sending: {"id":306,"jsonrpc":"2.0","method":"Player.GetActivePlayers"}
03/21/17 01:38:27: Received: {"id":306,"jsonrpc":"2.0","result":[{"playerid":1,"type":"video"}]}
03/21/17 01:38:27: Sending: {"id":307,"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":1,"properties":["speed"]}}
03/21/17 01:38:29: Received: {"id":328,"jsonrpc":"2.0","result":{"speed":1}}
03/21/17 01:38:29: Sending: {"id":329,"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":-1,"properties":["percentage","time","totaltime"]}}
03/21/17 01:38:29: Received: {"error":{"code":-32602,"data":{"method":"Player.GetProperties","stack":{"message":"Value between 0 (inclusive) and 2 (inclusive) expected but -1 received","name":"playerid","type":"integer"}},"message":"Invalid params."},"id":329,"jsonrpc":"2.0"}
03/21/17 01:38:29: Sending: {"id":330,"jsonrpc":"2.0","method":"Player.GetActivePlayers"}
03/21/17 01:38:29: Received: {"id":330,"jsonrpc":"2.0","result":[{"playerid":1,"type":"video"}]}
03/21/17 01:38:29: Sending: {"id":331,"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":1,"properties":["speed"]}}
03/21/17 01:38:30: Received: {"id":341,"jsonrpc":"2.0","result":{"speed":1}}
03/21/17 01:38:30: Sending: {"id":342,"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":-1,"properties":["percentage","time","totaltime"]}}
03/21/17 01:38:30: Received: {"error":{"code":-32602,"data":{"method":"Player.GetProperties","stack":{"message":"Value between 0 (inclusive) and 2 (inclusive) expected but -1 received","name":"playerid","type":"integer"}},"message":"Invalid params."},"id":342,"jsonrpc":"2.0"}
03/21/17 01:38:30: Sending: {"id":343,"jsonrpc":"2.0","method":"Player.GetActivePlayers"}
03/21/17 01:38:30: Received: {"id":343,"jsonrpc":"2.0","result":[{"playerid":1,"type":"video"}]}
03/21/17 01:38:30: Sending: {"id":344,"jsonrpc":"2.0","method":"Player.GetProperties","params":
03/21/17 01:38:56: SmartieFini

config ini

[Communication Settings]
DisplayDLLName=matrix.dll
DisplayDLLParameters=COM3,9600
Baudrate=8
COMPort=1
USBPalm=0
ParallelPort=888
HDAlternativeAddressing=0
HDKS0073Addressing=0
HDTimingMultiplier=1
MX3USB=0
HTTPProxy=
HTTPProxyPort=0
RemoteHost=localhost

[General Settings]
RefreshRate=1000
WinAmpLocation=C:\Program Files\Winamp\winamp.exe
BootDriverDelay=1
SETIEmail=test@test.com
DistLog=C:\koelog.txt
EmailPeriod=1
DLLPeriod=250
ScrollPeriod=300
AlwaysOnTop=0
Size=11
NewsRefresh=120
RandomScreens=0
FoldUsername=Test
GameRefresh=1
MBMRefresh=30
CheckUpdates=1
ColorOption=1
MinFadeContrast=0
SkinPath=images\smoothandblack\
DLLContrast=249
DLLBrightness=254
HideOnStartup=1
AutoStart=0
AutoStartHidden=1
EmulateLCD=1
LCDType=7
Contrast=88
Brightness=26
CFContrast=66
CFBrightness=61
CFCGRomVersion=2
IRBrightness=3
LastTab=10
TrayIcon=smartie.ico
ShowMBM=0
ShutdownLine1=" System going down"
ShutdownLine2=" for a reboot"
ShutdownLine3=""
ShutdownLine4=""
ActionsRefreshRate=250

[Screen 01]
Enabled=1
Theme=1
ShowTime=30
Sticky=0
Skip=0
InteractionTime=20
Interaction=0
Text01="$dll(bignum,3,1,$Time(h:nnConfuseds))"
Text02="$dll(bignum,3,2,$Time(h:nnConfuseds))"
Text03="$dll(bignum,3,3,$Time(h:nnConfuseds))"
Text04="$dll(bignum,3,4,$Time(h:nnConfuseds))"
NoScroll01=0
NoScroll02=0
NoScroll03=0
NoScroll04=0
ContinueNextLine01=0
ContinueNextLine02=0
ContinueNextLine03=0
ContinueNextLine04=0
Center01=1
Center02=1
Center03=1
Center04=1

[Screen 02]
Enabled=0
Theme=1
ShowTime=10
Sticky=1
Skip=0
InteractionTime=15
Interaction=0
Text01=""
Text02="$dll(kodi4smartie,7,XBMC.GetInfoLabels,System.CurrentWindow)"
Text03=""
Text04=""
NoScroll01=0
NoScroll02=1
NoScroll03=1
NoScroll04=1
ContinueNextLine01=0
ContinueNextLine02=0
ContinueNextLine03=0
ContinueNextLine04=0
Center01=1
Center02=1
Center03=1
Center04=1

[Screen 03]
Enabled=0
Theme=1
ShowTime=20
Sticky=1
Skip=0
InteractionTime=15
Interaction=0
Text01="$dll(kodi4smartie,1,,)"
Text02=""
Text03="$dll(kodi4smartie,2,,)"
Text04="$dll(kodi4smartie,5,Player.GetProperties,time#minutes) mins / $dll(kodi4smartie,5,Player.GetProperties,totaltime#minutes) mins"
NoScroll01=0
NoScroll02=0
NoScroll03=0
NoScroll04=0
ContinueNextLine01=0
ContinueNextLine02=0
ContinueNextLine03=0
ContinueNextLine04=0
Center01=1
Center02=1
Center03=1
Center04=1

[Screen 04]
Enabled=1
Theme=1
ShowTime=15
Sticky=0
Skip=0
InteractionTime=15
Interaction=0
Text01="$CPUType"
Text02="working @ $CPUUsage%%$Fill(20)$Bar($CPUUsage%,100,20)"
Text03="$NetAdapter(7)"
Text04="Down-$NetSpDownK(7) : Up-$NetSpUpK(7)"
NoScroll01=1
NoScroll02=1
NoScroll03=0
NoScroll04=1
ContinueNextLine01=0
ContinueNextLine02=0
ContinueNextLine03=0
ContinueNextLine04=0
Center01=0
Center02=1
Center03=1
Center04=1

[Screen 05]
Enabled=1
Theme=1
ShowTime=10
Sticky=0
Skip=0
InteractionTime=20
Interaction=0
Text01=""
Text02="$UpTime"
Text03=""
Text04="$Time(hh:nnConfuseds 'on' dddd d mmmm yyyy)"
NoScroll01=1
NoScroll02=1
NoScroll03=0
NoScroll04=1
ContinueNextLine01=0
ContinueNextLine02=0
ContinueNextLine03=0
ContinueNextLine04=0
Center01=1
Center02=1
Center03=0
Center04=1

[Screen 06]
Enabled=1
Theme=1
ShowTime=15
Sticky=0
Skip=0
InteractionTime=20
Interaction=0
Text01="Hdd usage Stats"
Text02=""
Text03="C: $Right($HDUseg©GB / $HDTotag©,$2%)GB"
Text04="D: $Right($HDUseg(D)GB / $HDTotag(D),$2%)GB"
NoScroll01=1
NoScroll02=1
NoScroll03=1
NoScroll04=1
ContinueNextLine01=0
ContinueNextLine02=0
ContinueNextLine03=0
ContinueNextLine04=0
Center01=1
Center02=0
Center03=1
Center04=1

[Screen 07]
Enabled=0
Theme=1
ShowTime=30
Sticky=0
Skip=0
InteractionTime=20
Interaction=0
Text01="$dll(kodi4smartie,9,,)"
Text02=""
Text03=""
Text04=""
NoScroll01=1
NoScroll02=1
NoScroll03=1
NoScroll04=1
ContinueNextLine01=0
ContinueNextLine02=0
ContinueNextLine03=0
ContinueNextLine04=0
Center01=1
Center02=1
Center03=1
Center04=1

[Screen 08]
Enabled=1
Theme=1
ShowTime=15
Sticky=0
Skip=0
InteractionTime=20
Interaction=0
Text01="Today is the :-"
Text02=""
Text03="$dll(bignum,2,1#1,$Time(d mmm yyyy))"
Text04="$dll(bignum,2,2#1,$Time(d mmm yyyy))"
NoScroll01=1
NoScroll02=0
NoScroll03=1
NoScroll04=1
ContinueNextLine01=0
ContinueNextLine02=0
ContinueNextLine03=0
ContinueNextLine04=0
Center01=1
Center02=0
Center03=1
Center04=1

next ten are not used. email etc not used game servers etc not used but still in there....

[Actions]
Action01Variable=$dll(kodi4smartie,5,Player.GetProperties,speed)
Action01Condition=0
Action01ConditionValue=0
Action01Action=GotoScreen(3)
Reply


Messages In This Thread
RE: KODI4SMARTIE - Kodi DLL for LCD Smartie - by IsogoniC - 2017-03-21, 03:23
Logout Mark Read Team Forum Stats Members Help
KODI4SMARTIE - Kodi DLL for LCD Smartie0