Giter Club home page Giter Club logo

xbmc-earthcam's Introduction

plugin.video.earthcam add-on for Kodi / XBMC

This add-on version will show you more webcams than any other version on internet!

EarthCam.com is the premiere network of scenic webcams and offers a complete database of interesting places and views from around the world. EarthCam.com is the worlds favorite webcam network and the EarthCam Network cameras have been seen on top news shows, including CNN Headline News.

Installation

  • download released zip
  • Kodi/XBMC: System / Add-ons / Install from zip file /
  • or Kodi 17: Add-ons / Download / ".." / Install from zip file /
  • select earthcam's zip file
  • Note that Kodi will complain about installing from "Unknown sources": in this case, activate this option, and repeat the installation steps.

From version 1.2.0 on, this add-on can play HLS streams, and this mode is more stable than RTMP.
Please follow Enable HLS playing instructions to try it.

Note for Kodi 17 (Krypton)

  • Now, it is necessary to activate the "RTMP input stream": Add-ons / My Add-ons / VideoPlayer InputStream / RTMP Input / Enable

If after enabling the "RTMP input stream" no camera is shown (please, note that some links may not be active: try some USA cams first), the RTMP library may not be functioning - in this case you can try Install inputstream.rtmp add-on instructions,
OR try Enable HLS playing instructions.

Install inputstream.rtmp add-on

Steps to install an inputstream.rtmp add-on from kodinerds repo in order to activate rtmp videos for Kodi. That repo supports RPi2 (compatible with RPi3), Odroid-C2 (deprecated), Windows and Mac OS X.

  • Download the appropriate repository.kodinerds_X.zip zip file for your platform from here.
  • Install this repository on Kodi: Add-ons / Download / .. / Install from zip file / and select kodiners' zip file. Previously, "Unknown Sources" must have been activated on: Settings / System / Add-ons / Unknown sources
  • Install inputstream.rtmp add-on: Add-ons / Download / .. / Install from repository / kodinerds / VideoPlayer InputStream / RTMP Input
  • and then, install plugin.video.earthcam: Add-ons / Download / .. / Install from zip file / select earthcam's zip file.
Enable HLS playing

From version 1.2.0 on, this add-on can play HLS streams.
From version 1.3.0 on, HLS is activated by default.
In order to activate this functionality you have to both activate it in this add-on's configuration,
and also install (if necessary) and enable the add-on InputStream Adaptative (or another add-on capable of playing HLS - for example awaiters1 releases).

  • Configure earthcam add-on: Add-ons / Video add-ons / Earthcam / right click / Settings / Enable HLS instead of RMP : activate

  • activate "InputStream Adaptative": Add-ons / My Add-ons / VideoPlayer InputStream / InputStream Adaptative / Enable

  • Also, configure it to be able to open HD streams: Add-ons / My Add-ons / VideoPlayer InputStream / InputStream Adaptative / Configure / Max. Resolution general decoder: Max [Ok]

  • Now check that you can open some cams. If that is not the case, simply deactivate HLS again: Add-ons / Video add-ons / Earthcam / right click / Settings / Enable HLS instead of RMP : deactivate

Changes

See changelog.txt

License

Distributed under GPL 3

Contact

idleloop -at- yahoo.com
BTC: 1GX726he5TNgnDuG4qG9zrM6CSN7uyga6F

xbmc-earthcam's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

xbmc-earthcam's Issues

User interface locks when stream is not served

If the stream server does not respond, Estuary's "busy" indicator remains on screen forever -- it is not possible to regain control of Kodi. Home & Back buttons do not work. (This is not just a bug in the app, its also a design flaw in Kodi.)


Currently not working streams, to reproduce this bug:

  • Elvis wedding chapel
  • Bellagio conservatory
9:04:33.708 NOTICE: VideoPlayer: Opening: rtmp://videos3.earthcam.com/ app=fecnetwork swfUrl=http://www.earthcam.com/swf/cam_player_v2/ecnPlayer.swf playpath=5359.flv live=true timeout=180
9:04:33.708 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
9:04:33.709 NOTICE: Creating InputStream
9:04:38.007 NOTICE: Creating Demuxer
9:08:34.744 ERROR: ADDON: extension '' is not currently supported for service addon

[No more messages appear in log after waiting a long time]

Latest master does not work

