Kodi Community Forum
Win XBMC on iMON Display (LCD / VFD) for Windows - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Win XBMC on iMON Display (LCD / VFD) for Windows (/showthread.php?tid=84166)



- Montellese - 2010-10-31

tomer953 Wrote:I have win7 dharme beta4,
when I change the volume, the volume bar stays on the lcd untill I stop\pause the movie.

Unfortunately there is no volume bar yet as the API from Soundgraph does not allow to control the top and bottom bars separately. It only allows to provide a current position and a total length.
What it does then is to display the current progress at the top bar and the remaining progress at the bottom bar.

tomer953 Wrote:another problem is the time bars, its not working only when I pause the movie. when its playing, the bar is always full.

I'll have to look into that. Currently it should update the progress every 5 seconds and when you pause/resume/seek. The problem when playing movies is that there are only 32 pieces to show the progress and when a movie has a runtime of 2 hours that means the progress will only change every 4 minutes. With music songs it should change around every 5 - 10 seconds (which is why I went for a 5 second update interval).


- Montellese - 2010-10-31

Okay I just released the new beta version 0.1.1. This is the change log:

Changelog (v0.1.1 Beta):
  • General
    • Logging of errors added (see error.log in the application directory)
    • Option to enable detailed debug logging (see debug.log in the application directory)
  • iMON
    • Custom delay at the end of a scrolling text before the next / same text starts scrolling again
    • Interaction with the display is now handled in a seperate thread which avoids user interface freezes
    • Possibility to enable/disable displaying a sound system setup and choosing between different sound systems
  • XBMC
    • Option to enable/disable displaying a custom static text when XBMC is idle (no file is playing)
    • Interaction with XBMC is now handled in a seperate thread which avoids user interface freezes

Primarily I released this version because I have added a log feature which will allow me to hunt down errors/bugs/problems more easily. There are two types of logging:

Error logging: Error logging is on by default and writes every error that occurs into the file "error.log".
Debug logging: Debug logging can be enabled/disabled in the general settings. Don't keep it enabled all the time because it produces a lot of output. The log messages (and error messages) are written into the file "debug.log".

How to use the different logging mechanisms:
As long as everything works fine DO NOT enable debug logging. If you run into any trouble or think you found a bug, enable debug logging and restart the application (to clear the debug log). Then try to reproduce the problem in as few steps as possible and post the content of the "debug.log" on pastebin and link it here along with a description of the problem.

x86 or x64Huh
I only released an x86 version now. I had a quick play with it in my Windows 7 x64 virtual machine and did not run into any obvious problems which could be related to x64.

iMon Manager configuration
raptylos (thanks man) noticed that there may be a problem when the option to display media information from XBMC is enabled in iMon Manager. As this application is inteded to replace that functionality completely you can just disable that option in iMon Manager. If you don't trust my application yet (well it's an early beta so that's highly understandable Wink) then if you have problem running my application try to disable the option temporarily and see if it fixes the problem (you might need to restart iMon Manager to really disable it).


- Raptylos - 2010-10-31

Thanks for the credits Wink

I tracked down another problem on x64. When you play Shoutcast, the length and endtime of a song is unknown. That causes your program to stop working.

When playing "normal" audio files, nothing is displayed in the display exept the progress bar and the last state (defined display string "XBMC" in my case or "Pause"). I even restartet the computer before each test to avoid any problems with old buffers etc.

Hold on to your good work, you'll fix that, I am sure of that Wink


- frater - 2010-10-31

I haven't seen this addon work, but I would love to see it working.
I installed it this week and it gave me an error about not connecting to iMon. Today I installed the 31-10-2010 version and now it doesn't connect either...

It says it can't connect with the iMon manager which is running.
I'm running 7.89.0622

restarting iMon and then this iMon app doesn't make a diference

A minor issue: I have a 5.0 system (4 satellites & centre speaker) and it isn't in my list of choice. I don't even know yet what this App can do with it, but thought I would just mention.

