PDA

View Full Version : Differences between player and python xbmc.player?


funkyfoo
2004-12-07, 02:19
hi all,

i've recently wrote some scripts that use the python xbmc.player().play(url) to play avi files from a webserver. this doesn't work, it starts buffering and then hangs after the message "avi file format detected".

however, when i upload a .strm file to the xbox linking to an avi file, it works just fine. so my question is, is there a difference between the players or the way they are handled?

thanks!

funkyfoo
2004-12-16, 18:10
:bump: :help:

darkie
2004-12-16, 18:56
however, when i upload a .strm file to the xbox linking to an avi file, it works just fine. so my question is, is there a difference between the players or the way they are handled? nope, there isn't any difference, so it should work. if it doesn't work (it could be bad luck too if the network connetion fails at that moment) there is something broken aparently :). but you could post your log file with full debug on so we can have an idea where it goes wrong

solexalex
2004-12-16, 19:10
as for .avi files, i noticed that internet video cache has to be set to 4096 at least for avi stream files to work...

funkyfoo
2004-12-20, 12:28
thanks for the reply darkie. my network buffer has already been set higher than 4096 so that shouldn't be the problem.

i'm confident the problem isn't in the network connection either. where do i find this debug log by the way?

many thanks!