XBMC Community Forum
[RELEASE] SportsDevil - Watch Live Sports and Highlights - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] SportsDevil - Watch Live Sports and Highlights (/showthread.php?tid=100031)



- quiet storm iii - 2011-08-22 12:28

MaxMustermann Wrote:Same fix as for HudsonHawk. Please look some posts above.

i dont understand any of that that HusonHawk had to do. im new to this whole process


Streamtorrent usage for SportsDevil - MaxMustermann - 2011-08-22 13:00

I have opened a new thread for this topic. You can find it here
Please bear in mind that my solution for StreamTorrent is only working for windows operating systems at the moment.


The following changes will be integrated in the next version of SportsDevil. It's only for displaying the StreamTorrent links. If you can't wait, continue reading...

Add this to livesports_streams.txt:
Code:
########################################################
# StreamTorrent - Videos
########################################################
item_infos=["'](st://[^"']+)["']
item_order=video

item_info_name=title
item_info_from=video
item_info_build=StreamTorrent - %s

item_info_name=url
item_info_from=video
item_info_build=%s

item_info_name=type
item_info_build=direct.video
item_url_build=%s

...and this to livetv.ru.videos.txt (site is offline atm, so I can't test):
Code:
########################################################
item_infos=href="(?:http://www\d*.livetv.ru)?/webplayer\d*.php\?t=streamtorrent&c=([^&]+)[^"]*">
item_order=video

item_info_name=title
item_info_from=video
item_info_build=StreamTorrent - %s

item_info_name=url
item_info_from=video
item_info_build=%s

item_info_name=type
item_info_build=direct.video
item_url_build=%s



- MaxMustermann - 2011-08-22 13:04

quiet storm iii Wrote:i dont understand any of that that HusonHawk had to do. im new to this whole process

Please follow these instructions. It's VERY simple.
http://forum.xbmc.org/showpost.php?p=869146&postcount=348


- Hudson_Hawk04 - 2011-08-22 15:58

quiet storm iii Wrote:i dont understand any of that that HusonHawk had to do. im new to this whole process

Let me know if you are able to get it worked out, might be able to help further (it really is just a matter of copy/paste) but it will be later today perhaps in the evening as classes begin today.


- Hudson_Hawk04 - 2011-08-22 15:59

MaxMustermann Wrote:I've had a deeper look into streamtorrent and I have to say that this software is a piece of cr...cruel annoyment.

1. Streamtorrent is only available for windows. If you want to use it with other platforms you can only do that by means of a windows emulator(e.g. WINE for linux)

2. Streamtorrent doesn't allow any command line options to start a stream fullscreen. The only command line option is the stream url. So the window opens in standard size.

3. Streamtorrent is unstable. Sometimes buffering hangs the application and you have to kill the process.

4. Streamtorrent is not controllable with hotkeys, so you can't use your remote control for it (ok, you could assign something like: move mouse to x,y => click, but this is very unprecise and the window has to be at the same position)

The following instructions are for advanced users only and self-explanatory. I will only post this once. If you don't understand it, bad luck. Please don't ask me again.

=> So if you still want to use Streamtorrent anyway:

1. Install StreamTorrent
2. Write a script with autoit/autohotkey that takes the stream url ("st://...") as argument. The script starts streamtorrent with this url, searches for its window and puts it fullscreen. So this guarantees that the position is always the same. Then keep the script open as long as streamtorrent is opened ("WaitClose" in autoit). Setup a hotkey to close streamtorrent and your script. You should always kill the process of streamtorrent, because it hangs sometimes.

3. Use the script as external player in your playercorefactory, define a rule for the "st"-protocol to use this new player.

4. Add this to your livetv.ru.videos.txt:
Code:
########################################################
item_infos=href="(?:http://www\d*.livetv.ru)?/webplayer\d*.php\?t=streamtorrent&c=([^&]+)[^"]*">
item_order=video

item_info_name=title
item_info_from=video
item_info_build=StreamTorrent - %s

item_info_name=url
item_info_from=video
item_info_build=%s

item_info_name=type
item_info_build=direct.video
item_url_build=%s

5. Write some macros for your remote control that emulate mousemovements and clicks for volume, fullscreen, stop etc. Don't forget to define a macro for closing your script (remember the hotkey in 2.).

That's it. That's all I can do for you.

Thanks for looking into this now I need to decide if I want to give it a shot.


- MaxMustermann - 2011-08-22 16:01

Hudson_Hawk04 Wrote:Let me know if you are able to get it worked out, might be able to help further (it really is just a matter of copy/paste) but it will be later today perhaps in the evening as classes begin today.

So you haven't understood my post again. I will never integrate StreamTorrent into SportsDevil. It would be an ugly workaraound and platform dependant too. You can do it yourself Wink


- Hudson_Hawk04 - 2011-08-22 19:35

I was referring to the post of quiet storm, I figured out where I messed up on my end and got it working.


- quiet storm iii - 2011-08-22 20:47

Hudson_Hawk04 Wrote:Let me know if you are able to get it worked out, might be able to help further (it really is just a matter of copy/paste) but it will be later today perhaps in the evening as classes begin today.

ok, i think i have it, but ill let you know if i have problems. im still seeing some dead links. is that normal?


- quiet storm iii - 2011-08-22 20:48

Max, any way you can get the wwe tv link working. i noticed it worked on my pc


- Steve Jol - 2011-08-22 20:57

Not sure what I am doing wrong, but all the streams I view seem to show up in 'fast forward'.

I am running the latest version, 1.6.0 on XBMCLive. It happens with some, not all, streams.

PS myp2p.eu is now wiziwig.eu