I also had some problems connecting with XBMC, but it seems the App needs a restart after changing the credentials/IP:port settings.


- Raptylos - 2010-10-31

frater Wrote:I haven't seen this addon work, but I would love to see it working.
I installed it this week and it gave me an error about not connecting to iMon. Today I installed the 31-10-2010 version and now it doesn't connect either...

It says it can't connect with the iMon manager which is running.
I'm running 7.89.0622

restarting iMon and then this iMon app doesn't make a diference

A minor issue: I have a 5.0 system (4 satellites & centre speaker) and it isn't in my list of choice. I don't even know yet what this App can do with it, but thought I would just mention.

I also had some problems connecting with XBMC, but it seems the App needs a restart after changing the credentials/IP:port settings.

Did you disable the "Mediainformation" under Frontview for XBMC in iMON ? Otherwise you'll get no connect without error !


- Montellese - 2010-10-31

frater Wrote:I haven't seen this addon work, but I would love to see it working.
I installed it this week and it gave me an error about not connecting to iMon. Today I installed the 31-10-2010 version and now it doesn't connect either...

It says it can't connect with the iMon manager which is running.
I'm running 7.89.0622

You should read the README file shipped with the application. It states that you need the very latest beta version of iMon Manager which is v7.91.0929, otherwise the new plugin API is not yet available and therefore it won't work. There is also detailed info on how to install that latest version.

frater Wrote:A minor issue: I have a 5.0 system (4 satellites & centre speaker) and it isn't in my list of choice. I don't even know yet what this App can do with it, but thought I would just mention.

Thx for the hint I will add it as soon as possible. It is simply used to display the correct speaker setup icons on the LCD at the top right. Feature request ticket added to the project's tracker: Ticket #4

frater Wrote:I also had some problems connecting with XBMC, but it seems the App needs a restart after changing the credentials/IP:port settings.

Damn I wanted to fix this for today's release but must have forgotten about it Undecided I added it as a bug to the project's bug tracker Ticket #3

Raptylos Wrote:Thanks for the credits Wink
Everyone who contributes deserves to be credited.

Raptylos Wrote:I tracked down another problem on x64. When you play Shoutcast, the length and endtime of a song is unknown. That causes your program to stop working.
How do I play Shoutcasts so I can track down the problem and find a fix for it? I added it to the tracker as well: Ticket #5

Raptylos Wrote:When playing "normal" audio files, nothing is displayed in the display exept the progress bar and the last state (defined display string "XBMC" in my case or "Pause"). I even restartet the computer before each test to avoid any problems with old buffers etc.

Does this only occur with audio files or with videos as well? Seems to work fine for me (on 32bit of course). Could you provide a debug log of that scenario (debugging enabled)?


- Raptylos - 2010-10-31

Montellese Wrote:How do I play Shoutcasts so I can track down the problem and find a fix for it? I added it to the tracker as well: Ticket #5

Does this only occur with audio files or with videos as well? Seems to work fine for me (on 32bit of course). Could you provide a debug log of that scenario (debugging enabled)?

You can play Shoutcast with the Audio-Addon provided in the Repo.

The problem only occures with audio files - video files run perfectly.

Here's the debug log : http://pastebin.com/Q8kq8SCy (Standard audio, not Shoutcast)


- Montellese - 2010-10-31

Raptylos Wrote:The problem only occures with audio files - video files run perfectly.

Here's the debug log : http://pastebin.com/Q8kq8SCy (Standard audio, not Shoutcast)

How did you start playing the files? From Library mode? There seems to be a problem with the JSON RPC API if playback of a file is not started from library mode (i.e. from files mode or using JSON RPC API functions) to get information like a songs title, artist etc.


- s1mp3 - 2010-10-31

I'm still having problems with unknown IMON error. I have re-installed IMON (latest beta) and have installed Xbmc Dharma beta4.

Here is my debug log.