2019-09-26 21:38:20.859 T:3011522576   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for https://videos3.earthcam.com/fecnetwork/tokyo1.flv/chunklist_w1622545460.m3u8
2019-09-26 21:38:20.902 T:3011522576  NOTICE: VideoPlayer::OpenFile: https://videos3.earthcam.com/fecnetwork/tokyo1.flv/chunklist_w1622545460.m3u8
2019-09-26 21:38:21.894 T:3011522576   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for https://videos3.earthcam.com/fecnetwork/tokyo1.flv/chunklist_w1622545460.m3u8
2019-09-26 21:38:21.898 T:2390750064  NOTICE: Creating InputStream
2019-09-26 21:38:22.092 T:2452706160   ERROR: GetDirectory - Error getting plugin://plugin.video.earthcam/?Serie&action=play&category&channel&extradata&fulltitle=Tokyo%20Cam&plot=Tokyo%20Cam%0a(Tokyo%2c%20Jap an)&show&thumbnail=https%3a%2f%2fstatic.earthcam.com%2fcamshots%2f512x288%2fe6f806baf57db637303a78b77f7af4f4.jpg&title=Tokyo%20Cam&url=https%3a%2f%2fwww.earthcam.com%2fworld%2fjapan%2ftokyo%2f
2019-09-26 21:38:22.122 T:3011522576   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.earthcam/?Serie&action=play&category&channel&extradata&fulltitle=Tokyo%20Cam&plot=Tokyo%20Cam%0a(Tokyo%2c%20Ja pan)&show&thumbnail=https%3a%2f%2fstatic.earthcam.com%2fcamshots%2f512x288%2fe6f806baf57db637303a78b77f7af4f4.jpg&title=Tokyo%20Cam&url=https%3a%2f%2fwww.earthcam.com%2fworld%2fjapan%2ftokyo%2f) failed
2019-09-26 21:38:22.624 T:2390750064  NOTICE: Creating Demuxer
2019-09-26 21:38:23.243 T:2390750064   ERROR: OpenDemuxStream - Error creating demuxer
2019-09-26 21:38:23.243 T:2390750064  NOTICE: CVideoPlayer::OnExit()
2019-09-26 21:38:23.256 T:3011522576  NOTICE: CVideoPlayer::CloseFile()
2019-09-26 21:38:23.256 T:3011522576  NOTICE: VideoPlayer: waiting for threads to exit
2019-09-26 21:38:23.256 T:3011522576  NOTICE: VideoPlayer: finished waiting

I'm running Kodi 18.4.

xmbc-earthcam streams not working

I use official version 1.0.2 on Kodi 18.4. I run a mediastation build with gentoo x86_64 as OS.

When I try to start any stream I get into kodi.log:

2019-11-19 20:14:12.109 T:140024901256960   ERROR: plugin.video.earthcam-1.0.2-openURL Failed! <urlopen error no host given> ,Traceback (most recent call last):
                                              File "/home/lutters/.kodi/addons/plugin.video.earthcam/resources/lib/earthcam.py", line 70, in openURL
                                                response = urllib2.urlopen(request, timeout = TIMEOUT).read()
                                              File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
                                                return opener.open(url, data, timeout)
                                              File "/usr/lib64/python2.7/urllib2.py", line 427, in open
                                                req = meth(req)
                                              File "/usr/lib64/python2.7/urllib2.py", line 1126, in do_request_
                                                raise URLError('no host given')
                                            URLError: <urlopen error no host given>
2019-11-19 20:14:12.382 T:140026149024128   ERROR: Previous line repeats 4 times.
2019-11-19 20:14:12.382 T:140026149024128  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.earthcam/?url=http%3Ahttps%3A%2F%2Fvideos3.earthcam.com%2Ffecnetwork%2F10811.flv%2Fplaylist.m3u8&mode=9&name=Moshi%2C+Tanzania+-+Mount+Kilimanjaro+Cam%2C+Tanzania+Live+%28HLS%29
2019-11-19 20:14:12.382 T:140025817118464  NOTICE: Creating InputStream
2019-11-19 20:14:12.382 T:140025817118464 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.earthcam/?url=http%3Ahttps%3A%2F%2Fvideos3.earthcam.com%2Ffecnetwork%2F10811.flv%2Fplaylist.m3u8&mode=9&name=Moshi%2C+Tanzania+-+Mount+Kilimanjaro+Cam%2C+Tanzania+Live+%28HLS%29
2019-11-19 20:14:12.382 T:140025817118464   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.earthcam/?url=http%3Ahttps%3A%2F%2Fvideos3.earthcam.com%2Ffecnetwork%2F10811.flv%2Fplaylist.m3u8&mode=9&name=Moshi%2C+Tanzania+-+Mount+Kilimanjaro+Cam%2C+Tanzania+Live+%28HLS%29]
2019-11-19 20:14:12.382 T:140025817118464  NOTICE: CVideoPlayer::OnExit()
2019-11-19 20:14:12.488 T:140026149024128  NOTICE: CVideoPlayer::CloseFile()
2019-11-19 20:14:12.488 T:140026149024128  NOTICE: VideoPlayer: waiting for threads to exit
2019-11-19 20:14:12.488 T:140026149024128  NOTICE: VideoPlayer: finished waiting

Since it complains unsupported protocol(plugin) in plugin://plugin.video.earthcam/?url= I guess it has something to do with HLS. I don't think this is a bug, can you give me a hint what might be wrong on my side?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.