XBMC Community Forum
[RELEASE] LiveStreams (video) Add-on - an alternative to .strm files - 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] LiveStreams (video) Add-on - an alternative to .strm files (/showthread.php?tid=97116)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463


[RELEASE] LiveStreams (video) Add-on - an alternative to .strm files - divingmule - 2011-03-17 20:35

Instead of using .strm files this add-on lets you add streams by adding items to an xml file. Thus giving you a nice list with thumbnails, fanart, and mediadata if you like.

Artwork from Patk, thanks!

This add-on is a little different than most, it requires some effort on the users part. Make your own personal xml file, or use one that's been shared via community-links or a direct url to a file. When you have "PLAYBACK FAILED" usually means that the url supplied from the xml file is dead, temporally offline, geo-blocked... ect. Expect this when using community files.

I started community-links repository for users to share their XML files. If you would like to have your file added paste it to one of the pastebin services like http://pastebin.com and make a post with the link to the file and I will upload it, or I can add you to the repository.

Version 1.0.9

fix script error when having only one source
fix decode errors with non ascii characters in list-item
fix downloading of files from the xml database
changed the regex function to be executed when selecting the list-item instead of when adding the list-item

Download and install as zip -> http://divingmules-repo.googlecode.com/files/plugin.video.live.streams-1.0.9.zip

Or you can install by adding my repo. Which is also avaliable through the Repositories Installer program add-on.

Tip: Make a folder somewhere that is writable by the XBMC user. Start XBMC open the file manager(System>File manager), select Add Source, browse to and select the folder you created. Now when you use the file browser, from settings or the such, your folder will be in the root directory.
Use the folder for your xml files, and or, if your using community files set it as the location to save files.

Some rules for xml, these characters need to be replaced with their counter part. Especially watch your links for the '&' character.

Code:
change  &  to  &
change  <  to  &lt;
change  >  to      &gt;
change  '  to  &apos;
change  "  to  &quot;



- myXBMC - 2011-03-17 21:54

Thanks for your started examples of

NHK - World
BBC World
RT English
CNBC

I wanted NHK - World for the Japanese coverages of earthquake/tsunami. And watching it now on my AppleTV2.


- ksosez - 2011-03-17 22:46

http://forum.xbmc.org/showpost.php?p=710385&postcount=10

That should work for Al Jazeera English (which is so much better than US news its not even funny)


- branlr - 2011-03-17 23:06

Awesome idea.


- FishOil - 2011-03-18 00:44

Nice Job

Thanks

Code:
<item>
    <title>EuroNews</title>
    <link>rtmp://media2.lsops.net/live/ playpath=euronews_en_high.sdp swfUrl="http://www.livestation.com/flash/player/5.4/player.swf" pageUrl="http://www.livestation.com/channels/1-euronews-english" swfVfy=true live=true
    </link>
    <thumbnail>http://www.abitofenglish.com/images/Euronews.jpg</thumbnail>
    </item>
<item>
    <title>SkyNews</title>
    <link>mms://live1.wm.skynews.servecast.net/skynews_wmlz_live300k</link>
    <thumbnail>http://www.mediabistro.com/tvnewser/files/2011/03/skynews.jpe</thumbnail>
    </item>


<item>
    <title>France 24 English</title>
    <link>rtmp://stream2.france24.yacast.net/france24_live/en playpath=f24_liveen app=france24_live/en pageURL=http://www.france24.com/en/aef_player_popup/france24_player swfUrl=http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf live=true</link>
    <thumbnail>http://www.techbabu.com/wp-content/images/france24_tv.jpg</thumbnail>
    </item>


<item>
    <title>ABC News 24 (Australia)</title>
    <link>rtmp://cp103653.live.edgefcs.net:1935/live?_fcs_vhost=cp103653.live.edgefcs.net&akmfv=1.8 playpath=international_medium@36382 swfVfy=true live=true</link>
    <thumbnail>http://www.mediaspy.org/report/wp-content/uploads/2010/07/abcnews24.jpg</thumbnail>
    </item>

<item>
    <title>NASA HD</title>
    <link>rtmp://flash86.ustream.tv:1935/ustreamVideo/6540154 playpath=streams/live app=ustreamVideo/6540154 swfUrl="http://cdn1.ustream.tv/swf/4/viewer.rsl.558.swf" pageUrl="http://www.nasa.gov/multimedia/nasatv/ustream.html" live=true</link>
    <thumbnail>http://jkontherun.files.wordpress.com/2010/09/nasa-app-hd.png</thumbnail>
    </item>

<item>
    <title>Press TV</title>
    <link>http://wms.edgecastcdn.net/200216/ipresstv?MSWMExt=.asf</link>
    <thumbnail>http://www.gilad.co.uk/storage/Press-TV_t.gif?__SQUARESPACE_CACHEVERSION=1280835516186</thumbnail>
    </item>



<item>
    <title>CCTV-News</title>
    <link>mms://219.90.61.6/cctv9-tw</link>
    <thumbnail>http://www.shenzhen-standard.com/wp-content/uploads/2010/10/cctv.jpg</thumbnail>
    </item>


A nice looking thumb for CNBC
http://www.mediabistro.com/tvnewser/files/2011/02/cnbc_logo.jpg


- PatK - 2011-03-18 03:52

Lovely job... and Fish Oil, thanks for the cut&paste. This collection has potential, just wondering if holding the icons local might prove a better solution. Hate to lose a stream on a sticky icon.


- dallasnights - 2011-03-18 06:35

Excellent job can we get more USA channels in the list

thanks


- ptipton - 2011-03-18 09:31

A fantastic plugin. Thanks!


- gjlp - 2011-03-18 09:51

This is GREAT! Thanks so much for putting this together!


- aivs - 2011-03-18 09:52

Hello, how can i see from IP-camera
http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi Confused