Quote:31.10.2010. 21:32:20 [GUI] Settings successfully applied to the GUI
31.10.2010. 21:32:20 [GUI] Setting up iMON
31.10.2010. 21:32:20 [GUI] Setting up XBMC connection to 192.168.2.6:80
31.10.2010. 21:32:20 [GUI] Auto-connecting to XBMC at startup
31.10.2010. 21:32:20 [XBMC] XbmcJsonRpcConnection.IsAlive
31.10.2010. 21:32:20 [GUI] Asynchronous starting to connect with XBMC
31.10.2010. 21:32:20 [XBMC] Opening a connection to XBMC
31.10.2010. 21:32:20 [XBMC] XbmcJsonRpcConnection.IsAlive
31.10.2010. 21:32:20 [XBMC] XbmcJsonRpc.Ping()
31.10.2010. 21:32:20 [XBMC] Calling JSON RPC method "JSONRPC.Ping"...
31.10.2010. 21:32:20 [XBMC] JSON RPC call: {
"jsonrpc": "2.0",
"method": "JSONRPC.Ping",
"id": 1
}
31.10.2010. 21:32:20 [XBMC] JSON RPC response: {
"id" : 1,
"jsonrpc" : "2.0",
"result" : "pong"
}

31.10.2010. 21:32:20 [XBMC] XbmcPlayer.GetActivePlayers()
31.10.2010. 21:32:20 [XBMC] Calling JSON RPC method "Player.GetActivePlayers"...
31.10.2010. 21:32:20 [XBMC] JSON RPC call: {
"jsonrpc": "2.0",
"method": "Player.GetActivePlayers",
"id": 2
}
31.10.2010. 21:32:20 [XBMC] JSON RPC response: {
"id" : 2,
"jsonrpc" : "2.0",
"result" : {
"audio" : false,
"picture" : false,
"video" : false
}
}

31.10.2010. 21:32:20 [XBMC Handler] Start working
31.10.2010. 21:32:20 [XBMC Handler] Update
31.10.2010. 21:32:20 [XBMC Handler] Displaying Idle
31.10.2010. 21:32:20 [Display Handler] Setting text to "XBMC"
31.10.2010. 21:32:20 [XBMC] XbmcJsonRpc.Ping()
31.10.2010. 21:32:20 [XBMC] Calling JSON RPC method "JSONRPC.Ping"...
31.10.2010. 21:32:20 [XBMC] JSON RPC call: {
"jsonrpc": "2.0",
"method": "JSONRPC.Ping",
"id": 3
}
31.10.2010. 21:32:20 [XBMC] JSON RPC response: {
"id" : 3,
"jsonrpc" : "2.0",
"result" : "pong"
}

31.10.2010. 21:32:20 [GUI] Connection with XBMC established
31.10.2010. 21:32:20 [XBMC] XbmcGeneral.BuildVersion
31.10.2010. 21:32:20 [XBMC] XbmcSystem.GetInfoLabel(System.BuildVersion)
31.10.2010. 21:32:20 [XBMC] Calling JSON RPC method "System.GetInfoLabels"...
31.10.2010. 21:32:20 [XBMC] JSON RPC call: {
"jsonrpc": "2.0",
"method": "System.GetInfoLabels",
"params": [
"System.BuildVersion"
],
"id": 4
}
31.10.2010. 21:32:20 [XBMC] JSON RPC response: {
"id" : 4,
"jsonrpc" : "2.0",
"result" : {
"System.BuildVersion" : "10.0-beta4 r35067"
}
}

31.10.2010. 21:32:20 [XBMC] XbmcGeneral.BuildDate
31.10.2010. 21:32:20 [XBMC] XbmcSystem.GetInfoLabel(System.BuildDate)
31.10.2010. 21:32:20 [XBMC] Calling JSON RPC method "System.GetInfoLabels"...
31.10.2010. 21:32:20 [XBMC] JSON RPC call: {
"jsonrpc": "2.0",
"method": "System.GetInfoLabels",
"params": [
"System.BuildDate"
],
"id": 5
}
31.10.2010. 21:32:20 [XBMC] JSON RPC response: {
"id" : 5,
"jsonrpc" : "2.0",
"result" : {
"System.BuildDate" : "Oct 28 2010"
}
}

