Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

проблема воспроизведения torrent-telik #42

Open
PlintuZz opened this issue Nov 17, 2015 · 6 comments
Open

проблема воспроизведения torrent-telik #42

PlintuZz opened this issue Nov 17, 2015 · 6 comments

Comments

@PlintuZz
Copy link

Не работает плагин торрент телик, перестал работать 2 дня назад Лог:
18.11.2015 01:39:55 INFO http_HTTPHandler: Accepted connection from 192.168.1.100 path /torrent-telik
18.11.2015 01:39:55 ERROR plugin_torrenttelik: Can't load JSON! ValueError('No JSON object could be decoded',)

Как я понимаю раньше торрент телик в файле http://torrent-telik.com/channels/torrent-tv.json использовал acestream://, теперь ссылки ведут просто на pid раздачи.
http://torrent-telik.com/channels/torrent-tv.m3u получает плейлист с acestream://

@jschwartzenberg
Copy link

У меня эти сообщение:

26.11.2015 23:44:37 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /torrent-telik
127.0.0.1 - - [26/Nov/2015 23:44:37] "GET /torrent-telik HTTP/1.1" 200 -
26.11.2015 23:44:38 ERROR plugin_torrenttelik: Can't load JSON! ValueError('Expecting , delimiter: line 472 column 28 (char 54076)',)
26.11.2015 23:44:41 INFO http_HTTPHandler: Accepted connection from 127.0.0.1 path /torrent-telik
127.0.0.1 - - [26/Nov/2015 23:44:41] "GET /torrent-telik HTTP/1.1" 200 -
26.11.2015 23:44:41 ERROR plugin_torrenttelik: Can't load JSON! ValueError('Expecting , delimiter: line 472 column 28 (char 54076)',)

И я не могу скачать плейлист. http://torrent-telik.com/channels/torrent-tv.m3u работает в AcePlayer.

Может быть это возможно делать лог этого джайсона?

@jschwartzenberg
Copy link

Сейчас видел этот файл. Мне кажеться что он это не понимает:

{"id":33,"name":"НТРК "ИРТА"","url":"53bddcc0fac7e7db1318fce4402834dd22263a80","cat":"Региональные"},

name => "НТРК "ИРТА""

@deseven
Copy link
Contributor

deseven commented Nov 26, 2015

Потому что это некорректный JSON, все верно.
Стоит написать владельцам torrent-telik, что они должны экранировать кавычки.

@deseven
Copy link
Contributor

deseven commented Nov 26, 2015

Ладно, быстрый грязный фикс.
torrenttelik_plugin.py, добавьте после 60 строки:

Torrenttelik.playlist = Torrenttelik.playlist.replace('"ИРТА"','ИРТА')

@jschwartzenberg
Copy link

С этим, у меня тоже это сообщение:

27.11.2015 19:32:36 ERROR plugin_torrenttelik: Can't load JSON! ValueError('No JSON object could be decoded',)

@jschwartzenberg
Copy link

Сейчас у меня это работает, но вообще не стабильно. У меня

url_ttv = 'http://schwart6.home.xs4all.nl/torrent-tv-fixed.json'

который я сам ремонтиравал. Тогда я могу получать плайлист, сейчас в VLC и в Форкплайер это иногда работает.

AndreyPavlenko added a commit to AndreyPavlenko/aceproxy that referenced this issue Feb 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants