palfrey / kitling Goto Github PK
View Code? Open in Web Editor NEWMoving Kittens As A Service
Home Page: https://tevps.net/blog/2015/10/29/kitten-videos-an-engineering-approach/
License: GNU Affero General Public License v3.0
Moving Kittens As A Service
Home Page: https://tevps.net/blog/2015/10/29/kitten-videos-an-engineering-approach/
License: GNU Affero General Public License v3.0
This is wrong, because the actual answer is "never"
So, sometimes the feed dies. Don't know why, and very hard to diagnose or detect, because it's inside the flash players...
Given that the iPhone version of most video sites (AFAIK) returns a RTSP stream, looking into an RTSP proxy (e.g. http://www.live555.com/proxyServer/) or maybe just a direct stream, plus something like https://github.com/AxisCommunications/locomote-video-player might actually work better.
Option to mark a feed as disabled. Possibly also a "and here's why" comment field
e.g. http://www.simonkingwildlife.com/page/live-cams/fox-den-cam-996
This would require something that chunks out a block of HTML from a page and displays it. Maybe related to the direct-video branch?
Helps with the sorting!
Some feeds do auto-motion, others you want more often, etc, etc and so having an offset to add/remove from the motion value for a feed would be good
Right now we can add the individual videos, but not the channels. Also the videos are by their Youtube URLs not their names
If the video is https://www.youtube.com/embed/RRNFQrbR7YE?autoplay=1 going to https://www.youtube.com/get_video_info?video_id=RRNFQrbR7YE gets a bunch of useful info, including a "status=fail" or similar, which is worth looking for given the static snow gets a value of ~0.3 on the motion detection
Mike wanted https://www.annscottage.com/community/polzeath/#livefeed-tabs2 adding in, which I thought initially was like #4 but actually appears to work off an M3U8 feed, which should be runnable off a static page.
The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.
Sometimes the internal mutex gets horribly broken, and that needs fixing
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "PoisonError { inner: .. }"', ../src/libcore/result.rs:746
stack backtrace:
1: 0x7ff4676738c0 - std::sys::backtrace::tracing::imp::write::h4c73fcd3363076f5
2: 0x7ff4676784cb - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::h0422dbb3077e6747
3: 0x7ff467678153 - std::panicking::default_hook::haac48fa641db8fa2
4: 0x7ff46766474f - std::sys_common::unwind::begin_unwind_inner::h39d40f52add53ef7
5: 0x7ff467665f78 - std::sys_common::unwind::begin_unwind_fmt::h64c0ff793199cc1b
6: 0x7ff467672b11 - rust_begin_unwind
7: 0x7ff4676ae66f - core::panicking::panic_fmt::h73bf9d7e8e891a73
8: 0x7ff46708ed39 - core::result::unwrap_failed::h6c8199caa816074c
at ../src/libcore/macros.rs:29
9: 0x7ff46708e979 - _<core..result..Result<T, E>>::unwrap::he8f0f16950e32eaa
at ../src/libcore/result.rs:687
10: 0x7ff46708e86c - _<nickel..Request<'a, 'b, D> as chromedriver..WebdriverRequestExtensions>::webdriver::ha6f324d6e20daeb4
at src/chromedriver.rs:207
11: 0x7ff46707ffd8 - kitling_imager::streams::h8e67ee5e45503d51
at src/main.rs:140
12: 0x7ff467166b22 - fn(&mut nickel..Request<'_, '_>, nickel..Response<'_>) .> core..result..Result<nickel..Action<nickel..Response<'_>, nickel..Response<'_, (), hyper..net..Streaming>>, nickel..NickelError<'_>> $u7b$streams..$LT$$LP$$RP$$GT$$u7d$::fn_pointer_shim.22235::hc7897858f91d9912
13: 0x7ff46707f2b5 - _<T as nickel..Middleware<D>>::invoke::h08b72096852c3597
at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/nickel-0.8.1/src/middleware.rs:27
14: 0x7ff467167f92 - _<nickel..Router<D> as nickel..Middleware<D>>::invoke::h90d742e0efcc7643
at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/nickel-0.8.1/src/router/router.rs:114
15: 0x7ff46717f671 - _<nickel..middleware..MiddlewareStack<D>>::invoke::hd542798cc1b893a4
at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/nickel-0.8.1/src/middleware.rs:57
16: 0x7ff46717f04b - _<nickel..server..ArcServer<D> as hyper..server..Handler>::handle::h4e3dc4209a1d6950
at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/nickel-0.8.1/src/server.rs:31
17: 0x7ff4671780ab - _<hyper..server..Worker<H>>::keep_alive_loop::h200b81f5d5fc7475
at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/hyper-0.8.1/src/server/mod.rs:356
18: 0x7ff4671749ce - _<hyper..server..Worker<H>>::handle_connection::h6196d3650726c43e
at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/hyper-0.8.1/src/server/mod.rs:293
19: 0x7ff467173c97 - hyper::server::handle::_$u7b$$u7b$closure$u7d$$u7d$::he7be59856c4b9d10
20: 0x7ff46718b579 - hyper::server::listener::spawn_with::_$u7b$$u7b$closure$u7d$$u7d$::hdf37a26a8cfb6ab9
21: 0x7ff46718aecd - std::thread::Builder::spawn::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h6be3116d37c0ea9d
22: 0x7ff46718ae69 - std::sys_common::unwind::try::try_fn::hd4a9dd98f1a0340e
at ../src/libstd/sys/common/unwind/mod.rs:127
23: 0x7ff467672a9b - __rust_try
24: 0x7ff467672a2d - std::sys_common::unwind::inner_try::h9eebd8dc83f388a6
25: 0x7ff46718add2 - std::sys_common::unwind::try::h568b44b7f21d6b96
at ../src/libstd/sys/common/unwind/mod.rs:123
26: 0x7ff46718ac36 - std::thread::Builder::spawn::_$u7b$$u7b$closure$u7d$$u7d$::hc791917054669cfc
27: 0x7ff46718b9f8 - _<F as std..boxed..FnBox<A>>::call_box::h879a393d2abd153f
at ../src/liballoc/boxed.rs:541
28: 0x7ff467676c44 - std::sys::thread::Thread::new::thread_start::h471ad90789353b5b
29: 0x7ff465c2c0a3 - start_thread
30: 0x7ff466a8a87c - clone
31: 0x0 - <unknown>
i.e. have all the http://livestream.com/tinykittens live and upcoming auto-updated
The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.