Git Product home page Git Product logo

stalker_portal's People

Contributors

azhurb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stalker_portal's Issues

Smartv tv APP

Нашли 2 глюка

  1. При включении авторизации через auth_simple.php на некоторых устройствах вход делается только 1 раз до прописывания mac потом выкидывает неверный логин или пароль
    если удалить mac из базы можно зайти еще раз

  2. При попытке добавить канал в пакет его просто там нету для выбора, хотя канал присутствует в списке каналов и у него нету отметки "базовый"

Смотрите идем по шагам, первое создаю юзера второе к телику с начала качаю виджет и логинюсь на нем, дальше оно зависает и приходиться выходить, после этого не заходит говорит что не правильный логин пароль. и все.
Идем дальше develop заходим(без develop все как об стенку), убиваю юзера на сталкере и создаю заново логинюсь и все работает отлично!
Но как только выходишь из приложения дверь закрыты чтобы не делал develop или нет не правильный логин.
Заметил разницу когда побывал в первый раз мак телика в сталкере отображался корректно через :
Спустя месяцок видно зборка обновилась и мак показывает все маленькими и слитно.
все логи просмотрел ошибок нет в момент загрузки апач говорит что все ок показывает типо
"POST /stalker_portal/auth/token.php HTTP/1.0" 200 240 "-" "Mozilla/5.0 (SmartHub; SMART-TV; U; Linux/SmartTV+2014; Maple2012) AppleWebKit/537.42+ (KHTML, like Gecko) SmartTV Safari/537.42+"
Вот что дальше делать не имею понятия, а очень хочеться реализовать.
понедельник, 9 октября 2017 г., 11:40:58 UTC+3 пользователь Сергей Старцев написал:

epg crontab problem

hi,
i have problem with epg. when i press in admin "force update for epg" epg is ok. but then i run command line task update_epg.php in force mode, epg shows strange dates.

Получение медиа-информации в видео каталоге из хранилища

В видео клубе не удается получить медиа-информацию о файле т.к админка генерирует не верный хэш.
При генерации хеша ссылки используется ip-адрес компьютера в с которого зашел в админку, а не ip-адрес сервера с которого идет запрос.

файл stalker_portal/server/lib/master.class.php

$remote_addr = "$this->stb->ip";
$expire = time() + Config::getSafe('vclub_nginx_tmp_link_ttl', 7200);
$hash = base64_encode(md5($secret.$uri.$remote_addr.$expire, true));
$hash = strtr($hash, '+/', '-_');
$hash = str_replace('=', '', $hash);
$res['cmd'] .= '?st='.$hash.'&e='.$expire;

$remote_addr определяется как удаленный адрес компа с которого зашел в админку. Хотя команда ffmpeg выполняется с сервера. Поэтому хеш не проходит проверку в Хранилище.

Если установить значение $remote_addr адрес сервера, например так $remote_addr = "10.11.12.13"; то будет работать.

Почему $this->stb->ip возвращает ip-адрес клиента, при этом запрос ffmpeg http://... выполняется с сервера?

Cannot disable ivi module with disabled_modules[] = ivi

Hello again,

I was disabling modules by adding disabled_modules[] in custom.ini and it was ok for all of them. I found that I cannot disable ivi module by adding disabled_modules[] = ivi. I had to comment all_modules[] = ivi in config.ini to really disable it.

Regards,
Javier

Stalker and PostgreSQL

I wonder what the essential points that depend on MySQL, I intend to make a fork stalker and add support for PostgreSQL.

We are starting a new system in the company and would like to use all third parties in PostgreSQL.

Note: I've already contacted the service desk, I was told to open an issue at github.

Thank you.

M3U Import [DEV REQUEST]

Hi,

Is it possible to allow it when you import an M3U like the following line

EXTINF:-1 tvg-ID="14HD" tvg-name="AR: BeIN Sports 14 HD" tvg-logo="http://4u2stream.com/gallery/Bein-Sport-14.png" group-title="bein sports",AR: BeIN Sports 14 HD

it imports the EPG ID and the Logo?

Similar with the video's any way to bulk import a m3u of VOD?

issue in new launcher

if i stream in new launcher i get a green screen no video but i get audio.. in old portal all works.

any idea on what to check for ?

Баг в external/ivi/index.html