31.10.2010. 21:32:20 [GUI] Initializing iMON
31.10.2010. 21:32:20 [iMON] IMON_Display_IsInited()
31.10.2010. 21:32:20 [iMON] IMON_Display_Init(197518, 37428)
31.10.2010. 21:32:20 [iMON] Message received: PluginFailed(512)
31.10.2010. 21:32:20 [iMON] ERROR Interpreting init result error type: Unknown
31.10.2010. 21:32:20 [iMON] ERROR Error received: Unknown
31.10.2010. 21:32:20 [GUI] ERROR iMON reports an error of type Unknown
31.10.2010. 21:32:20 [iMON] IMON_Display_IsInited()
31.10.2010. 21:32:20 [GUI] Uninitializing iMON
31.10.2010. 21:32:20 [iMON] IMON_Display_IsInited()
31.10.2010. 21:32:20 [iMON] IMON_Display_Uninit()

Thank you for your work!
Finally my LCD on Silverstone CW03 will be usefulLaugh


- Montellese - 2010-10-31

s1mp3 Wrote:Finally my LCD on Silverstone CW03 will be usefulLaugh

Ah you have one of those "big" touch screen LCDs? This application is meant for the iMon VFDs (picture) and iMon LCDs (picture) and not for the touchscreen ones.
I have no clue how the iMON touchscreens work sorry Sad


- s1mp3 - 2010-10-31

Ups Sad

Sorry for bothering you...

I guess I'll have to wait then...


- Raptylos - 2010-10-31

Montellese Wrote:How did you start playing the files? From Library mode? There seems to be a problem with the JSON RPC API if playback of a file is not started from library mode (i.e. from files mode or using JSON RPC API functions) to get information like a songs title, artist etc.

Indeed - wasn't from library-mode - I'll check that from library-mode again.

Edit: just checked it - Bug is only in file-mode


- Tolriq - 2010-10-31

Montellese Wrote:Ah you have one of those "big" touch screen LCDs? This application is meant for the iMon VFDs (picture) and iMon LCDs (picture) and not for the touchscreen ones.
I have no clue how the iMON touchscreens work sorry Sad

For Touch LCD there's Yatse Wink

It's made first for this usage as i own an Thermaltake DH 102 with 7'' Imon Touch Smile

http://forum.xbmc.org/showthread.php?tid=68936

Sorry for thread ninja :p


- Montellese - 2010-11-01

Tolriq Wrote:For Touch LCD there's Yatse Wink

It's made first for this usage as i own an Thermaltake DH 102 with 7'' Imon Touch Smile

http://forum.xbmc.org/showthread.php?tid=68936

Sorry for thread ninja :p

No problem. I considered posting a link to your thread but I wasn't sure if it would work on the iMON LCDs as well.


- Tolriq - 2010-11-01

Raptylos Wrote:Indeed - wasn't from library-mode - I'll check that from library-mode again.

Edit: just checked it - Bug is only in file-mode

This is confirming my doubt about regression in Beta 3 and next.
Usually my trac ticket stay without answer i surely do them bad Smile

Perhaps someone more listen can try to make a ticket so that it's corrected before release because it's quite a big problem for most remote controllers Smile

(Problem is meta data are not filled when launched from files modes or from api with filenames this is problematic for all HTTPAPI users than can only launch items by filenames).

Quote:No problem. I considered posting a link to your thread but I wasn't sure if it would work on the iMON LCDs as well.

Only 800*480 of more LCD for Yatse, you project is good because i know lots of users of little LCD / VFD that wanted XBMC informations on it Smile