New KML site: Onlinestreams

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
iafilius Offline
Member
Posts: 87
Joined: Jun 2004
Reputation: 0
Post: #71
(hades_666 @ dec. 04 2004,03:39 Wrote:i was just wondering where i get the updated script. it says in the change log 12-02-2004 had fixes. but i only have access to the one 20041005.py. can some point me in the right direction.
latest "onlinestreams-version" is from 5 october 2004, so i thing this _is_ the latest version, and there are no updates.
the original kml browser is last updated at may 2004 i suppose.

greetings,
find quote
iafilius Offline
Member
Posts: 87
Joined: Jun 2004
Reputation: 0
Post: #72
hi,

i need some help (i'm not realy a pytjon/xbmc script writer)

for the modified kmlbrowser.py i'd like to have a automatic quality feedback for each stream just played. for that i need some good/bad return code for the actual player command.

it's about this code part:
Quote:def playmedia(url):
try:
pls = xbmc.playlist(0)
pls.clear()
pls.load(downloadplaylist(url))
player = xbmc.player()
player.play(pls)
except:
return none

after (which i think is the actual play command) "player.play(pls)", i'd like to query/post an url based on the return code of the player function.

something like (shelscript code):
Quote:player.play(pls)
if [ "$?" == "0" ]
then
curl http://www.onlinestreams.nl/kml.php&action=feedback&return=ok
else
curl http://www.onlinestreams.nl/kml.php&action=feedback&return=notok
fi


can anyone give me a hint, or perhaps give my some actual code please?

thanks in advance,

greetings,

arjan
find quote
iafilius Offline
Member
Posts: 87
Joined: Jun 2004
Reputation: 0
Post: #73
people,

i updated the kmlbrowser and my http://www.onlinestreams.nl website to make a atomatic feedback function to work.
now if a certen number people can't play a stream url it get's disabled.
this way, dead links are cleaned-up automagically. the original stream poster will get a notifier.

this may largely improve the http://www.onlinestreams.nl database with only working stream pointers in the end.

so please upgrade your kml browser.
you can download it at:
http://www.onlinestreams.nl/software/kml...0050109.py
or in the software section when you're loggon on.

greetings,

arjan
find quote
Livin Offline
Posting Freak
Posts: 3,432
Joined: May 2004
Reputation: 17
Location: above ground
Post: #74
arjan,
nice addition!

I'm not an expert but I play one at work.
find quote
WarriorSan Offline
Senior Member
Posts: 151
Joined: Oct 2003
Reputation: 0
Post: #75
yeah,

great job! Big Grin

-xbox v1.1 with samsung dvd-drive
-250 gb
-ata 100 cable
-xecuter 2.2 pro
-xecuter 5035 bios (customized)
-customized ms dash

-crystal xbox v1.4 with samsung dvd-drive and uv light
-300 gb
-ata 100 cable
-xenium ice
-xecuter 5035 bios (customized)
-xbmc as dash
find quote
SaSh Offline
Junior Member
Posts: 9
Joined: Feb 2005
Reputation: 0
Post: #76
i'd like to register but this won't work :
failed to sent to "sabi1999@planet.nl"
find quote
bakman Offline
Member
Posts: 99
Joined: Mar 2005
Reputation: 0
Post: #77
@iafilius
on http://www.pocketpcmedia.nl there are lots of streams (i mean a lot)

i expect my xbox to arrive this week and cant wait to check your script!
find quote
Deadman666666 Offline
Junior Member
Posts: 1
Joined: Mar 2005
Reputation: 0
Post: #78
i also cannot register on your site, i get the failed to send message on my email after clicking submit.
find quote
iafilius Offline
Member
Posts: 87
Joined: Jun 2004
Reputation: 0
Post: #79
(deadman666666 @ mar. 14 2005,12:19 Wrote:i also cannot register on your site, i get the failed to send message on my email after clicking submit.
this should be solved _now_.
there was an issue with sending email.
find quote
iafilius Offline
Member
Posts: 87
Joined: Jun 2004
Reputation: 0
Post: #80
(bakman @ mar. 14 2005,09:39 Wrote:@iafilius
on http://www.pocketpcmedia.nl there are lots of streams (i mean a lot)

i expect my xbox to arrive this week and cant wait to check your script!
i'll have a look there, but feel free, to add as many usefull streams yourself!
find quote
Post Reply