Help with writting a video plugin addon for Veetle (veetle.com)?
#1
Hi,

I'm new to the forums and xbmc. I was trying to write a video-addon for veetle. I am able to gather all the channel infromation, ip's artwork links and so forth but i'm unable to load the actual stream. I'll admit im new to program in python and even streaming content. I would love if anyone had any information on how to laod the stream or even better some code that could be modified.

Thanks,
Brad
Reply
#2
Hmmm... I have pondered about it also. Veetle is p2p, and uses a vlc code based player executable. Once it starts the stream is also being broadcast on certain ports, which you can generate an strm file for and stream it into XBMC. You need to know that port and the channel id to form a stream url.

So you would need to know those ports using tcpview or something. You can find references to that on the web. So one way is to start a browser in the background at that channel link, and then grab the port it is streaming on and the channel id and stream from there into XBMC.

Maybe there is an easy way, but because it is a p2p stream I doubt there is an easy way. There was earleier a sopcast plugin, may be you can look inot it, and see how they did that.

Well I hope I was some help.
Reply
#3
I've seen the guide online with vlc. I've taken a look at the connection in wireshark a i can see the port request as well but it looks like thats the user streaming the content and maybe not the veetle servers. Thanks for the heads up on the sopcast plugin, I'll look into it.

bard
Reply
#4
I did not get by what you meant by user streaming it and not Veetle server. I think frankly veetle sever does little to no streaming on its own. It is the person sourcing the stream and all other viewers who are peers.

I think that stream is a stream where that vlc derived plugin of veetle is also broadcasting it.

My gut feeling is that the player on the web page in the browser streams from that port. And that is what you might need to.

Maybe I am wrong. I hope you can solve the puzzle, and XBMC would be 10 times more awesome with Veetle.
Reply
#5
You can also like the netflix plugin, just initiate the veetle channel in the browser.
Reply
#6
Bringing this one back up as I've gotten rather interested in Veetle lately

The old method of playing Veetle streams in VLC seem to still work using this format:

*Edit - this url format does work in XBMC

Code:
http://127.0.0.1:<veetle port>/<veetle ip>,<channel id>

This is for their 'HD' streams, and have not yet tried playing one of these URL's in XBMC yet so can't say if they are supported

Now assuming XBMC can play this URL, to be able to write a script I can see the big catch is the port number, it seems to be dynamic in a sense and doesn't seem to be exposed anywhere until the stream actually starts playing in a browser - so how do we get it? Is there a method that can be used to determine it?

Without having deep knowledge of how the Veetle streams really work under the layers, I was thinking creatively..

Would it be possible to say launch a browser in the background, let the stream start playing and find a way to query the open ports and grab the one we need for a given process id?

2 catches
- it seems that a stream can't be played simultaneously on 2 different apps, the browser must be stopped in order to play in XBMC
- the browser must remain open while the stream plays in XBMC (??)


They also now have lower quality streams and I found a post detailing how to get at these, they are flash based and don't require the Veetle pluggin to play which the 'HD' streams do

http://www.myp2pforum.eu/threads/17509-H...ost1238360

Two different IP's seem to work:

Code:
http://77.67.108.152/flv/<stream id>

or

Code:
http://77.67.109.208/flv/<stream id>

Should make scripting much easier and playable in XBMC, though not all channels have these lower quality streams, and would need to find a way of determining if they do
Reply
#7
This is interesting, what do you guys make of this?

http://77.67.109.221/channelHostPort/4d2eacc0e502a

I'm seeing quite a bit of traffic coming from the IP address from this ip - 213.254.245.209 - in my wireshark logs for this particular channel, but not sure how to make sense of what I'm seeing

In CurrPorts I see multiple instances of Firefox open with multiples to each of the 3 ports listed

If I try to browse directly to 213.254.245.209:38968 or any of the other 2 ports I get prompted to download a small unreadable file of some sort, not any type of video stream tho
Reply
#8
Eldorado Wrote:Bringing this one back up as I've gotten rather interested in Veetle lately

The old method of playing Veetle streams in VLC seem to still work using this format:

*Edit - this url format does work in XBMC

Code:
http://127.0.0.1:<veetle port>/<veetle ip>,<channel id>

This is for their 'HD' streams, and have not yet tried playing one of these URL's in XBMC yet so can't say if they are supported

Now assuming XBMC can play this URL, to be able to write a script I can see the big catch is the port number, it seems to be dynamic in a sense and doesn't seem to be exposed anywhere until the stream actually starts playing in a browser - so how do we get it? Is there a method that can be used to determine it?

Without having deep knowledge of how the Veetle streams really work under the layers, I was thinking creatively..

Would it be possible to say launch a browser in the background, let the stream start playing and find a way to query the open ports and grab the one we need for a given process id?

2 catches
- it seems that a stream can't be played simultaneously on 2 different apps, the browser must be stopped in order to play in XBMC
- the browser must remain open while the stream plays in XBMC (??)


They also now have lower quality streams and I found a post detailing how to get at these, they are flash based and don't require the Veetle pluggin to play which the 'HD' streams do

http://www.myp2pforum.eu/threads/17509-H...ost1238360

Two different IP's seem to work:

Code:
http://77.67.108.152/flv/<stream id>

or

Code:
http://77.67.109.208/flv/<stream id>

Should make scripting much easier and playable in XBMC, though not all channels have these lower quality streams, and would need to find a way of determining if they do

seems that someone else has tapped into this...
http://forum.xbmc.org/showthread.php?tid=97116&page=18

check out rogerzees comment. i'm gonna try to change the id and see if it works again

maybe we can get some cross plugin action going here.

keep it up!!!
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
#9
Looks like a majority of the streams have the low quality version

So if the op is still around and still has the script that he started, something can be done up very quickly, initially can just assume all channels can be accessed this way until someone figures out a method to check if it's available
Reply
#10
hi,

i just released a basic veetle.com plugin http://forum.xbmc.org/showthread.php?tid=98942

let me know what you think...

t0mm0
Reply

Logout Mark Read Team Forum Stats Members Help
Help with writting a video plugin addon for Veetle (veetle.com)?0