Posts: 363
Joined: Jun 2004
Reputation:
0
i'm just looking at the source of the pocketpc app.
when the song is changing it must update the app.
so i found out that it has a pull checks the xbmc every second (1000milliseconds). wouldn it be better to have a push sever technology? how is this working in reality? is this horrible slow or is it acceptable? anyway.this could be done by having a little phyton script that just signals the app when a new song is played. what do you think?
Posts: 71
Joined: Oct 2003
Reputation:
0
wow this app is the dogs bo####ks :d
Posts: 265
Joined: Feb 2004
Reputation:
0
nad
Retired Team-Kodi Member
Posts: 265
thor918: i think you missed a zero when you said the poll frequency was 1000ms, the default value is in fact 10s. you can change this figure by manually modifying the xbmccontrol.ini.txt file (checkperiod is the entry you need to change).
the way i use xbmccontrol is typically just to start an entire album playing and then sit back and listen. xbmccontrol should update itself within a couple of seconds of the start of each new track.
it sounds like your mode of navigation is to click the previous and next buttons, which is where the screen update delay comes in. i'll have a play with your suggestion (27 april) to see if it makes things any better. however, assuming there is a playlist in operation you can flip between tracks almost instantaneously by clicking on the required track on the playlists tab.
off topic - have you noticed that you can almost 'scratch' the playing track by dragging the position bar on the main tab.
nad
Posts: 363
Joined: Jun 2004
Reputation:
0
there is one sourcefile that exists and there is one new sourcefile. you can just copy these files into the sourcedir and overwrite one file. the application has to be compiled again.
but remember this is just an experiment.
Posts: 56
Joined: Oct 2004
Reputation:
0
thor,
many thanks for posting the full app, much appreciated.
however....
i've tried running the exe that you've provided (both the one in the root folder and the one in "xbmccontroldesktop") and they work fine except that msn doesn't display anything...
am i being a retard? what am i doing wrong?
(i'm running msn v7.0.0777 and yes i have got "turn on "what i'm listening too"" checked and it does work with media player)
thanks again
Acer Revo R3700, XBMC Darma on Windows 7 - Xbox with X3, X3CP & X3IR, XBMC as dash, Xbox v1.4, Vantec 80mm Stealth Fan Mod
Posts: 363
Joined: Jun 2004
Reputation:
0
the exe that is in the bin folder should be the one that works
xbmccontroldesktop\source\bin\xbmccontroldesktop.exe
if the mediaplayer works it should work using this code.
Posts: 56
Joined: Oct 2004
Reputation:
0
thanks alot thor,
swapped in that exe and it works like a charm.
great work.....
Acer Revo R3700, XBMC Darma on Windows 7 - Xbox with X3, X3CP & X3IR, XBMC as dash, Xbox v1.4, Vantec 80mm Stealth Fan Mod
Posts: 265
Joined: Feb 2004
Reputation:
0
nad
Retired Team-Kodi Member
Posts: 265
i have just uploaded v0.98 of xbmccontroller to sourceforge.
added thor's msn messenger integration code to the desktop version.
made the main tab controls more reactive.
increased the timeout that the app will wait for a response from xbmc.
(the latter should fix thor's problem with the app going offline. i have assumed it was caused by the xbox hard disk going into power save mode. when my app next makes a call to xbmc, the app is probably timing-out while waiting for the hard drive to spin up again. i have increased the timeout from 5s to 10s. let me know if you still experience this problem.)
nad
Posts: 265
Joined: Feb 2004
Reputation:
0
nad
Retired Team-Kodi Member
Posts: 265
affini: i haven't, but i'll look into over the next few days.
nad