Kitchen TV using Raspberry Pi
This is a WEB based (PHP, Javascript) app I put together from various tools & scripts found on the web to create my own Kitchen TV : News, Clock & Weather music player & web browser display.
If you want to set up the same thing: ======
https://github.com/riquezjp/kitchenTV
====================================
The files will now be hosted at github ^ ^
THE INFO BELOW IS OUT OF DATE, go to github for the latest details ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~
1) Download my web files on the link above & upload to your own web space or host them locally.
2) EDIT the files to personalise it for your own needs:
* weather.js EDIT your city, country location.
* images/cface4.png EDIT the clock image if you want your own design. You will find the background colours for sunset, sunrise etc in the images folder too.
* index.php has a list of the YouTube LIVE channels, you can edit the list for your own channels
You just need the video ID, time in seconds you want it to display for (e.g.: 1200 seconds is 20 mins) & the Name to show in the Icon - A 2 letter code works best like SN for SkyNews ;-)
* The page layout is designed to fit my 720p TV. It will work on other screens but you would probably want to adjust the column widths etc slightly so it suits your screen. Look in the CSS files to adjust those parts.
* The www web browsing works in a frame, so it doesnt always work well with some websites - just be aware of this, you can always right-click open in new tab to get around that.
==============
+++ UPDATE ++++
If your BBC news feed isnt working you need to update the script to remove CDATA tags.
index.php, line 198
Update the clean function with str_replace to remove CDATA tags.
My download link above includes a fixed version & also without the music player - i found it to a little too resource hungry.
+++ UPDATE ++++
KitchTV 20161030 ZIP file on the download link above is updated with some minor fixes.
Also, now if you manually click on a news video the live stream will only show news (mus=0) feeds. If you click on a music stream it will switch to music only (mus=1)
+++ UPDATE +++
Added a Github project to get started...
https://github.com/riquezjp/kitchenTV
---------------
The resources I used to put this together:
- Building a weather App - Upamanyu Das
https://www.youtube.com/watch?v=lpLUx-0t7aE
- HTML5 analogue clock
https://www.script-tutorials.com/html5-clocks/
- YouTube Javascript API
https://developers.google.com/youtube/js_api_reference#GettingStarted
- Cincopa music player https://www.cincopa.com/
Still trying this out, you can remove it from index.php line 150 or sign up for your own account & replace it.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Kitchen TV using Raspberry Pi», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.