LiveStream Requests and XML Listings

  Thread Rating:
  • 17 Votes - 4.29 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
RuiJay Offline
Senior Member
Posts: 146
Joined: Apr 2011
Reputation: 0
Post: #301
(2012-03-28 08:27)pakee Wrote:  
(2012-03-27 10:14)pakee Wrote:  
(2012-03-26 18:20)RuiJay Wrote:  It could be the playpath (eventID) I believe.

if it works for you, I will appreciate it if you could pm the link. I love games in Arabic Smile

halwa ..halwa..khatra...khatra...dakil fi dee..halwa goaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal Smile
If the play path is mentioned in the HTML or js files, I could parse it out via code so you dont have to manually do it each time for each new match. If you send me a few urls and what the corresponding xbmc stream link should be I can try it out

Hey so I ran the exe and tried out a few links...as you mentioned the AD sports channels weren't working at the time so I couldn't get the links. But for example, the below links work in LiveStreams

<item>
<title>BBC HD</title>
<link>rtmp://s5.webport.tv/live playPath=z010201.stream swfUrl=http://www.tvsector.com/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf pageUrl=http://www.tvsector.com</link>
</item>

<item>
<title>Orange Sport</title>
<link>mms://81.52.142.204/live-multicanaux</link>
<thumbnail>http://www.tv14.net/wp-content/uploads/2010/06/Orange-sport.jpg</thumbnail>
</item>
yeah they seem to be live on events only. I will try it during an EPL game this weekend.
find quote
pm2i Offline
Member
Posts: 99
Joined: Nov 2011
Reputation: 11
Location: Canada
Post: #302
(2012-03-28 07:38)pakee Wrote:  Nevermind I got it
'plugin://plugin.video.jtv.archives/?mode=2&play=False&name=%s' % (justin_channelid)

Hi please can you run that plugin on an xml file or how you run it in xbmc thanks ??

My up to date Chanel List : Arabic , French Channels, african channels

http://www.arabiciptv.org/xbmc/Xbmc_stream.xml
find quote
pakee Offline
Fan
Posts: 300
Joined: Jan 2012
Reputation: 4
Post: #303
No you can't enter this in the xml file, it needs to be in the plugins python code.

For example, in the xml file you would have an entry like
Code:
<item>
<title>Waqt news</title>
<link>http://www.justin.tv/waqtnews</link>
</item>

and then in the plugin you can extract the channel name and pass it to the justintv plugin

Code:
def play_justintv_channel(name, url):
    justin_id = url.replace('http://www.justin.tv/','')
    url = 'plugin://plugin.video.jtv.archives/?mode=2&play=False&name=%s' % (justin_id)
    listitem = xbmcgui.ListItem( label = str(name), iconImage = "DefaultVideo.png", thumbnailImage = xbmc.getInfoImage( "ListItem.Thumb" ), path=url )
    infolabels = { "title": name, "plot": name}
    listitem.setInfo( type="Video", infoLabels=infolabels)
    xbmc.Player( xbmc.PLAYER_CORE_DVDPLAYER ).play( str(url), listitem)

Are you using the LiveStreams plugin? Maybe we can request divingmule/blackoutworm to modify the plugin to check if the passed in link is to youtube or justintv. If it is it can invoke the youtube or justintv plugin to open the channel
(This post was last modified: 2012-03-28 19:19 by pakee.)
find quote
pm2i Offline
Member
Posts: 99
Joined: Nov 2011
Reputation: 11
Location: Canada
Post: #304
(2012-03-28 19:18)pakee Wrote:  No you can't enter this in the xml file, it needs to be in the plugins python code.

For example, in the xml file you would have an entry like
Code:
<item>
<title>Waqt news</title>
<link>http://www.justin.tv/waqtnews</link>
</item>

and then in the plugin you can extract the channel name and pass it to the justintv plugin

Code:
def play_justintv_channel(name, url):
    justin_id = url.replace('http://www.justin.tv/','')
    url = 'plugin://plugin.video.jtv.archives/?mode=2&play=False&name=%s' % (justin_id)
    listitem = xbmcgui.ListItem( label = str(name), iconImage = "DefaultVideo.png", thumbnailImage = xbmc.getInfoImage( "ListItem.Thumb" ), path=url )
    infolabels = { "title": name, "plot": name}
    listitem.setInfo( type="Video", infoLabels=infolabels)
    xbmc.Player( xbmc.PLAYER_CORE_DVDPLAYER ).play( str(url), listitem)

Are you using the LiveStreams plugin? Maybe we can request divingmule/blackoutworm to modify the plugin to check if the passed in link is to youtube or justintv. If it is it can invoke the youtube or justintv plugin to open the channel

thanks for your help yes i'm using livestream and it can be a good idea to request from divingmule if he can add that there is a lot of good quality channels in justin and youtube

My up to date Chanel List : Arabic , French Channels, african channels

