WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps (/showthread.php?tid=8760)
- thor918 - 2005-05-01 16:05
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?
- zordon - 2005-05-01 21:21
(thor918 @ may 01 2005,14:42 Wrote:use getright or something similar to ensure downloadthanks getright worked.
- zordon - 2005-05-01 21:47
wow this app is the dogs bo####ks
- nad - 2005-05-01 22:53
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.
- thor918 - 2005-05-03 14:41
addition to the desktop app.
msn music listen code.
it is always on in this code. so it should be added a setting to turn on/off
nad has the code.so maby it will be uploaded in a version of httpapplication at sourceforge.
btw. are anyone eles experience that the app goes to offline mode after a while.and it seems like it does timeout every time it says looking up image.
album image does work.
Quote:i found this nifty little code that will allow us to have xbox song info in the msn nick.
- HaggleLad - 2005-05-03 18:50
(thor918 @ may 03 2005,13:41 Wrote:are you able to explain how this works coz there's no readme?Quote:i found this nifty little code that will allow us to have xbox song info in the msn nick.
i.e. what files to put where? (does anything need to be compiled?)
- thor918 - 2005-05-03 19:11
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.
- thor918 - 2005-05-03 22:29
okey.here is the whole thing.
new files put in place
just found out that the users that see you will look for smileys in the music nick to. hmm how stupid is that. anyway "xbox muisic: " should remove the stupid thing that ":" followed by "s" will be converted to a smiley.
- HaggleLad - 2005-05-05 20:46
many thanks for posting the full app, much appreciated.
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)
- thor918 - 2005-05-06 05:14
the exe that is in the bin folder should be the one that works
if the mediaplayer works it should work using this code.