Баг в коммите 7a79e7a
Удаление div.movie_info_poster сломало функцию:
external/ivi/keyhandlers.js/cats_enter()
в итоге видео в ivi не открываются

Полное изменение внешнего облика портала

К примеру если сделать все плитками под metro интерфейс? на сколько я могу судить, на портале существуют отдельные модули, которые расположены в external, где они полностью отделены и c где расположены загрузчики этих модулей + все виджеты и т.д. И тогда вопрос, можно структуру сменить и построить все на angulary к примеру?

Stalker redirecting from port 80 (nginx reverse proxy) to port 88 (apache2)

I have installed stalker v5.1.0 and I have it working. I use nginx as a reverse proxy on port 80 and apache2 listening on port 88 to process the requests.

When I access the url http://stalker-portal.lxd/stalker_portal/ then requests are the following:

  1. http://stalker-portal.lxd/stalker_portal/ (status 200)
  2. http://stalker-portal.lxd/stalker_portal/server/adm -> Response Location http://stalker-portal.lxd:88/stalker_portal/server/adm/ (status 301)
  3. http://stalker-portal.lxd:88/stalker_portal/server/adm/ -> Response Location http://stalker-portal.lxd:88/stalker_portal/server/adm/login (status 302)
  4. http://stalker-portal.lxd:88/stalker_portal/server/adm/login (status 200)

So the question is, why is it redirecting to port 88? If I remove the port 88 from the url on login page it will work the same. Is it really needed to show the port apache2 is listening behind nginx? How can be that removed so all the requests are always done to nginx port 80?

JS error when setting admin groups permmissions

v5.1.0
New admin interface: adm/admins/admins-groups-permissions
Trying to set a new admin group permmission returns js error:

jquery-2.1.0.min.js:4 POST http://10.0.0.99/stalker_portal/server/adm/admins/save-admins-group-permissions 500 (Internal Server Error)

send @ jquery-2.1.0.min.js:4
ajax @ jquery-2.1.0.min.js:4
ajaxPostSend @ devoops.js?ver=5.1.0:702
(anonymous) @ admins-groups-permissions?id=14:12404
dispatch @ jquery-2.1.0.min.js:3
r.handle @ jquery-2.1.0.min.js:3

Простой мониторинг невозможно включить без URL для мониторинга