http://www.arabiciptv.org/xbmc/Xbmc_stream.xml
find quote
RuiJay Offline
Senior Member
Posts: 146
Joined: Apr 2011
Reputation: 0
Post: #305
(2012-03-28 20:16)pm2i Wrote:  
(2012-03-28 19:18)pakee Wrote:  No you can't enter this in the xml file, it needs to be in the plugins python code.

For example, in the xml file you would have an entry like
Code:
<item>
<title>Waqt news</title>
<link>http://www.justin.tv/waqtnews</link>
</item>

and then in the plugin you can extract the channel name and pass it to the justintv plugin

Code:
def play_justintv_channel(name, url):
    justin_id = url.replace('http://www.justin.tv/','')
    url = 'plugin://plugin.video.jtv.archives/?mode=2&play=False&name=%s' % (justin_id)
    listitem = xbmcgui.ListItem( label = str(name), iconImage = "DefaultVideo.png", thumbnailImage = xbmc.getInfoImage( "ListItem.Thumb" ), path=url )
    infolabels = { "title": name, "plot": name}
    listitem.setInfo( type="Video", infoLabels=infolabels)
    xbmc.Player( xbmc.PLAYER_CORE_DVDPLAYER ).play( str(url), listitem)

Are you using the LiveStreams plugin? Maybe we can request divingmule/blackoutworm to modify the plugin to check if the passed in link is to youtube or justintv. If it is it can invoke the youtube or justintv plugin to open the channel

thanks for your help yes i'm using livestream and it can be a good idea to request from divingmule if he can add that there is a lot of good quality channels in justin and youtube

+1 :-)
find quote
pakee Offline
Fan
Posts: 300
Joined: Jan 2012
Reputation: 4
Post: #306
I PM'd divingmule with the request..let's see...
find quote
divingmule Offline
Posting Freak
Posts: 1,278
Joined: Oct 2008
Reputation: 54
Post: #307
Hi, for Jtv you can add your link with
Code:
plugin://plugin.video.jtv.archives/?mode=2&amp;play=True&amp;name=CHANNELNAME

Example-
Code:
<item>
<title>Waqt news</title>
<link>plugin://plugin.video.jtv.archives/?mode=2&amp;play=True&amp;name=waqtnews</link>
</item>
find quote
ferenz Offline
Junior Member
Posts: 8
Joined: Mar 2012
Reputation: 0
Post: #308
Hi guys,

Could you please help with this stream:

http://pro-tv.net/4-vesti.html

Thank you!
find quote
RuiJay Offline
Senior Member
Posts: 146
Joined: Apr 2011
Reputation: 0
Post: #309
(2012-03-29 15:57)divingmule Wrote:  Hi, for Jtv you can add your link with
Code:
plugin://plugin.video.jtv.archives/?mode=2&amp;play=True&amp;name=CHANNELNAME

Example-
Code:
<item>
<title>Waqt news</title>
<link>plugin://plugin.video.jtv.archives/?mode=2&amp;play=True&amp;name=waqtnews</link>
</item>

Thanks divingmule.
I tried your example and I got the following error. Any idea?
Code:
10:53:06 T:3180  NOTICE: URL: None
10:53:06 T:3180  NOTICE: Name: waqtnews
10:53:06 T:3180  NOTICE: catId: None
10:53:06 T:3180   ERROR:  XFILE::CPluginDirectory::SetResolvedUrl - called with an invalid handle.
10:53:06 T:3180   ERROR:  XFILE::CPluginDirectory::EndOfDirectory - called with an invalid handle.
10:53:09 T:5944  NOTICE: -->Python Interpreter Initialized<--
10:53:11 T:2808  NOTICE: -->Python Interpreter Initialized<--
10:53:12 T:5944   ERROR: XFILE::CPluginDirectory::AddSortMethod - called with an invalid handle.
10:53:12 T:5944   ERROR: Previous line repeats 1 times.
10:53:12 T:5944   ERROR: XFILE::CPluginDirectory::SetContent called with an invalid handle.
10:53:12 T:5944  NOTICE: Mode: 2
10:53:12 T:5944  NOTICE: URL: None
10:53:12 T:5944  NOTICE: Name: waqtnews
10:53:12 T:5944  NOTICE: catId: None
10:53:12 T:5944   ERROR:  XFILE::CPluginDirectory::SetResolvedUrl - called with an invalid handle.
10:53:12 T:5944   ERROR:  XFILE::CPluginDirectory::EndOfDirectory - called with an invalid handle.
10:53:13 T:2808   ERROR: XFILE::CPluginDirectory::AddSortMethod - called with an invalid handle.
10:53:13 T:2808   ERROR: Previous line repeats 1 times.
10:53:13 T:2808   ERROR: XFILE::CPluginDirectory::SetContent called with an invalid handle.
find quote
divingmule Offline
Posting Freak
Posts: 1,278
Joined: Oct 2008
Reputation: 54
Post: #310
Seems as if you have 'play=False', instead of 'play=True' in your link Confused
find quote
Post Reply