Почему для простого мониторинга мне всё равно нужно указать "URL канала для мониторинга", если у меня отключена временная ссылка? При нажатии на "Сохранить" под полем пишется "Введённое значение неверно". На wiki (https://wiki.infomir.eu/rus/stalker/rukovodstvo-po-nastrojke-stalker/iptv-kanaly/monitoring-iptv-kanalov) об опции "Вести мониторинг" пишется: "Это поле необходимо, например, в случае включенной опции «Временная HTTP ссылка». Если это поле не заполнить, то будет использоваться ссылка для проигрывания."

Видеоклуб

Здравствуйте. Не очень понятно как работает "недосмотренное видео".
При воспроизведении, в таблицу vclub_not_ended записывается id медиа-файла из video_series_files, что вроде бы логично. Но при попытке просмотреть недосмотренный
контент, id берется уже из таблицы video, а не video_series_files.

Malformed ivi.ru call

When you do call 'da.content.get' first arg is int content id, second is actually dict. Investigation of logs reveled to me, that your software is do it wrong, second params is int :(

Should be something like this

curl -d'{"id": 13213, "version": "2.0", "method": "da.content.get", "params": [7029, {"site": "s{you subsite here}", "app_version": {you app_version here}}]}' 'http://api.digitalaccess.ru/api/json/'

Your args:

 [118214, 247318, {'content': 118214, 'adv_video_id': yadayada, 'uid': 'yadayada', 'site': yadayada, 'watchid': 'yadayada'}]

Just remove second arg 247318

Wrong recordings when changing local time

When you have a daylight saving time then MAG devices will change their time but previous recordings were saved with pre-daylight saving time (and the same when the daylight saving time ends). Then for having it working you have to rename saved files before changing local time for daylight saving time.

Is there any trick to avoid that? Can we have stalker portal in UTC so no daylight saving time will be applied. Then users requests for a recording must be converted from local time to UTC time in server to know exactly which content to serve.

Не работает фильтр в списку IPTV каналов

При фільтруванні не всі канали відображаються
Після задання фільтрів в мене відображається тільки два канали, а коли я починаю сортувати ці канали наприклад по ІД (з меншого до більшого) тоді появляються більше каналів. А якщо наприклад зняти всі фільтра і просто в ручну порахувати кількість каналів в яких є помилки то їх получається набагато більше чим відображається

User Logs

When viewing logs for a certain user if they have watched anything in Video Club it shows up as '[Video] [object Object]'

Stalker 5.0.3 use_embedded_settings

Hello,

When use_embedded_settings is set to "false" mag250 boxes does not open the "Settings" page.
Please verify.

When use_embedded_settings is set to "true" then we can access the settings page.

5.0.3 stb go to offline

Приставка MAG245, при включении темы stalker graphite тестовый девайс начинает отваливаться через некоторое время. Middleware считает что устройство перешло в состояние offline. После перехода в offline ранее запущенные приложения перестают работать, а запускаемые впервые висят на на окне загрузки. Также не работает кнопка power off на пульте ДУ.

stalker pvr client does not work

Hello,
I tested stalker pvr client (version 3.4.10) on kodi leia 18.8
and on Kodi v19 "Matrix" Alpha 1 (version 6.0.0).
And the mac iptv sources mentioned below do not work on it. Some youtubers are talking about this problem.

This iptv source works on 3 android tv apps that I tested
(CosmiDVR with Live Channels apk, OTT Navigator, StbEMU):
http://iptvpro.premium-tv.media:8789/c/
MAC: 00: 1A: 79: A1: F0: CA
EXPIRES: 08.03.2021

This iptv source works on 2 android tv apps that I tested
(CosmiDVR with Live Channels apk, StbEMU):
http://sansatplus.net:25461/c
MAC: 00: 1A: 79: 3A: 51: 25
EXPIRES: 21.02.2021

StbEMU Apk Link: https://play.google.com/store/apps/details?id=com.mvas.stb.emu.free&hl=fr
Live Channels Apk Link:
https://play.google.com/store/apps/details?id=com.google.android.tv&hl=fr
CosmiDVR Apk Link: https://play.google.com/store/apps/details?id=com.cosmiquest.tuner&hl=fr
OTT Navigator Apk Link: https://play.google.com/store/apps/details?id=studio.scillarium.ottnavigator&hl=fr

On the other hand with url links and m3u files I have no problem with the simple client pvr addon.

thank you for your reply

Add fs.to application

Please add fs.to application in the same way which was done with ex.ua

Thanks,
Vladimir

mag256 external settings checkbox

Hello.

Checkboxes don't work in external settings on mag256. I made changes(adding function checkbox) to file external/settings/js/pres.js, and it start works on mag256, but on mag254 doesn't. I think there is a difference between mag254 and mag256 in checkbox handling.

function checkbox() {
if (document.activeElement.type == "checkbox"){
if(document.activeElement.checked) document.activeElement.checked = false;
else document.activeElement.checked = true;
}
}

function pressKey(e)
{
ec = e.keyCode;
if(!block)switch(ec)
{
case 9:e.preventDefault();break;
case 27:parent.wifi_ssid.length=0;back();break;
case 13:checkbox();fc=true;break;

Зависание на списке каналов

v5.1.1 - Список каналов виснет на приставке, если поток канала не работает. При проигрывании исчезает картинка (как и должно быть), при попытке переключить на другой канал портал зависает, спасает только ребут. С предыдущей версией (v5.1.0) такого не было замечено. STB - AuraHD Plus T2 WiFi

VLC 3.0.0 fails with connection error on stalker portal

With the latest VLC versions using the 3.0.0 core (nightly builds for Mac, PC and Android) some Stalker servers fail with error 404. It turns out that the new VLC strictly searches for CRLF endings of server response and fails when server uses only LF (0x0A) endings. See vlc_http_can_read function which causes connection failure while reading the response.

I'm posting this issue here, since I'm testing an IPTV provider that uses Stalker portal (m3u links are locked by MAC address). Can someone confirm if the following problem exists in Stalker or it's a problem of the underlining web server that serves the video streams. Problem appears only with unique URLs on port 88 which look like http://11.11.11.11:88/abcdef. URLs that look like http://11.11.11.11:88/udp/abcdef work fine (see bellow).

If the problem is in Stalker portal, I would like to ask you to provide a sample URL with a very short ts file (1 min.), so I can file a bug report to VLC (they require a public URL to reproduce the problem). Of course, fixing this in Stalker would be great.

Here is an example response of http://11.11.11.11:88/abcdef URL that causes problem in latest VLC and may be other video players:

HTTP/1.0 200 OK
Content-type: application/octet-stream
Connection: close
Cache-Control: no-cache

The above response in hex format with separated by me 0x0A endings:

485454502F312E3020323030204F4B 0A
436F6E74656E742D747970653A206170706C69636174696F6E2F6F637465742D73747265616D 0A
436F6E6E656374696F6E3A20636C6F7365 0A
43616368652D436F6E74726F6C3A206E6F2D6361636865 0A
0A

The correct endings should be CRLF (0D 0A) especially the last two.

Some streams that look like http://11.11.11.11:88/udp/abcdef return similar response, but since the last two endings are CRLF CRLF they work fine in VLC:

HTTP/1.1 200 OK
Server: mcrstrm 1.0-23.9 (prod) standard [Linux 3.16.0-30-lowlatency x86_64]
Content-Type:application/octet-stream
Cache-Control: no-cache
Connection: close

The same response in hex format (notice the mixed endings):

485454502F312E3120323030204F4B 0D0A
5365727665723A206D63727374726D20312E302D32332E39202870726F6429207374616E64617264205B4C696E757820332E31362E302D33302D6C6F776C6174656E6379207838365F36345D 0D0A
436F6E74656E742D547970653A6170706C69636174696F6E2F6F637465742D73747265616D 0A
43616368652D436F6E74726F6C3A206E6F2D6361636865 0A
436F6E6E656374696F6E3A20636C6F7365 0D0A
0D0A

Stalker v5.0.2 APK

I updated stalker to 5.0.2 but when I'm trying to login on Stalker TV APK on android the app stops working show a message "unfortunately, StalkerTV on Android stopped." and just disappear

Stalker 5x - graphite глюк пульта

При смене темы на graphite пользователи не могут
выключить приставку через пульт управления

Если включить любую другую тему то кнопка вкл/выкл
работает нормально

Че за глюк? Куда копать?

use Stalker Portal with Motorola VIP 1910

Hi I would like to know if I can use Stalker Portal on anything thats not MAG STB as I have Motorola VIP 1910 and I would like to use it on that if posible how?

Thanks for Anwsering and Best Regards

PS: in which version the UI changed from shiny to flat?

Inefficient tv archive recording

Hi,

I started using stalker portal with a second server for storage. I have developed systems in the past which faced the "multiple write operations" problem. This is exactly what you have in your storage server: many channels getting recorded at the same time, causing hundreds of writes to disks. HDD needle have to move from one location to the other, and moving that needle is the slowest and less efficient thing ever. The consequences are: HDD with shorter lifespan, slower servers, less customers per server and more money spent.

There is a tiny and stupid solution for that: using RAM for having buffers that will store big chunks of video recording and will move it to HDD in an efficient way.

I have seen that you have implemented your logic in two places: tvarchiverecorder.class.php and dumpstream. You can simply use "buffer" linux utility in the following wey:

Stream -> dumpstream ---(pipe)---> buffer -> HDD

You can redirect dumpstream stdout to buffer and save the result in HDD as shown in the followsing example:
python dumpstream -a 239.255.0.1 -p 1234 -n 22 | buffer -s 256K -m 10M -p 80 -o output.mpg

Once you install buffer (apt-get install buffer, that is a 72 kB utility) you have these options:

Usage: buffer [-B] [-t] [-S size] [-m memsize] [-b blocks] [-p percent] [-s blocksize] [-u pause] [-i infile] [-o outfile] [-z size] [-Z] [-d]
-B = blocked device - pad out last block
-t = show total amount written at end
-S size = show amount written every size bytes
-m size = size of shared mem chunk to grab
-b num = number of blocks in queue
-p percent = don't start writing until percent blocks filled
-s size = size of a block
-u usecs = microseconds to sleep after each write
-i infile = file to read from
-o outfile = file to write to
-z size = combined -S/-s flag
-Z = seek to beginning of output after each 1GB (for some tape drives)
-d = print debug information to stderr

Now the question is... is it safe for me to just edit tvarchiverecorder.class.php and change dumpstream call to use buffer? Is there any side effect that I can break by doing so?

Regards,
Javier

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.